Class: TencentCloud::Ams::V20200608::DescribeAmsListResponse

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

Overview

DescribeAmsList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amsdetailset = nil, total = nil, pagetoken = nil, requestid = nil) ⇒ DescribeAmsListResponse

Returns a new instance of DescribeAmsListResponse.



541
542
543
544
545
546
# File 'lib/v20200608/models.rb', line 541

def initialize(amsdetailset=nil, total=nil, pagetoken=nil, requestid=nil)
  @AmsDetailSet = amsdetailset
  @Total = total
  @PageToken = pagetoken
  @RequestId = requestid
end

Instance Attribute Details

#AmsDetailSetObject

Parameters:

  • AmsDetailSet:

    返回列表数据—-非必选,该参数暂未对外开放

  • Total:

    总条数

  • PageToken:

    分页 token

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



539
540
541
# File 'lib/v20200608/models.rb', line 539

def AmsDetailSet
  @AmsDetailSet
end

#PageTokenObject

Parameters:

  • AmsDetailSet:

    返回列表数据—-非必选,该参数暂未对外开放

  • Total:

    总条数

  • PageToken:

    分页 token

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



539
540
541
# File 'lib/v20200608/models.rb', line 539

def PageToken
  @PageToken
end

#RequestIdObject

Parameters:

  • AmsDetailSet:

    返回列表数据—-非必选,该参数暂未对外开放

  • Total:

    总条数

  • PageToken:

    分页 token

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



539
540
541
# File 'lib/v20200608/models.rb', line 539

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • AmsDetailSet:

    返回列表数据—-非必选,该参数暂未对外开放

  • Total:

    总条数

  • PageToken:

    分页 token

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



539
540
541
# File 'lib/v20200608/models.rb', line 539

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/v20200608/models.rb', line 548

def deserialize(params)
  unless params['AmsDetailSet'].nil?
    @AmsDetailSet = []
    params['AmsDetailSet'].each do |i|
      amsdetailinfo_tmp = AmsDetailInfo.new
      amsdetailinfo_tmp.deserialize(i)
      @AmsDetailSet << amsdetailinfo_tmp
    end
  end
  @Total = params['Total']
  @PageToken = params['PageToken']
  @RequestId = params['RequestId']
end