Class: TencentCloud::Tke::V20180525::AddVpcCniSubnetsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::AddVpcCniSubnetsRequest
- Defined in:
- lib/v20180525/models.rb
Overview
AddVpcCniSubnets请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, subnetids = nil, vpcid = nil, skipaddingnonmasqueradecidrs = nil) ⇒ AddVpcCniSubnetsRequest
constructor
A new instance of AddVpcCniSubnetsRequest.
Constructor Details
#initialize(clusterid = nil, subnetids = nil, vpcid = nil, skipaddingnonmasqueradecidrs = nil) ⇒ AddVpcCniSubnetsRequest
Returns a new instance of AddVpcCniSubnetsRequest.
256 257 258 259 260 261 |
# File 'lib/v20180525/models.rb', line 256 def initialize(clusterid=nil, subnetids=nil, vpcid=nil, skipaddingnonmasqueradecidrs=nil) @ClusterId = clusterid @SubnetIds = subnetids @VpcId = vpcid @SkipAddingNonMasqueradeCIDRs = skipaddingnonmasqueradecidrs end |
Instance Attribute Details
#ClusterId ⇒ Object
254 255 256 |
# File 'lib/v20180525/models.rb', line 254 def ClusterId @ClusterId end |
#SkipAddingNonMasqueradeCIDRs ⇒ Object
254 255 256 |
# File 'lib/v20180525/models.rb', line 254 def SkipAddingNonMasqueradeCIDRs @SkipAddingNonMasqueradeCIDRs end |
#SubnetIds ⇒ Object
254 255 256 |
# File 'lib/v20180525/models.rb', line 254 def SubnetIds @SubnetIds end |
#VpcId ⇒ Object
254 255 256 |
# File 'lib/v20180525/models.rb', line 254 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
263 264 265 266 267 268 |
# File 'lib/v20180525/models.rb', line 263 def deserialize(params) @ClusterId = params['ClusterId'] @SubnetIds = params['SubnetIds'] @VpcId = params['VpcId'] @SkipAddingNonMasqueradeCIDRs = params['SkipAddingNonMasqueradeCIDRs'] end |