Class: TencentCloud::Cdwpg::V20201230::ResourceInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwpg::V20201230::ResourceInfo
- Defined in:
- lib/v20201230/models.rb
Overview
资源信息
Instance Attribute Summary collapse
-
#Count ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DiskSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SpecName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(specname = nil, count = nil, diskspec = nil, type = nil) ⇒ ResourceInfo
constructor
A new instance of ResourceInfo.
Constructor Details
#initialize(specname = nil, count = nil, diskspec = nil, type = nil) ⇒ ResourceInfo
Returns a new instance of ResourceInfo.
921 922 923 924 925 926 |
# File 'lib/v20201230/models.rb', line 921 def initialize(specname=nil, count=nil, diskspec=nil, type=nil) @SpecName = specname @Count = count @DiskSpec = diskspec @Type = type end |
Instance Attribute Details
#Count ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
919 920 921 |
# File 'lib/v20201230/models.rb', line 919 def Count @Count end |
#DiskSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
919 920 921 |
# File 'lib/v20201230/models.rb', line 919 def DiskSpec @DiskSpec end |
#SpecName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
919 920 921 |
# File 'lib/v20201230/models.rb', line 919 def SpecName @SpecName end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
919 920 921 |
# File 'lib/v20201230/models.rb', line 919 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
928 929 930 931 932 933 934 935 936 |
# File 'lib/v20201230/models.rb', line 928 def deserialize(params) @SpecName = params['SpecName'] @Count = params['Count'] unless params['DiskSpec'].nil? @DiskSpec = CBSSpecInfo.new @DiskSpec.deserialize(params['DiskSpec']) end @Type = params['Type'] end |