@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","SlackUnknownFiletypeIF"}) @Immutable public final class SlackUnknownFiletype extends Object implements SlackUnknownFiletypeIF
SlackUnknownFiletypeIF.
Use the builder to create immutable instances:
SlackUnknownFiletype.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
SlackUnknownFiletype.Builder
Builds instances of type
SlackUnknownFiletype. |
| Modifier and Type | Method and Description |
|---|---|
static SlackUnknownFiletype.Builder |
builder()
Creates a builder for
SlackUnknownFiletype. |
static SlackUnknownFiletype |
copyOf(SlackUnknownFiletypeIF instance)
Creates an immutable copy of a
SlackUnknownFiletypeIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SlackUnknownFiletype that have equal attribute values. |
List<String> |
getChannelIds() |
int |
getCommentsCount() |
long |
getCreatedEpochSeconds() |
boolean |
getDisplayAsBot() |
SlackFileType |
getFiletype() |
List<String> |
getGroupIds() |
String |
getId() |
List<String> |
getImIds() |
String |
getMimetype() |
String |
getMode() |
String |
getName() |
String |
getPermalink() |
Optional<String> |
getPermalinkPublic() |
String |
getPrettyType() |
long |
getSize() |
long |
getTimestampEpochSeconds() |
String |
getTitle() |
String |
getUrlPrivate() |
Optional<String> |
getUrlPrivateDownload() |
String |
getUserId() |
String |
getUsername() |
int |
hashCode()
Computes a hash code from attributes:
id, createdEpochSeconds, timestampEpochSeconds, name, title, mimetype, filetype, prettyType, userId, editable, size, mode, external, isPublic, publicUrlShared, displayAsBot, username, urlPrivate, urlPrivateDownload, permalink, permalinkPublic, commentsCount, starred, channelIds, groupIds, imIds. |
boolean |
isEditable() |
boolean |
isExternal() |
boolean |
isPublic() |
boolean |
isPublicUrlShared() |
Optional<Boolean> |
isStarred() |
String |
toString()
Prints the immutable value
SlackUnknownFiletype with attribute values. |
SlackUnknownFiletype |
withChannelIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
channelIds. |
SlackUnknownFiletype |
withChannelIds(String... elements)
Copy the current immutable object with elements that replace the content of
channelIds. |
SlackUnknownFiletype |
withCommentsCount(int commentsCount)
Copy the current immutable object by setting a value for the
commentsCount attribute. |
SlackUnknownFiletype |
withCreatedEpochSeconds(long createdEpochSeconds)
Copy the current immutable object by setting a value for the
createdEpochSeconds attribute. |
SlackUnknownFiletype |
withDisplayAsBot(boolean displayAsBot)
Copy the current immutable object by setting a value for the
displayAsBot attribute. |
SlackUnknownFiletype |
withEditable(boolean editable)
Copy the current immutable object by setting a value for the
editable attribute. |
SlackUnknownFiletype |
withExternal(boolean external)
Copy the current immutable object by setting a value for the
external attribute. |
SlackUnknownFiletype |
withFiletype(SlackFileType filetype)
Copy the current immutable object by setting a value for the
filetype attribute. |
SlackUnknownFiletype |
withGroupIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
groupIds. |
SlackUnknownFiletype |
withGroupIds(String... elements)
Copy the current immutable object with elements that replace the content of
groupIds. |
SlackUnknownFiletype |
withId(String id)
Copy the current immutable object by setting a value for the
id attribute. |
SlackUnknownFiletype |
withImIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
imIds. |
SlackUnknownFiletype |
withImIds(String... elements)
Copy the current immutable object with elements that replace the content of
imIds. |
SlackUnknownFiletype |
withIsPublic(boolean isPublic)
Copy the current immutable object by setting a value for the
isPublic attribute. |
SlackUnknownFiletype |
withMimetype(String mimetype)
Copy the current immutable object by setting a value for the
mimetype attribute. |
SlackUnknownFiletype |
withMode(String mode)
Copy the current immutable object by setting a value for the
mode attribute. |
SlackUnknownFiletype |
withName(String name)
Copy the current immutable object by setting a value for the
name attribute. |
SlackUnknownFiletype |
withPermalink(String permalink)
Copy the current immutable object by setting a value for the
permalink attribute. |
SlackUnknownFiletype |
withPermalinkPublic(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
permalinkPublic attribute. |
SlackUnknownFiletype |
withPermalinkPublic(String value)
Copy the current immutable object by setting a present value for the optional
permalinkPublic attribute. |
SlackUnknownFiletype |
withPrettyType(String prettyType)
Copy the current immutable object by setting a value for the
prettyType attribute. |
SlackUnknownFiletype |
withPublicUrlShared(boolean publicUrlShared)
Copy the current immutable object by setting a value for the
publicUrlShared attribute. |
SlackUnknownFiletype |
withSize(long size)
Copy the current immutable object by setting a value for the
size attribute. |
SlackUnknownFiletype |
withStarred(Boolean value)
Copy the current immutable object by setting a present value for the optional
starred attribute. |
SlackUnknownFiletype |
withStarred(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for the
starred attribute. |
SlackUnknownFiletype |
withTimestampEpochSeconds(long timestampEpochSeconds)
Copy the current immutable object by setting a value for the
timestampEpochSeconds attribute. |
SlackUnknownFiletype |
withTitle(String title)
Copy the current immutable object by setting a value for the
title attribute. |
SlackUnknownFiletype |
withUrlPrivate(String urlPrivate)
Copy the current immutable object by setting a value for the
urlPrivate attribute. |
SlackUnknownFiletype |
withUrlPrivateDownload(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
urlPrivateDownload attribute. |
SlackUnknownFiletype |
withUrlPrivateDownload(String value)
Copy the current immutable object by setting a present value for the optional
urlPrivateDownload attribute. |
SlackUnknownFiletype |
withUserId(String userId)
Copy the current immutable object by setting a value for the
userId attribute. |
SlackUnknownFiletype |
withUsername(String username)
Copy the current immutable object by setting a value for the
username attribute. |
public String getId()
getId in interface SlackFilegetId in interface SlackUnknownFiletypeIFid attributepublic long getCreatedEpochSeconds()
getCreatedEpochSeconds in interface SlackFilegetCreatedEpochSeconds in interface SlackUnknownFiletypeIFcreatedEpochSeconds attributepublic long getTimestampEpochSeconds()
getTimestampEpochSeconds in interface SlackFilegetTimestampEpochSeconds in interface SlackUnknownFiletypeIFtimestampEpochSeconds attributepublic String getName()
getName in interface SlackFilegetName in interface SlackUnknownFiletypeIFname attributepublic String getTitle()
getTitle in interface SlackFilegetTitle in interface SlackUnknownFiletypeIFtitle attributepublic String getMimetype()
getMimetype in interface SlackFilegetMimetype in interface SlackUnknownFiletypeIFmimetype attributepublic SlackFileType getFiletype()
getFiletype in interface SlackFilegetFiletype in interface SlackUnknownFiletypeIFfiletype attributepublic String getPrettyType()
getPrettyType in interface SlackFilegetPrettyType in interface SlackUnknownFiletypeIFprettyType attributepublic String getUserId()
getUserId in interface SlackFilegetUserId in interface SlackUnknownFiletypeIFuserId attributepublic boolean isEditable()
isEditable in interface SlackFileisEditable in interface SlackUnknownFiletypeIFeditable attributepublic long getSize()
getSize in interface SlackFilegetSize in interface SlackUnknownFiletypeIFsize attributepublic String getMode()
getMode in interface SlackFilegetMode in interface SlackUnknownFiletypeIFmode attributepublic boolean isExternal()
isExternal in interface SlackFileisExternal in interface SlackUnknownFiletypeIFexternal attributepublic boolean isPublic()
isPublic in interface SlackFileisPublic in interface SlackUnknownFiletypeIFisPublic attributepublic boolean isPublicUrlShared()
isPublicUrlShared in interface SlackFileisPublicUrlShared in interface SlackUnknownFiletypeIFpublicUrlShared attributepublic boolean getDisplayAsBot()
getDisplayAsBot in interface SlackFilegetDisplayAsBot in interface SlackUnknownFiletypeIFdisplayAsBot attributepublic String getUsername()
getUsername in interface SlackFilegetUsername in interface SlackUnknownFiletypeIFusername attributepublic String getUrlPrivate()
getUrlPrivate in interface SlackFilegetUrlPrivate in interface SlackUnknownFiletypeIFurlPrivate attributepublic Optional<String> getUrlPrivateDownload()
getUrlPrivateDownload in interface SlackFilegetUrlPrivateDownload in interface SlackUnknownFiletypeIFurlPrivateDownload attributepublic String getPermalink()
getPermalink in interface SlackFilegetPermalink in interface SlackUnknownFiletypeIFpermalink attributepublic Optional<String> getPermalinkPublic()
getPermalinkPublic in interface SlackFilegetPermalinkPublic in interface SlackUnknownFiletypeIFpermalinkPublic attributepublic int getCommentsCount()
getCommentsCount in interface SlackFilegetCommentsCount in interface SlackUnknownFiletypeIFcommentsCount attributepublic Optional<Boolean> isStarred()
isStarred in interface SlackFileisStarred in interface SlackUnknownFiletypeIFstarred attributepublic List<String> getChannelIds()
getChannelIds in interface SlackFilegetChannelIds in interface SlackUnknownFiletypeIFchannelIds attributepublic List<String> getGroupIds()
getGroupIds in interface SlackFilegetGroupIds in interface SlackUnknownFiletypeIFgroupIds attributepublic List<String> getImIds()
getImIds in interface SlackFilegetImIds in interface SlackUnknownFiletypeIFimIds attributepublic final SlackUnknownFiletype withId(String id)
id attribute.
An equals check used to prevent copying of the same value by returning this.id - A new value for idthis objectpublic final SlackUnknownFiletype withCreatedEpochSeconds(long createdEpochSeconds)
createdEpochSeconds attribute.
A value equality check is used to prevent copying of the same value by returning this.createdEpochSeconds - A new value for createdEpochSecondsthis objectpublic final SlackUnknownFiletype withTimestampEpochSeconds(long timestampEpochSeconds)
timestampEpochSeconds attribute.
A value equality check is used to prevent copying of the same value by returning this.timestampEpochSeconds - A new value for timestampEpochSecondsthis objectpublic final SlackUnknownFiletype withName(String name)
name attribute.
An equals check used to prevent copying of the same value by returning this.name - A new value for namethis objectpublic final SlackUnknownFiletype withTitle(String title)
title attribute.
An equals check used to prevent copying of the same value by returning this.title - A new value for titlethis objectpublic final SlackUnknownFiletype withMimetype(String mimetype)
mimetype attribute.
An equals check used to prevent copying of the same value by returning this.mimetype - A new value for mimetypethis objectpublic final SlackUnknownFiletype withFiletype(SlackFileType filetype)
filetype attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.filetype - A new value for filetypethis objectpublic final SlackUnknownFiletype withPrettyType(String prettyType)
prettyType attribute.
An equals check used to prevent copying of the same value by returning this.prettyType - A new value for prettyTypethis objectpublic final SlackUnknownFiletype withUserId(String userId)
userId attribute.
An equals check used to prevent copying of the same value by returning this.userId - A new value for userIdthis objectpublic final SlackUnknownFiletype withEditable(boolean editable)
editable attribute.
A value equality check is used to prevent copying of the same value by returning this.editable - A new value for editablethis objectpublic final SlackUnknownFiletype withSize(long size)
size attribute.
A value equality check is used to prevent copying of the same value by returning this.size - A new value for sizethis objectpublic final SlackUnknownFiletype withMode(String mode)
mode attribute.
An equals check used to prevent copying of the same value by returning this.mode - A new value for modethis objectpublic final SlackUnknownFiletype withExternal(boolean external)
external attribute.
A value equality check is used to prevent copying of the same value by returning this.external - A new value for externalthis objectpublic final SlackUnknownFiletype withIsPublic(boolean isPublic)
isPublic attribute.
A value equality check is used to prevent copying of the same value by returning this.isPublic - A new value for isPublicthis objectpublic final SlackUnknownFiletype withPublicUrlShared(boolean publicUrlShared)
publicUrlShared attribute.
A value equality check is used to prevent copying of the same value by returning this.publicUrlShared - A new value for publicUrlSharedthis objectpublic final SlackUnknownFiletype withDisplayAsBot(boolean displayAsBot)
displayAsBot attribute.
A value equality check is used to prevent copying of the same value by returning this.displayAsBot - A new value for displayAsBotthis objectpublic final SlackUnknownFiletype withUsername(String username)
username attribute.
An equals check used to prevent copying of the same value by returning this.username - A new value for usernamethis objectpublic final SlackUnknownFiletype withUrlPrivate(String urlPrivate)
urlPrivate attribute.
An equals check used to prevent copying of the same value by returning this.urlPrivate - A new value for urlPrivatethis objectpublic final SlackUnknownFiletype withUrlPrivateDownload(@Nullable String value)
urlPrivateDownload attribute.value - The value for urlPrivateDownload, null is accepted as java.util.Optional.empty()this objectpublic final SlackUnknownFiletype withUrlPrivateDownload(Optional<String> optional)
urlPrivateDownload attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for urlPrivateDownloadthis objectpublic final SlackUnknownFiletype withPermalink(String permalink)
permalink attribute.
An equals check used to prevent copying of the same value by returning this.permalink - A new value for permalinkthis objectpublic final SlackUnknownFiletype withPermalinkPublic(@Nullable String value)
permalinkPublic attribute.value - The value for permalinkPublic, null is accepted as java.util.Optional.empty()this objectpublic final SlackUnknownFiletype withPermalinkPublic(Optional<String> optional)
permalinkPublic attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for permalinkPublicthis objectpublic final SlackUnknownFiletype withCommentsCount(int commentsCount)
commentsCount attribute.
A value equality check is used to prevent copying of the same value by returning this.commentsCount - A new value for commentsCountthis objectpublic final SlackUnknownFiletype withStarred(@Nullable Boolean value)
starred attribute.value - The value for starred, null is accepted as java.util.Optional.empty()this objectpublic final SlackUnknownFiletype withStarred(Optional<Boolean> optional)
starred attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this.optional - A value for starredthis objectpublic final SlackUnknownFiletype withChannelIds(String... elements)
channelIds.elements - The elements to setthis objectpublic final SlackUnknownFiletype withChannelIds(Iterable<String> elements)
channelIds.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of channelIds elements to setthis objectpublic final SlackUnknownFiletype withGroupIds(String... elements)
groupIds.elements - The elements to setthis objectpublic final SlackUnknownFiletype withGroupIds(Iterable<String> elements)
groupIds.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of groupIds elements to setthis objectpublic final SlackUnknownFiletype withImIds(String... elements)
imIds.elements - The elements to setthis objectpublic final SlackUnknownFiletype withImIds(Iterable<String> elements)
imIds.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of imIds elements to setthis objectpublic boolean equals(@Nullable Object another)
SlackUnknownFiletype that have equal attribute values.public int hashCode()
id, createdEpochSeconds, timestampEpochSeconds, name, title, mimetype, filetype, prettyType, userId, editable, size, mode, external, isPublic, publicUrlShared, displayAsBot, username, urlPrivate, urlPrivateDownload, permalink, permalinkPublic, commentsCount, starred, channelIds, groupIds, imIds.public String toString()
SlackUnknownFiletype with attribute values.public static SlackUnknownFiletype copyOf(SlackUnknownFiletypeIF instance)
SlackUnknownFiletypeIF 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 SlackUnknownFiletype.Builder builder()
SlackUnknownFiletype.Copyright © 2019. All rights reserved.