Class: KeycloakAdmin::ClientAuthzPermissionRepresentation
- Inherits:
-
Representation
- Object
- Representation
- KeycloakAdmin::ClientAuthzPermissionRepresentation
- Defined in:
- lib/keycloak-admin/representation/client_authz_permission_representation.rb
Instance Attribute Summary collapse
-
#decision_strategy ⇒ Object
Returns the value of attribute decision_strategy.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#logic ⇒ Object
Returns the value of attribute logic.
-
#name ⇒ Object
Returns the value of attribute name.
-
#policies ⇒ Object
Returns the value of attribute policies.
-
#resource_type ⇒ Object
Returns the value of attribute resource_type.
-
#resources ⇒ Object
Returns the value of attribute resources.
-
#scopes ⇒ Object
Returns the value of attribute scopes.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Methods inherited from Representation
Methods included from CamelJson
Instance Attribute Details
#decision_strategy ⇒ Object
Returns the value of attribute decision_strategy.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def decision_strategy @decision_strategy end |
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def id @id end |
#logic ⇒ Object
Returns the value of attribute logic.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def logic @logic end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def name @name end |
#policies ⇒ Object
Returns the value of attribute policies.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def policies @policies end |
#resource_type ⇒ Object
Returns the value of attribute resource_type.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def resource_type @resource_type end |
#resources ⇒ Object
Returns the value of attribute resources.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def resources @resources end |
#scopes ⇒ Object
Returns the value of attribute scopes.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def scopes @scopes end |
#type ⇒ Object
Returns the value of attribute type.
8 9 10 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 8 def type @type end |
Class Method Details
.from_hash(hash) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/keycloak-admin/representation/client_authz_permission_representation.rb', line 19 def self.from_hash(hash) resource = new resource.id = hash["id"] resource.name = hash["name"] resource.description = hash["description"] resource.decision_strategy = hash["decisionStrategy"] resource.resource_type = hash["resourceType"] resource.resources = hash["resources"] resource.policies = hash["policies"] resource.scopes = hash["scopes"] resource.logic = hash["logic"] resource.type = hash["type"] resource end |