class
MCProtocol::CompleteResultCompletion
- MCProtocol::CompleteResultCompletion
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/complete_result.crConstructors
- .new(pull : JSON::PullParser)
- .new(values : Array(String), hasMore : Bool | Nil = Nil, total : Int64 | Nil = Nil)
Instance Method Summary
-
#hasMore : Bool | Nil
Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.
-
#total : Int64 | Nil
The total number of completion options available.
-
#values : Array(String)
An array of completion values.
Constructor Detail
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.
def total : Int64 | Nil
#
The total number of completion options available. This can exceed the number of values actually sent in the response.