Class: TencentCloud::Cdb::V20170320::CreateDeployGroupRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::CreateDeployGroupRequest
- Defined in:
- lib/v20170320/models.rb
Overview
CreateDeployGroup请求参数结构体
Instance Attribute Summary collapse
- #Affinity ⇒ Object
- #DeployGroupName ⇒ Object
- #Description ⇒ Object
- #DevClass ⇒ Object
- #LimitNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deploygroupname = nil, description = nil, affinity = nil, limitnum = nil, devclass = nil) ⇒ CreateDeployGroupRequest
constructor
A new instance of CreateDeployGroupRequest.
Constructor Details
#initialize(deploygroupname = nil, description = nil, affinity = nil, limitnum = nil, devclass = nil) ⇒ CreateDeployGroupRequest
Returns a new instance of CreateDeployGroupRequest.
3557 3558 3559 3560 3561 3562 3563 |
# File 'lib/v20170320/models.rb', line 3557 def initialize(deploygroupname=nil, description=nil, affinity=nil, limitnum=nil, devclass=nil) @DeployGroupName = deploygroupname @Description = description @Affinity = affinity @LimitNum = limitnum @DevClass = devclass end |
Instance Attribute Details
#Affinity ⇒ Object
3555 3556 3557 |
# File 'lib/v20170320/models.rb', line 3555 def Affinity @Affinity end |
#DeployGroupName ⇒ Object
3555 3556 3557 |
# File 'lib/v20170320/models.rb', line 3555 def DeployGroupName @DeployGroupName end |
#Description ⇒ Object
3555 3556 3557 |
# File 'lib/v20170320/models.rb', line 3555 def Description @Description end |
#DevClass ⇒ Object
3555 3556 3557 |
# File 'lib/v20170320/models.rb', line 3555 def DevClass @DevClass end |
#LimitNum ⇒ Object
3555 3556 3557 |
# File 'lib/v20170320/models.rb', line 3555 def LimitNum @LimitNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3565 3566 3567 3568 3569 3570 3571 |
# File 'lib/v20170320/models.rb', line 3565 def deserialize(params) @DeployGroupName = params['DeployGroupName'] @Description = params['Description'] @Affinity = params['Affinity'] @LimitNum = params['LimitNum'] @DevClass = params['DevClass'] end |