Class: TencentCloud::Waf::V20180125::DeleteHostRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DeleteHostRequest
- Defined in:
- lib/v20180125/models.rb
Overview
DeleteHost请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostsdel = nil) ⇒ DeleteHostRequest
constructor
A new instance of DeleteHostRequest.
Constructor Details
#initialize(hostsdel = nil) ⇒ DeleteHostRequest
Returns a new instance of DeleteHostRequest.
2522 2523 2524 |
# File 'lib/v20180125/models.rb', line 2522 def initialize(hostsdel=nil) @HostsDel = hostsdel end |
Instance Attribute Details
#HostsDel ⇒ Object
2520 2521 2522 |
# File 'lib/v20180125/models.rb', line 2520 def HostsDel @HostsDel end |
Instance Method Details
#deserialize(params) ⇒ Object
2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 |
# File 'lib/v20180125/models.rb', line 2526 def deserialize(params) unless params['HostsDel'].nil? @HostsDel = [] params['HostsDel'].each do |i| hostdel_tmp = HostDel.new hostdel_tmp.deserialize(i) @HostsDel << hostdel_tmp end end end |