@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableO365TeamFileResponse extends Object implements O365TeamFileResponse
O365TeamFileResponse.
Use the builder to create immutable instances:
ImmutableO365TeamFileResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableO365TeamFileResponse.Builder
Builds instances of type
ImmutableO365TeamFileResponse. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableO365TeamFileResponse.Builder |
builder()
Creates a builder for
ImmutableO365TeamFileResponse. |
static ImmutableO365TeamFileResponse |
copyOf(O365TeamFileResponse instance)
Creates an immutable copy of a
O365TeamFileResponse value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableO365TeamFileResponse that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
nativeId, name, sizeBytes, version, modifiedBy, modified, parentId, type. |
Instant |
modified()
The Date and time of the last modification of the file.
|
String |
modifiedBy()
The name of the user who performed the latest modification of the file.
|
String |
name()
The file name.
|
String |
nativeId()
The native VBO id for this Team item.
|
Optional<String> |
parentId()
The parent folder ID of the sub file/folder.
|
long |
sizeBytes()
The file size.
|
String |
toString()
Prints the immutable value
O365TeamFileResponse with attribute values. |
String |
type()
The Type of the Microsoft Teams File (File, Folder).
|
String |
version()
The Version of the file in the backup.
|
ImmutableO365TeamFileResponse |
withModified(Instant value)
Copy the current immutable object by setting a value for the
modified attribute. |
ImmutableO365TeamFileResponse |
withModifiedBy(String value)
Copy the current immutable object by setting a value for the
modifiedBy attribute. |
ImmutableO365TeamFileResponse |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableO365TeamFileResponse |
withNativeId(String value)
Copy the current immutable object by setting a value for the
nativeId attribute. |
ImmutableO365TeamFileResponse |
withParentId(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
parentId attribute. |
ImmutableO365TeamFileResponse |
withParentId(String value)
Copy the current immutable object by setting a present value for the optional
parentId attribute. |
ImmutableO365TeamFileResponse |
withSizeBytes(long value)
Copy the current immutable object by setting a value for the
sizeBytes attribute. |
ImmutableO365TeamFileResponse |
withType(String value)
Copy the current immutable object by setting a value for the
type attribute. |
ImmutableO365TeamFileResponse |
withVersion(String value)
Copy the current immutable object by setting a value for the
version attribute. |
public String nativeId()
nativeId in interface O365TeamItemResponsepublic String name()
name in interface O365TeamFileResponsepublic long sizeBytes()
sizeBytes in interface O365TeamFileResponsepublic String version()
version in interface O365TeamFileResponsepublic String modifiedBy()
modifiedBy in interface O365TeamFileResponsepublic Instant modified()
modified in interface O365TeamFileResponsepublic Optional<String> parentId()
parentId in interface O365TeamFileResponsepublic String type()
type in interface O365TeamFileResponsepublic final ImmutableO365TeamFileResponse 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 ImmutableO365TeamFileResponse withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final ImmutableO365TeamFileResponse withSizeBytes(long value)
sizeBytes attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for sizeBytesthis objectpublic final ImmutableO365TeamFileResponse withVersion(String value)
version attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for versionthis objectpublic final ImmutableO365TeamFileResponse withModifiedBy(String value)
modifiedBy attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for modifiedBythis objectpublic final ImmutableO365TeamFileResponse withModified(Instant value)
modified attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for modifiedthis objectpublic final ImmutableO365TeamFileResponse withParentId(String value)
parentId attribute.value - The value for parentIdthis objectpublic final ImmutableO365TeamFileResponse withParentId(Optional<String> optional)
parentId attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for parentIdthis objectpublic final ImmutableO365TeamFileResponse 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)
ImmutableO365TeamFileResponse that have equal attribute values.public int hashCode()
nativeId, name, sizeBytes, version, modifiedBy, modified, parentId, type.public String toString()
O365TeamFileResponse with attribute values.public static ImmutableO365TeamFileResponse copyOf(O365TeamFileResponse instance)
O365TeamFileResponse 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 ImmutableO365TeamFileResponse.Builder builder()
ImmutableO365TeamFileResponse.
ImmutableO365TeamFileResponse.builder()
.nativeId(String) // required nativeId
.name(String) // required name
.sizeBytes(long) // required sizeBytes
.version(String) // required version
.modifiedBy(String) // required modifiedBy
.modified(java.time.Instant) // required modified
.parentId(String) // optional parentId
.type(String) // required type
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.