@Generated(value="org.immutables.processor.ProxyProcessor") public final class OrganizationResource extends Organization
| Modifier and Type | Class and Description |
|---|---|
static class |
OrganizationResource.Builder
Builds instances of type
OrganizationResource. |
| Modifier and Type | Method and Description |
|---|---|
static OrganizationResource.Builder |
builder()
Creates a builder for
OrganizationResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
OrganizationResource 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
|
String |
getName()
The name
|
OrganizationRelationships |
getRelationships()
The relationships
|
OrganizationStatus |
getStatus()
The status
|
Boolean |
getSuspended()
Whether the organization is suspended
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, metadata, name, relationships, status, suspended. |
String |
toString()
Prints the immutable value
OrganizationResource with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic Metadata getMetadata()
getMetadata in class Organizationpublic String getName()
getName in class Organizationpublic OrganizationRelationships getRelationships()
getRelationships in class Organizationpublic OrganizationStatus getStatus()
getStatus in class Organizationpublic Boolean getSuspended()
getSuspended in class Organizationpublic boolean equals(Object another)
OrganizationResource that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, metadata, name, relationships, status, suspended.public String toString()
OrganizationResource with attribute values.public static OrganizationResource.Builder builder()
OrganizationResource.
OrganizationResource.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.metadata(org.cloudfoundry.client.v3.Metadata) // required metadata
.name(String) // required name
.relationships(org.cloudfoundry.client.v3.organizations.OrganizationRelationships | null) // nullable relationships
.status(org.cloudfoundry.client.v3.organizations.OrganizationStatus | null) // nullable status
.suspended(Boolean | null) // nullable suspended
.build();
Copyright © 2020. All rights reserved.