Class ImmutableO365MailboxPurgeRequest

java.lang.Object
com.iland.core.web.rest.request.vbo.ImmutableO365MailboxPurgeRequest
All Implemented Interfaces:
O365MailboxPurgeRequest

@Generated(from="O365MailboxPurgeRequest", generator="Immutables") @ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableO365MailboxPurgeRequest extends Object implements O365MailboxPurgeRequest
Immutable implementation of O365MailboxPurgeRequest.

Use the builder to create immutable instances: ImmutableO365MailboxPurgeRequest.builder().

  • Method Details

    • userNativeUuid

      public String userNativeUuid()
      The user native uuids for the mailboxes marked for purging.
      Specified by:
      userNativeUuid in interface O365MailboxPurgeRequest
    • mailbox

      public String mailbox()
      The mailbox / username marked for purging.
      Specified by:
      mailbox in interface O365MailboxPurgeRequest
    • withUserNativeUuid

      public final ImmutableO365MailboxPurgeRequest withUserNativeUuid(String value)
      Copy the current immutable object by setting a value for the userNativeUuid attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for userNativeUuid
      Returns:
      A modified copy of the this object
    • withMailbox

      public final ImmutableO365MailboxPurgeRequest withMailbox(String value)
      Copy the current immutable object by setting a value for the mailbox attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for mailbox
      Returns:
      A modified copy of the this object
    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of ImmutableO365MailboxPurgeRequest that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: userNativeUuid, mailbox.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value O365MailboxPurgeRequest with attribute values.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • copyOf

      Creates an immutable copy of a O365MailboxPurgeRequest value. 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 O365MailboxPurgeRequest instance
    • builder

      Creates a builder for ImmutableO365MailboxPurgeRequest.
       ImmutableO365MailboxPurgeRequest.builder()
          .userNativeUuid(String) // required userNativeUuid
          .mailbox(String) // required mailbox
          .build();
       
      Returns:
      A new ImmutableO365MailboxPurgeRequest builder