@Generated(value="org.immutables.processor.ProxyProcessor") public final class GetRoleResponse extends Role
| Modifier and Type | Class and Description |
|---|---|
static class |
GetRoleResponse.Builder
Builds instances of type
GetRoleResponse. |
| Modifier and Type | Method and Description |
|---|---|
static GetRoleResponse.Builder |
builder()
Creates a builder for
GetRoleResponse. |
boolean |
equals(Object another)
This instance is equal to all instances of
GetRoleResponse 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
|
RoleRelationships |
getRelationships()
Relationships of the role
|
RoleType |
getType()
The type
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, relationships, type. |
String |
toString()
Prints the immutable value
GetRoleResponse with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic RoleRelationships getRelationships()
getRelationships in class Rolepublic boolean equals(Object another)
GetRoleResponse that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, relationships, type.public String toString()
GetRoleResponse with attribute values.public static GetRoleResponse.Builder builder()
GetRoleResponse.
GetRoleResponse.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.relationships(org.cloudfoundry.client.v3.roles.RoleRelationships) // required relationships
.type(org.cloudfoundry.client.v3.roles.RoleType) // required type
.build();
Copyright © 2021. All rights reserved.