Class ImmutableO365JobTeamResponse

java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365JobTeamResponse
All Implemented Interfaces:
O365JobTeamResponse

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

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

  • Method Details

    • team

      public O365TeamResponse team()
      The set of O365 Team responses.
      Specified by:
      team in interface O365JobTeamResponse
    • chats

      @Nullable public Boolean chats()
      The chat backup option if applicable.
      Specified by:
      chats in interface O365JobTeamResponse
    • withTeam

      public final ImmutableO365JobTeamResponse withTeam(O365TeamResponse value)
      Copy the current immutable object by setting a value for the team attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for team
      Returns:
      A modified copy of the this object
    • withChats

      public final ImmutableO365JobTeamResponse withChats(@Nullable Boolean value)
      Copy the current immutable object by setting a value for the chats attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for chats (can be null)
      Returns:
      A modified copy of the this object
    • equals

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

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

      public static ImmutableO365JobTeamResponse copyOf(O365JobTeamResponse instance)
      Creates an immutable copy of a O365JobTeamResponse 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 O365JobTeamResponse instance
    • builder

      public static ImmutableO365JobTeamResponse.Builder builder()
      Creates a builder for ImmutableO365JobTeamResponse.
       ImmutableO365JobTeamResponse.builder()
          .team(com.iland.core.web.rest.response.vbo.O365TeamResponse) // required team
          .chats(Boolean | null) // nullable chats
          .build();
       
      Returns:
      A new ImmutableO365JobTeamResponse builder