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.
4 5 6 |
# File 'lib/keycloak-admin/representation/protocol_mapper_representation.rb', line 4 def config @config end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/keycloak-admin/representation/protocol_mapper_representation.rb', line 4 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/keycloak-admin/representation/protocol_mapper_representation.rb', line 4 def name @name end |
#protocol ⇒ Object
Returns the value of attribute protocol.
4 5 6 |
# File 'lib/keycloak-admin/representation/protocol_mapper_representation.rb', line 4 def protocol @protocol end |
#protocolMapper ⇒ Object
Returns the value of attribute protocolMapper.
4 5 6 |
# File 'lib/keycloak-admin/representation/protocol_mapper_representation.rb', line 4 def protocolMapper @protocolMapper end |
Class Method Details
.from_hash(hash) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/keycloak-admin/representation/protocol_mapper_representation.rb', line 10 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 |