Class: TencentCloud::Cwp::V20180228::DescribeRiskDnsPolicyListRequest

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

Overview

DescribeRiskDnsPolicyList请求参数结构体

Instance Attribute Summary collapse

  • #Filters ⇒ Object
  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • .
  • #Limit ⇒ Object
  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • .
  • #Offset ⇒ Object
  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • .
  • #Order ⇒ Object
  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(filters = nil, limit = nil, offset = nil, order = nil, by = nil) ⇒ DescribeRiskDnsPolicyListRequest

    Returns a new instance of DescribeRiskDnsPolicyListRequest.

    
    
    20404
    20405
    20406
    20407
    20408
    20409
    20410
    # File 'lib/v20180228/models.rb', line 20404
    
    def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
      @Filters = filters
      @Limit = limit
      @Offset = offset
      @Order = order
      @By = by
    end

    Instance Attribute Details

    #ByObject

  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • Parameters:

    • PolicyType - int - 是否必填:否 - 策略类型

  • 限制条数,默认10,最大100

  • 偏移量,默认0

  • 排序方式: [ASC:升序|DESC:降序]

  • 可选排序列: [HostScope|UpdateTime]

  • 
    
    20402
    20403
    20404
    # File 'lib/v20180228/models.rb', line 20402
    
    def By
      @By
    end

    #FiltersObject

  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • Parameters:

  • 限制条数,默认10,最大100

  • 偏移量,默认0

  • 排序方式: [ASC:升序|DESC:降序]

  • 可选排序列: [HostScope|UpdateTime]

  • 
    
    20402
    20403
    20404
    # File 'lib/v20180228/models.rb', line 20402
    
    def Filters
      @Filters
    end

    #LimitObject

  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • Parameters:

  • 限制条数,默认10,最大100

  • 偏移量,默认0

  • 排序方式: [ASC:升序|DESC:降序]

  • 可选排序列: [HostScope|UpdateTime]

  • 
    
    20402
    20403
    20404
    # File 'lib/v20180228/models.rb', line 20402
    
    def Limit
      @Limit
    end

    #OffsetObject

  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • Parameters:

  • 限制条数,默认10,最大100

  • 偏移量,默认0

  • 排序方式: [ASC:升序|DESC:降序]

  • 可选排序列: [HostScope|UpdateTime]

  • 
    
    20402
    20403
    20404
    # File 'lib/v20180228/models.rb', line 20402
    
    def Offset
      @Offset
    end

    #OrderObject

  • PolicyName - string - 是否必填:否 - 策略名称
  • Domain - string - 是否必填:否 - 域名(先对域名做urlencode,再base64)
  • PolicyAction- int - 是否必填:否 - 策略动作
  • IsEnabled - int - 是否必填:否 - 是否生效
  • Parameters:

  • 限制条数,默认10,最大100

  • 偏移量,默认0

  • 排序方式: [ASC:升序|DESC:降序]

  • 可选排序列: [HostScope|UpdateTime]

  • 
    
    20402
    20403
    20404
    # File 'lib/v20180228/models.rb', line 20402
    
    def Order
      @Order
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    20412
    20413
    20414
    20415
    20416
    20417
    20418
    20419
    20420
    20421
    20422
    20423
    20424
    20425
    # File 'lib/v20180228/models.rb', line 20412
    
    def deserialize(params)
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filter_tmp = Filter.new
          filter_tmp.deserialize(i)
          @Filters << filter_tmp
        end
      end
      @Limit = params['Limit']
      @Offset = params['Offset']
      @Order = params['Order']
      @By = params['By']
    end