Class: TencentCloud::Sqlserver::V20180328::ReadOnlyInstanceWeightPair
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::ReadOnlyInstanceWeightPair
- Defined in:
- lib/v20180328/models.rb
Overview
只读实例与权重对应关系
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(readonlyinstanceid = nil, readonlyweight = nil) ⇒ ReadOnlyInstanceWeightPair
constructor
A new instance of ReadOnlyInstanceWeightPair.
Constructor Details
#initialize(readonlyinstanceid = nil, readonlyweight = nil) ⇒ ReadOnlyInstanceWeightPair
Returns a new instance of ReadOnlyInstanceWeightPair.
10336 10337 10338 10339 |
# File 'lib/v20180328/models.rb', line 10336 def initialize(=nil, readonlyweight=nil) @ReadOnlyInstanceId = @ReadOnlyWeight = readonlyweight end |
Instance Attribute Details
#ReadOnlyInstanceId ⇒ Object
10334 10335 10336 |
# File 'lib/v20180328/models.rb', line 10334 def ReadOnlyInstanceId @ReadOnlyInstanceId end |
#ReadOnlyWeight ⇒ Object
10334 10335 10336 |
# File 'lib/v20180328/models.rb', line 10334 def ReadOnlyWeight @ReadOnlyWeight end |
Instance Method Details
#deserialize(params) ⇒ Object
10341 10342 10343 10344 |
# File 'lib/v20180328/models.rb', line 10341 def deserialize(params) @ReadOnlyInstanceId = params['ReadOnlyInstanceId'] @ReadOnlyWeight = params['ReadOnlyWeight'] end |