class
AmberCLI::Native::CapabilityManifest::LiveActivitySpec
- AmberCLI::Native::CapabilityManifest::LiveActivitySpec
- 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(attributes_type : String = "", identifier : String = "", attributes : Hash(String, String) = {} of String => String, content_state : Hash(String, String) = {} of String => String, update_intent : LiveActivityUpdateIntentSpec | Nil = nil, is_active : Bool = true)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
- #attributes : Hash(String, String)
- #attributes=(attributes : Hash(String, String))
- #attributes_type : String
- #attributes_type=(attributes_type : String)
- #content_state : Hash(String, String)
- #content_state=(content_state : Hash(String, String))
- #identifier : String
- #identifier=(identifier : String)
- #is_active : Bool
- #is_active=(is_active : Bool)
- #resolved_identifier : String
- #update_intent : LiveActivityUpdateIntentSpec | Nil
- #update_intent=(update_intent : LiveActivityUpdateIntentSpec | Nil)
- #validate! : self
Constructor Detail
def self.new(attributes_type : String = "", identifier : String = "", attributes : Hash(String, String) = {} of String => String, content_state : Hash(String, String) = {} of String => String, update_intent : LiveActivityUpdateIntentSpec | Nil = nil, is_active : Bool = true)
#
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#