Class: TencentCloud::Yunjing::V20180228::DescribeBashRulesRequest

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

Overview

DescribeBashRules请求参数结构体

Instance Attribute Summary collapse

  • #Limit ⇒ Object
  • Keywords - String - 是否必填:否 - 关键字(规则名称)
  • .
  • #Offset ⇒ Object
  • Keywords - String - 是否必填:否 - 关键字(规则名称)
  • .
  • #Type ⇒ Object
  • Keywords - String - 是否必填:否 - 关键字(规则名称)
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(type = nil, limit = nil, offset = nil, filters = nil) ⇒ DescribeBashRulesRequest

    Returns a new instance of DescribeBashRulesRequest.

    
    
    1815
    1816
    1817
    1818
    1819
    1820
    # File 'lib/v20180228/models.rb', line 1815
    
    def initialize(type=nil, limit=nil, offset=nil, filters=nil)
      @Type = type
      @Limit = limit
      @Offset = offset
      @Filters = filters
    end

    Instance Attribute Details

    #FiltersObject

  • Keywords - String - 是否必填:否 - 关键字(规则名称)
  • Parameters:

    • Type:

      0-系统规则; 1-用户规则

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    1813
    1814
    1815
    # File 'lib/v20180228/models.rb', line 1813
    
    def Filters
      @Filters
    end

    #LimitObject

  • Keywords - String - 是否必填:否 - 关键字(规则名称)
  • Parameters:

    • Type:

      0-系统规则; 1-用户规则

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    1813
    1814
    1815
    # File 'lib/v20180228/models.rb', line 1813
    
    def Limit
      @Limit
    end

    #OffsetObject

  • Keywords - String - 是否必填:否 - 关键字(规则名称)
  • Parameters:

    • Type:

      0-系统规则; 1-用户规则

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    1813
    1814
    1815
    # File 'lib/v20180228/models.rb', line 1813
    
    def Offset
      @Offset
    end

    #TypeObject

  • Keywords - String - 是否必填:否 - 关键字(规则名称)
  • Parameters:

    • Type:

      0-系统规则; 1-用户规则

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    1813
    1814
    1815
    # File 'lib/v20180228/models.rb', line 1813
    
    def Type
      @Type
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    1822
    1823
    1824
    1825
    1826
    1827
    1828
    1829
    1830
    1831
    1832
    1833
    1834
    # File 'lib/v20180228/models.rb', line 1822
    
    def deserialize(params)
      @Type = params['Type']
      @Limit = params['Limit']
      @Offset = params['Offset']
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filter_tmp = Filter.new
          filter_tmp.deserialize(i)
          @Filters << filter_tmp
        end
      end
    end