@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ReplySkeletonIF"}) @Immutable public final class ReplySkeleton extends Object implements ReplySkeletonIF
ReplySkeletonIF.
Use the builder to create immutable instances:
ReplySkeleton.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ReplySkeleton.Builder
Builds instances of type
ReplySkeleton. |
| Modifier and Type | Method and Description |
|---|---|
static ReplySkeleton.Builder |
builder()
Creates a builder for
ReplySkeleton. |
static ReplySkeleton |
copyOf(ReplySkeletonIF instance)
Creates an immutable copy of a
ReplySkeletonIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ReplySkeleton that have equal attribute values. |
String |
getReplyTs() |
String |
getUserId() |
int |
hashCode()
Computes a hash code from attributes:
userId, replyTs. |
String |
toString()
Prints the immutable value
ReplySkeleton with attribute values. |
ReplySkeleton |
withReplyTs(String replyTs)
Copy the current immutable object by setting a value for the
replyTs attribute. |
ReplySkeleton |
withUserId(String userId)
Copy the current immutable object by setting a value for the
userId attribute. |
public String getUserId()
getUserId in interface ReplySkeletonIFuserId attributepublic String getReplyTs()
getReplyTs in interface ReplySkeletonIFreplyTs attributepublic final ReplySkeleton withUserId(String userId)
userId attribute.
An equals check used to prevent copying of the same value by returning this.userId - A new value for userIdthis objectpublic final ReplySkeleton withReplyTs(String replyTs)
replyTs attribute.
An equals check used to prevent copying of the same value by returning this.replyTs - A new value for replyTsthis objectpublic boolean equals(@Nullable Object another)
ReplySkeleton that have equal attribute values.public int hashCode()
userId, replyTs.public String toString()
ReplySkeleton with attribute values.public static ReplySkeleton copyOf(ReplySkeletonIF instance)
ReplySkeletonIF value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ReplySkeleton.Builder builder()
ReplySkeleton.Copyright © 2019. All rights reserved.