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.
2895 2896 2897 |
# File 'lib/v20180125/models.rb', line 2895 def initialize(hostsdel=nil) @HostsDel = hostsdel end |
Instance Attribute Details
#HostsDel ⇒ Object
2893 2894 2895 |
# File 'lib/v20180125/models.rb', line 2893 def HostsDel @HostsDel end |
Instance Method Details
#deserialize(params) ⇒ Object
2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 |
# File 'lib/v20180125/models.rb', line 2899 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 |