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.
3774 3775 3776 3777 3778 3779 |
# File 'lib/v20200910/models.rb', line 3774 def initialize(name=nil, value=nil, nums=nil, src=nil) @Name = name @Value = value @Nums = nums @Src = src end |
Instance Attribute Details
#Name ⇒ Object
3772 3773 3774 |
# File 'lib/v20200910/models.rb', line 3772 def Name @Name end |
#Nums ⇒ Object
3772 3773 3774 |
# File 'lib/v20200910/models.rb', line 3772 def Nums @Nums end |
#Src ⇒ Object
3772 3773 3774 |
# File 'lib/v20200910/models.rb', line 3772 def Src @Src end |
#Value ⇒ Object
3772 3773 3774 |
# File 'lib/v20200910/models.rb', line 3772 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 |
# File 'lib/v20200910/models.rb', line 3781 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 |