Class: TencentCloud::Ecm::V20190719::Snapshot
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::Snapshot
- Defined in:
- lib/v20190719/models.rb
Overview
描述了快照的详细信息
Instance Attribute Summary collapse
-
#CopyFromRemote ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CopyingToRegions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DeadlineTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskUsage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Encrypt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ImageCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Images ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#IsPermanent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Percent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Placement ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ShareReference ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SnapshotType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TimeStartShare ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(placement = nil, copyfromremote = nil, ispermanent = nil, snapshotname = nil, percent = nil, images = nil, sharereference = nil, snapshottype = nil, disksize = nil, diskid = nil, copyingtoregions = nil, snapshotid = nil, diskusage = nil, encrypt = nil, createtime = nil, imagecount = nil, snapshotstate = nil, deadlinetime = nil, timestartshare = nil) ⇒ Snapshot
constructor
A new instance of Snapshot.
Constructor Details
#initialize(placement = nil, copyfromremote = nil, ispermanent = nil, snapshotname = nil, percent = nil, images = nil, sharereference = nil, snapshottype = nil, disksize = nil, diskid = nil, copyingtoregions = nil, snapshotid = nil, diskusage = nil, encrypt = nil, createtime = nil, imagecount = nil, snapshotstate = nil, deadlinetime = nil, timestartshare = nil) ⇒ Snapshot
Returns a new instance of Snapshot.
10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 |
# File 'lib/v20190719/models.rb', line 10665 def initialize(placement=nil, copyfromremote=nil, ispermanent=nil, snapshotname=nil, percent=nil, images=nil, sharereference=nil, snapshottype=nil, disksize=nil, diskid=nil, =nil, snapshotid=nil, diskusage=nil, encrypt=nil, createtime=nil, imagecount=nil, snapshotstate=nil, deadlinetime=nil, timestartshare=nil) @Placement = placement @CopyFromRemote = copyfromremote @IsPermanent = ispermanent @SnapshotName = snapshotname @Percent = percent @Images = images @ShareReference = sharereference @SnapshotType = snapshottype @DiskSize = disksize @DiskId = diskid @CopyingToRegions = @SnapshotId = snapshotid @DiskUsage = diskusage @Encrypt = encrypt @CreateTime = createtime @ImageCount = imagecount @SnapshotState = snapshotstate @DeadlineTime = deadlinetime @TimeStartShare = timestartshare end |
Instance Attribute Details
#CopyFromRemote ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def CopyFromRemote @CopyFromRemote end |
#CopyingToRegions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def CopyingToRegions @CopyingToRegions end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def CreateTime @CreateTime end |
#DeadlineTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def DeadlineTime @DeadlineTime end |
#DiskId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def DiskId @DiskId end |
#DiskSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def DiskSize @DiskSize end |
#DiskUsage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def DiskUsage @DiskUsage end |
#Encrypt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def Encrypt @Encrypt end |
#ImageCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def ImageCount @ImageCount end |
#Images ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def Images @Images end |
#IsPermanent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def IsPermanent @IsPermanent end |
#Percent ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def Percent @Percent end |
#Placement ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def Placement @Placement end |
#ShareReference ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def ShareReference @ShareReference end |
#SnapshotId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def SnapshotId @SnapshotId end |
#SnapshotName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def SnapshotName @SnapshotName end |
#SnapshotState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def SnapshotState @SnapshotState end |
#SnapshotType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def SnapshotType @SnapshotType end |
#TimeStartShare ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10663 10664 10665 |
# File 'lib/v20190719/models.rb', line 10663 def TimeStartShare @TimeStartShare end |
Instance Method Details
#deserialize(params) ⇒ Object
10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 |
# File 'lib/v20190719/models.rb', line 10687 def deserialize(params) unless params['Placement'].nil? @Placement = Placement.new @Placement.deserialize(params['Placement']) end @CopyFromRemote = params['CopyFromRemote'] @IsPermanent = params['IsPermanent'] @SnapshotName = params['SnapshotName'] @Percent = params['Percent'] unless params['Images'].nil? @Images = [] params['Images'].each do |i| image_tmp = Image.new image_tmp.deserialize(i) @Images << image_tmp end end @ShareReference = params['ShareReference'] @SnapshotType = params['SnapshotType'] @DiskSize = params['DiskSize'] @DiskId = params['DiskId'] @CopyingToRegions = params['CopyingToRegions'] @SnapshotId = params['SnapshotId'] @DiskUsage = params['DiskUsage'] @Encrypt = params['Encrypt'] @CreateTime = params['CreateTime'] @ImageCount = params['ImageCount'] @SnapshotState = params['SnapshotState'] @DeadlineTime = params['DeadlineTime'] @TimeStartShare = params['TimeStartShare'] end |