Package ai.toloka.client.v1.attachment
Class Attachment<D>
- java.lang.Object
-
- ai.toloka.client.v1.attachment.Attachment<D>
-
- Direct Known Subclasses:
AssignmentAttachment,Attachment.UnknownAttachment
public abstract class Attachment<D> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttachment.UnknownAttachment
-
Field Summary
Fields Modifier and Type Field Description protected AttachmentTypeattachmentTypeprotected java.util.Datecreatedprotected Ddetailsprotected java.lang.Stringidprotected java.lang.StringmediaTypeprotected java.lang.Stringnameprotected Ownerowner
-
Constructor Summary
Constructors Constructor Description Attachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentTypegetAttachmentType()java.util.DategetCreated()DgetDetails()java.lang.StringgetId()java.lang.StringgetMediaType()java.lang.StringgetName()OwnergetOwner()
-
-
-
Field Detail
-
id
protected java.lang.String id
-
owner
protected Owner owner
-
attachmentType
protected AttachmentType attachmentType
-
name
protected java.lang.String name
-
mediaType
protected java.lang.String mediaType
-
details
protected D details
-
created
protected java.util.Date created
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getAttachmentType
public AttachmentType getAttachmentType()
-
getName
public java.lang.String getName()
-
getMediaType
public java.lang.String getMediaType()
-
getDetails
public D getDetails()
-
getCreated
public java.util.Date getCreated()
-
getOwner
public Owner getOwner()
-
-