Class: TencentCloud::Cdc::V20201214::CreateDedicatedClusterRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::CreateDedicatedClusterRequest
- Defined in:
- lib/v20201214/models.rb
Overview
CreateDedicatedCluster请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(siteid = nil, name = nil, zone = nil, description = nil) ⇒ CreateDedicatedClusterRequest
constructor
A new instance of CreateDedicatedClusterRequest.
Constructor Details
#initialize(siteid = nil, name = nil, zone = nil, description = nil) ⇒ CreateDedicatedClusterRequest
Returns a new instance of CreateDedicatedClusterRequest.
206 207 208 209 210 211 |
# File 'lib/v20201214/models.rb', line 206 def initialize(siteid=nil, name=nil, zone=nil, description=nil) @SiteId = siteid @Name = name @Zone = zone @Description = description end |
Instance Attribute Details
#Description ⇒ Object
204 205 206 |
# File 'lib/v20201214/models.rb', line 204 def Description @Description end |
#Name ⇒ Object
204 205 206 |
# File 'lib/v20201214/models.rb', line 204 def Name @Name end |
#SiteId ⇒ Object
204 205 206 |
# File 'lib/v20201214/models.rb', line 204 def SiteId @SiteId end |
#Zone ⇒ Object
204 205 206 |
# File 'lib/v20201214/models.rb', line 204 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
213 214 215 216 217 218 |
# File 'lib/v20201214/models.rb', line 213 def deserialize(params) @SiteId = params['SiteId'] @Name = params['Name'] @Zone = params['Zone'] @Description = params['Description'] end |