org.keycloak.representations.idm

## Class UserConsentRepresentation

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

-     public class UserConsentRepresentation
      extends Object

  Author:
    Marek Posolda

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `clientId`
    `protected List<String>` | `grantedClientScopes`
    `protected List<String>` | `grantedRealmRoles` Deprecated.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserConsentRepresentation()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getClientId()`
    `Long` | `getCreatedDate()`
    `List<String>` | `getGrantedClientScopes()`
    `List<String>` | `getGrantedRealmRoles()` Deprecated.
    `Long` | `getLastUpdatedDate()`
    `void` | `setClientId(String clientId)`
    `void` | `setCreatedDate(Long createdDate)`
    `void` | `setGrantedClientScopes(List<String> grantedClientScopes)`
    `void` | `setLastUpdatedDate(Long lastUpdatedDate)`

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

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

- - ### Field Detail

    - #### clientId

          protected String clientId

    - #### grantedClientScopes

          protected List<String> grantedClientScopes

    - #### grantedRealmRoles

          @Deprecated
          protected List<String> grantedRealmRoles

      Deprecated.

  - ### Constructor Detail

    - #### UserConsentRepresentation

          public UserConsentRepresentation()

  - ### Method Detail

    - #### getClientId

          public String getClientId()

    - #### setClientId

          public void setClientId(String clientId)

    - #### getGrantedClientScopes

          public List<String> getGrantedClientScopes()

    - #### setGrantedClientScopes

          public void setGrantedClientScopes(List<String> grantedClientScopes)

    - #### setCreatedDate

          public void setCreatedDate(Long createdDate)

    - #### getCreatedDate

          public Long getCreatedDate()

    - #### setLastUpdatedDate

          public void setLastUpdatedDate(Long lastUpdatedDate)

    - #### getLastUpdatedDate

          public Long getLastUpdatedDate()

    - #### getGrantedRealmRoles

          @Deprecated
          public List<String> getGrantedRealmRoles()

      Deprecated.

Copyright © 2021 JBoss by Red Hat. All rights reserved.