Class: TencentCloud::Tdmq::V20200217::CreateRocketMQEnvironmentRoleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateRocketMQEnvironmentRoleRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateRocketMQEnvironmentRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, rolename = nil, permissions = nil, clusterid = nil) ⇒ CreateRocketMQEnvironmentRoleRequest
constructor
A new instance of CreateRocketMQEnvironmentRoleRequest.
Constructor Details
#initialize(environmentid = nil, rolename = nil, permissions = nil, clusterid = nil) ⇒ CreateRocketMQEnvironmentRoleRequest
Returns a new instance of CreateRocketMQEnvironmentRoleRequest.
1965 1966 1967 1968 1969 1970 |
# File 'lib/v20200217/models.rb', line 1965 def initialize(environmentid=nil, rolename=nil, =nil, clusterid=nil) @EnvironmentId = environmentid @RoleName = rolename @Permissions = @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
1963 1964 1965 |
# File 'lib/v20200217/models.rb', line 1963 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
1963 1964 1965 |
# File 'lib/v20200217/models.rb', line 1963 def EnvironmentId @EnvironmentId end |
#Permissions ⇒ Object
1963 1964 1965 |
# File 'lib/v20200217/models.rb', line 1963 def Permissions @Permissions end |
#RoleName ⇒ Object
1963 1964 1965 |
# File 'lib/v20200217/models.rb', line 1963 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
1972 1973 1974 1975 1976 1977 |
# File 'lib/v20200217/models.rb', line 1972 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @RoleName = params['RoleName'] @Permissions = params['Permissions'] @ClusterId = params['ClusterId'] end |