@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ScimPatchOp"}) @Immutable public final class ImmutableScimPatchOp extends ScimPatchOp
ScimPatchOp.
Use the builder to create immutable instances:
ImmutableScimPatchOp.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableScimPatchOp.Builder
Builds instances of type
ImmutableScimPatchOp. |
SCHEMA| Modifier and Type | Method and Description |
|---|---|
static ImmutableScimPatchOp.Builder |
builder()
Creates a builder for
ImmutableScimPatchOp. |
static ImmutableScimPatchOp |
copyOf(ScimPatchOp instance)
Creates an immutable copy of a
ScimPatchOp value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableScimPatchOp that have equal attribute values. |
List<ScimOperation> |
getOperations() |
Set<String> |
getSchemas() |
int |
hashCode()
Computes a hash code from attributes:
schemas, operations. |
String |
toString()
Prints the immutable value
ScimPatchOp with attribute values. |
ImmutableScimPatchOp |
withOperations(Iterable<? extends ScimOperation> elements)
Copy the current immutable object with elements that replace the content of
operations. |
ImmutableScimPatchOp |
withOperations(ScimOperation... elements)
Copy the current immutable object with elements that replace the content of
operations. |
ImmutableScimPatchOp |
withSchemas(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
schemas. |
ImmutableScimPatchOp |
withSchemas(String... elements)
Copy the current immutable object with elements that replace the content of
schemas. |
ofpublic Set<String> getSchemas()
getSchemas in class ScimPatchOpschemas attributepublic List<ScimOperation> getOperations()
getOperations in class ScimPatchOpoperations attributepublic final ImmutableScimPatchOp withSchemas(String... elements)
schemas.elements - The elements to setthis objectpublic final ImmutableScimPatchOp 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 ImmutableScimPatchOp withOperations(ScimOperation... elements)
operations.elements - The elements to setthis objectpublic final ImmutableScimPatchOp withOperations(Iterable<? extends ScimOperation> elements)
operations.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of operations elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableScimPatchOp that have equal attribute values.public int hashCode()
schemas, operations.public String toString()
ScimPatchOp with attribute values.public static ImmutableScimPatchOp copyOf(ScimPatchOp instance)
ScimPatchOp 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 ImmutableScimPatchOp.Builder builder()
ImmutableScimPatchOp.Copyright © 2016 Atlassian. All rights reserved.