Class ImmutableO365TeamOptionsRequest

java.lang.Object
com.iland.core.web.rest.request.vbo.ImmutableO365TeamOptionsRequest
All Implemented Interfaces:
O365TeamOptionsRequest

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

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

  • Method Details

    • itemIds

      public com.google.common.collect.ImmutableSet<String> itemIds()
      Specifies ids of O365 Team items.
      Specified by:
      itemIds in interface O365TeamOptionsRequest
    • withItemIds

      public final ImmutableO365TeamOptionsRequest withItemIds(String... elements)
      Copy the current immutable object with elements that replace the content of itemIds.
      Parameters:
      elements - The elements to set
      Returns:
      A modified copy of this object
    • withItemIds

      public final ImmutableO365TeamOptionsRequest withItemIds(Iterable<String> elements)
      Copy the current immutable object with elements that replace the content of itemIds. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      elements - An iterable of itemIds elements to set
      Returns:
      A modified copy of this object
    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of ImmutableO365TeamOptionsRequest 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: itemIds.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

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

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

      public static ImmutableO365TeamOptionsRequest.Builder builder()
      Creates a builder for ImmutableO365TeamOptionsRequest.
       ImmutableO365TeamOptionsRequest.builder()
          .addItemIds|addAllItemIds(String) // itemIds elements
          .build();
       
      Returns:
      A new ImmutableO365TeamOptionsRequest builder