Package com.onslip360
Class API.Attachment
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Attachment>
-
- com.onslip360.API.Attachment
-
- All Implemented Interfaces:
Cloneable,Comparable<Onslip360Object<API.Attachment>>
- Enclosing class:
- API
public static class API.Attachment extends Onslip360Object<API.Attachment>
-
-
Constructor Summary
Constructors Constructor Description Attachment(byte[] content, String contentType, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]content()API.Attachmentcontent(byte[] content)StringcontentType()API.AttachmentcontentType(String contentType)Stringname()API.Attachmentname(String name)-
Methods inherited from class com.onslip360.Onslip360Object
clone, compareTo, equals, fromJson, fromJson, fromJsonArray, fromJsonArray, fromList, fromMap, fromObject, getExtended, hashCode, setExtended, setExtended, toJson, toJson, toJson, toJson, toList, toMap, toString
-
-
-
-
Method Detail
-
content
@Nonnull public byte[] content()
-
contentType
@Nonnull public String contentType()
-
name
@Nonnull public String name()
-
content
@Nonnull public API.Attachment content(byte[] content)
-
contentType
@Nonnull public API.Attachment contentType(String contentType)
-
name
@Nonnull public API.Attachment name(String name)
-
-