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 class
Attachment.UnknownAttachment
-
Field Summary
Fields Modifier and Type Field Description protected AttachmentType
attachmentType
protected java.util.Date
created
protected D
details
protected java.lang.String
id
protected java.lang.String
mediaType
protected java.lang.String
name
protected Owner
owner
-
Constructor Summary
Constructors Constructor Description Attachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentType
getAttachmentType()
java.util.Date
getCreated()
D
getDetails()
java.lang.String
getId()
java.lang.String
getMediaType()
java.lang.String
getName()
Owner
getOwner()
-
-
-
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()
-
-