@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class AttachmentEntity extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AttachmentEntity.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ATTACHMENT_ID |
static String |
SERIALIZED_NAME_BUCKET |
static String |
SERIALIZED_NAME_CONTENT_LENGTH |
static String |
SERIALIZED_NAME_CONTENT_TYPE |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
AttachmentEntity() |
Modifier and Type | Method and Description |
---|---|
AttachmentEntity |
attachmentId(String attachmentId) |
AttachmentEntity |
bucket(String bucket) |
AttachmentEntity |
contentLength(Long contentLength) |
AttachmentEntity |
contentType(String contentType) |
AttachmentEntity |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
static AttachmentEntity |
fromJson(String jsonString)
Create an instance of AttachmentEntity given an JSON string
|
String |
getAttachmentId()
Get attachmentId
|
String |
getBucket()
Get bucket
|
Long |
getContentLength()
Get contentLength
|
String |
getContentType()
Get contentType
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
UUID |
getId()
Get id
|
String |
getName()
Get name
|
OffsetDateTime |
getUpdatedAt()
Get updatedAt
|
UUID |
getUserId()
Get userId
|
int |
hashCode() |
AttachmentEntity |
id(UUID id) |
AttachmentEntity |
name(String name) |
void |
setAttachmentId(String attachmentId) |
void |
setBucket(String bucket) |
void |
setContentLength(Long contentLength) |
void |
setContentType(String contentType) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setName(String name) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setUserId(UUID userId) |
String |
toJson()
Convert an instance of AttachmentEntity to an JSON string
|
String |
toString() |
AttachmentEntity |
updatedAt(OffsetDateTime updatedAt) |
AttachmentEntity |
userId(UUID userId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ATTACHMENT_ID
public static final String SERIALIZED_NAME_BUCKET
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_CONTENT_TYPE
public static final String SERIALIZED_NAME_CONTENT_LENGTH
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public AttachmentEntity id(UUID id)
public void setId(UUID id)
public AttachmentEntity attachmentId(String attachmentId)
public void setAttachmentId(String attachmentId)
public AttachmentEntity bucket(String bucket)
public void setBucket(String bucket)
public AttachmentEntity userId(UUID userId)
public void setUserId(UUID userId)
public AttachmentEntity contentType(String contentType)
public void setContentType(String contentType)
public AttachmentEntity contentLength(Long contentLength)
public void setContentLength(Long contentLength)
public AttachmentEntity name(String name)
public void setName(String name)
public AttachmentEntity createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public AttachmentEntity updatedAt(OffsetDateTime updatedAt)
@Nonnull public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to AttachmentEntitypublic static AttachmentEntity fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to AttachmentEntitypublic String toJson()
Copyright © 2023. All rights reserved.