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.



11398
11399
11400
11401
11402
# File 'lib/v20170320/models.rb', line 11398

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



11396
11397
11398
# File 'lib/v20170320/models.rb', line 11396

def DeployGroupId
  @DeployGroupId
end

#DeployGroupNameObject

Parameters:

  • DeployGroupId:

    置放群组 ID。

  • DeployGroupName:

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

  • Description:

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



11396
11397
11398
# File 'lib/v20170320/models.rb', line 11396

def DeployGroupName
  @DeployGroupName
end

#DescriptionObject

Parameters:

  • DeployGroupId:

    置放群组 ID。

  • DeployGroupName:

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

  • Description:

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



11396
11397
11398
# File 'lib/v20170320/models.rb', line 11396

def Description
  @Description
end

Instance Method Details

#deserialize(params) ⇒ Object



11404
11405
11406
11407
11408
# File 'lib/v20170320/models.rb', line 11404

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