Class: TencentCloud::Tcb::V20180608::DescribeCloudBaseRunVersionSnapshotResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::DescribeCloudBaseRunVersionSnapshotResponse
- Defined in:
- lib/v20180608/models.rb
Overview
DescribeCloudBaseRunVersionSnapshot返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(snapshots = nil, requestid = nil) ⇒ DescribeCloudBaseRunVersionSnapshotResponse
constructor
A new instance of DescribeCloudBaseRunVersionSnapshotResponse.
Constructor Details
#initialize(snapshots = nil, requestid = nil) ⇒ DescribeCloudBaseRunVersionSnapshotResponse
Returns a new instance of DescribeCloudBaseRunVersionSnapshotResponse.
4609 4610 4611 4612 |
# File 'lib/v20180608/models.rb', line 4609 def initialize(snapshots=nil, requestid=nil) @Snapshots = snapshots @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4607 4608 4609 |
# File 'lib/v20180608/models.rb', line 4607 def RequestId @RequestId end |
#Snapshots ⇒ Object
4607 4608 4609 |
# File 'lib/v20180608/models.rb', line 4607 def Snapshots @Snapshots end |
Instance Method Details
#deserialize(params) ⇒ Object
4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 |
# File 'lib/v20180608/models.rb', line 4614 def deserialize(params) unless params['Snapshots'].nil? @Snapshots = [] params['Snapshots'].each do |i| cloudrunservicesimpleversionsnapshot_tmp = CloudRunServiceSimpleVersionSnapshot.new cloudrunservicesimpleversionsnapshot_tmp.deserialize(i) @Snapshots << cloudrunservicesimpleversionsnapshot_tmp end end @RequestId = params['RequestId'] end |