Class ImmutableO365PurgeUserResponse
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365PurgeUserResponse
- All Implemented Interfaces:
O365PurgeUserResponse
@Generated(from="O365PurgeUserResponse",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableO365PurgeUserResponse
extends Object
implements O365PurgeUserResponse
Immutable implementation of
O365PurgeUserResponse.
Use the builder to create immutable instances:
ImmutableO365PurgeUserResponse.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365PurgeUserResponse. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Whether this user / mailbox will be purged at all (cancel use case).builder()Creates a builder forImmutableO365PurgeUserResponse.Specifies the purge completed date time.copyOf(O365PurgeUserResponse instance) Creates an immutable copy of aO365PurgeUserResponsevalue.booleanThis instance is equal to all instances ofImmutableO365PurgeUserResponsethat have equal attribute values.errorMsg()The error message if any on this purge request (would come from monocle)inthashCode()Computes a hash code from attributes:userNativeUuid,mailbox,organizationUuid,initiatedDate,purgeDate,active,purgeStatus,errorMsg,requestedBy,completedDate.Get the purge initiated date associated with this mailbox.mailbox()The mailbox (email) that is marked for purging.Get the org platform uuid associated with this mailbox.Get the purge date associated with this mailbox.The status of this purge user request - Completed, Running, Cancelled or FailedThe admin user who requested purging of this user.toString()Prints the immutable valueO365PurgeUserResponsewith attribute values.The user native uuid for the mailbox that was marked for purging.withActive(boolean value) Copy the current immutable object by setting a value for theactiveattribute.withCompletedDate(Instant value) Copy the current immutable object by setting a present value for the optionalcompletedDateattribute.withCompletedDate(Optional<? extends Instant> optional) Copy the current immutable object by setting an optional value for thecompletedDateattribute.withErrorMsg(String value) Copy the current immutable object by setting a present value for the optionalerrorMsgattribute.withErrorMsg(Optional<String> optional) Copy the current immutable object by setting an optional value for theerrorMsgattribute.withInitiatedDate(Instant value) Copy the current immutable object by setting a value for theinitiatedDateattribute.withMailbox(String value) Copy the current immutable object by setting a value for themailboxattribute.withOrganizationUuid(String value) Copy the current immutable object by setting a value for theorganizationUuidattribute.withPurgeDate(Instant value) Copy the current immutable object by setting a value for thepurgeDateattribute.withPurgeStatus(String value) Copy the current immutable object by setting a value for thepurgeStatusattribute.withRequestedBy(String value) Copy the current immutable object by setting a present value for the optionalrequestedByattribute.withRequestedBy(Optional<String> optional) Copy the current immutable object by setting an optional value for therequestedByattribute.withUserNativeUuid(String value) Copy the current immutable object by setting a value for theuserNativeUuidattribute.
-
Method Details
-
userNativeUuid
The user native uuid for the mailbox that was marked for purging.- Specified by:
userNativeUuidin interfaceO365PurgeUserResponse
-
mailbox
The mailbox (email) that is marked for purging.- Specified by:
mailboxin interfaceO365PurgeUserResponse
-
organizationUuid
Get the org platform uuid associated with this mailbox.- Specified by:
organizationUuidin interfaceO365PurgeUserResponse
-
initiatedDate
Get the purge initiated date associated with this mailbox.- Specified by:
initiatedDatein interfaceO365PurgeUserResponse
-
purgeDate
Get the purge date associated with this mailbox.- Specified by:
purgeDatein interfaceO365PurgeUserResponse
-
active
public boolean active()Whether this user / mailbox will be purged at all (cancel use case).- Specified by:
activein interfaceO365PurgeUserResponse
-
purgeStatus
The status of this purge user request - Completed, Running, Cancelled or Failed- Specified by:
purgeStatusin interfaceO365PurgeUserResponse
-
errorMsg
The error message if any on this purge request (would come from monocle)- Specified by:
errorMsgin interfaceO365PurgeUserResponse
-
requestedBy
The admin user who requested purging of this user.- Specified by:
requestedByin interfaceO365PurgeUserResponse
-
completedDate
Specifies the purge completed date time.- Specified by:
completedDatein interfaceO365PurgeUserResponse
-
withUserNativeUuid
Copy the current immutable object by setting a value for theuserNativeUuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for userNativeUuid- Returns:
- A modified copy of the
thisobject
-
withMailbox
Copy the current immutable object by setting a value for themailboxattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for mailbox- Returns:
- A modified copy of the
thisobject
-
withOrganizationUuid
Copy the current immutable object by setting a value for theorganizationUuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for organizationUuid- Returns:
- A modified copy of the
thisobject
-
withInitiatedDate
Copy the current immutable object by setting a value for theinitiatedDateattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for initiatedDate- Returns:
- A modified copy of the
thisobject
-
withPurgeDate
Copy the current immutable object by setting a value for thepurgeDateattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for purgeDate- Returns:
- A modified copy of the
thisobject
-
withActive
Copy the current immutable object by setting a value for theactiveattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for active- Returns:
- A modified copy of the
thisobject
-
withPurgeStatus
Copy the current immutable object by setting a value for thepurgeStatusattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for purgeStatus- Returns:
- A modified copy of the
thisobject
-
withErrorMsg
Copy the current immutable object by setting a present value for the optionalerrorMsgattribute.- Parameters:
value- The value for errorMsg- Returns:
- A modified copy of
thisobject
-
withErrorMsg
Copy the current immutable object by setting an optional value for theerrorMsgattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for errorMsg- Returns:
- A modified copy of
thisobject
-
withRequestedBy
Copy the current immutable object by setting a present value for the optionalrequestedByattribute.- Parameters:
value- The value for requestedBy- Returns:
- A modified copy of
thisobject
-
withRequestedBy
Copy the current immutable object by setting an optional value for therequestedByattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for requestedBy- Returns:
- A modified copy of
thisobject
-
withCompletedDate
Copy the current immutable object by setting a present value for the optionalcompletedDateattribute.- Parameters:
value- The value for completedDate- Returns:
- A modified copy of
thisobject
-
withCompletedDate
Copy the current immutable object by setting an optional value for thecompletedDateattribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for completedDate- Returns:
- A modified copy of
thisobject
-
equals
This instance is equal to all instances ofImmutableO365PurgeUserResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:userNativeUuid,mailbox,organizationUuid,initiatedDate,purgeDate,active,purgeStatus,errorMsg,requestedBy,completedDate. -
toString
Prints the immutable valueO365PurgeUserResponsewith attribute values. -
copyOf
Creates an immutable copy of aO365PurgeUserResponsevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable O365PurgeUserResponse instance
-
builder
Creates a builder forImmutableO365PurgeUserResponse.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();- Returns:
- A new ImmutableO365PurgeUserResponse builder
-