Class: TencentCloud::Tione::V20211111::WeightEntry
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::WeightEntry
- Defined in:
- lib/v20211111/models.rb
Overview
服务的权重
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serviceid = nil, weight = nil) ⇒ WeightEntry
constructor
A new instance of WeightEntry.
Constructor Details
#initialize(serviceid = nil, weight = nil) ⇒ WeightEntry
Returns a new instance of WeightEntry.
9789 9790 9791 9792 |
# File 'lib/v20211111/models.rb', line 9789 def initialize(serviceid=nil, weight=nil) @ServiceId = serviceid @Weight = weight end |
Instance Attribute Details
#ServiceId ⇒ Object
9787 9788 9789 |
# File 'lib/v20211111/models.rb', line 9787 def ServiceId @ServiceId end |
#Weight ⇒ Object
9787 9788 9789 |
# File 'lib/v20211111/models.rb', line 9787 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
9794 9795 9796 9797 |
# File 'lib/v20211111/models.rb', line 9794 def deserialize(params) @ServiceId = params['ServiceId'] @Weight = params['Weight'] end |