Class: TencentCloud::Waf::V20180125::DeleteHostRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180125/models.rb

Overview

DeleteHost请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#HostsDelObject

Parameters:

  • HostsDel:

    删除的域名列表



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