@Generated(value="org.immutables.processor.ProxyProcessor") public final class PackageResource extends Package
| Modifier and Type | Class and Description |
|---|---|
static class |
PackageResource.Builder
Builds instances of type
PackageResource. |
| Modifier and Type | Method and Description |
|---|---|
static PackageResource.Builder |
builder()
Creates a builder for
PackageResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
PackageResource that have equal attribute values. |
String |
getCreatedAt()
When the resource was created
|
PackageData |
getData()
The data for the package
|
String |
getId()
The resource's id
|
Map<String,Link> |
getLinks()
Links to related resources and actions for the resource
|
Metadata |
getMetadata()
The metadata
|
PackageRelationships |
getRelationships()
The relationships
|
PackageState |
getState()
The state
|
PackageType |
getType()
The type
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
createdAt, id, links, updatedAt, data, metadata, state, type, relationships. |
String |
toString()
Prints the immutable value
PackageResource with attribute values. |
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic PackageData getData()
public Metadata getMetadata()
getMetadata in class Packagepublic PackageState getState()
public PackageType getType()
public PackageRelationships getRelationships()
public boolean equals(Object another)
PackageResource that have equal attribute values.public int hashCode()
createdAt, id, links, updatedAt, data, metadata, state, type, relationships.public String toString()
PackageResource with attribute values.public static PackageResource.Builder builder()
PackageResource.
PackageResource.builder()
.createdAt(String) // required createdAt
.id(String) // required id
.link|putAllLinks(String => Link) // links mappings
.updatedAt(String | null) // nullable updatedAt
.data(org.cloudfoundry.client.v3.packages.PackageData) // required data
.metadata(org.cloudfoundry.client.v3.Metadata | null) // nullable metadata
.state(org.cloudfoundry.client.v3.packages.PackageState) // required state
.type(org.cloudfoundry.client.v3.packages.PackageType) // required type
.relationships(org.cloudfoundry.client.v3.packages.PackageRelationships | null) // nullable relationships
.build();
Copyright © 2020. All rights reserved.