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