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