struct Meilisearch::Crystal::Key

Overview

A Meilisearch API key and its permissions.

Defined in:

meilisearch/crystal/management.cr

Constructors

Instance Method Summary

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

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

Macros inherited from struct Meilisearch::Crystal::Resource

define(name, &block) define, field(declaration) field, field!(declaration) field!, field?(declaration) field?

Constructor Detail

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

A Meilisearch API key and its permissions.


[View source]

Instance Method Detail

def actions : Array(String) #

def created_at : Time #

[View source]
def description : String | Nil #

def expires_at : Time | Nil #

[View source]
def indexes : Array(String) #

def key : String #

def name : String | Nil #

def uid : String #

def updated_at : Time #

[View source]