struct ACP::Protocol::ConfigOptionValue

Overview

A possible value for a session configuration option.

Included Modules

Defined in:

acp/protocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : String, name : String, description : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def description : String | Nil #

Optional description for this option value.


[View source]
def description=(description : String | Nil) #

Optional description for this option value.


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def name : String #

Human-readable label for this option value (required).


[View source]
def name=(name : String) #

Human-readable label for this option value (required).


[View source]
def value : String #

Unique identifier for this option value (required).


[View source]
def value=(value : String) #

Unique identifier for this option value (required).


[View source]