Class: TencentCloud::Emr::V20190103::HostPathVolumeSource

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190103/models.rb

Overview

主机路径

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#PathObject

Parameters:

  • Path:

    主机路径

  • Type:

    主机路径类型,当前默认DirectoryOrCreate



7164
7165
7166
# File 'lib/v20190103/models.rb', line 7164

def Path
  @Path
end

#TypeObject

Parameters:

  • Path:

    主机路径

  • Type:

    主机路径类型,当前默认DirectoryOrCreate



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