Class: KeycloakAdmin::ClientAuthzScopeRepresentation

Inherits:
Representation show all
Defined in:
lib/keycloak-admin/representation/client_authz_scope_representation.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Representation

#as_json, from_json, #to_json

Methods included from CamelJson

#camelize

Instance Attribute Details

#display_nameObject

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_uriObject

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

#idObject

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

#nameObject

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