Record Class OAuthClientRestEntity
java.lang.Object
java.lang.Record
io.meeds.oauth2.server.rest.model.OAuthClientRestEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisplayedrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.logoUrl()Returns the value of thelogoUrlrecord component.name()Returns the value of thenamerecord component.Returns the value of thepolicyUrlrecord component.Returns the value of theredirectUrisrecord component.scopes()Returns the value of thescopesrecord component.system()Returns the value of thesystemrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.uuid()Returns the value of theuuidrecord component.
-
Constructor Details
-
OAuthClientRestEntity
public OAuthClientRestEntity(String id, String uuid, String name, String url, String logoUrl, String policyUrl, Boolean enabled, Boolean displayed, Boolean system, Set<String> scopes, Set<String> redirectUris) Creates an instance of aOAuthClientRestEntityrecord class.- Parameters:
id- the value for theidrecord componentuuid- the value for theuuidrecord componentname- the value for thenamerecord componenturl- the value for theurlrecord componentlogoUrl- the value for thelogoUrlrecord componentpolicyUrl- the value for thepolicyUrlrecord componentenabled- the value for theenabledrecord componentdisplayed- the value for thedisplayedrecord componentsystem- the value for thesystemrecord componentscopes- the value for thescopesrecord componentredirectUris- the value for theredirectUrisrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
logoUrl
Returns the value of thelogoUrlrecord component.- Returns:
- the value of the
logoUrlrecord component
-
policyUrl
Returns the value of thepolicyUrlrecord component.- Returns:
- the value of the
policyUrlrecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
displayed
Returns the value of thedisplayedrecord component.- Returns:
- the value of the
displayedrecord component
-
system
Returns the value of thesystemrecord component.- Returns:
- the value of the
systemrecord component
-
scopes
Returns the value of thescopesrecord component.- Returns:
- the value of the
scopesrecord component
-
redirectUris
Returns the value of theredirectUrisrecord component.- Returns:
- the value of the
redirectUrisrecord component
-