Class: TencentCloud::Cbs::V20170312::SnapshotGroup
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::SnapshotGroup
- Defined in:
- lib/v20170312/models.rb
Overview
描述快照组详情
Instance Attribute Summary collapse
-
#AutoSnapshotPolicyId ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ContainRootSnapshot ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DeadlineTime ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ImageCount ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Images ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IsPermanent ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ModifyTime ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Percent ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotGroupId ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotGroupName ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotGroupState ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotGroupType ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotIdSet ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(snapshotgroupid = nil, snapshotgrouptype = nil, containrootsnapshot = nil, snapshotidset = nil, snapshotgroupstate = nil, percent = nil, createtime = nil, modifytime = nil, images = nil, snapshotgroupname = nil, imagecount = nil, ispermanent = nil, deadlinetime = nil, autosnapshotpolicyid = nil) ⇒ SnapshotGroup
constructor
A new instance of SnapshotGroup.
Constructor Details
#initialize(snapshotgroupid = nil, snapshotgrouptype = nil, containrootsnapshot = nil, snapshotidset = nil, snapshotgroupstate = nil, percent = nil, createtime = nil, modifytime = nil, images = nil, snapshotgroupname = nil, imagecount = nil, ispermanent = nil, deadlinetime = nil, autosnapshotpolicyid = nil) ⇒ SnapshotGroup
Returns a new instance of SnapshotGroup.
3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 |
# File 'lib/v20170312/models.rb', line 3449 def initialize(snapshotgroupid=nil, snapshotgrouptype=nil, containrootsnapshot=nil, snapshotidset=nil, snapshotgroupstate=nil, percent=nil, createtime=nil, modifytime=nil, images=nil, snapshotgroupname=nil, imagecount=nil, ispermanent=nil, deadlinetime=nil, autosnapshotpolicyid=nil) @SnapshotGroupId = snapshotgroupid @SnapshotGroupType = snapshotgrouptype @ContainRootSnapshot = containrootsnapshot @SnapshotIdSet = snapshotidset @SnapshotGroupState = snapshotgroupstate @Percent = percent @CreateTime = createtime @ModifyTime = modifytime @Images = images @SnapshotGroupName = snapshotgroupname @ImageCount = imagecount @IsPermanent = ispermanent @DeadlineTime = deadlinetime @AutoSnapshotPolicyId = autosnapshotpolicyid end |
Instance Attribute Details
#AutoSnapshotPolicyId ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def AutoSnapshotPolicyId @AutoSnapshotPolicyId end |
#ContainRootSnapshot ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def ContainRootSnapshot @ContainRootSnapshot end |
#CreateTime ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def CreateTime @CreateTime end |
#DeadlineTime ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def DeadlineTime @DeadlineTime end |
#ImageCount ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def ImageCount @ImageCount end |
#Images ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def Images @Images end |
#IsPermanent ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def IsPermanent @IsPermanent end |
#ModifyTime ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def ModifyTime @ModifyTime end |
#Percent ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def Percent @Percent end |
#SnapshotGroupId ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def SnapshotGroupId @SnapshotGroupId end |
#SnapshotGroupName ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def SnapshotGroupName @SnapshotGroupName end |
#SnapshotGroupState ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def SnapshotGroupState @SnapshotGroupState end |
#SnapshotGroupType ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def SnapshotGroupType @SnapshotGroupType end |
#SnapshotIdSet ⇒ Object
</ul> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
3447 3448 3449 |
# File 'lib/v20170312/models.rb', line 3447 def SnapshotIdSet @SnapshotIdSet end |
Instance Method Details
#deserialize(params) ⇒ Object
3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 |
# File 'lib/v20170312/models.rb', line 3466 def deserialize(params) @SnapshotGroupId = params['SnapshotGroupId'] @SnapshotGroupType = params['SnapshotGroupType'] @ContainRootSnapshot = params['ContainRootSnapshot'] @SnapshotIdSet = params['SnapshotIdSet'] @SnapshotGroupState = params['SnapshotGroupState'] @Percent = params['Percent'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] unless params['Images'].nil? @Images = [] params['Images'].each do |i| image_tmp = Image.new image_tmp.deserialize(i) @Images << image_tmp end end @SnapshotGroupName = params['SnapshotGroupName'] @ImageCount = params['ImageCount'] @IsPermanent = params['IsPermanent'] @DeadlineTime = params['DeadlineTime'] @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId'] end |