Class: TencentCloud::Mrs::V20200910::Elastic

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

弹性质地

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#IndexObject



3139
3140
3141
# File 'lib/v20200910/models.rb', line 3139

def Index
  @Index
end

#NameObject



3139
3140
3141
# File 'lib/v20200910/models.rb', line 3139

def Name
  @Name
end

#ScoreObject



3139
3140
3141
# File 'lib/v20200910/models.rb', line 3139

def Score
  @Score
end

#SrcObject



3139
3140
3141
# File 'lib/v20200910/models.rb', line 3139

def Src
  @Src
end

#ValueObject



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