Vendor credentials used to generate or edit signage artwork and to edit maps.
def self.
from_json(string_or_io : String | IO, trusted : Bool =
false) :
self
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def self.
from_json(string_or_io : String | IO, root : String, trusted : Bool =
false) :
self
#
Deserializes the given JSON in string_or_io into
an instance of self, assuming the JSON consists
of an JSON object with key root, and whose value is
the value to deserialize. Will not deserialise from
fields with mass_assign: false
class User < ActiveModel::Model
attribute name : String
attribute google_id : UUID, mass_assign: false
end
User.from_json(%({"main": {"name": "Jason", "google_id": "f6f70bfb-c882-446d-8758-7ce47db39620"}}), root: "main") # => #<User:0x103131b20 @name="Jason">
def self.
from_trusted_json(string_or_io : String | IO, root : String) :
self
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def self.
from_trusted_json(string_or_io : String | IO) :
self
#
Serialize from a trusted JSON source
def self.
from_trusted_yaml(string_or_io : String | IO) :
self
#
Serialize from a trusted YAML source
def self.
from_yaml(string_or_io : String | IO, trusted : Bool =
false) :
self
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def self.
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def self.
new(pull : JSON::PullParser)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def self.
new(rs : DB::ResultSet)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def self.
new(created_at : Time | ActiveModel::Model::None =
::ActiveModel::Model::None.new, updated_at : Time | ActiveModel::Model::None =
::ActiveModel::Model::None.new, id : UUID | ActiveModel::Model::None =
::ActiveModel::Model::None.new, name : String | ActiveModel::Model::None =
::ActiveModel::Model::None.new, provider :
PlaceOS::Model::SignageAIProvider::Provider | ActiveModel::Model::None =
::ActiveModel::Model::None.new, authority_id : String | Nil | ActiveModel::Model::None =
::ActiveModel::Model::None.new, credentials : String | ActiveModel::Model::None =
::ActiveModel::Model::None.new, endpoint : String | Nil | ActiveModel::Model::None =
::ActiveModel::Model::None.new, location : String | Nil | ActiveModel::Model::None =
::ActiveModel::Model::None.new, default_model : String | Nil | ActiveModel::Model::None =
::ActiveModel::Model::None.new, text_model : String | Nil | ActiveModel::Model::None =
::ActiveModel::Model::None.new, allowed_models : Array(String) | ActiveModel::Model::None =
::ActiveModel::Model::None.new, enabled : Bool | ActiveModel::Model::None =
::ActiveModel::Model::None.new, is_default : Bool | ActiveModel::Model::None =
::ActiveModel::Model::None.new, quotas : JSON::Any | ActiveModel::Model::None =
::ActiveModel::Model::None.new)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def self.
new(params : HTTP::Params | Hash(String, String) | Tuple(String, String))
#
Initialize PlaceOS::Model::SignageAIProvider from HTTP::Params.
def self.
attributes : Array(Symbol)
#
Returns all attribute keys.
Rows a domain may use: its own, plus the shared fallback.
def self.
changefeed_ignored_update_columns : Array(String) | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Changefeed at row (if #id passed) or whole table level.
Returns a ChangeFeed instance which can be used to invoke async callbacks via on or
use blocking Iterator via each method.
The provider used for a domain: its own default, then its own first enabled
row, then the shared fallback.
def self.
from_rs(__temp_2687 : DB::ResultSet)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def self.
on_error(err : Exception | IO::Error)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
after_initialize(trusted : Bool)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
allowed_models? : Array(String) | Nil
#
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
allowed_models_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
allowed_models_change : Tuple(Array(String) | Nil, Array(String) | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
allowed_models_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
allowed_models_default : Array(String)
#
def
allowed_models_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
allowed_models_was : Array(String) | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
allowed_models_will_change! : Nil
#
Include #allowed_models in the set of changed attributes, whether it has changed or not.
Generate code to apply default values
Rendered by the API in place of to_json: the same row without credentials.
def
assign_attributes(created_at : Time | Missing =
Missing, updated_at : Time | Missing =
Missing, id : UUID | Missing =
Missing, name : String | Missing =
Missing, provider :
PlaceOS::Model::SignageAIProvider::Provider | Missing =
Missing, authority_id : String | Nil | Missing =
Missing, credentials : String | Missing =
Missing, endpoint : String | Nil | Missing =
Missing, location : String | Nil | Missing =
Missing, default_model : String | Nil | Missing =
Missing, text_model : String | Nil | Missing =
Missing, allowed_models : Array(String) | Missing =
Missing, enabled : Bool | Missing =
Missing, is_default : Bool | Missing =
Missing, quotas : JSON::Any | Missing =
Missing)
#
Assign to multiple attributes.
def
assign_attributes(params : HTTP::Params | Hash(String, String) | Tuple(String, String))
#
Assign to multiple attributes via HTTP::Params.
Assign to multiple attributes from a model object
def
assign_attributes_from_json(json, root : String)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
assign_attributes_from_json(json)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
assign_attributes_from_trusted_json(json, root : String)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
assign_attributes_from_trusted_json(json)
#
Assign each field from JSON if field exists in JSON and has changed in model
def
assign_attributes_from_trusted_yaml(yaml)
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
assign_attributes_from_yaml(yaml)
#
Uses the YAML parser as JSON is valid YAML
Returns a Hash of all attribute values
def
attributes_json(io : IO) : Nil
#
Serialize attributes to JSON, without any other properties to_json may
include, as .from_json expects them.
Values are serialized as in to_json, applying any attribute converters.
def
attributes_json(json : JSON::Builder) : Nil
#
Serialize attributes to JSON, without any other properties to_json may
include, as .from_json expects them.
Values are serialized as in to_json, applying any attribute converters.
def
attributes_json : String
#
Serialize attributes to JSON, without any other properties to_json may
include, as .from_json expects them.
Values are serialized as in to_json, applying any attribute converters.
Returns a NamedTuple of all attribute values.
def
authority_id_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
authority_id_change : Tuple(String | Nil | Nil, String | Nil | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
authority_id_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
authority_id_default : String | Nil
#
def
authority_id_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
authority_id_was : String | Nil | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
authority_id_will_change! : Nil
#
Include #authority_id in the set of changed attributes, whether it has changed or not.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Check if any attributes have changed.
Returns a Hash with all changed attributes.
def
changed_json(io : IO) : Nil
#
Serialize the set of changed attributes to JSON.
def
changed_json : String
#
Serialize the set of changed attributes to JSON.
def
changed_persist_attributes
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
changed_yaml(io : IO) : Nil
#
Serialize the set of changed attributes to YAML.
def
changed_yaml : String
#
Serialize the set of changed attributes to YAML.
Returns a Hash of changed attributes, mapping each to a {previous, current} tuple.
def
changes_json(io : IO) : Nil
#
Serialize changed attributes to JSON as {"attribute": [previous, current]}.
Values are serialized as in to_json, applying any attribute converters.
def
changes_json(json : JSON::Builder) : Nil
#
Serialize changed attributes to JSON as {"attribute": [previous, current]}.
Values are serialized as in to_json, applying any attribute converters.
def
changes_json : String
#
Serialize changed attributes to JSON as {"attribute": [previous, current]}.
Values are serialized as in to_json, applying any attribute converters.
def
created_at=(value : Time)
#
def
created_at? : Time | Nil
#
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
created_at_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
created_at_change : Tuple(Time | Nil, Time | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
created_at_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
created_at_default : Time
#
def
created_at_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
created_at_was : Time | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
created_at_will_change! : Nil
#
Include #created_at in the set of changed attributes, whether it has changed or not.
def
credentials? : String | Nil
#
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
credentials_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
credentials_change : Tuple(String | Nil, String | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
credentials_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
credentials_default : String
#
def
credentials_json : Hash(String, JSON::Any)
#
Parsed credentials. Raises Model::Error when the stored value is not an object,
which is what a wrong PLACE_SERVER_SECRET looks like from here.
def
credentials_json=(value : Hash(String, JSON::Any) | JSON::Any)
#
def
credentials_present? : Bool
#
def
credentials_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
credentials_was : String | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
credentials_will_change! : Nil
#
Include #credentials in the set of changed attributes, whether it has changed or not.
def
default_model_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
default_model_change : Tuple(String | Nil | Nil, String | Nil | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
default_model_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
default_model_default : String | Nil
#
def
default_model_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
default_model_was : String | Nil | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
default_model_will_change! : Nil
#
Include #default_model in the set of changed attributes, whether it has changed or not.
def
enabled? : Bool | Nil
#
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
enabled_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
enabled_change : Tuple(Bool | Nil, Bool | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
enabled_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
enabled_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
enabled_was : Bool | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
enabled_will_change! : Nil
#
Include #enabled in the set of changed attributes, whether it has changed or not.
def
endpoint_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
endpoint_change : Tuple(String | Nil | Nil, String | Nil | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
endpoint_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
endpoint_default : String | Nil
#
def
endpoint_present? : Bool
#
optional overrides. #endpoint also lets a deployment point at a gateway or,
locally, at a stub vendor.
def
endpoint_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
endpoint_was : String | Nil | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
endpoint_will_change! : Nil
#
Include #endpoint in the set of changed attributes, whether it has changed or not.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
id_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
id_change : Tuple(UUID | Nil, UUID | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
id_was : UUID | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
id_will_change! : Nil
#
Include #id in the set of changed attributes, whether it has changed or not.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
is_default? : Bool | Nil
#
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
is_default_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
is_default_change : Tuple(Bool | Nil, Bool | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
is_default_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
is_default_default : Bool
#
def
is_default_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
is_default_was : Bool | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
is_default_will_change! : Nil
#
Include #is_default in the set of changed attributes, whether it has changed or not.
def
location_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
location_change : Tuple(String | Nil | Nil, String | Nil | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
location_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
location_default : String | Nil
#
def
location_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
location_was : String | Nil | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
location_will_change! : Nil
#
Include #location in the set of changed attributes, whether it has changed or not.
def
name? : String | Nil
#
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
name_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
name_change : Tuple(String | Nil, String | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
name_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
name_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
name_was : String | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
name_will_change! : Nil
#
Include #name in the set of changed attributes, whether it has changed or not.
def
persistent_attributes
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
provider_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
provider_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
provider_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
provider_will_change! : Nil
#
Include #provider in the set of changed attributes, whether it has changed or not.
def
quota(key : String) : Int32 | Nil
#
def
quotas? : JSON::Any | Nil
#
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
quotas_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
quotas_change : Tuple(JSON::Any | Nil, JSON::Any | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
quotas_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
quotas_present? : Bool
#
{"user_per_day": 60, "domain_per_month": 2000, "map_user_per_day": 40, "map_domain_per_month": 1000}
def
quotas_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
quotas_was : JSON::Any | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
quotas_will_change! : Nil
#
Include #quotas in the set of changed attributes, whether it has changed or not.
Reset each attribute to their previous values and clears all changes.
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
text_model_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
text_model_change : Tuple(String | Nil | Nil, String | Nil | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
text_model_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
text_model_default : String | Nil
#
def
text_model_present? : Bool
#
the text/vision model used for map editing, nil for the adapter's default
def
text_model_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
text_model_was : String | Nil | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
text_model_will_change! : Nil
#
Include #text_model in the set of changed attributes, whether it has changed or not.
def
updated_at? : Time | Nil
#
NOTE use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
def
updated_at_assigned? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
updated_at_change : Tuple(Time | Nil, Time | Nil) | Nil
#
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
def
updated_at_changed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
updated_at_default : Time
#
def
updated_at_removed? : Bool
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
updated_at_was : Time | Nil
#
Vendor credentials used to generate or edit signage artwork and to edit maps.
A row with a nil authority_id is the shared fallback, the same arrangement
Storage uses. Credentials are a JSON object whose shape depends on the
provider, encrypted at rest and never rendered by the API.
def
updated_at_will_change! : Nil
#
Include #updated_at in the set of changed attributes, whether it has changed or not.
def
validate_nilability
#
Validate that all non-nillable fields have values.