Job

class Job(indicoClient: IndicoClient, errors: List<String>?, val id: String)

Job information

Constructors

Jobconstructor(indicoClient: IndicoClient, errors: List<String>?, id: String)

Properties

NameSummary
idval id: String

Functions

NameSummary
errorsfun errors(): List<String> If job status is FAILURE returns the list of errors encountered
resultfun result(): JSONObjectRetrieve result. Status must be success or an error will be thrown.
resultAsStringfun resultAsString(): String
resultsfun results(): JSONArrayRetrieve results. Status must be success or an error will be thrown.
statusfun status(): JobStatusRetrieve job status