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().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365TeamTabResponse. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableO365TeamTabResponse.Get the Team Tab display name.static ImmutableO365TeamTabResponsecopyOf(O365TeamTabResponse instance) Creates an immutable copy of aO365TeamTabResponsevalue.Get the Team Tab display name.booleanThis instance is equal to all instances ofImmutableO365TeamTabResponsethat have equal attribute values.inthashCode()Computes a hash code from attributes:nativeId,displayName,contentUrl,type.nativeId()The native VBO id for this Team item.toString()Prints the immutable valueO365TeamTabResponsewith attribute values.type()The Type of the Microsoft Teams Tab (Tab, Website).withContentUrl(String value) Copy the current immutable object by setting a value for thecontentUrlattribute.withDisplayName(String value) Copy the current immutable object by setting a present value for the optionaldisplayNameattribute.withDisplayName(Optional<String> optional) Copy the current immutable object by setting an optional value for thedisplayNameattribute.withNativeId(String value) Copy the current immutable object by setting a value for thenativeIdattribute.Copy the current immutable object by setting a value for thetypeattribute.
-
Method Details
-
nativeId
The native VBO id for this Team item.- Specified by:
nativeIdin interfaceO365TeamItemResponse
-
displayName
Get the Team Tab display name.- Specified by:
displayNamein interfaceO365TeamTabResponse
-
contentUrl
Get the Team Tab display name.- Specified by:
contentUrlin interfaceO365TeamTabResponse
-
type
The Type of the Microsoft Teams Tab (Tab, Website).- Specified by:
typein interfaceO365TeamTabResponse
-
withNativeId
Copy the current immutable object by setting a value for thenativeIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for nativeId- Returns:
- A modified copy of the
thisobject
-
withDisplayName
Copy the current immutable object by setting a present value for the optionaldisplayNameattribute.- Parameters:
value- The value for displayName- Returns:
- A modified copy of
thisobject
-
withDisplayName
Copy the current immutable object by setting an optional value for thedisplayNameattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for displayName- Returns:
- A modified copy of
thisobject
-
withContentUrl
Copy the current immutable object by setting a value for thecontentUrlattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for contentUrl- Returns:
- A modified copy of the
thisobject
-
withType
Copy the current immutable object by setting a value for thetypeattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableO365TeamTabResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:nativeId,displayName,contentUrl,type. -
toString
Prints the immutable valueO365TeamTabResponsewith attribute values. -
copyOf
Creates an immutable copy of aO365TeamTabResponsevalue. 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
Creates a builder forImmutableO365TeamTabResponse.ImmutableO365TeamTabResponse.builder() .nativeId(String) // requirednativeId.displayName(String) // optionaldisplayName.contentUrl(String) // requiredcontentUrl.type(String) // requiredtype.build();- Returns:
- A new ImmutableO365TeamTabResponse builder
-