org.keycloak.representations.idm

## Class UserRoleMappingRepresentation

- java.lang.Object
- - org.keycloak.representations.idm.UserRoleMappingRepresentation

-     public class UserRoleMappingRepresentation
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Set<String>` | `roles`
    `protected String` | `self`
    `protected String` | `username`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserRoleMappingRepresentation()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<String>` | `getRoles()`
    `String` | `getSelf()`
    `String` | `getUsername()`
    `UserRoleMappingRepresentation` | `role(String role)`
    `void` | `setRoles(Set<String> roles)`
    `void` | `setSelf(String self)`
    `void` | `setUsername(String username)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### self

          protected String self

    - #### username

          protected String username

    - #### roles

          protected Set<String> roles

  - ### Constructor Detail

    - #### UserRoleMappingRepresentation

          public UserRoleMappingRepresentation()

  - ### Method Detail

    - #### getSelf

          public String getSelf()

    - #### setSelf

          public void setSelf(String self)

    - #### getUsername

          public String getUsername()

    - #### setUsername

          public void setUsername(String username)

    - #### getRoles

          public Set<String> getRoles()

    - #### setRoles

          public void setRoles(Set<String> roles)

    - #### role

          public UserRoleMappingRepresentation role(String role)

Copyright © 2014. All Rights Reserved.