Class: TencentCloud::Mrs::V20200910::BlockInfoV2

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, src = nil, value = nil, name = nil, code = nil) ⇒ BlockInfoV2

Returns a new instance of BlockInfoV2.



1093
1094
1095
1096
1097
1098
1099
# File 'lib/v20200910/models.rb', line 1093

def initialize(index=nil, src=nil, value=nil, name=nil, code=nil)
  @Index = index
  @Src = src
  @Value = value
  @Name = name
  @Code = code
end

Instance Attribute Details

#CodeObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Value:

  • Name:

    名称

  • Code:

    疾病编码



1091
1092
1093
# File 'lib/v20200910/models.rb', line 1091

def Code
  @Code
end

#IndexObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Value:

  • Name:

    名称

  • Code:

    疾病编码



1091
1092
1093
# File 'lib/v20200910/models.rb', line 1091

def Index
  @Index
end

#NameObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Value:

  • Name:

    名称

  • Code:

    疾病编码



1091
1092
1093
# File 'lib/v20200910/models.rb', line 1091

def Name
  @Name
end

#SrcObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Value:

  • Name:

    名称

  • Code:

    疾病编码



1091
1092
1093
# File 'lib/v20200910/models.rb', line 1091

def Src
  @Src
end

#ValueObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Value:

  • Name:

    名称

  • Code:

    疾病编码



1091
1092
1093
# File 'lib/v20200910/models.rb', line 1091

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



1101
1102
1103
1104
1105
1106
1107
# File 'lib/v20200910/models.rb', line 1101

def deserialize(params)
  @Index = params['Index']
  @Src = params['Src']
  @Value = params['Value']
  @Name = params['Name']
  @Code = params['Code']
end