Class: TencentCloud::Emr::V20190103::PodVolume
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::PodVolume
- Defined in:
- lib/v20190103/models.rb
Overview
Pod的存储设备描述信息。
Instance Attribute Summary collapse
-
#HostVolume ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PVCVolume ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#VolumeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(volumetype = nil, pvcvolume = nil, hostvolume = nil) ⇒ PodVolume
constructor
A new instance of PodVolume.
Constructor Details
#initialize(volumetype = nil, pvcvolume = nil, hostvolume = nil) ⇒ PodVolume
Returns a new instance of PodVolume.
11509 11510 11511 11512 11513 |
# File 'lib/v20190103/models.rb', line 11509 def initialize(volumetype=nil, pvcvolume=nil, hostvolume=nil) @VolumeType = volumetype @PVCVolume = pvcvolume @HostVolume = hostvolume end |
Instance Attribute Details
#HostVolume ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11507 11508 11509 |
# File 'lib/v20190103/models.rb', line 11507 def HostVolume @HostVolume end |
#PVCVolume ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11507 11508 11509 |
# File 'lib/v20190103/models.rb', line 11507 def PVCVolume @PVCVolume end |
#VolumeType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
11507 11508 11509 |
# File 'lib/v20190103/models.rb', line 11507 def VolumeType @VolumeType end |
Instance Method Details
#deserialize(params) ⇒ Object
11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 |
# File 'lib/v20190103/models.rb', line 11515 def deserialize(params) @VolumeType = params['VolumeType'] unless params['PVCVolume'].nil? @PVCVolume = PersistentVolumeContext.new @PVCVolume.deserialize(params['PVCVolume']) end unless params['HostVolume'].nil? @HostVolume = HostVolumeContext.new @HostVolume.deserialize(params['HostVolume']) end end |