@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-04T11:45:06.466Z[Etc/UTC]")
public class StreamAttachmentItem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JSON_PROPERTY_CONTENT_TYPE |
static java.lang.String |
JSON_PROPERTY_FILE_ID |
static java.lang.String |
JSON_PROPERTY_INGESTION_DATE |
static java.lang.String |
JSON_PROPERTY_MESSAGE_ID |
static java.lang.String |
JSON_PROPERTY_NAME |
static java.lang.String |
JSON_PROPERTY_PREVIEWS |
static java.lang.String |
JSON_PROPERTY_SIZE |
static java.lang.String |
JSON_PROPERTY_USER_ID |
Constructor and Description |
---|
StreamAttachmentItem() |
Modifier and Type | Method and Description |
---|---|
StreamAttachmentItem |
addPreviewsItem(AttachmentPreview previewsItem) |
StreamAttachmentItem |
contentType(java.lang.String contentType) |
boolean |
equals(java.lang.Object o)
Return true if this StreamAttachmentItem object is equal to o.
|
StreamAttachmentItem |
fileId(java.lang.String fileId) |
java.lang.String |
getContentType()
Get contentType
|
java.lang.String |
getFileId()
The attachment File ID.
|
java.lang.Long |
getIngestionDate()
Get ingestionDate
|
java.lang.String |
getMessageId()
Get messageId
|
java.lang.String |
getName()
The file name.
|
java.util.List<AttachmentPreview> |
getPreviews()
Get previews
|
java.lang.Long |
getSize()
Size in bytes.
|
java.lang.Long |
getUserId()
Get userId
|
int |
hashCode() |
StreamAttachmentItem |
ingestionDate(java.lang.Long ingestionDate) |
StreamAttachmentItem |
messageId(java.lang.String messageId) |
StreamAttachmentItem |
name(java.lang.String name) |
StreamAttachmentItem |
previews(java.util.List<AttachmentPreview> previews) |
void |
setContentType(java.lang.String contentType) |
void |
setFileId(java.lang.String fileId) |
void |
setIngestionDate(java.lang.Long ingestionDate) |
void |
setMessageId(java.lang.String messageId) |
void |
setName(java.lang.String name) |
void |
setPreviews(java.util.List<AttachmentPreview> previews) |
void |
setSize(java.lang.Long size) |
void |
setUserId(java.lang.Long userId) |
StreamAttachmentItem |
size(java.lang.Long size) |
java.lang.String |
toString() |
StreamAttachmentItem |
userId(java.lang.Long userId) |
public static final java.lang.String JSON_PROPERTY_MESSAGE_ID
public static final java.lang.String JSON_PROPERTY_INGESTION_DATE
public static final java.lang.String JSON_PROPERTY_USER_ID
public static final java.lang.String JSON_PROPERTY_FILE_ID
public static final java.lang.String JSON_PROPERTY_NAME
public static final java.lang.String JSON_PROPERTY_SIZE
public static final java.lang.String JSON_PROPERTY_CONTENT_TYPE
public static final java.lang.String JSON_PROPERTY_PREVIEWS
public StreamAttachmentItem messageId(java.lang.String messageId)
@Nullable public java.lang.String getMessageId()
public void setMessageId(java.lang.String messageId)
public StreamAttachmentItem ingestionDate(java.lang.Long ingestionDate)
@Nullable public java.lang.Long getIngestionDate()
public void setIngestionDate(java.lang.Long ingestionDate)
public StreamAttachmentItem userId(java.lang.Long userId)
@Nullable public java.lang.Long getUserId()
public void setUserId(java.lang.Long userId)
public StreamAttachmentItem fileId(java.lang.String fileId)
@Nullable public java.lang.String getFileId()
public void setFileId(java.lang.String fileId)
public StreamAttachmentItem name(java.lang.String name)
@Nullable public java.lang.String getName()
public void setName(java.lang.String name)
public StreamAttachmentItem size(java.lang.Long size)
@Nullable public java.lang.Long getSize()
public void setSize(java.lang.Long size)
public StreamAttachmentItem contentType(java.lang.String contentType)
@Nullable public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public StreamAttachmentItem previews(java.util.List<AttachmentPreview> previews)
public StreamAttachmentItem addPreviewsItem(AttachmentPreview previewsItem)
@Nullable public java.util.List<AttachmentPreview> getPreviews()
public void setPreviews(java.util.List<AttachmentPreview> previews)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object