Class: TencentCloud::Waf::V20180125::ModifyHostRequest

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

Overview

ModifyHost请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(host = nil, instanceid = nil) ⇒ ModifyHostRequest

Returns a new instance of ModifyHostRequest.



10679
10680
10681
10682
# File 'lib/v20180125/models.rb', line 10679

def initialize(host=nil, instanceid=nil)
  @Host = host
  @InstanceID = instanceid
end

Instance Attribute Details

#HostObject

Parameters:

  • Host:

    编辑的域名配置信息

  • InstanceID:

    实例唯一ID



10677
10678
10679
# File 'lib/v20180125/models.rb', line 10677

def Host
  @Host
end

#InstanceIDObject

Parameters:

  • Host:

    编辑的域名配置信息

  • InstanceID:

    实例唯一ID



10677
10678
10679
# File 'lib/v20180125/models.rb', line 10677

def InstanceID
  @InstanceID
end

Instance Method Details

#deserialize(params) ⇒ Object



10684
10685
10686
10687
10688
10689
10690
# File 'lib/v20180125/models.rb', line 10684

def deserialize(params)
  unless params['Host'].nil?
    @Host = HostRecord.new
    @Host.deserialize(params['Host'])
  end
  @InstanceID = params['InstanceID']
end