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
8181 8182 8183 8184 8185 8186 8187 8188 |
# File 'lib/v20200910/models.rb', line 8181 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
8179 8180 8181 |
# File 'lib/v20200910/models.rb', line 8179 def Index @Index end |
#Name ⇒ Object
8179 8180 8181 |
# File 'lib/v20200910/models.rb', line 8179 def Name @Name end |
#NormPart ⇒ Object
8179 8180 8181 |
# File 'lib/v20200910/models.rb', line 8179 def NormPart @NormPart end |
#Src ⇒ Object
8179 8180 8181 |
# File 'lib/v20200910/models.rb', line 8179 def Src @Src end |
#Value ⇒ Object
8179 8180 8181 |
# File 'lib/v20200910/models.rb', line 8179 def Value @Value end |
#ValueBrief ⇒ Object
8179 8180 8181 |
# File 'lib/v20200910/models.rb', line 8179 def ValueBrief @ValueBrief end |
Instance Method Details
#deserialize(params) ⇒ Object
8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 |
# File 'lib/v20200910/models.rb', line 8190 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 |