class TencentCloud::Trtc::V20190722::DescribeHistoryScaleResponse

DescribeHistoryScale返回参数结构体

Attributes

RequestId[RW]

@param Total: 返回的数据条数 @type Total: Integer @param ScaleList: 返回的数据 注意:此字段可能返回 null,表示取不到有效值。 @type ScaleList: Array @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 @type RequestId: String

ScaleList[RW]

@param Total: 返回的数据条数 @type Total: Integer @param ScaleList: 返回的数据 注意:此字段可能返回 null,表示取不到有效值。 @type ScaleList: Array @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 @type RequestId: String

Total[RW]

@param Total: 返回的数据条数 @type Total: Integer @param ScaleList: 返回的数据 注意:此字段可能返回 null,表示取不到有效值。 @type ScaleList: Array @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 @type RequestId: String

Public Class Methods

new(total=nil, scalelist=nil, requestid=nil) click to toggle source
# File lib/v20190722/models.rb, line 499
def initialize(total=nil, scalelist=nil, requestid=nil)
  @Total = total
  @ScaleList = scalelist
  @RequestId = requestid
end

Public Instance Methods

deserialize(params) click to toggle source
# File lib/v20190722/models.rb, line 505
def deserialize(params)
  @Total = params['Total']
  unless params['ScaleList'].nil?
    @ScaleList = []
    params['ScaleList'].each do |i|
      scaleinfomation_tmp = ScaleInfomation.new
      scaleinfomation_tmp.deserialize(i)
      @ScaleList << scaleinfomation_tmp
    end
  end
  @RequestId = params['RequestId']
end