Class Attachment
- java.lang.Object
-
- io.quarkiverse.mailpit.test.model.Attachment
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Attachment extends ObjectAttachment struct for inline and attachments
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTENT_I_Dstatic StringJSON_PROPERTY_CONTENT_TYPEstatic StringJSON_PROPERTY_FILE_NAMEstatic StringJSON_PROPERTY_PART_I_Dstatic StringJSON_PROPERTY_SIZE
-
Constructor Summary
Constructors Constructor Description Attachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentcontentID(String contentID)AttachmentcontentType(String contentType)booleanequals(Object o)Return true if this Attachment object is equal to o.AttachmentfileName(String fileName)StringgetContentID()Content IDStringgetContentType()Content typeStringgetFileName()File nameStringgetPartID()Attachment part IDLonggetSize()Size in bytesinthashCode()AttachmentpartID(String partID)voidsetContentID(String contentID)voidsetContentType(String contentType)voidsetFileName(String fileName)voidsetPartID(String partID)voidsetSize(Long size)Attachmentsize(Long size)StringtoString()StringtoUrlQueryString()Convert the instance into URL query string.StringtoUrlQueryString(String prefix)Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_CONTENT_I_D
public static final String JSON_PROPERTY_CONTENT_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTENT_TYPE
public static final String JSON_PROPERTY_CONTENT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE_NAME
public static final String JSON_PROPERTY_FILE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PART_I_D
public static final String JSON_PROPERTY_PART_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
contentID
public Attachment contentID(String contentID)
-
getContentID
@Nullable public String getContentID()
Content ID- Returns:
- contentID
-
setContentID
public void setContentID(String contentID)
-
contentType
public Attachment contentType(String contentType)
-
getContentType
@Nullable public String getContentType()
Content type- Returns:
- contentType
-
setContentType
public void setContentType(String contentType)
-
fileName
public Attachment fileName(String fileName)
-
getFileName
@Nullable public String getFileName()
File name- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
-
partID
public Attachment partID(String partID)
-
getPartID
@Nullable public String getPartID()
Attachment part ID- Returns:
- partID
-
setPartID
public void setPartID(String partID)
-
size
public Attachment size(Long size)
-
getSize
@Nullable public Long getSize()
Size in bytes- Returns:
- size
-
setSize
public void setSize(Long size)
-
equals
public boolean equals(Object o)
Return true if this Attachment object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-