Class: KeycloakAdmin::ClientAuthzScopeRepresentation
- Inherits:
-
Representation
- Object
- Representation
- KeycloakAdmin::ClientAuthzScopeRepresentation
- Defined in:
- lib/keycloak-admin/representation/client_authz_scope_representation.rb
Instance Attribute Summary collapse
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#icon_uri ⇒ Object
Returns the value of attribute icon_uri.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Methods inherited from Representation
Methods included from CamelJson
Instance Attribute Details
#display_name ⇒ Object
Returns the value of attribute display_name.
3 4 5 |
# File 'lib/keycloak-admin/representation/client_authz_scope_representation.rb', line 3 def display_name @display_name end |
#icon_uri ⇒ Object
Returns the value of attribute icon_uri.
3 4 5 |
# File 'lib/keycloak-admin/representation/client_authz_scope_representation.rb', line 3 def icon_uri @icon_uri end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/keycloak-admin/representation/client_authz_scope_representation.rb', line 3 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/keycloak-admin/representation/client_authz_scope_representation.rb', line 3 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/keycloak-admin/representation/client_authz_scope_representation.rb', line 8 def self.from_hash(hash) scope = new scope.id = hash["id"] scope.name = hash["name"] scope.icon_uri = hash["iconUri"] scope.display_name = hash["displayName"] scope end |