Class ImmutableO365SharePointPersonalSiteResponse

java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365SharePointPersonalSiteResponse
All Implemented Interfaces:
O365SharePointPersonalSiteResponse

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

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

  • Method Details

    • type

      public String type()
      The Type of the O365 Sharepoint personal sites(always PersonalSites).
      Specified by:
      type in interface O365SharePointPersonalSiteResponse
    • id

      public String id()
      The id of the O365 Sharepoint personal sites.
      Specified by:
      id in interface O365SharePointPersonalSiteResponse
    • withType

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

      Copy the current immutable object by setting a value for the id attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for id
      Returns:
      A modified copy of the this object
    • equals

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

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

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

      Creates a builder for ImmutableO365SharePointPersonalSiteResponse.
       ImmutableO365SharePointPersonalSiteResponse.builder()
          .type(String) // required type
          .id(String) // required id
          .build();
       
      Returns:
      A new ImmutableO365SharePointPersonalSiteResponse builder