Class: TencentCloud::Ckafka::V20190819::Acl
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::Acl
- Defined in:
- lib/v20190819/models.rb
Overview
ACL对象实体
Instance Attribute Summary collapse
- #Host ⇒ Object
- #Operation ⇒ Object
- #PermissionType ⇒ Object
- #Principal ⇒ Object
- #ResourceName ⇒ Object
- #ResourceType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourcetype = nil, resourcename = nil, principal = nil, host = nil, operation = nil, permissiontype = nil) ⇒ Acl
constructor
A new instance of Acl.
Constructor Details
#initialize(resourcetype = nil, resourcename = nil, principal = nil, host = nil, operation = nil, permissiontype = nil) ⇒ Acl
Returns a new instance of Acl.
37 38 39 40 41 42 43 44 |
# File 'lib/v20190819/models.rb', line 37 def initialize(resourcetype=nil, resourcename=nil, principal=nil, host=nil, operation=nil, =nil) @ResourceType = resourcetype @ResourceName = resourcename @Principal = principal @Host = host @Operation = operation @PermissionType = end |
Instance Attribute Details
#Host ⇒ Object
35 36 37 |
# File 'lib/v20190819/models.rb', line 35 def Host @Host end |
#Operation ⇒ Object
35 36 37 |
# File 'lib/v20190819/models.rb', line 35 def Operation @Operation end |
#PermissionType ⇒ Object
35 36 37 |
# File 'lib/v20190819/models.rb', line 35 def PermissionType @PermissionType end |
#Principal ⇒ Object
35 36 37 |
# File 'lib/v20190819/models.rb', line 35 def Principal @Principal end |
#ResourceName ⇒ Object
35 36 37 |
# File 'lib/v20190819/models.rb', line 35 def ResourceName @ResourceName end |
#ResourceType ⇒ Object
35 36 37 |
# File 'lib/v20190819/models.rb', line 35 def ResourceType @ResourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
46 47 48 49 50 51 52 53 |
# File 'lib/v20190819/models.rb', line 46 def deserialize(params) @ResourceType = params['ResourceType'] @ResourceName = params['ResourceName'] @Principal = params['Principal'] @Host = params['Host'] @Operation = params['Operation'] @PermissionType = params['PermissionType'] end |