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