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.



11327
11328
11329
11330
11331
# File 'lib/v20170320/models.rb', line 11327

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个字符。置放群组名和置放群组描述不能都为空。



11325
11326
11327
# File 'lib/v20170320/models.rb', line 11325

def DeployGroupId
  @DeployGroupId
end

#DeployGroupNameObject

Parameters:

  • DeployGroupId:

    置放群组 ID。

  • DeployGroupName:

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

  • Description:

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



11325
11326
11327
# File 'lib/v20170320/models.rb', line 11325

def DeployGroupName
  @DeployGroupName
end

#DescriptionObject

Parameters:

  • DeployGroupId:

    置放群组 ID。

  • DeployGroupName:

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

  • Description:

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



11325
11326
11327
# File 'lib/v20170320/models.rb', line 11325

def Description
  @Description
end

Instance Method Details

#deserialize(params) ⇒ Object



11333
11334
11335
11336
11337
# File 'lib/v20170320/models.rb', line 11333

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