Record Class IncaMailRestClient.MimeAttachment
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.incamail.impl.rest.IncaMailRestClient.MimeAttachment
- Enclosing class:
IncaMailRestClient
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMimeAttachment(String contentType, String content, String contentTransferEncoding, String name, ContentDisposition contentDisposition) Creates an instance of aMimeAttachmentrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the value of thecontentrecord component.Returns the value of thecontentDispositionrecord component.Returns the value of thecontentTransferEncodingrecord component.Returns the value of thecontentTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
BASE64_TRANSFER_ENCODING
- See Also:
-
-
Constructor Details
-
MimeAttachment
public MimeAttachment(String contentType, String content, String contentTransferEncoding, String name, ContentDisposition contentDisposition) Creates an instance of aMimeAttachmentrecord class.- Parameters:
contentType- the value for thecontentTyperecord componentcontent- the value for thecontentrecord componentcontentTransferEncoding- the value for thecontentTransferEncodingrecord componentname- the value for thenamerecord componentcontentDisposition- the value for thecontentDispositionrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
contentType
Returns the value of thecontentTyperecord component.- Returns:
- the value of the
contentTyperecord component
-
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
contentTransferEncoding
Returns the value of thecontentTransferEncodingrecord component.- Returns:
- the value of the
contentTransferEncodingrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
contentDisposition
Returns the value of thecontentDispositionrecord component.- Returns:
- the value of the
contentDispositionrecord component
-