Record Class IncaMailRestClient.MsgAttachment
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.incamail.impl.rest.IncaMailRestClient.MsgAttachment
- Enclosing class:
IncaMailRestClient
public static record IncaMailRestClient.MsgAttachment(@Nullable IncaMailRestClient.LargeFileAttachment largeFileAttachment, @Nullable IncaMailRestClient.MimeAttachment mimeAttachment)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMsgAttachment(@Nullable IncaMailRestClient.LargeFileAttachment largeFileAttachment, @Nullable IncaMailRestClient.MimeAttachment mimeAttachment) Creates an instance of aMsgAttachmentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable IncaMailRestClient.LargeFileAttachmentReturns the value of thelargeFileAttachmentrecord component.mime(IncaMailRestClient.MimeAttachment mimeAttachment) @Nullable IncaMailRestClient.MimeAttachmentReturns the value of themimeAttachmentrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MsgAttachment
public MsgAttachment(@Nullable IncaMailRestClient.LargeFileAttachment largeFileAttachment, @Nullable IncaMailRestClient.MimeAttachment mimeAttachment) Creates an instance of aMsgAttachmentrecord class.- Parameters:
largeFileAttachment- the value for thelargeFileAttachmentrecord componentmimeAttachment- the value for themimeAttachmentrecord component
-
-
Method Details
-
largeFile
-
mime
public static IncaMailRestClient.MsgAttachment mime(IncaMailRestClient.MimeAttachment mimeAttachment) -
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). -
largeFileAttachment
Returns the value of thelargeFileAttachmentrecord component.- Returns:
- the value of the
largeFileAttachmentrecord component
-
mimeAttachment
Returns the value of themimeAttachmentrecord component.- Returns:
- the value of the
mimeAttachmentrecord component
-