@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ScimUser"}) @Immutable public final class ImmutableScimUser extends ScimUser
ScimUser.
Use the builder to create immutable instances:
ImmutableScimUser.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableScimUser.Builder
Builds instances of type
ImmutableScimUser. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableScimUser.Builder |
builder()
Creates a builder for
ImmutableScimUser. |
static ImmutableScimUser |
copyOf(ScimUser instance)
Creates an immutable copy of a
ScimUser value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableScimUser that have equal attribute values. |
AtlassianScimExtension |
getAtlassianScimExtension() |
String |
getDisplayName() |
List<ScimEmail> |
getEmails() |
List<ScimGroupForUser> |
getGroups() |
String |
getId() |
String |
getLocale() |
ScimMeta |
getMeta() |
ScimName |
getName() |
String |
getNickName() |
List<ScimPhoneNumber> |
getPhoneNumbers() |
String |
getPreferredLanguage() |
String |
getProfileUrl() |
Set<String> |
getSchemas() |
String |
getTimezone() |
String |
getTitle() |
String |
getUserName() |
int |
hashCode()
Computes a hash code from attributes:
schemas, id, userName, active, name, displayName, nickName, profileUrl, preferredLanguage, locale, phoneNumbers, emails, atlassianScimExtension, groups, meta, title, timezone. |
Boolean |
isActive() |
String |
toString()
Prints the immutable value
ScimUser with attribute values. |
ImmutableScimUser |
withActive(Boolean value)
Copy the current immutable object by setting a value for the
active attribute. |
ImmutableScimUser |
withAtlassianScimExtension(AtlassianScimExtension value)
Copy the current immutable object by setting a value for the
atlassianScimExtension attribute. |
ImmutableScimUser |
withDisplayName(String value)
Copy the current immutable object by setting a value for the
displayName attribute. |
ImmutableScimUser |
withEmails(Iterable<? extends ScimEmail> elements)
Copy the current immutable object with elements that replace the content of
emails. |
ImmutableScimUser |
withEmails(ScimEmail... elements)
Copy the current immutable object with elements that replace the content of
emails. |
ImmutableScimUser |
withGroups(Iterable<? extends ScimGroupForUser> elements)
Copy the current immutable object with elements that replace the content of
groups. |
ImmutableScimUser |
withGroups(ScimGroupForUser... elements)
Copy the current immutable object with elements that replace the content of
groups. |
ImmutableScimUser |
withId(String value)
Copy the current immutable object by setting a value for the
id attribute. |
ImmutableScimUser |
withLocale(String value)
Copy the current immutable object by setting a value for the
locale attribute. |
ImmutableScimUser |
withMeta(ScimMeta value)
Copy the current immutable object by setting a value for the
meta attribute. |
ImmutableScimUser |
withName(ScimName value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableScimUser |
withNickName(String value)
Copy the current immutable object by setting a value for the
nickName attribute. |
ImmutableScimUser |
withPhoneNumbers(Iterable<? extends ScimPhoneNumber> elements)
Copy the current immutable object with elements that replace the content of
phoneNumbers. |
ImmutableScimUser |
withPhoneNumbers(ScimPhoneNumber... elements)
Copy the current immutable object with elements that replace the content of
phoneNumbers. |
ImmutableScimUser |
withPreferredLanguage(String value)
Copy the current immutable object by setting a value for the
preferredLanguage attribute. |
ImmutableScimUser |
withProfileUrl(String value)
Copy the current immutable object by setting a value for the
profileUrl attribute. |
ImmutableScimUser |
withSchemas(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
schemas. |
ImmutableScimUser |
withSchemas(String... elements)
Copy the current immutable object with elements that replace the content of
schemas. |
ImmutableScimUser |
withTimezone(String value)
Copy the current immutable object by setting a value for the
timezone attribute. |
ImmutableScimUser |
withTitle(String value)
Copy the current immutable object by setting a value for the
title attribute. |
ImmutableScimUser |
withUserName(String value)
Copy the current immutable object by setting a value for the
userName attribute. |
checkSchemas@Nullable public Set<String> getSchemas()
getSchemas in class ScimUserschemas attribute@Nullable public String getUserName()
getUserName in class ScimUseruserName attribute@Nullable public String getDisplayName()
getDisplayName in class ScimUserdisplayName attribute@Nullable public String getNickName()
getNickName in class ScimUsernickName attribute@Nullable public String getProfileUrl()
getProfileUrl in class ScimUserprofileUrl attribute@Nullable public String getPreferredLanguage()
getPreferredLanguage in class ScimUserpreferredLanguage attribute@Nullable public List<ScimPhoneNumber> getPhoneNumbers()
getPhoneNumbers in class ScimUserphoneNumbers attribute@Nullable public AtlassianScimExtension getAtlassianScimExtension()
getAtlassianScimExtension in class ScimUseratlassianScimExtension attribute@Nullable public List<ScimGroupForUser> getGroups()
@Nullable public String getTimezone()
getTimezone in class ScimUsertimezone attributepublic final ImmutableScimUser withSchemas(@Nullable String... elements)
schemas.elements - The elements to setthis objectpublic final ImmutableScimUser withSchemas(@Nullable Iterable<String> elements)
schemas.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of schemas elements to setthis objectpublic final ImmutableScimUser withId(@Nullable String value)
id attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for id (can be null)this objectpublic final ImmutableScimUser withUserName(@Nullable String value)
userName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for userName (can be null)this objectpublic final ImmutableScimUser withActive(@Nullable Boolean value)
active attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for active (can be null)this objectpublic final ImmutableScimUser withName(@Nullable ScimName value)
name attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for name (can be null)this objectpublic final ImmutableScimUser withDisplayName(@Nullable String value)
displayName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for displayName (can be null)this objectpublic final ImmutableScimUser withNickName(@Nullable String value)
nickName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for nickName (can be null)this objectpublic final ImmutableScimUser withProfileUrl(@Nullable String value)
profileUrl attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for profileUrl (can be null)this objectpublic final ImmutableScimUser withPreferredLanguage(@Nullable String value)
preferredLanguage attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for preferredLanguage (can be null)this objectpublic final ImmutableScimUser withLocale(@Nullable String value)
locale attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for locale (can be null)this objectpublic final ImmutableScimUser withPhoneNumbers(@Nullable ScimPhoneNumber... elements)
phoneNumbers.elements - The elements to setthis objectpublic final ImmutableScimUser withPhoneNumbers(@Nullable Iterable<? extends ScimPhoneNumber> elements)
phoneNumbers.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of phoneNumbers elements to setthis objectpublic final ImmutableScimUser withEmails(@Nullable ScimEmail... elements)
emails.elements - The elements to setthis objectpublic final ImmutableScimUser withEmails(@Nullable Iterable<? extends ScimEmail> elements)
emails.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of emails elements to setthis objectpublic final ImmutableScimUser withAtlassianScimExtension(@Nullable AtlassianScimExtension value)
atlassianScimExtension attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for atlassianScimExtension (can be null)this objectpublic final ImmutableScimUser withGroups(@Nullable ScimGroupForUser... elements)
groups.elements - The elements to setthis objectpublic final ImmutableScimUser withGroups(@Nullable Iterable<? extends ScimGroupForUser> elements)
groups.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of groups elements to setthis objectpublic final ImmutableScimUser withMeta(@Nullable ScimMeta value)
meta attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for meta (can be null)this objectpublic final ImmutableScimUser withTitle(@Nullable String value)
title attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for title (can be null)this objectpublic final ImmutableScimUser withTimezone(@Nullable String value)
timezone attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for timezone (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableScimUser that have equal attribute values.public int hashCode()
schemas, id, userName, active, name, displayName, nickName, profileUrl, preferredLanguage, locale, phoneNumbers, emails, atlassianScimExtension, groups, meta, title, timezone.public String toString()
ScimUser with attribute values.public static ImmutableScimUser copyOf(ScimUser instance)
ScimUser 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 ImmutableScimUser.Builder builder()
ImmutableScimUser.Copyright © 2016 Atlassian. All rights reserved.