@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableO365TeamTabResponse extends Object implements O365TeamTabResponse
O365TeamTabResponse
.
Use the builder to create immutable instances:
ImmutableO365TeamTabResponse.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableO365TeamTabResponse.Builder
Builds instances of type
ImmutableO365TeamTabResponse . |
Modifier and Type | Method and Description |
---|---|
static ImmutableO365TeamTabResponse.Builder |
builder()
Creates a builder for
ImmutableO365TeamTabResponse . |
String |
contentUrl()
Get the Team Tab display name.
|
static ImmutableO365TeamTabResponse |
copyOf(O365TeamTabResponse instance)
Creates an immutable copy of a
O365TeamTabResponse value. |
Optional<String> |
displayName()
Get the Team Tab display name.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableO365TeamTabResponse that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
nativeId , displayName , contentUrl , type . |
String |
nativeId()
The native VBO id for this Team item.
|
String |
toString()
Prints the immutable value
O365TeamTabResponse with attribute values. |
String |
type()
The Type of the Microsoft Teams Tab (Tab, Website).
|
ImmutableO365TeamTabResponse |
withContentUrl(String value)
Copy the current immutable object by setting a value for the
contentUrl attribute. |
ImmutableO365TeamTabResponse |
withDisplayName(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
displayName attribute. |
ImmutableO365TeamTabResponse |
withDisplayName(String value)
Copy the current immutable object by setting a present value for the optional
displayName attribute. |
ImmutableO365TeamTabResponse |
withNativeId(String value)
Copy the current immutable object by setting a value for the
nativeId attribute. |
ImmutableO365TeamTabResponse |
withType(String value)
Copy the current immutable object by setting a value for the
type attribute. |
public String nativeId()
nativeId
in interface O365TeamItemResponse
public Optional<String> displayName()
displayName
in interface O365TeamTabResponse
public String contentUrl()
contentUrl
in interface O365TeamTabResponse
public String type()
type
in interface O365TeamTabResponse
public final ImmutableO365TeamTabResponse withNativeId(String value)
nativeId
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for nativeIdthis
objectpublic final ImmutableO365TeamTabResponse withDisplayName(String value)
displayName
attribute.value
- The value for displayNamethis
objectpublic final ImmutableO365TeamTabResponse withDisplayName(Optional<String> optional)
displayName
attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this
.optional
- A value for displayNamethis
objectpublic final ImmutableO365TeamTabResponse withContentUrl(String value)
contentUrl
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for contentUrlthis
objectpublic final ImmutableO365TeamTabResponse withType(String value)
type
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for typethis
objectpublic boolean equals(@Nullable Object another)
ImmutableO365TeamTabResponse
that have equal attribute values.public int hashCode()
nativeId
, displayName
, contentUrl
, type
.public String toString()
O365TeamTabResponse
with attribute values.public static ImmutableO365TeamTabResponse copyOf(O365TeamTabResponse instance)
O365TeamTabResponse
value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance
- The instance to copypublic static ImmutableO365TeamTabResponse.Builder builder()
ImmutableO365TeamTabResponse
.
ImmutableO365TeamTabResponse.builder() .nativeId(String) // requirednativeId
.displayName(String) // optionaldisplayName
.contentUrl(String) // requiredcontentUrl
.type(String) // requiredtype
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.