Class ImmutableO365TeamChannelResponse

java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamChannelResponse
All Implemented Interfaces:
O365TeamChannelResponse

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

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

  • Method Details

    • nativeId

      public String nativeId()
      The native VBO id for this Team.
      Specified by:
      nativeId in interface O365TeamChannelResponse
    • displayName

      public String displayName()
      The team display name.
      Specified by:
      displayName in interface O365TeamChannelResponse
    • withNativeId

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

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

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

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

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

      Creates a builder for ImmutableO365TeamChannelResponse.
       ImmutableO365TeamChannelResponse.builder()
          .nativeId(String) // required nativeId
          .displayName(String) // required displayName
          .build();
       
      Returns:
      A new ImmutableO365TeamChannelResponse builder