@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableO365TeamResponse extends Object implements O365TeamResponse
O365TeamResponse
.
Use the builder to create immutable instances:
ImmutableO365TeamResponse.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableO365TeamResponse.Builder
Builds instances of type
ImmutableO365TeamResponse . |
Modifier and Type | Method and Description |
---|---|
boolean |
backedUp()
Whether this Team is backed up.
|
static ImmutableO365TeamResponse.Builder |
builder()
Creates a builder for
ImmutableO365TeamResponse . |
static ImmutableO365TeamResponse |
copyOf(O365TeamResponse instance)
Creates an immutable copy of a
O365TeamResponse value. |
Optional<String> |
description()
Get the team description.
|
String |
displayName()
Get the team display name.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableO365TeamResponse that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
description , displayName , mail , organizationUuid , backedUp , nativeId . |
Optional<String> |
mail()
Get the email associated with this Team.
|
String |
nativeId()
Get the native VBO id for this Team.
|
Optional<String> |
organizationUuid()
Get the org platform uuid associated with this Team.
|
String |
toString()
Prints the immutable value
O365TeamResponse with attribute values. |
ImmutableO365TeamResponse |
withBackedUp(boolean value)
Copy the current immutable object by setting a value for the
backedUp attribute. |
ImmutableO365TeamResponse |
withDescription(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
description attribute. |
ImmutableO365TeamResponse |
withDescription(String value)
Copy the current immutable object by setting a present value for the optional
description attribute. |
ImmutableO365TeamResponse |
withDisplayName(String value)
Copy the current immutable object by setting a value for the
displayName attribute. |
ImmutableO365TeamResponse |
withMail(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
mail attribute. |
ImmutableO365TeamResponse |
withMail(String value)
Copy the current immutable object by setting a present value for the optional
mail attribute. |
ImmutableO365TeamResponse |
withNativeId(String value)
Copy the current immutable object by setting a value for the
nativeId attribute. |
ImmutableO365TeamResponse |
withOrganizationUuid(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
organizationUuid attribute. |
ImmutableO365TeamResponse |
withOrganizationUuid(String value)
Copy the current immutable object by setting a present value for the optional
organizationUuid attribute. |
public Optional<String> description()
description
in interface O365TeamResponse
public String displayName()
displayName
in interface O365TeamResponse
public Optional<String> mail()
mail
in interface O365TeamResponse
public Optional<String> organizationUuid()
organizationUuid
in interface O365TeamResponse
public boolean backedUp()
backedUp
in interface O365TeamResponse
public String nativeId()
nativeId
in interface O365TeamResponse
public final ImmutableO365TeamResponse withDescription(String value)
description
attribute.value
- The value for descriptionthis
objectpublic final ImmutableO365TeamResponse withDescription(Optional<String> optional)
description
attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this
.optional
- A value for descriptionthis
objectpublic final ImmutableO365TeamResponse 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 final ImmutableO365TeamResponse withMail(String value)
mail
attribute.value
- The value for mailthis
objectpublic final ImmutableO365TeamResponse withMail(Optional<String> optional)
mail
attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this
.optional
- A value for mailthis
objectpublic final ImmutableO365TeamResponse withOrganizationUuid(String value)
organizationUuid
attribute.value
- The value for organizationUuidthis
objectpublic final ImmutableO365TeamResponse withOrganizationUuid(Optional<String> optional)
organizationUuid
attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this
.optional
- A value for organizationUuidthis
objectpublic final ImmutableO365TeamResponse withBackedUp(boolean value)
backedUp
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for backedUpthis
objectpublic final ImmutableO365TeamResponse 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 boolean equals(@Nullable Object another)
ImmutableO365TeamResponse
that have equal attribute values.public int hashCode()
description
, displayName
, mail
, organizationUuid
, backedUp
, nativeId
.public String toString()
O365TeamResponse
with attribute values.public static ImmutableO365TeamResponse copyOf(O365TeamResponse instance)
O365TeamResponse
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 ImmutableO365TeamResponse.Builder builder()
ImmutableO365TeamResponse
.
ImmutableO365TeamResponse.builder() .description(String) // optionaldescription
.displayName(String) // requireddisplayName
.mail(String) // optionalorganizationUuid
.backedUp(boolean) // requiredbackedUp
.nativeId(String) // requirednativeId
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.