@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","SlackCsvFileIF"}) @Immutable public final class SlackCsvFile extends Object implements SlackCsvFileIF
SlackCsvFileIF.
Use the builder to create immutable instances:
SlackCsvFile.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
SlackCsvFile.Builder
Builds instances of type
SlackCsvFile. |
| Modifier and Type | Method and Description |
|---|---|
static SlackCsvFile.Builder |
builder()
Creates a builder for
SlackCsvFile. |
static SlackCsvFile |
copyOf(SlackCsvFileIF instance)
Creates an immutable copy of a
SlackCsvFileIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
SlackCsvFile that have equal attribute values. |
List<String> |
getChannelIds() |
int |
getCommentsCount() |
long |
getCreatedEpochSeconds() |
boolean |
getDisplayAsBot() |
String |
getEditLink() |
SlackFileType |
getFiletype() |
List<String> |
getGroupIds() |
String |
getId() |
List<String> |
getImIds() |
String |
getLines() |
String |
getLinesMore() |
String |
getMimetype() |
String |
getMode() |
String |
getName() |
String |
getPermalink() |
Optional<String> |
getPermalinkPublic() |
String |
getPrettyType() |
String |
getPreview() |
String |
getPreviewHighlight() |
long |
getSize() |
long |
getTimestampEpochSeconds() |
String |
getTitle() |
String |
getUrlPrivate() |
Optional<String> |
getUrlPrivateDownload() |
String |
getUserId() |
String |
getUsername() |
int |
hashCode()
Computes a hash code from attributes:
filetype, editLink, preview, previewHighlight, lines, linesMore, previewTruncated, id, createdEpochSeconds, timestampEpochSeconds, name, title, mimetype, prettyType, userId, editable, size, mode, external, isPublic, publicUrlShared, displayAsBot, username, urlPrivate, urlPrivateDownload, permalink, permalinkPublic, commentsCount, starred, channelIds, groupIds, imIds. |
boolean |
isEditable() |
boolean |
isExternal() |
boolean |
isPreviewTruncated() |
boolean |
isPublic() |
boolean |
isPublicUrlShared() |
Optional<Boolean> |
isStarred() |
String |
toString()
Prints the immutable value
SlackCsvFile with attribute values. |
SlackCsvFile |
withChannelIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
channelIds. |
SlackCsvFile |
withChannelIds(String... elements)
Copy the current immutable object with elements that replace the content of
channelIds. |
SlackCsvFile |
withCommentsCount(int commentsCount)
Copy the current immutable object by setting a value for the
commentsCount attribute. |
SlackCsvFile |
withCreatedEpochSeconds(long createdEpochSeconds)
Copy the current immutable object by setting a value for the
createdEpochSeconds attribute. |
SlackCsvFile |
withDisplayAsBot(boolean displayAsBot)
Copy the current immutable object by setting a value for the
displayAsBot attribute. |
SlackCsvFile |
withEditable(boolean editable)
Copy the current immutable object by setting a value for the
editable attribute. |
SlackCsvFile |
withEditLink(String editLink)
Copy the current immutable object by setting a value for the
editLink attribute. |
SlackCsvFile |
withExternal(boolean external)
Copy the current immutable object by setting a value for the
external attribute. |
SlackCsvFile |
withFiletype(SlackFileType filetype)
Copy the current immutable object by setting a value for the
filetype attribute. |
SlackCsvFile |
withGroupIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
groupIds. |
SlackCsvFile |
withGroupIds(String... elements)
Copy the current immutable object with elements that replace the content of
groupIds. |
SlackCsvFile |
withId(String id)
Copy the current immutable object by setting a value for the
id attribute. |
SlackCsvFile |
withImIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
imIds. |
SlackCsvFile |
withImIds(String... elements)
Copy the current immutable object with elements that replace the content of
imIds. |
SlackCsvFile |
withIsPublic(boolean isPublic)
Copy the current immutable object by setting a value for the
isPublic attribute. |
SlackCsvFile |
withLines(String lines)
Copy the current immutable object by setting a value for the
lines attribute. |
SlackCsvFile |
withLinesMore(String linesMore)
Copy the current immutable object by setting a value for the
linesMore attribute. |
SlackCsvFile |
withMimetype(String mimetype)
Copy the current immutable object by setting a value for the
mimetype attribute. |
SlackCsvFile |
withMode(String mode)
Copy the current immutable object by setting a value for the
mode attribute. |
SlackCsvFile |
withName(String name)
Copy the current immutable object by setting a value for the
name attribute. |
SlackCsvFile |
withPermalink(String permalink)
Copy the current immutable object by setting a value for the
permalink attribute. |
SlackCsvFile |
withPermalinkPublic(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
permalinkPublic attribute. |
SlackCsvFile |
withPermalinkPublic(String value)
Copy the current immutable object by setting a present value for the optional
permalinkPublic attribute. |
SlackCsvFile |
withPrettyType(String prettyType)
Copy the current immutable object by setting a value for the
prettyType attribute. |
SlackCsvFile |
withPreview(String preview)
Copy the current immutable object by setting a value for the
preview attribute. |
SlackCsvFile |
withPreviewHighlight(String previewHighlight)
Copy the current immutable object by setting a value for the
previewHighlight attribute. |
SlackCsvFile |
withPreviewTruncated(boolean previewTruncated)
Copy the current immutable object by setting a value for the
previewTruncated attribute. |
SlackCsvFile |
withPublicUrlShared(boolean publicUrlShared)
Copy the current immutable object by setting a value for the
publicUrlShared attribute. |
SlackCsvFile |
withSize(long size)
Copy the current immutable object by setting a value for the
size attribute. |
SlackCsvFile |
withStarred(Boolean value)
Copy the current immutable object by setting a present value for the optional
starred attribute. |
SlackCsvFile |
withStarred(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for the
starred attribute. |
SlackCsvFile |
withTimestampEpochSeconds(long timestampEpochSeconds)
Copy the current immutable object by setting a value for the
timestampEpochSeconds attribute. |
SlackCsvFile |
withTitle(String title)
Copy the current immutable object by setting a value for the
title attribute. |
SlackCsvFile |
withUrlPrivate(String urlPrivate)
Copy the current immutable object by setting a value for the
urlPrivate attribute. |
SlackCsvFile |
withUrlPrivateDownload(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
urlPrivateDownload attribute. |
SlackCsvFile |
withUrlPrivateDownload(String value)
Copy the current immutable object by setting a present value for the optional
urlPrivateDownload attribute. |
SlackCsvFile |
withUserId(String userId)
Copy the current immutable object by setting a value for the
userId attribute. |
SlackCsvFile |
withUsername(String username)
Copy the current immutable object by setting a value for the
username attribute. |
public SlackFileType getFiletype()
getFiletype in interface SlackCsvFileIFgetFiletype in interface SlackFilefiletype attributepublic String getEditLink()
getEditLink in interface SlackTextFileCoreeditLink attributepublic String getPreview()
getPreview in interface SlackTextFileCorepreview attributepublic String getPreviewHighlight()
getPreviewHighlight in interface SlackTextFileCorepreviewHighlight attributepublic String getLines()
getLines in interface SlackTextFileCorelines attributepublic String getLinesMore()
getLinesMore in interface SlackTextFileCorelinesMore attributepublic boolean isPreviewTruncated()
isPreviewTruncated in interface SlackTextFileCorepreviewTruncated attributepublic String getId()
public long getCreatedEpochSeconds()
getCreatedEpochSeconds in interface SlackFilecreatedEpochSeconds attributepublic long getTimestampEpochSeconds()
getTimestampEpochSeconds in interface SlackFiletimestampEpochSeconds attributepublic String getName()
public String getTitle()
public String getMimetype()
getMimetype in interface SlackFilemimetype attributepublic String getPrettyType()
getPrettyType in interface SlackFileprettyType attributepublic String getUserId()
public boolean isEditable()
isEditable in interface SlackFileeditable attributepublic long getSize()
public String getMode()
public boolean isExternal()
isExternal in interface SlackFileexternal attributepublic boolean isPublic()
public boolean isPublicUrlShared()
isPublicUrlShared in interface SlackFilepublicUrlShared attributepublic boolean getDisplayAsBot()
getDisplayAsBot in interface SlackFiledisplayAsBot attributepublic String getUsername()
getUsername in interface SlackFileusername attributepublic String getUrlPrivate()
getUrlPrivate in interface SlackFileurlPrivate attributepublic Optional<String> getUrlPrivateDownload()
getUrlPrivateDownload in interface SlackFileurlPrivateDownload attributepublic String getPermalink()
getPermalink in interface SlackFilepermalink attributepublic Optional<String> getPermalinkPublic()
getPermalinkPublic in interface SlackFilepermalinkPublic attributepublic int getCommentsCount()
getCommentsCount in interface SlackFilecommentsCount attributepublic List<String> getChannelIds()
getChannelIds in interface SlackFilechannelIds attributepublic List<String> getGroupIds()
getGroupIds in interface SlackFilegroupIds attributepublic final SlackCsvFile 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 SlackCsvFile withEditLink(String editLink)
editLink attribute.
An equals check used to prevent copying of the same value by returning this.editLink - A new value for editLinkthis objectpublic final SlackCsvFile withPreview(String preview)
preview attribute.
An equals check used to prevent copying of the same value by returning this.preview - A new value for previewthis objectpublic final SlackCsvFile withPreviewHighlight(String previewHighlight)
previewHighlight attribute.
An equals check used to prevent copying of the same value by returning this.previewHighlight - A new value for previewHighlightthis objectpublic final SlackCsvFile withLines(String lines)
lines attribute.
An equals check used to prevent copying of the same value by returning this.lines - A new value for linesthis objectpublic final SlackCsvFile withLinesMore(String linesMore)
linesMore attribute.
An equals check used to prevent copying of the same value by returning this.linesMore - A new value for linesMorethis objectpublic final SlackCsvFile withPreviewTruncated(boolean previewTruncated)
previewTruncated attribute.
A value equality check is used to prevent copying of the same value by returning this.previewTruncated - A new value for previewTruncatedthis objectpublic final SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile withUrlPrivateDownload(@Nullable String value)
urlPrivateDownload attribute.value - The value for urlPrivateDownload, null is accepted as java.util.Optional.empty()this objectpublic final SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile withPermalinkPublic(@Nullable String value)
permalinkPublic attribute.value - The value for permalinkPublic, null is accepted as java.util.Optional.empty()this objectpublic final SlackCsvFile 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 SlackCsvFile 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 SlackCsvFile withStarred(@Nullable Boolean value)
starred attribute.value - The value for starred, null is accepted as java.util.Optional.empty()this objectpublic final SlackCsvFile 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 SlackCsvFile withChannelIds(String... elements)
channelIds.elements - The elements to setthis objectpublic final SlackCsvFile 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 SlackCsvFile withGroupIds(String... elements)
groupIds.elements - The elements to setthis objectpublic final SlackCsvFile 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 SlackCsvFile withImIds(String... elements)
imIds.elements - The elements to setthis objectpublic final SlackCsvFile 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)
SlackCsvFile that have equal attribute values.public int hashCode()
filetype, editLink, preview, previewHighlight, lines, linesMore, previewTruncated, id, createdEpochSeconds, timestampEpochSeconds, name, title, mimetype, prettyType, userId, editable, size, mode, external, isPublic, publicUrlShared, displayAsBot, username, urlPrivate, urlPrivateDownload, permalink, permalinkPublic, commentsCount, starred, channelIds, groupIds, imIds.public String toString()
SlackCsvFile with attribute values.public static SlackCsvFile copyOf(SlackCsvFileIF instance)
SlackCsvFileIF 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 SlackCsvFile.Builder builder()
SlackCsvFile.Copyright © 2019. All rights reserved.