@Generated(value="org.immutables.processor.ProxyProcessor") public final class CreateRoleResponse extends Role
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateRoleResponse.Builder
Builds instances of type
CreateRoleResponse. |
| Modifier and Type | Method and Description |
|---|---|
static CreateRoleResponse.Builder |
builder()
Creates a builder for
CreateRoleResponse. |
boolean |
equals(Object another)
This instance is equal to all instances of
CreateRoleResponse 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
CreateRoleResponse 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)
CreateRoleResponse that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, relationships, type.public String toString()
CreateRoleResponse with attribute values.public static CreateRoleResponse.Builder builder()
CreateRoleResponse.
CreateRoleResponse.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.