Class: TencentCloud::Tdmq::V20200217::ModifyEnvironmentRoleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ModifyEnvironmentRoleRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ModifyEnvironmentRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, rolename = nil, permissions = nil, clusterid = nil) ⇒ ModifyEnvironmentRoleRequest
constructor
A new instance of ModifyEnvironmentRoleRequest.
Constructor Details
#initialize(environmentid = nil, rolename = nil, permissions = nil, clusterid = nil) ⇒ ModifyEnvironmentRoleRequest
Returns a new instance of ModifyEnvironmentRoleRequest.
8846 8847 8848 8849 8850 8851 |
# File 'lib/v20200217/models.rb', line 8846 def initialize(environmentid=nil, rolename=nil, =nil, clusterid=nil) @EnvironmentId = environmentid @RoleName = rolename @Permissions = @ClusterId = clusterid end |
Instance Attribute Details
#ClusterId ⇒ Object
8844 8845 8846 |
# File 'lib/v20200217/models.rb', line 8844 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
8844 8845 8846 |
# File 'lib/v20200217/models.rb', line 8844 def EnvironmentId @EnvironmentId end |
#Permissions ⇒ Object
8844 8845 8846 |
# File 'lib/v20200217/models.rb', line 8844 def Permissions @Permissions end |
#RoleName ⇒ Object
8844 8845 8846 |
# File 'lib/v20200217/models.rb', line 8844 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
8853 8854 8855 8856 8857 8858 |
# File 'lib/v20200217/models.rb', line 8853 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @RoleName = params['RoleName'] @Permissions = params['Permissions'] @ClusterId = params['ClusterId'] end |