Class AttachmentAttributeType

java.lang.Object
org.tailormap.api.persistence.json.AttachmentAttributeType
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.17.0") public class AttachmentAttributeType extends Object implements Serializable
data type for an attachment attribute
See Also:
  • Constructor Details

    • AttachmentAttributeType

      public AttachmentAttributeType()
  • Method Details

    • attributeName

      public AttachmentAttributeType 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)
    • mimeType

      public AttachmentAttributeType mimeType(String mimeType)
    • getMimeType

      public String getMimeType()
      Allowed mime type(s) of the attachment, when null any type is allowed, similar to to the `Accept` HTTP header.
      Returns:
      mimeType
    • setMimeType

      public void setMimeType(String mimeType)
    • maxAttachmentSize

      public AttachmentAttributeType maxAttachmentSize(Long maxAttachmentSize)
    • getMaxAttachmentSize

      public Long getMaxAttachmentSize()
      Maximum allowed size of the attachment in bytes
      Returns:
      maxAttachmentSize
    • setMaxAttachmentSize

      public void setMaxAttachmentSize(Long maxAttachmentSize)
    • 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