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.



2522
2523
2524
# File 'lib/v20180125/models.rb', line 2522

def initialize(hostsdel=nil)
  @HostsDel = hostsdel
end

Instance Attribute Details

#HostsDelObject

Parameters:

  • HostsDel:

    删除的域名列表



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