Class ImmutableO365TeamTabResponse

java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamTabResponse
All Implemented Interfaces:
O365TeamItemResponse, O365TeamTabResponse

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

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

  • Method Details

    • nativeId

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

      public Optional<String> displayName()
      Get the Team Tab display name.
      Specified by:
      displayName in interface O365TeamTabResponse
    • contentUrl

      public String contentUrl()
      Get the Team Tab display name.
      Specified by:
      contentUrl in interface O365TeamTabResponse
    • type

      public String type()
      The Type of the Microsoft Teams Tab (Tab, Website).
      Specified by:
      type in interface O365TeamTabResponse
    • withNativeId

      public final ImmutableO365TeamTabResponse 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 ImmutableO365TeamTabResponse withDisplayName(String value)
      Copy the current immutable object by setting a present value for the optional displayName attribute.
      Parameters:
      value - The value for displayName
      Returns:
      A modified copy of this object
    • withDisplayName

      public final ImmutableO365TeamTabResponse withDisplayName(Optional<String> optional)
      Copy the current immutable object by setting an optional value for the displayName attribute. An equality check is used on inner nullable value to prevent copying of the same value by returning this.
      Parameters:
      optional - A value for displayName
      Returns:
      A modified copy of this object
    • withContentUrl

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

      public final ImmutableO365TeamTabResponse 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
    • equals

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

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

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

      public static ImmutableO365TeamTabResponse.Builder builder()
      Creates a builder for ImmutableO365TeamTabResponse.
       ImmutableO365TeamTabResponse.builder()
          .nativeId(String) // required nativeId
          .displayName(String) // optional displayName
          .contentUrl(String) // required contentUrl
          .type(String) // required type
          .build();
       
      Returns:
      A new ImmutableO365TeamTabResponse builder