@Generated(value={"Immutables.generator","_GetPackageResponse"}) 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
|
PackageState |
getState()
The state
|
PackageType |
getType()
The type
|
String |
getUpdatedAt()
When the resource was last updated
|
int |
hashCode()
Computes a hash code from attributes:
data , state , type , createdAt , id , links , updatedAt . |
String |
toString()
Prints the immutable value
GetPackageResponse with attribute values. |
public PackageData getData()
public PackageState getState()
public PackageType getType()
public String getCreatedAt()
getCreatedAt
in class Resource
public String getUpdatedAt()
getUpdatedAt
in class Resource
public boolean equals(Object another)
GetPackageResponse
that have equal attribute values.public int hashCode()
data
, state
, type
, createdAt
, id
, links
, updatedAt
.public String toString()
GetPackageResponse
with attribute values.public static GetPackageResponse.Builder builder()
GetPackageResponse
.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.