@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
|
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
PackageResource with attribute values. |
public PackageData getData()
public PackageState getState()
public PackageType getType()
public String getCreatedAt()
getCreatedAt in class Resourcepublic String getUpdatedAt()
getUpdatedAt in class Resourcepublic boolean equals(Object another)
PackageResource that have equal attribute values.public int hashCode()
data, state, type, createdAt, id, links, updatedAt.public String toString()
PackageResource with attribute values.public static PackageResource.Builder builder()
PackageResource.Copyright © 2018. All rights reserved.