Class: TencentCloud::Lighthouse::V20200324::DockerContainerVolume
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::DockerContainerVolume
- Defined in:
- lib/v20200324/models.rb
Overview
Docker容器挂载卷
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(containerpath = nil, hostpath = nil) ⇒ DockerContainerVolume
constructor
A new instance of DockerContainerVolume.
Constructor Details
#initialize(containerpath = nil, hostpath = nil) ⇒ DockerContainerVolume
Returns a new instance of DockerContainerVolume.
5010 5011 5012 5013 |
# File 'lib/v20200324/models.rb', line 5010 def initialize(containerpath=nil, hostpath=nil) @ContainerPath = containerpath @HostPath = hostpath end |
Instance Attribute Details
#ContainerPath ⇒ Object
5008 5009 5010 |
# File 'lib/v20200324/models.rb', line 5008 def ContainerPath @ContainerPath end |
#HostPath ⇒ Object
5008 5009 5010 |
# File 'lib/v20200324/models.rb', line 5008 def HostPath @HostPath end |
Instance Method Details
#deserialize(params) ⇒ Object
5015 5016 5017 5018 |
# File 'lib/v20200324/models.rb', line 5015 def deserialize(params) @ContainerPath = params['ContainerPath'] @HostPath = params['HostPath'] end |