@Generated(value={"Immutables.generator","_UserResource"}) public final class UserResource extends AbstractUserResource
| Modifier and Type | Class and Description |
|---|---|
static class |
UserResource.Builder
Builds instances of type
UserResource. |
| Modifier and Type | Method and Description |
|---|---|
static UserResource.Builder |
builder()
Creates a builder for
UserResource. |
boolean |
equals(Object another)
This instance is equal to all instances of
UserResource that have equal attribute values. |
UserEntity |
getEntity()
The resource's entity
|
Metadata |
getMetadata()
The resource's metadata
|
int |
hashCode()
Computes a hash code from attributes:
entity, metadata. |
String |
toString()
Prints the immutable value
UserResource with attribute values. |
public UserEntity getEntity()
getEntity in class Resource<UserEntity>public Metadata getMetadata()
getMetadata in class Resource<UserEntity>public boolean equals(Object another)
UserResource that have equal attribute values.public int hashCode()
entity, metadata.public String toString()
UserResource with attribute values.public static UserResource.Builder builder()
UserResource.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.