Class: TencentCloud::Cwp::V20180228::ModifyWebPageProtectSettingRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

ModifyWebPageProtectSetting请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(modifytype = nil, value = nil, id = nil) ⇒ ModifyWebPageProtectSettingRequest

Returns a new instance of ModifyWebPageProtectSettingRequest.



34889
34890
34891
34892
34893
# File 'lib/v20180228/models.rb', line 34889

def initialize(modifytype=nil, value=nil, id=nil)
  @ModifyType = modifytype
  @Value = value
  @Id = id
end

Instance Attribute Details

#IdObject

Parameters:

  • ModifyType:

    需要操作的类型1 目录名称 2 防护文件类型

  • Value:

    提交值

  • Id:

    配置对应的protect_path



34887
34888
34889
# File 'lib/v20180228/models.rb', line 34887

def Id
  @Id
end

#ModifyTypeObject

Parameters:

  • ModifyType:

    需要操作的类型1 目录名称 2 防护文件类型

  • Value:

    提交值

  • Id:

    配置对应的protect_path



34887
34888
34889
# File 'lib/v20180228/models.rb', line 34887

def ModifyType
  @ModifyType
end

#ValueObject

Parameters:

  • ModifyType:

    需要操作的类型1 目录名称 2 防护文件类型

  • Value:

    提交值

  • Id:

    配置对应的protect_path



34887
34888
34889
# File 'lib/v20180228/models.rb', line 34887

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



34895
34896
34897
34898
34899
# File 'lib/v20180228/models.rb', line 34895

def deserialize(params)
  @ModifyType = params['ModifyType']
  @Value = params['Value']
  @Id = params['Id']
end