Class: TencentCloud::Mrs::V20200910::PartDesc
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::PartDesc
- Defined in:
- lib/v20200910/models.rb
Overview
部位描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(maindir = nil, part = nil, secondarydir = nil, type = nil) ⇒ PartDesc
constructor
A new instance of PartDesc.
Constructor Details
#initialize(maindir = nil, part = nil, secondarydir = nil, type = nil) ⇒ PartDesc
Returns a new instance of PartDesc.
8189 8190 8191 8192 8193 8194 |
# File 'lib/v20200910/models.rb', line 8189 def initialize(maindir=nil, part=nil, secondarydir=nil, type=nil) @MainDir = maindir @Part = part @SecondaryDir = secondarydir @Type = type end |
Instance Attribute Details
#MainDir ⇒ Object
8187 8188 8189 |
# File 'lib/v20200910/models.rb', line 8187 def MainDir @MainDir end |
#Part ⇒ Object
8187 8188 8189 |
# File 'lib/v20200910/models.rb', line 8187 def Part @Part end |
#SecondaryDir ⇒ Object
8187 8188 8189 |
# File 'lib/v20200910/models.rb', line 8187 def SecondaryDir @SecondaryDir end |
#Type ⇒ Object
8187 8188 8189 |
# File 'lib/v20200910/models.rb', line 8187 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
8196 8197 8198 8199 8200 8201 |
# File 'lib/v20200910/models.rb', line 8196 def deserialize(params) @MainDir = params['MainDir'] @Part = params['Part'] @SecondaryDir = params['SecondaryDir'] @Type = params['Type'] end |