Class: TencentCloud::Tke::V20180525::DescribePrometheusRecordRulesRequest

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

Overview

DescribePrometheusRecordRules请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribePrometheusRecordRulesRequest

Returns a new instance of DescribePrometheusRecordRulesRequest.



9341
9342
9343
9344
9345
9346
# File 'lib/v20180525/models.rb', line 9341

def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil)
  @InstanceId = instanceid
  @Offset = offset
  @Limit = limit
  @Filters = filters
end

Instance Attribute Details

#FiltersObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    分页

  • Limit:

    分页

  • Filters:

    过滤



9339
9340
9341
# File 'lib/v20180525/models.rb', line 9339

def Filters
  @Filters
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    分页

  • Limit:

    分页

  • Filters:

    过滤



9339
9340
9341
# File 'lib/v20180525/models.rb', line 9339

def InstanceId
  @InstanceId
end

#LimitObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    分页

  • Limit:

    分页

  • Filters:

    过滤



9339
9340
9341
# File 'lib/v20180525/models.rb', line 9339

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • InstanceId:

    实例id

  • Offset:

    分页

  • Limit:

    分页

  • Filters:

    过滤



9339
9340
9341
# File 'lib/v20180525/models.rb', line 9339

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
# File 'lib/v20180525/models.rb', line 9348

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Offset = params['Offset']
  @Limit = params['Limit']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
end