class TencentCloud::Cwp::V20180228::ModifyWebPageProtectDirRequest
ModifyWebPageProtectDir请求参数结构体
def deserialize(params)
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
def initialize(protectdiraddr=nil, protectdirname=nil, protectfiletype=nil, hostconfig=nil)
def initialize(protectdiraddr=nil, protectdirname=nil, protectfiletype=nil, hostconfig=nil) @ProtectDirAddr = protectdiraddr @ProtectDirName = protectdirname @ProtectFileType = protectfiletype @HostConfig = hostconfig end