Class: TencentCloud::Cme::V20191029::DescribePlatformsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::DescribePlatformsResponse
- Defined in:
- lib/v20191029/models.rb
Overview
DescribePlatforms返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, platforminfoset = nil, requestid = nil) ⇒ DescribePlatformsResponse
constructor
A new instance of DescribePlatformsResponse.
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
#PlatformInfoSet ⇒ Object
1504 1505 1506 |
# File 'lib/v20191029/models.rb', line 1504 def PlatformInfoSet @PlatformInfoSet end |
#RequestId ⇒ Object
1504 1505 1506 |
# File 'lib/v20191029/models.rb', line 1504 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |