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().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365TeamChannelResponse. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableO365TeamChannelResponse.copyOf(O365TeamChannelResponse instance) Creates an immutable copy of aO365TeamChannelResponsevalue.The team display name.booleanThis instance is equal to all instances ofImmutableO365TeamChannelResponsethat have equal attribute values.inthashCode()Computes a hash code from attributes:nativeId,displayName.nativeId()The native VBO id for this Team.toString()Prints the immutable valueO365TeamChannelResponsewith attribute values.withDisplayName(String value) Copy the current immutable object by setting a value for thedisplayNameattribute.withNativeId(String value) Copy the current immutable object by setting a value for thenativeIdattribute.
-
Method Details
-
nativeId
The native VBO id for this Team.- Specified by:
nativeIdin interfaceO365TeamChannelResponse
-
displayName
The team display name.- Specified by:
displayNamein interfaceO365TeamChannelResponse
-
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 value for thedisplayNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for displayName- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableO365TeamChannelResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:nativeId,displayName. -
toString
Prints the immutable valueO365TeamChannelResponsewith attribute values. -
copyOf
Creates an immutable copy of aO365TeamChannelResponsevalue. 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 forImmutableO365TeamChannelResponse.ImmutableO365TeamChannelResponse.builder() .nativeId(String) // requirednativeId.displayName(String) // requireddisplayName.build();- Returns:
- A new ImmutableO365TeamChannelResponse builder
-