Class: TencentCloud::Cfw::V20190904::DescribeAclRuleRequest

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

Overview

DescribeAclRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(limit = nil, offset = nil, index = nil, filters = nil, starttime = nil, endtime = nil, order = nil, by = nil) ⇒ DescribeAclRuleRequest

Returns a new instance of DescribeAclRuleRequest.



2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
# File 'lib/v20190904/models.rb', line 2853

def initialize(limit=nil, offset=nil, index=nil, filters=nil, starttime=nil, endtime=nil, order=nil, by=nil)
  @Limit = limit
  @Offset = offset
  @Index = index
  @Filters = filters
  @StartTime = starttime
  @EndTime = endtime
  @Order = order
  @By = by
end

Instance Attribute Details

#ByObject

Parameters:

  • Limit:

    每页条数

  • Offset:

    偏移值

  • Index:

    需要查询的索引,特定场景使用,可不填

  • Filters:

    过滤条件组合

  • StartTime:

    检索的起始时间,可不传

  • EndTime:

    检索的截止时间,可不传

  • Order:

    desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc

  • By:

    排序所用到的字段,默认为sequence



2851
2852
2853
# File 'lib/v20190904/models.rb', line 2851

def By
  @By
end

#EndTimeObject

Parameters:

  • Limit:

    每页条数

  • Offset:

    偏移值

  • Index:

    需要查询的索引,特定场景使用,可不填

  • Filters:

    过滤条件组合

  • StartTime:

    检索的起始时间,可不传

  • EndTime:

    检索的截止时间,可不传

  • Order:

    desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc

  • By:

    排序所用到的字段,默认为sequence



2851
2852
2853
# File 'lib/v20190904/models.rb', line 2851

def EndTime
  @EndTime
end

#FiltersObject

Parameters:

  • Limit:

    每页条数

  • Offset:

    偏移值

  • Index:

    需要查询的索引,特定场景使用,可不填

  • Filters:

    过滤条件组合

  • StartTime:

    检索的起始时间,可不传

  • EndTime:

    检索的截止时间,可不传

  • Order:

    desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc

  • By:

    排序所用到的字段,默认为sequence



2851
2852
2853
# File 'lib/v20190904/models.rb', line 2851

def Filters
  @Filters
end

#IndexObject

Parameters:

  • Limit:

    每页条数

  • Offset:

    偏移值

  • Index:

    需要查询的索引,特定场景使用,可不填

  • Filters:

    过滤条件组合

  • StartTime:

    检索的起始时间,可不传

  • EndTime:

    检索的截止时间,可不传

  • Order:

    desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc

  • By:

    排序所用到的字段,默认为sequence



2851
2852
2853
# File 'lib/v20190904/models.rb', line 2851

def Index
  @Index
end

#LimitObject

Parameters:

  • Limit:

    每页条数

  • Offset:

    偏移值

  • Index:

    需要查询的索引,特定场景使用,可不填

  • Filters:

    过滤条件组合

  • StartTime:

    检索的起始时间,可不传

  • EndTime:

    检索的截止时间,可不传

  • Order:

    desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc

  • By:

    排序所用到的字段,默认为sequence



2851
2852
2853
# File 'lib/v20190904/models.rb', line 2851

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Limit:

    每页条数

  • Offset:

    偏移值

  • Index:

    需要查询的索引,特定场景使用,可不填

  • Filters:

    过滤条件组合

  • StartTime:

    检索的起始时间,可不传

  • EndTime:

    检索的截止时间,可不传

  • Order:

    desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc

  • By:

    排序所用到的字段,默认为sequence



2851
2852
2853
# File 'lib/v20190904/models.rb', line 2851

def Offset
  @Offset
end

#OrderObject

Parameters:

  • Limit:

    每页条数

  • Offset:

    偏移值

  • Index:

    需要查询的索引,特定场景使用,可不填

  • Filters:

    过滤条件组合

  • StartTime:

    检索的起始时间,可不传

  • EndTime:

    检索的截止时间,可不传

  • Order:

    desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc

  • By:

    排序所用到的字段,默认为sequence



2851
2852
2853
# File 'lib/v20190904/models.rb', line 2851

def Order
  @Order
end

#StartTimeObject

Parameters:

  • Limit:

    每页条数

  • Offset:

    偏移值

  • Index:

    需要查询的索引,特定场景使用,可不填

  • Filters:

    过滤条件组合

  • StartTime:

    检索的起始时间,可不传

  • EndTime:

    检索的截止时间,可不传

  • Order:

    desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值,默认为asc

  • By:

    排序所用到的字段,默认为sequence



2851
2852
2853
# File 'lib/v20190904/models.rb', line 2851

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
# File 'lib/v20190904/models.rb', line 2864

def deserialize(params)
  @Limit = params['Limit']
  @Offset = params['Offset']
  @Index = params['Index']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      commonfilter_tmp = CommonFilter.new
      commonfilter_tmp.deserialize(i)
      @Filters << commonfilter_tmp
    end
  end
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Order = params['Order']
  @By = params['By']
end