Class: TencentCloud::Cwp::V20180228::ModifyWebPageProtectDirRequest

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

Overview

ModifyWebPageProtectDir请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(protectdiraddr = nil, protectdirname = nil, protectfiletype = nil, hostconfig = nil) ⇒ ModifyWebPageProtectDirRequest

Returns a new instance of ModifyWebPageProtectDirRequest.



34840
34841
34842
34843
34844
34845
# File 'lib/v20180228/models.rb', line 34840

def initialize(protectdiraddr=nil, protectdirname=nil, protectfiletype=nil, hostconfig=nil)
  @ProtectDirAddr = protectdiraddr
  @ProtectDirName = protectdirname
  @ProtectFileType = protectfiletype
  @HostConfig = hostconfig
end

Instance Attribute Details

#HostConfigObject

Parameters:

  • ProtectDirAddr:

    网站防护目录地址

  • ProtectDirName:

    网站防护目录名称

  • ProtectFileType:

    防护文件类型,分号分割 ;

  • HostConfig:

    防护机器列表信息



34838
34839
34840
# File 'lib/v20180228/models.rb', line 34838

def HostConfig
  @HostConfig
end

#ProtectDirAddrObject

Parameters:

  • ProtectDirAddr:

    网站防护目录地址

  • ProtectDirName:

    网站防护目录名称

  • ProtectFileType:

    防护文件类型,分号分割 ;

  • HostConfig:

    防护机器列表信息



34838
34839
34840
# File 'lib/v20180228/models.rb', line 34838

def ProtectDirAddr
  @ProtectDirAddr
end

#ProtectDirNameObject

Parameters:

  • ProtectDirAddr:

    网站防护目录地址

  • ProtectDirName:

    网站防护目录名称

  • ProtectFileType:

    防护文件类型,分号分割 ;

  • HostConfig:

    防护机器列表信息



34838
34839
34840
# File 'lib/v20180228/models.rb', line 34838

def ProtectDirName
  @ProtectDirName
end

#ProtectFileTypeObject

Parameters:

  • ProtectDirAddr:

    网站防护目录地址

  • ProtectDirName:

    网站防护目录名称

  • ProtectFileType:

    防护文件类型,分号分割 ;

  • HostConfig:

    防护机器列表信息



34838
34839
34840
# File 'lib/v20180228/models.rb', line 34838

def ProtectFileType
  @ProtectFileType
end

Instance Method Details

#deserialize(params) ⇒ Object



34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
# File 'lib/v20180228/models.rb', line 34847

def deserialize(params)
  @ProtectDirAddr = params['ProtectDirAddr']
  @ProtectDirName = params['ProtectDirName']
  @ProtectFileType = params['ProtectFileType']
  unless params['HostConfig'].nil?
    @HostConfig = []
    params['HostConfig'].each do |i|
      protecthostconfig_tmp = ProtectHostConfig.new
      protecthostconfig_tmp.deserialize(i)
      @HostConfig << protecthostconfig_tmp
    end
  end
end