Class: TencentCloud::Tdmq::V20200217::DeleteRocketMQEnvironmentRolesRequest

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

Overview

DeleteRocketMQEnvironmentRoles请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environmentid = nil, rolenames = nil, clusterid = nil) ⇒ DeleteRocketMQEnvironmentRolesRequest

Returns a new instance of DeleteRocketMQEnvironmentRolesRequest.



2998
2999
3000
3001
3002
# File 'lib/v20200217/models.rb', line 2998

def initialize(environmentid=nil, rolenames=nil, clusterid=nil)
  @EnvironmentId = environmentid
  @RoleNames = rolenames
  @ClusterId = clusterid
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • RoleNames:

    角色名称数组。

  • ClusterId:

    集群的ID



2996
2997
2998
# File 'lib/v20200217/models.rb', line 2996

def ClusterId
  @ClusterId
end

#EnvironmentIdObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • RoleNames:

    角色名称数组。

  • ClusterId:

    集群的ID



2996
2997
2998
# File 'lib/v20200217/models.rb', line 2996

def EnvironmentId
  @EnvironmentId
end

#RoleNamesObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • RoleNames:

    角色名称数组。

  • ClusterId:

    集群的ID



2996
2997
2998
# File 'lib/v20200217/models.rb', line 2996

def RoleNames
  @RoleNames
end

Instance Method Details

#deserialize(params) ⇒ Object



3004
3005
3006
3007
3008
# File 'lib/v20200217/models.rb', line 3004

def deserialize(params)
  @EnvironmentId = params['EnvironmentId']
  @RoleNames = params['RoleNames']
  @ClusterId = params['ClusterId']
end