@Generated(from="_UserResource",
generator="Immutables")
@Generated(value="org.immutables.processor.ProxyProcessor")
public final class UserResource
extends User
| Modifier and Type | Class and Description |
|---|---|
static class |
UserResource.Builder
Builds instances of type
UserResource. |
| Modifier and Type | Method and Description |
|---|---|
static UserResource.Builder |
builder()
Creates a builder for
UserResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
UserResource that have equal attribute values. |
String |
getCreatedAt()
When the resource was created
|
String |
getId()
The resource's id
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
Metadata |
getMetadata()
The metadata Labels and Annotations applied to the user
|
String |
getOrigin()
The identity provider for the UAA user; will be null for UAA clients
|
String |
getPresentationName()
The name displayed for the user; for UAA users, this is the same as the username.
|
String |
getUpdatedAt()
When the resource was last updated
|
String |
getUsername()
The name registered in UAA; will be null for UAA clients and non-UAA users
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, username, presentationName, origin, metadata. |
String |
toString()
Prints the immutable value
UserResource with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic String getUsername()
getUsername in class Userpublic String getPresentationName()
getPresentationName in class Userpublic String getOrigin()
public Metadata getMetadata()
getMetadata in class Userpublic boolean equals(Object another)
UserResource that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, username, presentationName, origin, metadata.public String toString()
UserResource with attribute values.public static UserResource.Builder builder()
UserResource.
UserResource.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.username(String | null) // nullable username
.presentationName(String | null) // nullable presentationName
.origin(String | null) // nullable origin
.metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable metadata
.build();
Copyright © 2026. All rights reserved.