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.
4167 4168 4169 4170 |
# File 'lib/v20180608/models.rb', line 4167 def initialize(snapshots=nil, requestid=nil) @Snapshots = snapshots @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4165 4166 4167 |
# File 'lib/v20180608/models.rb', line 4165 def RequestId @RequestId end |
#Snapshots ⇒ Object
4165 4166 4167 |
# File 'lib/v20180608/models.rb', line 4165 def Snapshots @Snapshots end |
Instance Method Details
#deserialize(params) ⇒ Object
4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 |
# File 'lib/v20180608/models.rb', line 4172 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 |