Class: TencentCloud::Emr::V20190103::HostPathVolumeSource
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::HostPathVolumeSource
- Defined in:
- lib/v20190103/models.rb
Overview
主机路径
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(path = nil, type = nil) ⇒ HostPathVolumeSource
constructor
A new instance of HostPathVolumeSource.
Constructor Details
#initialize(path = nil, type = nil) ⇒ HostPathVolumeSource
Returns a new instance of HostPathVolumeSource.
7166 7167 7168 7169 |
# File 'lib/v20190103/models.rb', line 7166 def initialize(path=nil, type=nil) @Path = path @Type = type end |
Instance Attribute Details
#Path ⇒ Object
7164 7165 7166 |
# File 'lib/v20190103/models.rb', line 7164 def Path @Path end |
#Type ⇒ Object
7164 7165 7166 |
# File 'lib/v20190103/models.rb', line 7164 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
7171 7172 7173 7174 |
# File 'lib/v20190103/models.rb', line 7171 def deserialize(params) @Path = params['Path'] @Type = params['Type'] end |