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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeName(String attributeName) boolean@NotNull @Size(min=1) StringGet attributeNameMaximum allowed size of the attachment in bytesAllowed mime type(s) of the attachment, when null any type is allowed, similar to to the `Accept` HTTP header.inthashCode()maxAttachmentSize(Long maxAttachmentSize) voidsetAttributeName(String attributeName) voidsetMaxAttachmentSize(Long maxAttachmentSize) voidsetMimeType(String mimeType) toString()
-
Constructor Details
-
AttachmentAttributeType
public AttachmentAttributeType()
-
-
Method Details
-
attributeName
-
getAttributeName
Get attributeName- Returns:
- attributeName
-
setAttributeName
-
mimeType
-
getMimeType
Allowed mime type(s) of the attachment, when null any type is allowed, similar to to the `Accept` HTTP header.- Returns:
- mimeType
-
setMimeType
-
maxAttachmentSize
-
getMaxAttachmentSize
Maximum allowed size of the attachment in bytes- Returns:
- maxAttachmentSize
-
setMaxAttachmentSize
-
equals
-
hashCode
public int hashCode() -
toString
-