Class: TencentCloud::Bmlb::V20180625::ModifyLoadBalancerChargeModeListener
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::ModifyLoadBalancerChargeModeListener
- Defined in:
- lib/v20180625/models.rb
Overview
修改负载均衡计费方式的监听器信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenerid = nil, protocol = nil, bandwidth = nil) ⇒ ModifyLoadBalancerChargeModeListener
constructor
A new instance of ModifyLoadBalancerChargeModeListener.
Constructor Details
#initialize(listenerid = nil, protocol = nil, bandwidth = nil) ⇒ ModifyLoadBalancerChargeModeListener
Returns a new instance of ModifyLoadBalancerChargeModeListener.
3874 3875 3876 3877 3878 |
# File 'lib/v20180625/models.rb', line 3874 def initialize(listenerid=nil, protocol=nil, bandwidth=nil) @ListenerId = listenerid @Protocol = protocol @Bandwidth = bandwidth end |
Instance Attribute Details
#Bandwidth ⇒ Object
3872 3873 3874 |
# File 'lib/v20180625/models.rb', line 3872 def Bandwidth @Bandwidth end |
#ListenerId ⇒ Object
3872 3873 3874 |
# File 'lib/v20180625/models.rb', line 3872 def ListenerId @ListenerId end |
#Protocol ⇒ Object
3872 3873 3874 |
# File 'lib/v20180625/models.rb', line 3872 def Protocol @Protocol end |
Instance Method Details
#deserialize(params) ⇒ Object
3880 3881 3882 3883 3884 |
# File 'lib/v20180625/models.rb', line 3880 def deserialize(params) @ListenerId = params['ListenerId'] @Protocol = params['Protocol'] @Bandwidth = params['Bandwidth'] end |