Class: TencentCloud::Tdmq::V20200217::CreateEnvironmentRoleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateEnvironmentRoleRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateEnvironmentRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, rolename = nil, permissions = nil, clusterid = nil) ⇒ CreateEnvironmentRoleRequest
constructor
A new instance of CreateEnvironmentRoleRequest.
Constructor Details
#initialize(environmentid = nil, rolename = nil, permissions = nil, clusterid = nil) ⇒ CreateEnvironmentRoleRequest
Returns a new instance of CreateEnvironmentRoleRequest.
1496 1497 1498 1499 1500 1501 |
# File 'lib/v20200217/models.rb', line 1496 def initialize(environmentid=nil, rolename=nil, =nil, clusterid=nil) @EnvironmentId = environmentid @RoleName = rolename @Permissions = @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
1494 1495 1496 |
# File 'lib/v20200217/models.rb', line 1494 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
1494 1495 1496 |
# File 'lib/v20200217/models.rb', line 1494 def EnvironmentId @EnvironmentId end |
#Permissions ⇒ Object
1494 1495 1496 |
# File 'lib/v20200217/models.rb', line 1494 def Permissions @Permissions end |
#RoleName ⇒ Object
1494 1495 1496 |
# File 'lib/v20200217/models.rb', line 1494 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
1503 1504 1505 1506 1507 1508 |
# File 'lib/v20200217/models.rb', line 1503 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @RoleName = params['RoleName'] @Permissions = params['Permissions'] @ClusterId = params['ClusterId'] end |