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
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ContainRootSnapshot ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DeadlineTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ImageCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Images ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IsPermanent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ModifyTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Percent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotGroupId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotGroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotGroupState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotGroupType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotIdSet ⇒ Object
注意:此字段可能返回 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.
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 |
# File 'lib/v20170312/models.rb', line 3494 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
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def AutoSnapshotPolicyId @AutoSnapshotPolicyId end |
#ContainRootSnapshot ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def ContainRootSnapshot @ContainRootSnapshot end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def CreateTime @CreateTime end |
#DeadlineTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def DeadlineTime @DeadlineTime end |
#ImageCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def ImageCount @ImageCount end |
#Images ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def Images @Images end |
#IsPermanent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def IsPermanent @IsPermanent end |
#ModifyTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def ModifyTime @ModifyTime end |
#Percent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def Percent @Percent end |
#SnapshotGroupId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def SnapshotGroupId @SnapshotGroupId end |
#SnapshotGroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def SnapshotGroupName @SnapshotGroupName end |
#SnapshotGroupState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def SnapshotGroupState @SnapshotGroupState end |
#SnapshotGroupType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def SnapshotGroupType @SnapshotGroupType end |
#SnapshotIdSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
注意:此字段可能返回 null,表示取不到有效值。
3492 3493 3494 |
# File 'lib/v20170312/models.rb', line 3492 def SnapshotIdSet @SnapshotIdSet end |
Instance Method Details
#deserialize(params) ⇒ Object
3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 |
# File 'lib/v20170312/models.rb', line 3511 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 |