Class: TencentCloud::Waf::V20180125::ModifyHostStatusRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::ModifyHostStatusRequest
- Defined in:
- lib/v20180125/models.rb
Overview
ModifyHostStatus请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostsstatus = nil) ⇒ ModifyHostStatusRequest
constructor
A new instance of ModifyHostStatusRequest.
Constructor Details
#initialize(hostsstatus = nil) ⇒ ModifyHostStatusRequest
Returns a new instance of ModifyHostStatusRequest.
10720 10721 10722 |
# File 'lib/v20180125/models.rb', line 10720 def initialize(hostsstatus=nil) @HostsStatus = hostsstatus end |
Instance Attribute Details
#HostsStatus ⇒ Object
10718 10719 10720 |
# File 'lib/v20180125/models.rb', line 10718 def HostsStatus @HostsStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 |
# File 'lib/v20180125/models.rb', line 10724 def deserialize(params) unless params['HostsStatus'].nil? @HostsStatus = [] params['HostsStatus'].each do |i| hoststatus_tmp = HostStatus.new hoststatus_tmp.deserialize(i) @HostsStatus << hoststatus_tmp end end end |