Class: TencentCloud::Scf::V20180416::VersionWeight
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::VersionWeight
- Defined in:
- lib/v20180416/models.rb
Overview
带有权重的函数版本
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(version = nil, weight = nil) ⇒ VersionWeight
constructor
A new instance of VersionWeight.
Constructor Details
#initialize(version = nil, weight = nil) ⇒ VersionWeight
Returns a new instance of VersionWeight.
5573 5574 5575 5576 |
# File 'lib/v20180416/models.rb', line 5573 def initialize(version=nil, weight=nil) @Version = version @Weight = weight end |
Instance Attribute Details
#Version ⇒ Object
5571 5572 5573 |
# File 'lib/v20180416/models.rb', line 5571 def Version @Version end |
#Weight ⇒ Object
5571 5572 5573 |
# File 'lib/v20180416/models.rb', line 5571 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
5578 5579 5580 5581 |
# File 'lib/v20180416/models.rb', line 5578 def deserialize(params) @Version = params['Version'] @Weight = params['Weight'] end |