struct Meilisearch::Crystal::Task::IndexUpdate

Overview

A completed or pending index-update task.

Defined in:

meilisearch/crystal/task.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from struct Meilisearch::Crystal::Task

batch_uid : Int64 | Nil batch_uid, canceled_by : Int64 | Nil canceled_by, duration : Time::Span | Nil duration, error : Error | Nil error

Constructor methods inherited from struct Meilisearch::Crystal::Task

from_json(source : String | IO) : Task from_json, new(pull : JSON::PullParser) : Task new

Macros inherited from struct Meilisearch::Crystal::Task

parseable parseable

Instance methods inherited from struct Meilisearch::Crystal::BasicTask

canceled? : Bool canceled?, enqueued_at : Time enqueued_at, failed? : Bool failed?, finished_at : Time | Nil finished_at, index_uid : String | Nil index_uid, started_at : Time | Nil started_at, status : Status status, succeeded? : Bool succeeded?, terminal? : Bool terminal?, type : Type type, uid : Int64 uid

Constructor methods inherited from struct Meilisearch::Crystal::BasicTask

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Constructor Detail

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

A completed or pending index-update task.


[View source]

Class Method Detail

def self.parse(source : String) #

[View source]

Instance Method Detail

def details : IndexDetails | Nil #

[View source]