@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","UserProfileIF"}) @Immutable public final class UserProfile extends Object implements UserProfileIF
UserProfileIF.
Use the builder to create immutable instances:
UserProfile.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
UserProfile.Builder
Builds instances of type
UserProfile. |
| Modifier and Type | Method and Description |
|---|---|
static UserProfile.Builder |
builder()
Creates a builder for
UserProfile. |
static UserProfile |
copyOf(UserProfileIF instance)
Creates an immutable copy of a
UserProfileIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
UserProfile that have equal attribute values. |
Optional<String> |
getAvatarHash() |
Optional<String> |
getEmail() |
Optional<String> |
getImage1024() |
Optional<String> |
getImage192() |
Optional<String> |
getImage24() |
Optional<String> |
getImage32() |
Optional<String> |
getImage48() |
Optional<String> |
getImage512() |
Optional<String> |
getImage72() |
Optional<String> |
getImageOriginal() |
Optional<String> |
getPhone() |
Optional<String> |
getRealName() |
Optional<String> |
getRealNameNormalized() |
Optional<String> |
getSkype() |
Optional<String> |
getStatusEmoji() |
Optional<String> |
getStatusText() |
Optional<String> |
getTeamId() |
Optional<String> |
getTitle() |
Optional<String> |
getUsername() |
Optional<String> |
getUsernameNormalized() |
int |
hashCode()
Computes a hash code from attributes:
username, usernameNormalized, realName, realNameNormalized, email, statusText, statusEmoji, title, phone, skype, teamId, avatarHash, imageOriginal, image24, image32, image48, image72, image192, image512, image1024. |
String |
toString()
Prints the immutable value
UserProfile with attribute values. |
UserProfile |
withAvatarHash(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
avatarHash attribute. |
UserProfile |
withAvatarHash(String value)
Copy the current immutable object by setting a present value for the optional
avatarHash attribute. |
UserProfile |
withEmail(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
email attribute. |
UserProfile |
withEmail(String value)
Copy the current immutable object by setting a present value for the optional
email attribute. |
UserProfile |
withImage1024(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
image1024 attribute. |
UserProfile |
withImage1024(String value)
Copy the current immutable object by setting a present value for the optional
image1024 attribute. |
UserProfile |
withImage192(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
image192 attribute. |
UserProfile |
withImage192(String value)
Copy the current immutable object by setting a present value for the optional
image192 attribute. |
UserProfile |
withImage24(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
image24 attribute. |
UserProfile |
withImage24(String value)
Copy the current immutable object by setting a present value for the optional
image24 attribute. |
UserProfile |
withImage32(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
image32 attribute. |
UserProfile |
withImage32(String value)
Copy the current immutable object by setting a present value for the optional
image32 attribute. |
UserProfile |
withImage48(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
image48 attribute. |
UserProfile |
withImage48(String value)
Copy the current immutable object by setting a present value for the optional
image48 attribute. |
UserProfile |
withImage512(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
image512 attribute. |
UserProfile |
withImage512(String value)
Copy the current immutable object by setting a present value for the optional
image512 attribute. |
UserProfile |
withImage72(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
image72 attribute. |
UserProfile |
withImage72(String value)
Copy the current immutable object by setting a present value for the optional
image72 attribute. |
UserProfile |
withImageOriginal(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
imageOriginal attribute. |
UserProfile |
withImageOriginal(String value)
Copy the current immutable object by setting a present value for the optional
imageOriginal attribute. |
UserProfile |
withPhone(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
phone attribute. |
UserProfile |
withPhone(String value)
Copy the current immutable object by setting a present value for the optional
phone attribute. |
UserProfile |
withRealName(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
realName attribute. |
UserProfile |
withRealName(String value)
Copy the current immutable object by setting a present value for the optional
realName attribute. |
UserProfile |
withRealNameNormalized(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
realNameNormalized attribute. |
UserProfile |
withRealNameNormalized(String value)
Copy the current immutable object by setting a present value for the optional
realNameNormalized attribute. |
UserProfile |
withSkype(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
skype attribute. |
UserProfile |
withSkype(String value)
Copy the current immutable object by setting a present value for the optional
skype attribute. |
UserProfile |
withStatusEmoji(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
statusEmoji attribute. |
UserProfile |
withStatusEmoji(String value)
Copy the current immutable object by setting a present value for the optional
statusEmoji attribute. |
UserProfile |
withStatusText(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
statusText attribute. |
UserProfile |
withStatusText(String value)
Copy the current immutable object by setting a present value for the optional
statusText attribute. |
UserProfile |
withTeamId(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
teamId attribute. |
UserProfile |
withTeamId(String value)
Copy the current immutable object by setting a present value for the optional
teamId attribute. |
UserProfile |
withTitle(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
title attribute. |
UserProfile |
withTitle(String value)
Copy the current immutable object by setting a present value for the optional
title attribute. |
UserProfile |
withUsername(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
username attribute. |
UserProfile |
withUsername(String value)
Copy the current immutable object by setting a present value for the optional
username attribute. |
UserProfile |
withUsernameNormalized(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
usernameNormalized attribute. |
UserProfile |
withUsernameNormalized(String value)
Copy the current immutable object by setting a present value for the optional
usernameNormalized attribute. |
public Optional<String> getUsername()
getUsername in interface UserProfileIFusername attributepublic Optional<String> getUsernameNormalized()
getUsernameNormalized in interface UserProfileIFusernameNormalized attributepublic Optional<String> getRealName()
getRealName in interface UserProfileIFrealName attributepublic Optional<String> getRealNameNormalized()
getRealNameNormalized in interface UserProfileIFrealNameNormalized attributepublic Optional<String> getEmail()
getEmail in interface UserProfileIFemail attributepublic Optional<String> getStatusText()
getStatusText in interface UserProfileIFstatusText attributepublic Optional<String> getStatusEmoji()
getStatusEmoji in interface UserProfileIFstatusEmoji attributepublic Optional<String> getTitle()
getTitle in interface UserProfileIFtitle attributepublic Optional<String> getPhone()
getPhone in interface UserProfileIFphone attributepublic Optional<String> getSkype()
getSkype in interface UserProfileIFskype attributepublic Optional<String> getTeamId()
getTeamId in interface UserProfileIFteamId attributepublic Optional<String> getAvatarHash()
getAvatarHash in interface UserProfileIFavatarHash attributepublic Optional<String> getImageOriginal()
getImageOriginal in interface UserProfileIFimageOriginal attributepublic Optional<String> getImage24()
getImage24 in interface UserProfileIFimage24 attributepublic Optional<String> getImage32()
getImage32 in interface UserProfileIFimage32 attributepublic Optional<String> getImage48()
getImage48 in interface UserProfileIFimage48 attributepublic Optional<String> getImage72()
getImage72 in interface UserProfileIFimage72 attributepublic Optional<String> getImage192()
getImage192 in interface UserProfileIFimage192 attributepublic Optional<String> getImage512()
getImage512 in interface UserProfileIFimage512 attributepublic Optional<String> getImage1024()
getImage1024 in interface UserProfileIFimage1024 attributepublic final UserProfile withUsername(@Nullable String value)
username attribute.value - The value for username, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withUsername(Optional<String> optional)
username attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for usernamethis objectpublic final UserProfile withUsernameNormalized(@Nullable String value)
usernameNormalized attribute.value - The value for usernameNormalized, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withUsernameNormalized(Optional<String> optional)
usernameNormalized attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for usernameNormalizedthis objectpublic final UserProfile withRealName(@Nullable String value)
realName attribute.value - The value for realName, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withRealName(Optional<String> optional)
realName attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for realNamethis objectpublic final UserProfile withRealNameNormalized(@Nullable String value)
realNameNormalized attribute.value - The value for realNameNormalized, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withRealNameNormalized(Optional<String> optional)
realNameNormalized attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for realNameNormalizedthis objectpublic final UserProfile withEmail(@Nullable String value)
email attribute.value - The value for email, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withEmail(Optional<String> optional)
email attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for emailthis objectpublic final UserProfile withStatusText(@Nullable String value)
statusText attribute.value - The value for statusText, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withStatusText(Optional<String> optional)
statusText attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for statusTextthis objectpublic final UserProfile withStatusEmoji(@Nullable String value)
statusEmoji attribute.value - The value for statusEmoji, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withStatusEmoji(Optional<String> optional)
statusEmoji attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for statusEmojithis objectpublic final UserProfile withTitle(@Nullable String value)
title attribute.value - The value for title, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withTitle(Optional<String> optional)
title attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for titlethis objectpublic final UserProfile withPhone(@Nullable String value)
phone attribute.value - The value for phone, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withPhone(Optional<String> optional)
phone attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for phonethis objectpublic final UserProfile withSkype(@Nullable String value)
skype attribute.value - The value for skype, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withSkype(Optional<String> optional)
skype attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for skypethis objectpublic final UserProfile withTeamId(@Nullable String value)
teamId attribute.value - The value for teamId, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withTeamId(Optional<String> optional)
teamId attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for teamIdthis objectpublic final UserProfile withAvatarHash(@Nullable String value)
avatarHash attribute.value - The value for avatarHash, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withAvatarHash(Optional<String> optional)
avatarHash attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for avatarHashthis objectpublic final UserProfile withImageOriginal(@Nullable String value)
imageOriginal attribute.value - The value for imageOriginal, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withImageOriginal(Optional<String> optional)
imageOriginal attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for imageOriginalthis objectpublic final UserProfile withImage24(@Nullable String value)
image24 attribute.value - The value for image24, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withImage24(Optional<String> optional)
image24 attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for image24this objectpublic final UserProfile withImage32(@Nullable String value)
image32 attribute.value - The value for image32, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withImage32(Optional<String> optional)
image32 attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for image32this objectpublic final UserProfile withImage48(@Nullable String value)
image48 attribute.value - The value for image48, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withImage48(Optional<String> optional)
image48 attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for image48this objectpublic final UserProfile withImage72(@Nullable String value)
image72 attribute.value - The value for image72, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withImage72(Optional<String> optional)
image72 attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for image72this objectpublic final UserProfile withImage192(@Nullable String value)
image192 attribute.value - The value for image192, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withImage192(Optional<String> optional)
image192 attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for image192this objectpublic final UserProfile withImage512(@Nullable String value)
image512 attribute.value - The value for image512, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withImage512(Optional<String> optional)
image512 attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for image512this objectpublic final UserProfile withImage1024(@Nullable String value)
image1024 attribute.value - The value for image1024, null is accepted as java.util.Optional.empty()this objectpublic final UserProfile withImage1024(Optional<String> optional)
image1024 attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for image1024this objectpublic boolean equals(@Nullable Object another)
UserProfile that have equal attribute values.public int hashCode()
username, usernameNormalized, realName, realNameNormalized, email, statusText, statusEmoji, title, phone, skype, teamId, avatarHash, imageOriginal, image24, image32, image48, image72, image192, image512, image1024.public String toString()
UserProfile with attribute values.public static UserProfile copyOf(UserProfileIF instance)
UserProfileIF 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 UserProfile.Builder builder()
UserProfile.Copyright © 2019. All rights reserved.