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