class Meilisearch::Task

Included Modules

Defined in:

meilisearch/methods/core/tasks/cancel_task.cr
meilisearch/methods/core/tasks/delete_task.cr
meilisearch/objects/core/task.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.cancel_task(query_parameter : String) #

[View source]
def self.delete_task(query_parameter : String) #

[View source]
def self.list(uid : String | Nil = nil) : List(Meilisearch::Task) #

[View source]
def self.retrieve(uid : String) #

[View source]
def self.retrieve(task : Meilisearch::Task) #

[View source]

Instance Method Detail

def canceledBy : Int32 | Nil #

[View source]
def details : Hash(String, Int32) | Nil | String | Nil | Int32 | Nil | Array(NamedTuple(indexes: Array(String))) | Nil | Array(String) | Nil | Hash(String, Array(String)) #

[View source]
def duration : String | Nil #

[View source]
def enqueuedAt : Time | Nil #

[View source]
def error : Error | Nil #

[View source]
def finishedAt : Time | Nil #

[View source]
def indexUid : String #

[View source]
def startedAt : Time | Nil #

[View source]
def status : String #

[View source]
def type : Type #

[View source]
def type=(type : Type) #

[View source]
def uid : Int32 #

[View source]