Class: TencentCloud::Tcb::V20180608::DescribeCloudBaseRunPodListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::DescribeCloudBaseRunPodListResponse
- Defined in:
- lib/v20180608/models.rb
Overview
DescribeCloudBaseRunPodList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, limit = nil, totalcount = nil, podlist = nil, requestid = nil) ⇒ DescribeCloudBaseRunPodListResponse
constructor
A new instance of DescribeCloudBaseRunPodListResponse.
Constructor Details
#initialize(offset = nil, limit = nil, totalcount = nil, podlist = nil, requestid = nil) ⇒ DescribeCloudBaseRunPodListResponse
Returns a new instance of DescribeCloudBaseRunPodListResponse.
3508 3509 3510 3511 3512 3513 3514 |
# File 'lib/v20180608/models.rb', line 3508 def initialize(offset=nil, limit=nil, totalcount=nil, podlist=nil, requestid=nil) @Offset = offset @Limit = limit @TotalCount = totalcount @PodList = podlist @RequestId = requestid end |
Instance Attribute Details
#Limit ⇒ Object
3506 3507 3508 |
# File 'lib/v20180608/models.rb', line 3506 def Limit @Limit end |
#Offset ⇒ Object
3506 3507 3508 |
# File 'lib/v20180608/models.rb', line 3506 def Offset @Offset end |
#PodList ⇒ Object
3506 3507 3508 |
# File 'lib/v20180608/models.rb', line 3506 def PodList @PodList end |
#RequestId ⇒ Object
3506 3507 3508 |
# File 'lib/v20180608/models.rb', line 3506 def RequestId @RequestId end |
#TotalCount ⇒ Object
3506 3507 3508 |
# File 'lib/v20180608/models.rb', line 3506 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 |
# File 'lib/v20180608/models.rb', line 3516 def deserialize(params) @Offset = params['Offset'] @Limit = params['Limit'] @TotalCount = params['TotalCount'] unless params['PodList'].nil? @PodList = [] params['PodList'].each do |i| cloudbaserunversionpod_tmp = CloudBaseRunVersionPod.new cloudbaserunversionpod_tmp.deserialize(i) @PodList << cloudbaserunversionpod_tmp end end @RequestId = params['RequestId'] end |