Class: TencentCloud::Waf::V20180125::DescribeObjectsRequest

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

Overview

DescribeObjects请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filters = nil) ⇒ DescribeObjectsRequest

Returns a new instance of DescribeObjectsRequest.



5839
5840
5841
# File 'lib/v20180125/models.rb', line 5839

def initialize(filters=nil)
  @Filters = filters
end

Instance Attribute Details

#FiltersObject

Parameters:

  • Filters:

    支持的过滤器: ObjectId: clb实例ID VIP: clb实例的公网IP InstanceId: waf实例ID Domain: 精准域名 Status: waf防护开关状态: 0关闭,1开启 ClsStatus: waf日志开关: 0关闭,1开启



5837
5838
5839
# File 'lib/v20180125/models.rb', line 5837

def Filters
  @Filters
end

Instance Method Details

#deserialize(params) ⇒ Object



5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
# File 'lib/v20180125/models.rb', line 5843

def deserialize(params)
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filtersitemnew_tmp = FiltersItemNew.new
      filtersitemnew_tmp.deserialize(i)
      @Filters << filtersitemnew_tmp
    end
  end
end