Class AttachmentMetadata

java.lang.Object
org.tailormap.api.viewer.model.AttachmentMetadata
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.17.0") public class AttachmentMetadata extends Object implements Serializable
AttachmentMetadata
See Also:
  • Constructor Details

    • AttachmentMetadata

      public AttachmentMetadata()
  • Method Details

    • attachmentId

      public AttachmentMetadata attachmentId(UUID attachmentId)
    • getAttachmentId

      @Valid public @Valid UUID getAttachmentId()
      the key of the attachment
      Returns:
      attachmentId
    • setAttachmentId

      public void setAttachmentId(UUID attachmentId)
    • attributeName

      public AttachmentMetadata attributeName(String attributeName)
    • getAttributeName

      @NotNull @Size(min=1) public @NotNull @Size(min=1) String getAttributeName()
      Get attributeName
      Returns:
      attributeName
    • setAttributeName

      public void setAttributeName(String attributeName)
    • fileName

      public AttachmentMetadata fileName(String fileName)
    • getFileName

      @NotNull public @NotNull String getFileName()
      Get fileName
      Returns:
      fileName
    • setFileName

      public void setFileName(String fileName)
    • description

      public AttachmentMetadata description(String description)
    • getDescription

      public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • mimeType

      public AttachmentMetadata mimeType(String mimeType)
    • getMimeType

      @NotNull public @NotNull String getMimeType()
      Get mimeType
      Returns:
      mimeType
    • setMimeType

      public void setMimeType(String mimeType)
    • attachmentSize

      public AttachmentMetadata attachmentSize(Long attachmentSize)
    • getAttachmentSize

      public Long getAttachmentSize()
      Get attachmentSize
      Returns:
      attachmentSize
    • setAttachmentSize

      public void setAttachmentSize(Long attachmentSize)
    • createdAt

      public AttachmentMetadata createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Valid public @Valid OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • createdBy

      public AttachmentMetadata createdBy(String createdBy)
    • getCreatedBy

      public String getCreatedBy()
      Get createdBy
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object