class MCProtocol::CompleteResultCompletion

Included Modules

Defined in:

mcprotocol/complete_result.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(values : Array(String), hasMore : Bool | Nil = Nil, total : Int64 | Nil = Nil) #

[View source]

Instance Method Detail

def hasMore : Bool | Nil #

Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.


[View source]
def total : Int64 | Nil #

The total number of completion options available. This can exceed the number of values actually sent in the response.


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

An array of completion values. Must not exceed 100 items.


[View source]