Class ImmutableO365TeamPostResponse
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365TeamPostResponse
- All Implemented Interfaces:
O365TeamItemResponse,O365TeamPostResponse
@Generated(from="O365TeamPostResponse",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableO365TeamPostResponse
extends Object
implements O365TeamPostResponse
Immutable implementation of
O365TeamPostResponse.
Use the builder to create immutable instances:
ImmutableO365TeamPostResponse.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableO365TeamPostResponse. -
Method Summary
Modifier and TypeMethodDescriptionauthor()The User name of the author of the post.builder()Creates a builder forImmutableO365TeamPostResponse.copyOf(O365TeamPostResponse instance) Creates an immutable copy of aO365TeamPostResponsevalue.Date and time when the post was created.booleanThis instance is equal to all instances ofImmutableO365TeamPostResponsethat have equal attribute values.inthashCode()Computes a hash code from attributes:nativeId,author,important,subject,createdTime,lastModificationTime.booleanDefines whether the post is marked as important.Date and time of the latest modification of the post.nativeId()The native VBO id for this Team item.subject()The Subject of the post.toString()Prints the immutable valueO365TeamPostResponsewith attribute values.withAuthor(String value) Copy the current immutable object by setting a value for theauthorattribute.withCreatedTime(Instant value) Copy the current immutable object by setting a value for thecreatedTimeattribute.withImportant(boolean value) Copy the current immutable object by setting a value for theimportantattribute.withLastModificationTime(Instant value) Copy the current immutable object by setting a value for thelastModificationTimeattribute.withNativeId(String value) Copy the current immutable object by setting a value for thenativeIdattribute.withSubject(String value) Copy the current immutable object by setting a value for thesubjectattribute.
-
Method Details
-
nativeId
The native VBO id for this Team item.- Specified by:
nativeIdin interfaceO365TeamItemResponse
-
author
The User name of the author of the post.- Specified by:
authorin interfaceO365TeamPostResponse
-
important
public boolean important()Defines whether the post is marked as important.- Specified by:
importantin interfaceO365TeamPostResponse
-
subject
The Subject of the post.- Specified by:
subjectin interfaceO365TeamPostResponse
-
createdTime
Date and time when the post was created.- Specified by:
createdTimein interfaceO365TeamPostResponse
-
lastModificationTime
Date and time of the latest modification of the post.- Specified by:
lastModificationTimein interfaceO365TeamPostResponse
-
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
-
withAuthor
Copy the current immutable object by setting a value for theauthorattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for author- Returns:
- A modified copy of the
thisobject
-
withImportant
Copy the current immutable object by setting a value for theimportantattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for important- Returns:
- A modified copy of the
thisobject
-
withSubject
Copy the current immutable object by setting a value for thesubjectattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for subject (can benull)- Returns:
- A modified copy of the
thisobject
-
withCreatedTime
Copy the current immutable object by setting a value for thecreatedTimeattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for createdTime- Returns:
- A modified copy of the
thisobject
-
withLastModificationTime
Copy the current immutable object by setting a value for thelastModificationTimeattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for lastModificationTime- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableO365TeamPostResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:nativeId,author,important,subject,createdTime,lastModificationTime. -
toString
Prints the immutable valueO365TeamPostResponsewith attribute values. -
copyOf
Creates an immutable copy of aO365TeamPostResponsevalue. 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 O365TeamPostResponse instance
-
builder
Creates a builder forImmutableO365TeamPostResponse.ImmutableO365TeamPostResponse.builder() .nativeId(String) // requirednativeId.author(String) // requiredauthor.important(boolean) // requiredimportant.subject(String | null) // nullablesubject.createdTime(java.time.Instant) // requiredcreatedTime.lastModificationTime(java.time.Instant) // requiredlastModificationTime.build();- Returns:
- A new ImmutableO365TeamPostResponse builder
-