Class: TencentCloud::Tdmq::V20200217::ModifyRocketMQEnvironmentRoleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ModifyRocketMQEnvironmentRoleRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ModifyRocketMQEnvironmentRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, rolename = nil, permissions = nil, clusterid = nil) ⇒ ModifyRocketMQEnvironmentRoleRequest
constructor
A new instance of ModifyRocketMQEnvironmentRoleRequest.
Constructor Details
#initialize(environmentid = nil, rolename = nil, permissions = nil, clusterid = nil) ⇒ ModifyRocketMQEnvironmentRoleRequest
Returns a new instance of ModifyRocketMQEnvironmentRoleRequest.
9135 9136 9137 9138 9139 9140 |
# File 'lib/v20200217/models.rb', line 9135 def initialize(environmentid=nil, rolename=nil, =nil, clusterid=nil) @EnvironmentId = environmentid @RoleName = rolename @Permissions = @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
9133 9134 9135 |
# File 'lib/v20200217/models.rb', line 9133 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
9133 9134 9135 |
# File 'lib/v20200217/models.rb', line 9133 def EnvironmentId @EnvironmentId end |
#Permissions ⇒ Object
9133 9134 9135 |
# File 'lib/v20200217/models.rb', line 9133 def Permissions @Permissions end |
#RoleName ⇒ Object
9133 9134 9135 |
# File 'lib/v20200217/models.rb', line 9133 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
9142 9143 9144 9145 9146 9147 |
# File 'lib/v20200217/models.rb', line 9142 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @RoleName = params['RoleName'] @Permissions = params['Permissions'] @ClusterId = params['ClusterId'] end |