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

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

#IndexObject

Parameters:

  • Index:

    原文位置

  • NormPart:

    部位

  • Src:

    原文

  • Value:

  • Name:

    名称

  • ValueBrief:



8152
8153
8154
# File 'lib/v20200910/models.rb', line 8152

def Index
  @Index
end

#NameObject

Parameters:

  • Index:

    原文位置

  • NormPart:

    部位

  • Src:

    原文

  • Value:

  • Name:

    名称

  • ValueBrief:



8152
8153
8154
# File 'lib/v20200910/models.rb', line 8152

def Name
  @Name
end

#NormPartObject

Parameters:

  • Index:

    原文位置

  • NormPart:

    部位

  • Src:

    原文

  • Value:

  • Name:

    名称

  • ValueBrief:



8152
8153
8154
# File 'lib/v20200910/models.rb', line 8152

def NormPart
  @NormPart
end

#SrcObject

Parameters:

  • Index:

    原文位置

  • NormPart:

    部位

  • Src:

    原文

  • Value:

  • Name:

    名称

  • ValueBrief:



8152
8153
8154
# File 'lib/v20200910/models.rb', line 8152

def Src
  @Src
end

#ValueObject

Parameters:

  • Index:

    原文位置

  • NormPart:

    部位

  • Src:

    原文

  • Value:

  • Name:

    名称

  • ValueBrief:



8152
8153
8154
# File 'lib/v20200910/models.rb', line 8152

def Value
  @Value
end

#ValueBriefObject

Parameters:

  • Index:

    原文位置

  • NormPart:

    部位

  • Src:

    原文

  • Value:

  • Name:

    名称

  • ValueBrief:



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