@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableO365PurgeUserResponse extends Object implements O365PurgeUserResponse
O365PurgeUserResponse
.
Use the builder to create immutable instances:
ImmutableO365PurgeUserResponse.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableO365PurgeUserResponse.Builder
Builds instances of type
ImmutableO365PurgeUserResponse . |
Modifier and Type | Method and Description |
---|---|
boolean |
active()
Whether this user / mailbox will be purged at all (cancel use case).
|
static ImmutableO365PurgeUserResponse.Builder |
builder()
Creates a builder for
ImmutableO365PurgeUserResponse . |
Optional<Instant> |
completedDate()
Specifies the purge completed date time.
|
static ImmutableO365PurgeUserResponse |
copyOf(O365PurgeUserResponse instance)
Creates an immutable copy of a
O365PurgeUserResponse value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableO365PurgeUserResponse that have equal attribute values. |
Optional<String> |
errorMsg()
The error message if any on this purge request (would come from monocle)
|
int |
hashCode()
Computes a hash code from attributes:
userNativeUuid , mailbox , organizationUuid , initiatedDate , purgeDate , active , purgeStatus , errorMsg , requestedBy , completedDate . |
Instant |
initiatedDate()
Get the purge initiated date associated with this mailbox.
|
String |
mailbox()
The mailbox (email) that is marked for purging.
|
String |
organizationUuid()
Get the org platform uuid associated with this mailbox.
|
Instant |
purgeDate()
Get the purge date associated with this mailbox.
|
String |
purgeStatus()
The status of this purge user request - Completed, Running, Cancelled or Failed
|
Optional<String> |
requestedBy()
The admin user who requested purging of this user.
|
String |
toString()
Prints the immutable value
O365PurgeUserResponse with attribute values. |
String |
userNativeUuid()
The user native uuid for the mailbox that was marked for purging.
|
ImmutableO365PurgeUserResponse |
withActive(boolean value)
Copy the current immutable object by setting a value for the
active attribute. |
ImmutableO365PurgeUserResponse |
withCompletedDate(Instant value)
Copy the current immutable object by setting a present value for the optional
completedDate attribute. |
ImmutableO365PurgeUserResponse |
withCompletedDate(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
completedDate attribute. |
ImmutableO365PurgeUserResponse |
withErrorMsg(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
errorMsg attribute. |
ImmutableO365PurgeUserResponse |
withErrorMsg(String value)
Copy the current immutable object by setting a present value for the optional
errorMsg attribute. |
ImmutableO365PurgeUserResponse |
withInitiatedDate(Instant value)
Copy the current immutable object by setting a value for the
initiatedDate attribute. |
ImmutableO365PurgeUserResponse |
withMailbox(String value)
Copy the current immutable object by setting a value for the
mailbox attribute. |
ImmutableO365PurgeUserResponse |
withOrganizationUuid(String value)
Copy the current immutable object by setting a value for the
organizationUuid attribute. |
ImmutableO365PurgeUserResponse |
withPurgeDate(Instant value)
Copy the current immutable object by setting a value for the
purgeDate attribute. |
ImmutableO365PurgeUserResponse |
withPurgeStatus(String value)
Copy the current immutable object by setting a value for the
purgeStatus attribute. |
ImmutableO365PurgeUserResponse |
withRequestedBy(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
requestedBy attribute. |
ImmutableO365PurgeUserResponse |
withRequestedBy(String value)
Copy the current immutable object by setting a present value for the optional
requestedBy attribute. |
ImmutableO365PurgeUserResponse |
withUserNativeUuid(String value)
Copy the current immutable object by setting a value for the
userNativeUuid attribute. |
public String userNativeUuid()
userNativeUuid
in interface O365PurgeUserResponse
public String mailbox()
mailbox
in interface O365PurgeUserResponse
public String organizationUuid()
organizationUuid
in interface O365PurgeUserResponse
public Instant initiatedDate()
initiatedDate
in interface O365PurgeUserResponse
public Instant purgeDate()
purgeDate
in interface O365PurgeUserResponse
public boolean active()
active
in interface O365PurgeUserResponse
public String purgeStatus()
purgeStatus
in interface O365PurgeUserResponse
public Optional<String> errorMsg()
errorMsg
in interface O365PurgeUserResponse
public Optional<String> requestedBy()
requestedBy
in interface O365PurgeUserResponse
public Optional<Instant> completedDate()
completedDate
in interface O365PurgeUserResponse
public final ImmutableO365PurgeUserResponse withUserNativeUuid(String value)
userNativeUuid
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for userNativeUuidthis
objectpublic final ImmutableO365PurgeUserResponse withMailbox(String value)
mailbox
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for mailboxthis
objectpublic final ImmutableO365PurgeUserResponse withOrganizationUuid(String value)
organizationUuid
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for organizationUuidthis
objectpublic final ImmutableO365PurgeUserResponse withInitiatedDate(Instant value)
initiatedDate
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for initiatedDatethis
objectpublic final ImmutableO365PurgeUserResponse withPurgeDate(Instant value)
purgeDate
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for purgeDatethis
objectpublic final ImmutableO365PurgeUserResponse withActive(boolean value)
active
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for activethis
objectpublic final ImmutableO365PurgeUserResponse withPurgeStatus(String value)
purgeStatus
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for purgeStatusthis
objectpublic final ImmutableO365PurgeUserResponse withErrorMsg(String value)
errorMsg
attribute.value
- The value for errorMsgthis
objectpublic final ImmutableO365PurgeUserResponse withErrorMsg(Optional<String> optional)
errorMsg
attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this
.optional
- A value for errorMsgthis
objectpublic final ImmutableO365PurgeUserResponse withRequestedBy(String value)
requestedBy
attribute.value
- The value for requestedBythis
objectpublic final ImmutableO365PurgeUserResponse withRequestedBy(Optional<String> optional)
requestedBy
attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this
.optional
- A value for requestedBythis
objectpublic final ImmutableO365PurgeUserResponse withCompletedDate(Instant value)
completedDate
attribute.value
- The value for completedDatethis
objectpublic final ImmutableO365PurgeUserResponse withCompletedDate(Optional<? extends Instant> optional)
completedDate
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for completedDatethis
objectpublic boolean equals(@Nullable Object another)
ImmutableO365PurgeUserResponse
that have equal attribute values.public int hashCode()
userNativeUuid
, mailbox
, organizationUuid
, initiatedDate
, purgeDate
, active
, purgeStatus
, errorMsg
, requestedBy
, completedDate
.public String toString()
O365PurgeUserResponse
with attribute values.public static ImmutableO365PurgeUserResponse copyOf(O365PurgeUserResponse instance)
O365PurgeUserResponse
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 ImmutableO365PurgeUserResponse.Builder builder()
ImmutableO365PurgeUserResponse
.
ImmutableO365PurgeUserResponse.builder() .userNativeUuid(String) // requireduserNativeUuid
.mailbox(String) // requiredmailbox
.organizationUuid(String) // requiredorganizationUuid
.initiatedDate(java.time.Instant) // requiredinitiatedDate
.purgeDate(java.time.Instant) // requiredpurgeDate
.active(boolean) // requiredactive
.purgeStatus(String) // requiredpurgeStatus
.errorMsg(String) // optionalerrorMsg
.requestedBy(String) // optionalrequestedBy
.completedDate(java.time.Instant) // optionalcompletedDate
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.