Class: TencentCloud::Waf::V20180125::CreateHostRequest

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

Overview

CreateHost请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateHostRequest.



2317
2318
2319
2320
# File 'lib/v20180125/models.rb', line 2317

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

Instance Attribute Details

#HostObject

Parameters:

  • Host:

    防护域名配置信息

  • InstanceID:

    实例id



2315
2316
2317
# File 'lib/v20180125/models.rb', line 2315

def Host
  @Host
end

#InstanceIDObject

Parameters:

  • Host:

    防护域名配置信息

  • InstanceID:

    实例id



2315
2316
2317
# File 'lib/v20180125/models.rb', line 2315

def InstanceID
  @InstanceID
end

Instance Method Details

#deserialize(params) ⇒ Object



2322
2323
2324
2325
2326
2327
2328
# File 'lib/v20180125/models.rb', line 2322

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