@Generated(value={"Immutables.generator","_ToOneRelationship"}) public final class ToOneRelationship extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ToOneRelationship.Builder
Builds instances of type
ToOneRelationship. |
| Modifier and Type | Method and Description |
|---|---|
static ToOneRelationship.Builder |
builder()
Creates a builder for
ToOneRelationship. |
boolean |
equals(Object another)
This instance is equal to all instances of
ToOneRelationship that have equal attribute values. |
Relationship |
getData()
The relationship data
|
int |
hashCode()
Computes a hash code from attributes:
data. |
String |
toString()
Prints the immutable value
ToOneRelationship with attribute values. |
public Relationship getData()
public boolean equals(Object another)
ToOneRelationship that have equal attribute values.public int hashCode()
data.public String toString()
ToOneRelationship with attribute values.public static ToOneRelationship.Builder builder()
ToOneRelationship.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.