Class: TencentCloud::Cme::V20191029::DescribePlatformsResponse

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

Overview

DescribePlatforms返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, platforminfoset = nil, requestid = nil) ⇒ DescribePlatformsResponse

Returns a new instance of DescribePlatformsResponse.



1506
1507
1508
1509
1510
# File 'lib/v20191029/models.rb', line 1506

def initialize(totalcount=nil, platforminfoset=nil, requestid=nil)
  @TotalCount = totalcount
  @PlatformInfoSet = platforminfoset
  @RequestId = requestid
end

Instance Attribute Details

#PlatformInfoSetObject

Parameters:

  • TotalCount:

    符合查询条件的记录总数。

  • PlatformInfoSet:

    平台信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1504
1505
1506
# File 'lib/v20191029/models.rb', line 1504

def PlatformInfoSet
  @PlatformInfoSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合查询条件的记录总数。

  • PlatformInfoSet:

    平台信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1504
1505
1506
# File 'lib/v20191029/models.rb', line 1504

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合查询条件的记录总数。

  • PlatformInfoSet:

    平台信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1504
1505
1506
# File 'lib/v20191029/models.rb', line 1504

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
# File 'lib/v20191029/models.rb', line 1512

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['PlatformInfoSet'].nil?
    @PlatformInfoSet = []
    params['PlatformInfoSet'].each do |i|
      platforminfo_tmp = PlatformInfo.new
      platforminfo_tmp.deserialize(i)
      @PlatformInfoSet << platforminfo_tmp
    end
  end
  @RequestId = params['RequestId']
end