@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableO365TeamPostResponse extends Object implements O365TeamPostResponse
O365TeamPostResponse
.
Use the builder to create immutable instances:
ImmutableO365TeamPostResponse.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableO365TeamPostResponse.Builder
Builds instances of type
ImmutableO365TeamPostResponse . |
Modifier and Type | Method and Description |
---|---|
String |
author()
The User name of the author of the post.
|
static ImmutableO365TeamPostResponse.Builder |
builder()
Creates a builder for
ImmutableO365TeamPostResponse . |
static ImmutableO365TeamPostResponse |
copyOf(O365TeamPostResponse instance)
Creates an immutable copy of a
O365TeamPostResponse value. |
Instant |
createdTime()
Date and time when the post was created.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableO365TeamPostResponse that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
nativeId , author , important , subject , createdTime , lastModificationTime . |
boolean |
important()
Defines whether the post is marked as important.
|
Instant |
lastModificationTime()
Date and time of the latest modification of the post.
|
String |
nativeId()
The native VBO id for this Team item.
|
String |
subject()
The Subject of the post.
|
String |
toString()
Prints the immutable value
O365TeamPostResponse with attribute values. |
ImmutableO365TeamPostResponse |
withAuthor(String value)
Copy the current immutable object by setting a value for the
author attribute. |
ImmutableO365TeamPostResponse |
withCreatedTime(Instant value)
Copy the current immutable object by setting a value for the
createdTime attribute. |
ImmutableO365TeamPostResponse |
withImportant(boolean value)
Copy the current immutable object by setting a value for the
important attribute. |
ImmutableO365TeamPostResponse |
withLastModificationTime(Instant value)
Copy the current immutable object by setting a value for the
lastModificationTime attribute. |
ImmutableO365TeamPostResponse |
withNativeId(String value)
Copy the current immutable object by setting a value for the
nativeId attribute. |
ImmutableO365TeamPostResponse |
withSubject(String value)
Copy the current immutable object by setting a value for the
subject attribute. |
public String nativeId()
nativeId
in interface O365TeamItemResponse
public String author()
author
in interface O365TeamPostResponse
public boolean important()
important
in interface O365TeamPostResponse
public String subject()
subject
in interface O365TeamPostResponse
public Instant createdTime()
createdTime
in interface O365TeamPostResponse
public Instant lastModificationTime()
lastModificationTime
in interface O365TeamPostResponse
public final ImmutableO365TeamPostResponse 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 ImmutableO365TeamPostResponse withAuthor(String value)
author
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for authorthis
objectpublic final ImmutableO365TeamPostResponse withImportant(boolean value)
important
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for importantthis
objectpublic final ImmutableO365TeamPostResponse withSubject(String value)
subject
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for subjectthis
objectpublic final ImmutableO365TeamPostResponse withCreatedTime(Instant value)
createdTime
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for createdTimethis
objectpublic final ImmutableO365TeamPostResponse withLastModificationTime(Instant value)
lastModificationTime
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for lastModificationTimethis
objectpublic boolean equals(@Nullable Object another)
ImmutableO365TeamPostResponse
that have equal attribute values.public int hashCode()
nativeId
, author
, important
, subject
, createdTime
, lastModificationTime
.public String toString()
O365TeamPostResponse
with attribute values.public static ImmutableO365TeamPostResponse copyOf(O365TeamPostResponse instance)
O365TeamPostResponse
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 ImmutableO365TeamPostResponse.Builder builder()
ImmutableO365TeamPostResponse
.
ImmutableO365TeamPostResponse.builder() .nativeId(String) // requirednativeId
.author(String) // requiredauthor
.important(boolean) // requiredimportant
.subject(String) // requiredsubject
.createdTime(java.time.Instant) // requiredcreatedTime
.lastModificationTime(java.time.Instant) // requiredlastModificationTime
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.