Class: TencentCloud::Waf::V20180125::CreateHostRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::CreateHostRequest
- Defined in:
- lib/v20180125/models.rb
Overview
CreateHost请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(host = nil, instanceid = nil) ⇒ CreateHostRequest
constructor
A new instance of CreateHostRequest.
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
#Host ⇒ Object
2315 2316 2317 |
# File 'lib/v20180125/models.rb', line 2315 def Host @Host end |
#InstanceID ⇒ Object
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 |