@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","TokensRevokedIF"}) @Immutable public final class TokensRevoked extends Object implements TokensRevokedIF
TokensRevokedIF.
Use the builder to create immutable instances:
TokensRevoked.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
TokensRevoked.Builder
Builds instances of type
TokensRevoked. |
| Modifier and Type | Method and Description |
|---|---|
static TokensRevoked.Builder |
builder()
Creates a builder for
TokensRevoked. |
static TokensRevoked |
copyOf(TokensRevokedIF instance)
Creates an immutable copy of a
TokensRevokedIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
TokensRevoked that have equal attribute values. |
List<String> |
getBot() |
List<String> |
getOauth() |
int |
hashCode()
Computes a hash code from attributes:
oauth, bot. |
String |
toString()
Prints the immutable value
TokensRevoked with attribute values. |
TokensRevoked |
withBot(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
bot. |
TokensRevoked |
withBot(String... elements)
Copy the current immutable object with elements that replace the content of
bot. |
TokensRevoked |
withOauth(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
oauth. |
TokensRevoked |
withOauth(String... elements)
Copy the current immutable object with elements that replace the content of
oauth. |
public List<String> getOauth()
getOauth in interface TokensRevokedIFoauth attributepublic List<String> getBot()
getBot in interface TokensRevokedIFbot attributepublic final TokensRevoked withOauth(String... elements)
oauth.elements - The elements to setthis objectpublic final TokensRevoked withOauth(Iterable<String> elements)
oauth.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of oauth elements to setthis objectpublic final TokensRevoked withBot(String... elements)
bot.elements - The elements to setthis objectpublic final TokensRevoked withBot(Iterable<String> elements)
bot.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of bot elements to setthis objectpublic boolean equals(@Nullable Object another)
TokensRevoked that have equal attribute values.public int hashCode()
oauth, bot.public String toString()
TokensRevoked with attribute values.public static TokensRevoked copyOf(TokensRevokedIF instance)
TokensRevokedIF 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 TokensRevoked.Builder builder()
TokensRevoked.Copyright © 2020. All rights reserved.