@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableO365TeamChannelResponse extends Object implements O365TeamChannelResponse
O365TeamChannelResponse
.
Use the builder to create immutable instances:
ImmutableO365TeamChannelResponse.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableO365TeamChannelResponse.Builder
Builds instances of type
ImmutableO365TeamChannelResponse . |
Modifier and Type | Method and Description |
---|---|
static ImmutableO365TeamChannelResponse.Builder |
builder()
Creates a builder for
ImmutableO365TeamChannelResponse . |
static ImmutableO365TeamChannelResponse |
copyOf(O365TeamChannelResponse instance)
Creates an immutable copy of a
O365TeamChannelResponse value. |
String |
displayName()
The team display name.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableO365TeamChannelResponse that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
nativeId , displayName . |
String |
nativeId()
The native VBO id for this Team.
|
String |
toString()
Prints the immutable value
O365TeamChannelResponse with attribute values. |
ImmutableO365TeamChannelResponse |
withDisplayName(String value)
Copy the current immutable object by setting a value for the
displayName attribute. |
ImmutableO365TeamChannelResponse |
withNativeId(String value)
Copy the current immutable object by setting a value for the
nativeId attribute. |
public String nativeId()
nativeId
in interface O365TeamChannelResponse
public String displayName()
displayName
in interface O365TeamChannelResponse
public final ImmutableO365TeamChannelResponse 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 ImmutableO365TeamChannelResponse withDisplayName(String value)
displayName
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for displayNamethis
objectpublic boolean equals(@Nullable Object another)
ImmutableO365TeamChannelResponse
that have equal attribute values.public int hashCode()
nativeId
, displayName
.public String toString()
O365TeamChannelResponse
with attribute values.public static ImmutableO365TeamChannelResponse copyOf(O365TeamChannelResponse instance)
O365TeamChannelResponse
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 ImmutableO365TeamChannelResponse.Builder builder()
ImmutableO365TeamChannelResponse
.
ImmutableO365TeamChannelResponse.builder() .nativeId(String) // requirednativeId
.displayName(String) // requireddisplayName
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.