Class: TencentCloud::Bmlb::V20180625::ModifyLoadBalancerChargeModeListener

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180625/models.rb

Overview

修改负载均衡计费方式的监听器信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BandwidthObject

Parameters:

  • ListenerId:

    监听器ID。

  • Protocol:

    协议类型。

  • Bandwidth:

    带宽。



3872
3873
3874
# File 'lib/v20180625/models.rb', line 3872

def Bandwidth
  @Bandwidth
end

#ListenerIdObject

Parameters:

  • ListenerId:

    监听器ID。

  • Protocol:

    协议类型。

  • Bandwidth:

    带宽。



3872
3873
3874
# File 'lib/v20180625/models.rb', line 3872

def ListenerId
  @ListenerId
end

#ProtocolObject

Parameters:

  • ListenerId:

    监听器ID。

  • Protocol:

    协议类型。

  • Bandwidth:

    带宽。



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