Class: TencentCloud::Pds::V20210701::Score

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

Overview

信誉分,1-5从低到高

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(star = nil) ⇒ Score

Returns a new instance of Score.



111
112
113
# File 'lib/v20210701/models.rb', line 111

def initialize(star=nil)
  @Star = star
end

Instance Attribute Details

#StarObject

Parameters:

  • Star:

    信誉分,1-5从低到高



109
110
111
# File 'lib/v20210701/models.rb', line 109

def Star
  @Star
end

Instance Method Details

#deserialize(params) ⇒ Object



115
116
117
# File 'lib/v20210701/models.rb', line 115

def deserialize(params)
  @Star = params['Star']
end