Class: TencentCloud::Mrs::V20200910::FieldInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::FieldInfo
- Defined in:
- lib/v20200910/models.rb
Overview
通用块信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil, nums = nil, src = nil) ⇒ FieldInfo
constructor
A new instance of FieldInfo.
Constructor Details
#initialize(name = nil, value = nil, nums = nil, src = nil) ⇒ FieldInfo
Returns a new instance of FieldInfo.
3759 3760 3761 3762 3763 3764 |
# File 'lib/v20200910/models.rb', line 3759 def initialize(name=nil, value=nil, nums=nil, src=nil) @Name = name @Value = value @Nums = nums @Src = src end |
Instance Attribute Details
#Name ⇒ Object
3757 3758 3759 |
# File 'lib/v20200910/models.rb', line 3757 def Name @Name end |
#Nums ⇒ Object
3757 3758 3759 |
# File 'lib/v20200910/models.rb', line 3757 def Nums @Nums end |
#Src ⇒ Object
3757 3758 3759 |
# File 'lib/v20200910/models.rb', line 3757 def Src @Src end |
#Value ⇒ Object
3757 3758 3759 |
# File 'lib/v20200910/models.rb', line 3757 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 |
# File 'lib/v20200910/models.rb', line 3766 def deserialize(params) @Name = params['Name'] @Value = params['Value'] unless params['Nums'].nil? @Nums = [] params['Nums'].each do |i| numvalue_tmp = NumValue.new numvalue_tmp.deserialize(i) @Nums << numvalue_tmp end end @Src = params['Src'] end |