@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ScimSearchRequest"}) @Immutable public final class ImmutableScimSearchRequest extends ScimSearchRequest
ScimSearchRequest.
Use the builder to create immutable instances:
ImmutableScimSearchRequest.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableScimSearchRequest.Builder
Builds instances of type
ImmutableScimSearchRequest. |
SCHEMA| Modifier and Type | Method and Description |
|---|---|
static ImmutableScimSearchRequest.Builder |
builder()
Creates a builder for
ImmutableScimSearchRequest. |
static ImmutableScimSearchRequest |
copyOf(ScimSearchRequest instance)
Creates an immutable copy of a
ScimSearchRequest value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableScimSearchRequest that have equal attribute values. |
List<String> |
getAttributes() |
Integer |
getCount()
Specifies the desired maximum number of query results per page, e.g., 10.
|
List<String> |
getExcludedAttributes() |
String |
getFilter() |
List<String> |
getSchemas() |
String |
getSortBy() |
ScimSortOrder |
getSortOrder() |
Integer |
getStartIndex()
The 1-based index of the first query result.
|
int |
hashCode()
Computes a hash code from attributes:
schemas, attributes, excludedAttributes, filter, sortBy, sortOrder, startIndex, count, shouldHideResources. |
boolean |
shouldHideResources()
A count of "0" indicates that no resource results are to be returned except for "totalResults".
|
String |
toString()
Prints the immutable value
ScimSearchRequest with attribute values. |
ImmutableScimSearchRequest |
withAttributes(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
attributes. |
ImmutableScimSearchRequest |
withAttributes(String... elements)
Copy the current immutable object with elements that replace the content of
attributes. |
ImmutableScimSearchRequest |
withCount(Integer value)
Copy the current immutable object by setting a value for the
count attribute. |
ImmutableScimSearchRequest |
withExcludedAttributes(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
excludedAttributes. |
ImmutableScimSearchRequest |
withExcludedAttributes(String... elements)
Copy the current immutable object with elements that replace the content of
excludedAttributes. |
ImmutableScimSearchRequest |
withFilter(String value)
Copy the current immutable object by setting a value for the
filter attribute. |
ImmutableScimSearchRequest |
withSchemas(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
schemas. |
ImmutableScimSearchRequest |
withSchemas(String... elements)
Copy the current immutable object with elements that replace the content of
schemas. |
ImmutableScimSearchRequest |
withSortBy(String value)
Copy the current immutable object by setting a value for the
sortBy attribute. |
ImmutableScimSearchRequest |
withSortOrder(ScimSortOrder value)
Copy the current immutable object by setting a value for the
sortOrder attribute. |
ImmutableScimSearchRequest |
withStartIndex(Integer value)
Copy the current immutable object by setting a value for the
startIndex attribute. |
normalizeCount, normalizeStartIndexpublic List<String> getSchemas()
getSchemas in class ScimSearchRequest@Nullable public List<String> getAttributes()
getAttributes in class ScimSearchRequest@Nullable public List<String> getExcludedAttributes()
getExcludedAttributes in class ScimSearchRequest@Nullable public String getFilter()
getFilter in class ScimSearchRequest@Nullable public String getSortBy()
getSortBy in class ScimSearchRequest@Nullable public ScimSortOrder getSortOrder()
getSortOrder in class ScimSearchRequest@Nullable public Integer getStartIndex()
A value less than 1 will be interpreted as 1.
getStartIndex in class ScimSearchRequest@Nullable public Integer getCount()
A negative value will be interpreted as "0". A value of "0" indicates that no resource results are to be returned except for "totalResults".
getCount in class ScimSearchRequestpublic boolean shouldHideResources()
shouldHideResources in class ScimSearchRequestgetCount() ()} returns 0public final ImmutableScimSearchRequest withSchemas(String... elements)
schemas.elements - The elements to setthis objectpublic final ImmutableScimSearchRequest withSchemas(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 ImmutableScimSearchRequest withAttributes(@Nullable String... elements)
attributes.elements - The elements to setthis objectpublic final ImmutableScimSearchRequest withAttributes(@Nullable Iterable<String> elements)
attributes.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of attributes elements to setthis objectpublic final ImmutableScimSearchRequest withExcludedAttributes(@Nullable String... elements)
excludedAttributes.elements - The elements to setthis objectpublic final ImmutableScimSearchRequest withExcludedAttributes(@Nullable Iterable<String> elements)
excludedAttributes.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of excludedAttributes elements to setthis objectpublic final ImmutableScimSearchRequest withFilter(@Nullable String value)
filter attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for filter (can be null)this objectpublic final ImmutableScimSearchRequest withSortBy(@Nullable String value)
sortBy attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for sortBy (can be null)this objectpublic final ImmutableScimSearchRequest withSortOrder(@Nullable ScimSortOrder value)
sortOrder attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sortOrder (can be null)this objectpublic final ImmutableScimSearchRequest withStartIndex(@Nullable Integer value)
startIndex attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for startIndex (can be null)this objectpublic final ImmutableScimSearchRequest withCount(@Nullable Integer value)
count attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for count (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableScimSearchRequest that have equal attribute values.public int hashCode()
schemas, attributes, excludedAttributes, filter, sortBy, sortOrder, startIndex, count, shouldHideResources.public String toString()
ScimSearchRequest with attribute values.public static ImmutableScimSearchRequest copyOf(ScimSearchRequest instance)
ScimSearchRequest 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 ImmutableScimSearchRequest.Builder builder()
ImmutableScimSearchRequest.Copyright © 2016 Atlassian. All rights reserved.