Class: TencentCloud::Mrs::V20200910::Part
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Part
- Defined in:
- lib/v20200910/models.rb
Overview
部位信息
Instance Attribute Summary collapse
- #Index ⇒ Object
- #Name ⇒ Object
- #NormPart ⇒ Object
- #Src ⇒ Object
- #Value ⇒ Object
- #ValueBrief ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(index = nil, normpart = nil, src = nil, value = nil, name = nil, valuebrief = nil) ⇒ Part
constructor
A new instance of Part.
Constructor Details
#initialize(index = nil, normpart = nil, src = nil, value = nil, name = nil, valuebrief = nil) ⇒ Part
Returns a new instance of Part.
8154 8155 8156 8157 8158 8159 8160 8161 |
# File 'lib/v20200910/models.rb', line 8154 def initialize(index=nil, normpart=nil, src=nil, value=nil, name=nil, valuebrief=nil) @Index = index @NormPart = normpart @Src = src @Value = value @Name = name @ValueBrief = valuebrief end |
Instance Attribute Details
#Index ⇒ Object
8152 8153 8154 |
# File 'lib/v20200910/models.rb', line 8152 def Index @Index end |
#Name ⇒ Object
8152 8153 8154 |
# File 'lib/v20200910/models.rb', line 8152 def Name @Name end |
#NormPart ⇒ Object
8152 8153 8154 |
# File 'lib/v20200910/models.rb', line 8152 def NormPart @NormPart end |
#Src ⇒ Object
8152 8153 8154 |
# File 'lib/v20200910/models.rb', line 8152 def Src @Src end |
#Value ⇒ Object
8152 8153 8154 |
# File 'lib/v20200910/models.rb', line 8152 def Value @Value end |
#ValueBrief ⇒ Object
8152 8153 8154 |
# File 'lib/v20200910/models.rb', line 8152 def ValueBrief @ValueBrief end |
Instance Method Details
#deserialize(params) ⇒ Object
8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 |
# File 'lib/v20200910/models.rb', line 8163 def deserialize(params) @Index = params['Index'] unless params['NormPart'].nil? @NormPart = NormPart.new @NormPart.deserialize(params['NormPart']) end @Src = params['Src'] @Value = params['Value'] @Name = params['Name'] @ValueBrief = params['ValueBrief'] end |