Class: TencentCloud::Mrs::V20200910::Part

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

Overview

部位信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#IndexObject



8179
8180
8181
# File 'lib/v20200910/models.rb', line 8179

def Index
  @Index
end

#NameObject



8179
8180
8181
# File 'lib/v20200910/models.rb', line 8179

def Name
  @Name
end

#NormPartObject



8179
8180
8181
# File 'lib/v20200910/models.rb', line 8179

def NormPart
  @NormPart
end

#SrcObject



8179
8180
8181
# File 'lib/v20200910/models.rb', line 8179

def Src
  @Src
end

#ValueObject



8179
8180
8181
# File 'lib/v20200910/models.rb', line 8179

def Value
  @Value
end

#ValueBriefObject



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