Class: TencentCloud::Clb::V20180317::CreateLoadBalancerSnatIpsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::CreateLoadBalancerSnatIpsRequest
- Defined in:
- lib/v20180317/models.rb
Overview
CreateLoadBalancerSnatIps请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, snatips = nil, number = nil) ⇒ CreateLoadBalancerSnatIpsRequest
constructor
A new instance of CreateLoadBalancerSnatIpsRequest.
Constructor Details
#initialize(loadbalancerid = nil, snatips = nil, number = nil) ⇒ CreateLoadBalancerSnatIpsRequest
1694 1695 1696 1697 1698 |
# File 'lib/v20180317/models.rb', line 1694 def initialize(loadbalancerid=nil, snatips=nil, number=nil) @LoadBalancerId = loadbalancerid @SnatIps = snatips @Number = number end |
Instance Attribute Details
#LoadBalancerId ⇒ Object
1692 1693 1694 |
# File 'lib/v20180317/models.rb', line 1692 def LoadBalancerId @LoadBalancerId end |
#Number ⇒ Object
1692 1693 1694 |
# File 'lib/v20180317/models.rb', line 1692 def Number @Number end |
#SnatIps ⇒ Object
1692 1693 1694 |
# File 'lib/v20180317/models.rb', line 1692 def SnatIps @SnatIps end |
Instance Method Details
#deserialize(params) ⇒ Object
1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 |
# File 'lib/v20180317/models.rb', line 1700 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] unless params['SnatIps'].nil? @SnatIps = [] params['SnatIps'].each do |i| snatip_tmp = SnatIp.new snatip_tmp.deserialize(i) @SnatIps << snatip_tmp end end @Number = params['Number'] end |