class
AmberCLI::Native::CapabilityManifest::AppShortcutSpec
- AmberCLI::Native::CapabilityManifest::AppShortcutSpec
- Reference
- Object
Included Modules
- YAML::Serializable
- YAML::Serializable::Strict
Defined in:
amber_cli/native/capability_manifest.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(title : String = "", identifier : String = "", subtitle : String | Nil = nil, summary : String | Nil = nil, icon : String | Nil = nil, phrases : Array(String) = [] of String, parameters : Array(AppShortcutParameterSpec) = [] of AppShortcutParameterSpec, is_enabled : Bool = true, is_discoverable : Bool = true)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
- #icon : String | Nil
- #icon=(icon : String | Nil)
- #identifier : String
- #identifier=(identifier : String)
- #is_discoverable : Bool
- #is_discoverable=(is_discoverable : Bool)
- #is_enabled : Bool
- #is_enabled=(is_enabled : Bool)
- #parameters : Array(AppShortcutParameterSpec)
- #parameters=(parameters : Array(AppShortcutParameterSpec))
- #phrases : Array(String)
- #phrases=(phrases : Array(String))
- #resolved_identifier : String
- #subtitle : String | Nil
- #subtitle=(subtitle : String | Nil)
- #summary : String | Nil
- #summary=(summary : String | Nil)
- #title : String
- #title=(title : String)
- #validate! : self
Constructor Detail
def self.new(title : String = "", identifier : String = "", subtitle : String | Nil = nil, summary : String | Nil = nil, icon : String | Nil = nil, phrases : Array(String) = [] of String, parameters : Array(AppShortcutParameterSpec) = [] of AppShortcutParameterSpec, is_enabled : Bool = true, is_discoverable : Bool = true)
#
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#