Class: TencentCloud::Apm::V20210622::OrderBy

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

Overview

排序字段

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ OrderBy

Returns a new instance of OrderBy.



3780
3781
3782
3783
# File 'lib/v20210622/models.rb', line 3780

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    需要排序的字段,现支持 startTIme, endTime, duration

  • Value:

    asc 顺序排序 / desc 倒序排序



3778
3779
3780
# File 'lib/v20210622/models.rb', line 3778

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    需要排序的字段,现支持 startTIme, endTime, duration

  • Value:

    asc 顺序排序 / desc 倒序排序



3778
3779
3780
# File 'lib/v20210622/models.rb', line 3778

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



3785
3786
3787
3788
# File 'lib/v20210622/models.rb', line 3785

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end