Class: TencentCloud::Tdmq::V20200217::DeleteEnvironmentRolesRequest

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

Overview

DeleteEnvironmentRoles请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DeleteEnvironmentRolesRequest.



2677
2678
2679
2680
2681
# File 'lib/v20200217/models.rb', line 2677

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • RoleNames:

    角色名称数组。

  • ClusterId:

    必填字段,集群的ID



2675
2676
2677
# File 'lib/v20200217/models.rb', line 2675

def ClusterId
  @ClusterId
end

#EnvironmentIdObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • RoleNames:

    角色名称数组。

  • ClusterId:

    必填字段,集群的ID



2675
2676
2677
# File 'lib/v20200217/models.rb', line 2675

def EnvironmentId
  @EnvironmentId
end

#RoleNamesObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • RoleNames:

    角色名称数组。

  • ClusterId:

    必填字段,集群的ID



2675
2676
2677
# File 'lib/v20200217/models.rb', line 2675

def RoleNames
  @RoleNames
end

Instance Method Details

#deserialize(params) ⇒ Object



2683
2684
2685
2686
2687
# File 'lib/v20200217/models.rb', line 2683

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