Class: TencentCloud::Clb::V20180317::LbRsTargets
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::LbRsTargets
- Defined in:
- lib/v20180317/models.rb
Overview
反查结果数据类型。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, privateip = nil, port = nil, vpcid = nil, weight = nil) ⇒ LbRsTargets
constructor
A new instance of LbRsTargets.
Constructor Details
#initialize(type = nil, privateip = nil, port = nil, vpcid = nil, weight = nil) ⇒ LbRsTargets
Returns a new instance of LbRsTargets.
5222 5223 5224 5225 5226 5227 5228 |
# File 'lib/v20180317/models.rb', line 5222 def initialize(type=nil, privateip=nil, port=nil, vpcid=nil, weight=nil) @Type = type @PrivateIp = privateip @Port = port @VpcId = vpcid @Weight = weight end |
Instance Attribute Details
#Port ⇒ Object
5220 5221 5222 |
# File 'lib/v20180317/models.rb', line 5220 def Port @Port end |
#PrivateIp ⇒ Object
5220 5221 5222 |
# File 'lib/v20180317/models.rb', line 5220 def PrivateIp @PrivateIp end |
#Type ⇒ Object
5220 5221 5222 |
# File 'lib/v20180317/models.rb', line 5220 def Type @Type end |
#VpcId ⇒ Object
5220 5221 5222 |
# File 'lib/v20180317/models.rb', line 5220 def VpcId @VpcId end |
#Weight ⇒ Object
5220 5221 5222 |
# File 'lib/v20180317/models.rb', line 5220 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
5230 5231 5232 5233 5234 5235 5236 |
# File 'lib/v20180317/models.rb', line 5230 def deserialize(params) @Type = params['Type'] @PrivateIp = params['PrivateIp'] @Port = params['Port'] @VpcId = params['VpcId'] @Weight = params['Weight'] end |