Class: TencentCloud::Emr::V20190103::CBSInstance
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::CBSInstance
- Defined in:
- lib/v20190103/models.rb
Overview
CBS实例信息
Instance Attribute Summary collapse
-
#Attached ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DeadlineTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DeleteWithInstance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DifferDaysOfDeadline ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskChargeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskUsage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EmrResourceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceIdList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RenewFlag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Shareable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ThroughputPerformance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UnderwriteExpiredTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(diskid = nil, diskusage = nil, diskname = nil, disksize = nil, disktype = nil, deletewithinstance = nil, diskchargetype = nil, diskstate = nil, renewflag = nil, deadlinetime = nil, attached = nil, differdaysofdeadline = nil, instanceidlist = nil, instanceid = nil, shareable = nil, emrresourceid = nil, underwriteexpiredtime = nil, tags = nil, throughputperformance = nil) ⇒ CBSInstance
constructor
A new instance of CBSInstance.
Constructor Details
#initialize(diskid = nil, diskusage = nil, diskname = nil, disksize = nil, disktype = nil, deletewithinstance = nil, diskchargetype = nil, diskstate = nil, renewflag = nil, deadlinetime = nil, attached = nil, differdaysofdeadline = nil, instanceidlist = nil, instanceid = nil, shareable = nil, emrresourceid = nil, underwriteexpiredtime = nil, tags = nil, throughputperformance = nil) ⇒ CBSInstance
Returns a new instance of CBSInstance.
658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/v20190103/models.rb', line 658 def initialize(diskid=nil, diskusage=nil, diskname=nil, disksize=nil, disktype=nil, deletewithinstance=nil, diskchargetype=nil, diskstate=nil, renewflag=nil, deadlinetime=nil, attached=nil, differdaysofdeadline=nil, instanceidlist=nil, instanceid=nil, shareable=nil, emrresourceid=nil, underwriteexpiredtime=nil, =nil, throughputperformance=nil) @DiskId = diskid @DiskUsage = diskusage @DiskName = diskname @DiskSize = disksize @DiskType = disktype @DeleteWithInstance = deletewithinstance @DiskChargeType = diskchargetype @DiskState = diskstate @RenewFlag = renewflag @DeadlineTime = deadlinetime @Attached = attached @DifferDaysOfDeadline = differdaysofdeadline @InstanceIdList = instanceidlist @InstanceId = instanceid @Shareable = shareable @EmrResourceId = emrresourceid @UnderwriteExpiredTime = underwriteexpiredtime @Tags = @ThroughputPerformance = throughputperformance end |
Instance Attribute Details
#Attached ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def Attached @Attached end |
#DeadlineTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DeadlineTime @DeadlineTime end |
#DeleteWithInstance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DeleteWithInstance @DeleteWithInstance end |
#DifferDaysOfDeadline ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DifferDaysOfDeadline @DifferDaysOfDeadline end |
#DiskChargeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DiskChargeType @DiskChargeType end |
#DiskId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DiskId @DiskId end |
#DiskName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DiskName @DiskName end |
#DiskSize ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DiskSize @DiskSize end |
#DiskState ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DiskState @DiskState end |
#DiskType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DiskType @DiskType end |
#DiskUsage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def DiskUsage @DiskUsage end |
#EmrResourceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def EmrResourceId @EmrResourceId end |
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def InstanceId @InstanceId end |
#InstanceIdList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def InstanceIdList @InstanceIdList end |
#RenewFlag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def RenewFlag @RenewFlag end |
#Shareable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def Shareable @Shareable end |
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def Tags @Tags end |
#ThroughputPerformance ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def ThroughputPerformance @ThroughputPerformance end |
#UnderwriteExpiredTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
656 657 658 |
# File 'lib/v20190103/models.rb', line 656 def UnderwriteExpiredTime @UnderwriteExpiredTime end |
Instance Method Details
#deserialize(params) ⇒ Object
680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 |
# File 'lib/v20190103/models.rb', line 680 def deserialize(params) @DiskId = params['DiskId'] @DiskUsage = params['DiskUsage'] @DiskName = params['DiskName'] @DiskSize = params['DiskSize'] @DiskType = params['DiskType'] @DeleteWithInstance = params['DeleteWithInstance'] @DiskChargeType = params['DiskChargeType'] @DiskState = params['DiskState'] @RenewFlag = params['RenewFlag'] @DeadlineTime = params['DeadlineTime'] @Attached = params['Attached'] @DifferDaysOfDeadline = params['DifferDaysOfDeadline'] @InstanceIdList = params['InstanceIdList'] @InstanceId = params['InstanceId'] @Shareable = params['Shareable'] @EmrResourceId = params['EmrResourceId'] @UnderwriteExpiredTime = params['UnderwriteExpiredTime'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @Tags << taginfo_tmp end end @ThroughputPerformance = params['ThroughputPerformance'] end |