Class: TencentCloud::Tke::V20180525::SwitchClusterEndpointRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::SwitchClusterEndpointRequest
- Defined in:
- lib/v20180525/models.rb
Overview
SwitchClusterEndpoint请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, isextranet = nil, rollback = nil) ⇒ SwitchClusterEndpointRequest
constructor
A new instance of SwitchClusterEndpointRequest.
Constructor Details
#initialize(clusterid = nil, isextranet = nil, rollback = nil) ⇒ SwitchClusterEndpointRequest
Returns a new instance of SwitchClusterEndpointRequest.
20227 20228 20229 20230 20231 |
# File 'lib/v20180525/models.rb', line 20227 def initialize(clusterid=nil, isextranet=nil, rollback=nil) @ClusterId = clusterid @IsExtranet = isextranet @Rollback = rollback end |
Instance Attribute Details
#ClusterId ⇒ Object
20225 20226 20227 |
# File 'lib/v20180525/models.rb', line 20225 def ClusterId @ClusterId end |
#IsExtranet ⇒ Object
20225 20226 20227 |
# File 'lib/v20180525/models.rb', line 20225 def IsExtranet @IsExtranet end |
#Rollback ⇒ Object
20225 20226 20227 |
# File 'lib/v20180525/models.rb', line 20225 def Rollback @Rollback end |
Instance Method Details
#deserialize(params) ⇒ Object
20233 20234 20235 20236 20237 |
# File 'lib/v20180525/models.rb', line 20233 def deserialize(params) @ClusterId = params['ClusterId'] @IsExtranet = params['IsExtranet'] @Rollback = params['Rollback'] end |