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
Returns a new instance of Elastic.
3126 3127 3128 3129 3130 3131 3132 |
# File 'lib/v20200910/models.rb', line 3126 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
3124 3125 3126 |
# File 'lib/v20200910/models.rb', line 3124 def Index @Index end |
#Name ⇒ Object
3124 3125 3126 |
# File 'lib/v20200910/models.rb', line 3124 def Name @Name end |
#Score ⇒ Object
3124 3125 3126 |
# File 'lib/v20200910/models.rb', line 3124 def Score @Score end |
#Src ⇒ Object
3124 3125 3126 |
# File 'lib/v20200910/models.rb', line 3124 def Src @Src end |
#Value ⇒ Object
3124 3125 3126 |
# File 'lib/v20200910/models.rb', line 3124 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/v20200910/models.rb', line 3134 def deserialize(params) @Index = params['Index'] @Score = params['Score'] @Src = params['Src'] @Value = params['Value'] @Name = params['Name'] end |