Class ImmutableO365TeamResponse
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamResponse
- All Implemented Interfaces:
O365TeamResponse
@Generated(from="O365TeamResponse",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableO365TeamResponse
extends Object
implements O365TeamResponse
Immutable implementation of
O365TeamResponse.
Use the builder to create immutable instances:
ImmutableO365TeamResponse.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365TeamResponse. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbackedUp()Whether this Team is backed up.builder()Creates a builder forImmutableO365TeamResponse.static ImmutableO365TeamResponsecopyOf(O365TeamResponse instance) Creates an immutable copy of aO365TeamResponsevalue.Get the team description.Get the team display name.booleanThis instance is equal to all instances ofImmutableO365TeamResponsethat have equal attribute values.inthashCode()Computes a hash code from attributes:description,displayName,mail,organizationUuid,backedUp,nativeId.mail()Get the email associated with this Team.nativeId()Get the native VBO id for this Team.Get the org platform uuid associated with this Team.toString()Prints the immutable valueO365TeamResponsewith attribute values.withBackedUp(boolean value) Copy the current immutable object by setting a value for thebackedUpattribute.withDescription(String value) Copy the current immutable object by setting a present value for the optionaldescriptionattribute.withDescription(Optional<String> optional) Copy the current immutable object by setting an optional value for thedescriptionattribute.withDisplayName(String value) Copy the current immutable object by setting a value for thedisplayNameattribute.Copy the current immutable object by setting a present value for the optionalmailattribute.Copy the current immutable object by setting an optional value for themailattribute.withNativeId(String value) Copy the current immutable object by setting a value for thenativeIdattribute.withOrganizationUuid(String value) Copy the current immutable object by setting a present value for the optionalorganizationUuidattribute.withOrganizationUuid(Optional<String> optional) Copy the current immutable object by setting an optional value for theorganizationUuidattribute.
-
Method Details
-
description
Get the team description.- Specified by:
descriptionin interfaceO365TeamResponse
-
displayName
Get the team display name.- Specified by:
displayNamein interfaceO365TeamResponse
-
mail
Get the email associated with this Team.- Specified by:
mailin interfaceO365TeamResponse
-
organizationUuid
Get the org platform uuid associated with this Team.- Specified by:
organizationUuidin interfaceO365TeamResponse
-
backedUp
public boolean backedUp()Whether this Team is backed up.- Specified by:
backedUpin interfaceO365TeamResponse
-
nativeId
Get the native VBO id for this Team.- Specified by:
nativeIdin interfaceO365TeamResponse
-
withDescription
Copy the current immutable object by setting a present value for the optionaldescriptionattribute.- Parameters:
value- The value for description- Returns:
- A modified copy of
thisobject
-
withDescription
Copy the current immutable object by setting an optional value for thedescriptionattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for description- Returns:
- A modified copy of
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
-
withMail
Copy the current immutable object by setting a present value for the optionalmailattribute.- Parameters:
value- The value for mail- Returns:
- A modified copy of
thisobject
-
withMail
Copy the current immutable object by setting an optional value for themailattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for mail- Returns:
- A modified copy of
thisobject
-
withOrganizationUuid
Copy the current immutable object by setting a present value for the optionalorganizationUuidattribute.- Parameters:
value- The value for organizationUuid- Returns:
- A modified copy of
thisobject
-
withOrganizationUuid
Copy the current immutable object by setting an optional value for theorganizationUuidattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for organizationUuid- Returns:
- A modified copy of
thisobject
-
withBackedUp
Copy the current immutable object by setting a value for thebackedUpattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for backedUp- Returns:
- A modified copy of the
thisobject
-
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
-
equals
This instance is equal to all instances ofImmutableO365TeamResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:description,displayName,mail,organizationUuid,backedUp,nativeId. -
toString
Prints the immutable valueO365TeamResponsewith attribute values. -
copyOf
Creates an immutable copy of aO365TeamResponsevalue. 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 O365TeamResponse instance
-
builder
Creates a builder forImmutableO365TeamResponse.ImmutableO365TeamResponse.builder() .description(String) // optionaldescription.displayName(String) // requireddisplayName.mail(String) // optionalmail.organizationUuid(String) // optionalorganizationUuid.backedUp(boolean) // requiredbackedUp.nativeId(String) // requirednativeId.build();- Returns:
- A new ImmutableO365TeamResponse builder
-