class AmberCLI::Native::CapabilityManifest::NotificationActionSpec

Included Modules

Defined in:

amber_cli/native/capability_manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(identifier : String = "", title : String = "", kind : String = "default", options : Array(String) = [] of String, text_input_button_title : String | Nil = nil, text_input_placeholder : String | Nil = nil, is_enabled : Bool = true) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def identifier : String #

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

[View source]
def is_enabled : Bool #

[View source]
def is_enabled=(is_enabled : Bool) #

[View source]
def kind : String #

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

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

[View source]
def options=(options : Array(String)) #

[View source]
def text_input_button_title : String | Nil #

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

[View source]
def text_input_placeholder : String | Nil #

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

[View source]
def title : String #

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

[View source]
def validate! : self #

[View source]