Class: TencentCloud::Cdb::V20170320::ModifyNameOrDescByDpIdRequest

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

Overview

ModifyNameOrDescByDpId请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deploygroupid = nil, deploygroupname = nil, description = nil) ⇒ ModifyNameOrDescByDpIdRequest

Returns a new instance of ModifyNameOrDescByDpIdRequest.



11566
11567
11568
11569
11570
# File 'lib/v20170320/models.rb', line 11566

def initialize(deploygroupid=nil, deploygroupname=nil, description=nil)
  @DeployGroupId = deploygroupid
  @DeployGroupName = deploygroupname
  @Description = description
end

Instance Attribute Details

#DeployGroupIdObject

Parameters:

  • DeployGroupId:

    置放群组 ID。

  • DeployGroupName:

    置放群组名称,最长不能超过60个字符。置放群组名和置放群组描述不能都为空。

  • Description:

    置放群组描述,最长不能超过200个字符。置放群组名和置放群组描述不能都为空。



11564
11565
11566
# File 'lib/v20170320/models.rb', line 11564

def DeployGroupId
  @DeployGroupId
end

#DeployGroupNameObject

Parameters:

  • DeployGroupId:

    置放群组 ID。

  • DeployGroupName:

    置放群组名称,最长不能超过60个字符。置放群组名和置放群组描述不能都为空。

  • Description:

    置放群组描述,最长不能超过200个字符。置放群组名和置放群组描述不能都为空。



11564
11565
11566
# File 'lib/v20170320/models.rb', line 11564

def DeployGroupName
  @DeployGroupName
end

#DescriptionObject

Parameters:

  • DeployGroupId:

    置放群组 ID。

  • DeployGroupName:

    置放群组名称,最长不能超过60个字符。置放群组名和置放群组描述不能都为空。

  • Description:

    置放群组描述,最长不能超过200个字符。置放群组名和置放群组描述不能都为空。



11564
11565
11566
# File 'lib/v20170320/models.rb', line 11564

def Description
  @Description
end

Instance Method Details

#deserialize(params) ⇒ Object



11572
11573
11574
11575
11576
# File 'lib/v20170320/models.rb', line 11572

def deserialize(params)
  @DeployGroupId = params['DeployGroupId']
  @DeployGroupName = params['DeployGroupName']
  @Description = params['Description']
end