Class: TencentCloud::Mrs::V20200910::Elastic
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Elastic
- Defined in:
- lib/v20200910/models.rb
Overview
弹性质地
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(index = nil, score = nil, src = nil, value = nil, name = nil) ⇒ Elastic
constructor
A new instance of Elastic.
Constructor Details
#initialize(index = nil, score = nil, src = nil, value = nil, name = nil) ⇒ Elastic
3141 3142 3143 3144 3145 3146 3147 |
# File 'lib/v20200910/models.rb', line 3141 def initialize(index=nil, score=nil, src=nil, value=nil, name=nil) @Index = index @Score = score @Src = src @Value = value @Name = name end |
Instance Attribute Details
#Index ⇒ Object
3139 3140 3141 |
# File 'lib/v20200910/models.rb', line 3139 def Index @Index end |
#Name ⇒ Object
3139 3140 3141 |
# File 'lib/v20200910/models.rb', line 3139 def Name @Name end |
#Score ⇒ Object
3139 3140 3141 |
# File 'lib/v20200910/models.rb', line 3139 def Score @Score end |
#Src ⇒ Object
3139 3140 3141 |
# File 'lib/v20200910/models.rb', line 3139 def Src @Src end |
#Value ⇒ Object
3139 3140 3141 |
# File 'lib/v20200910/models.rb', line 3139 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3149 3150 3151 3152 3153 3154 3155 |
# File 'lib/v20200910/models.rb', line 3149 def deserialize(params) @Index = params['Index'] @Score = params['Score'] @Src = params['Src'] @Value = params['Value'] @Name = params['Name'] end |