Class: TencentCloud::Apm::V20210622::DescribeTagValuesRequest

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

Overview

DescribeTagValues请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, tagkey = nil, starttime = nil, endtime = nil, filters = nil, orfilters = nil, type = nil) ⇒ DescribeTagValuesRequest

Returns a new instance of DescribeTagValuesRequest.



2343
2344
2345
2346
2347
2348
2349
2350
2351
# File 'lib/v20210622/models.rb', line 2343

def initialize(instanceid=nil, tagkey=nil, starttime=nil, endtime=nil, filters=nil, orfilters=nil, type=nil)
  @InstanceId = instanceid
  @TagKey = tagkey
  @StartTime = starttime
  @EndTime = endtime
  @Filters = filters
  @OrFilters = orfilters
  @Type = type
end

Instance Attribute Details

#EndTimeObject

Parameters:

  • InstanceId:

    业务系统 ID

  • TagKey:

    维度名

  • StartTime:

    开始时间(单位为秒)

  • EndTime:

    结束时间(单位为秒)

  • Filters:

    过滤条件

  • OrFilters:

    Or 过滤条件

  • Type:

    使用类型



2341
2342
2343
# File 'lib/v20210622/models.rb', line 2341

def EndTime
  @EndTime
end

#FiltersObject

Parameters:

  • InstanceId:

    业务系统 ID

  • TagKey:

    维度名

  • StartTime:

    开始时间(单位为秒)

  • EndTime:

    结束时间(单位为秒)

  • Filters:

    过滤条件

  • OrFilters:

    Or 过滤条件

  • Type:

    使用类型



2341
2342
2343
# File 'lib/v20210622/models.rb', line 2341

def Filters
  @Filters
end

#InstanceIdObject

Parameters:

  • InstanceId:

    业务系统 ID

  • TagKey:

    维度名

  • StartTime:

    开始时间(单位为秒)

  • EndTime:

    结束时间(单位为秒)

  • Filters:

    过滤条件

  • OrFilters:

    Or 过滤条件

  • Type:

    使用类型



2341
2342
2343
# File 'lib/v20210622/models.rb', line 2341

def InstanceId
  @InstanceId
end

#OrFiltersObject

Parameters:

  • InstanceId:

    业务系统 ID

  • TagKey:

    维度名

  • StartTime:

    开始时间(单位为秒)

  • EndTime:

    结束时间(单位为秒)

  • Filters:

    过滤条件

  • OrFilters:

    Or 过滤条件

  • Type:

    使用类型



2341
2342
2343
# File 'lib/v20210622/models.rb', line 2341

def OrFilters
  @OrFilters
end

#StartTimeObject

Parameters:

  • InstanceId:

    业务系统 ID

  • TagKey:

    维度名

  • StartTime:

    开始时间(单位为秒)

  • EndTime:

    结束时间(单位为秒)

  • Filters:

    过滤条件

  • OrFilters:

    Or 过滤条件

  • Type:

    使用类型



2341
2342
2343
# File 'lib/v20210622/models.rb', line 2341

def StartTime
  @StartTime
end

#TagKeyObject

Parameters:

  • InstanceId:

    业务系统 ID

  • TagKey:

    维度名

  • StartTime:

    开始时间(单位为秒)

  • EndTime:

    结束时间(单位为秒)

  • Filters:

    过滤条件

  • OrFilters:

    Or 过滤条件

  • Type:

    使用类型



2341
2342
2343
# File 'lib/v20210622/models.rb', line 2341

def TagKey
  @TagKey
end

#TypeObject

Parameters:

  • InstanceId:

    业务系统 ID

  • TagKey:

    维度名

  • StartTime:

    开始时间(单位为秒)

  • EndTime:

    结束时间(单位为秒)

  • Filters:

    过滤条件

  • OrFilters:

    Or 过滤条件

  • Type:

    使用类型



2341
2342
2343
# File 'lib/v20210622/models.rb', line 2341

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
# File 'lib/v20210622/models.rb', line 2353

def deserialize(params)
  @InstanceId = params['InstanceId']
  @TagKey = params['TagKey']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
  unless params['OrFilters'].nil?
    @OrFilters = []
    params['OrFilters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @OrFilters << filter_tmp
    end
  end
  @Type = params['Type']
end