Class: TencentCloud::Mrs::V20200910::BlockInfoV2
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::BlockInfoV2
- Defined in:
- lib/v20200910/models.rb
Overview
块信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(index = nil, src = nil, value = nil, name = nil, code = nil) ⇒ BlockInfoV2
constructor
A new instance of BlockInfoV2.
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
#Code ⇒ Object
1091 1092 1093 |
# File 'lib/v20200910/models.rb', line 1091 def Code @Code end |
#Index ⇒ Object
1091 1092 1093 |
# File 'lib/v20200910/models.rb', line 1091 def Index @Index end |
#Name ⇒ Object
1091 1092 1093 |
# File 'lib/v20200910/models.rb', line 1091 def Name @Name end |
#Src ⇒ Object
1091 1092 1093 |
# File 'lib/v20200910/models.rb', line 1091 def Src @Src end |
#Value ⇒ Object
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 |