Class: TencentCloud::Cdb::V20170320::CreateDeployGroupRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

CreateDeployGroup请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deploygroupname = nil, description = nil, affinity = nil, limitnum = nil, devclass = nil) ⇒ 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

#AffinityObject



3555
3556
3557
# File 'lib/v20170320/models.rb', line 3555

def Affinity
  @Affinity
end

#DeployGroupNameObject



3555
3556
3557
# File 'lib/v20170320/models.rb', line 3555

def DeployGroupName
  @DeployGroupName
end

#DescriptionObject



3555
3556
3557
# File 'lib/v20170320/models.rb', line 3555

def Description
  @Description
end

#DevClassObject



3555
3556
3557
# File 'lib/v20170320/models.rb', line 3555

def DevClass
  @DevClass
end

#LimitNumObject



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