Class: TencentCloud::Tdmq::V20200217::Role
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::Role
- Defined in:
- lib/v20200217/models.rb
Overview
角色实例
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rolename = nil, token = nil, remark = nil, createtime = nil, updatetime = nil) ⇒ Role
constructor
A new instance of Role.
Constructor Details
#initialize(rolename = nil, token = nil, remark = nil, createtime = nil, updatetime = nil) ⇒ Role
Returns a new instance of Role.
12527 12528 12529 12530 12531 12532 12533 |
# File 'lib/v20200217/models.rb', line 12527 def initialize(rolename=nil, token=nil, remark=nil, createtime=nil, updatetime=nil) @RoleName = rolename @Token = token @Remark = remark @CreateTime = createtime @UpdateTime = updatetime end |
Instance Attribute Details
#CreateTime ⇒ Object
12525 12526 12527 |
# File 'lib/v20200217/models.rb', line 12525 def CreateTime @CreateTime end |
#Remark ⇒ Object
12525 12526 12527 |
# File 'lib/v20200217/models.rb', line 12525 def Remark @Remark end |
#RoleName ⇒ Object
12525 12526 12527 |
# File 'lib/v20200217/models.rb', line 12525 def RoleName @RoleName end |
#Token ⇒ Object
12525 12526 12527 |
# File 'lib/v20200217/models.rb', line 12525 def Token @Token end |
#UpdateTime ⇒ Object
12525 12526 12527 |
# File 'lib/v20200217/models.rb', line 12525 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
12535 12536 12537 12538 12539 12540 12541 |
# File 'lib/v20200217/models.rb', line 12535 def deserialize(params) @RoleName = params['RoleName'] @Token = params['Token'] @Remark = params['Remark'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end |