Class Attachment
java.lang.Object
io.quarkiverse.mailpit.test.model.Attachment
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.5.0")
public class Attachment
extends Object
Attachment struct for inline and attachments
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) booleanReturn true if this Attachment object is equal to o.Content IDContent typeFile nameAttachment part IDgetSize()Size in bytesinthashCode()voidsetContentID(String contentID) voidsetContentType(String contentType) voidsetFileName(String fileName) voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CONTENT_I_D
- See Also:
-
JSON_PROPERTY_CONTENT_TYPE
- See Also:
-
JSON_PROPERTY_FILE_NAME
- See Also:
-
JSON_PROPERTY_PART_I_D
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
contentID
-
getContentID
Content ID- Returns:
- contentID
-
setContentID
-
contentType
-
getContentType
Content type- Returns:
- contentType
-
setContentType
-
fileName
-
getFileName
File name- Returns:
- fileName
-
setFileName
-
partID
-
getPartID
Attachment part ID- Returns:
- partID
-
setPartID
-
size
-
getSize
Size in bytes- Returns:
- size
-
setSize
-
equals
Return true if this Attachment object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-