Vendor credentials used to generate or edit signage artwork.
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.
Constants
CALLBACKS = {
before_save: [do
if (__temp_1469 = @authority) && __temp_1469.new_record?
__temp_1469.save
self.authority_id = __temp_1469.id.not_nil!
end
end, do
self.credentials =
PlaceOS::Encryption.encrypt(credentials, level: level, id: encryption_id)
end] of
Nil,
after_save: [] of
Nil,
before_create: [do
self.created_at = self.updated_at =
Time.utc
end] of
Nil,
after_create: [] of
Nil,
before_update: [do
self.updated_at =
Time.utc
end] of
Nil,
after_update: [] of
Nil,
before_destroy: [] of
Nil,
after_destroy: [do
end] of
Nil,
}
Vendor credentials used to generate or edit signage artwork.
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.
PRIMARY_KEY_TYPES = {:id =>
UUID} of
Nil =>
NilPRIMARY_KEYS = [{:id}]
Vendor credentials used to generate or edit signage artwork.
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.
Constructors
from_json(string_or_io :
String |
IO, trusted :
Bool = false) : self
Vendor credentials used to generate or edit signage artwork.
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.
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">
Vendor credentials used to generate or edit signage artwork.
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.
from_trusted_json(string_or_io :
String |
IO) : self
Serialize from a trusted JSON source
from_trusted_yaml(string_or_io :
String |
IO) : self
Serialize from a trusted YAML source
from_yaml(string_or_io :
String |
IO, trusted :
Bool = false) : self
Vendor credentials used to generate or edit signage artwork.
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.
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.
SourceVendor credentials used to generate or edit signage artwork.
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.
Sourcenew(rs : DB::ResultSet)
Vendor credentials used to generate or edit signage artwork.
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.
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, 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.
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.
Initialize PlaceOS::Model::SignageAIProvider from HTTP::Params.
Class methods
attributes
Returns all attribute keys.
available_for(authority_id :
String |
Nil) :
Array(
SignageAIProvider)
Rows a domain may use: its own, plus the shared fallback.
Sourcechangefeed_ignored_update_columns
Vendor credentials used to generate or edit signage artwork.
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.
changes(id :
UUID |
Nil = nil) :
ChangeFeed 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.
default_for(authority_id :
String |
Nil) :
SignageAIProvider |
Nil The provider used for a domain: its own default, then its own first enabled
row, then the shared fallback.
Sourcefrom_rs(__temp_2557 : DB::ResultSet)
Vendor credentials used to generate or edit signage artwork.
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.
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.
primary_key
Vendor credentials used to generate or edit signage artwork.
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.
Sourcetable_name
Vendor credentials used to generate or edit signage artwork.
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.
Instance methods
after_create
Vendor credentials used to generate or edit signage artwork.
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.
after_destroy
Vendor credentials used to generate or edit signage artwork.
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.
after_initialize(trusted :
Bool)
Vendor credentials used to generate or edit signage artwork.
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.
after_save
Vendor credentials used to generate or edit signage artwork.
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.
after_update
Vendor credentials used to generate or edit signage artwork.
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.
allowed_models?
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.
allowed_models_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
allowed_models_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
allowed_models_changed?
Vendor credentials used to generate or edit signage artwork.
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.
allowed_models_default
allowed_models's default value
Sourceallowed_models_removed?
Vendor credentials used to generate or edit signage artwork.
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.
allowed_models_was
Vendor credentials used to generate or edit signage artwork.
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.
allowed_models_will_change!
Include allowed_models in the set of changed attributes, whether it has changed or not.
apply_defaults
Generate code to apply default values
as_json
Rendered by the API in place of to_json: the same row without credentials.
Sourceassign_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, allowed_models :
Array(
String) |
Missing =
Missing, enabled :
Bool |
Missing =
Missing, is_default :
Bool |
Missing =
Missing, quotas :
JSON::Any |
Missing =
Missing)
Assign to multiple attributes.
Assign to multiple attributes via HTTP::Params.
Assign to multiple attributes from a model object
assign_attributes_from_json(json, root :
String)
Vendor credentials used to generate or edit signage artwork.
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.
assign_attributes_from_json(json)
Vendor credentials used to generate or edit signage artwork.
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.
assign_attributes_from_trusted_json(json, root :
String)
Vendor credentials used to generate or edit signage artwork.
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.
assign_attributes_from_trusted_json(json)
Assign each field from JSON if field exists in JSON and has changed in model
assign_attributes_from_trusted_yaml(yaml)
Vendor credentials used to generate or edit signage artwork.
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.
assign_attributes_from_yaml(yaml)
Uses the YAML parser as JSON is valid YAML
attributes
Returns a Hash of all attribute values
attributes_tuple
Returns a NamedTuple of all attribute values.
authority_id=(value :
String |
Nil)
authority_id_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
authority_id_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
authority_id_changed?
Vendor credentials used to generate or edit signage artwork.
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.
authority_id_default
authority_id's default value
Sourceauthority_id_removed?
Vendor credentials used to generate or edit signage artwork.
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.
authority_id_was
Vendor credentials used to generate or edit signage artwork.
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.
authority_id_will_change!
Include authority_id in the set of changed attributes, whether it has changed or not.
before_create
Vendor credentials used to generate or edit signage artwork.
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.
before_destroy
Vendor credentials used to generate or edit signage artwork.
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.
before_save
Vendor credentials used to generate or edit signage artwork.
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.
before_update
Vendor credentials used to generate or edit signage artwork.
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.
changed?
Check if any attributes have changed.
changed_attributes
Returns a Hash with all changed attributes.
changed_json(io :
IO) :
Nil Serialize the set of changed attributes to JSON.
changed_json
Serialize the set of changed attributes to JSON.
changed_persist_attributes
Vendor credentials used to generate or edit signage artwork.
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.
changed_yaml(io :
IO) :
Nil Serialize the set of changed attributes to YAML.
changed_yaml
Serialize the set of changed attributes to YAML.
created_at=(value :
Time)
Setters
created_at setter
created_at?
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.
created_at_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
created_at_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
created_at_changed?
Vendor credentials used to generate or edit signage artwork.
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.
created_at_default
created_at's default value
created_at_removed?
Vendor credentials used to generate or edit signage artwork.
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.
created_at_was
Vendor credentials used to generate or edit signage artwork.
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.
created_at_will_change!
Include created_at in the set of changed attributes, whether it has changed or not.
credentials?
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.
credentials_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
credentials_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
credentials_changed?
Vendor credentials used to generate or edit signage artwork.
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.
credentials_default
credentials's default value
Sourcecredentials_json
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.
Sourcecredentials_present?
encrypted JSON object, see credentials_json
credentials_removed?
Vendor credentials used to generate or edit signage artwork.
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.
credentials_was
Vendor credentials used to generate or edit signage artwork.
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.
credentials_will_change!
Include credentials in the set of changed attributes, whether it has changed or not.
default_model=(value :
String |
Nil)
default_model_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
default_model_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
default_model_changed?
Vendor credentials used to generate or edit signage artwork.
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.
default_model_default
default_model's default value
Sourcedefault_model_removed?
Vendor credentials used to generate or edit signage artwork.
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.
default_model_was
Vendor credentials used to generate or edit signage artwork.
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.
default_model_will_change!
Include default_model in the set of changed attributes, whether it has changed or not.
enabled?
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.
enabled_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
enabled_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
enabled_changed?
Vendor credentials used to generate or edit signage artwork.
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.
enabled_removed?
Vendor credentials used to generate or edit signage artwork.
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.
enabled_was
Vendor credentials used to generate or edit signage artwork.
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.
enabled_will_change!
Include enabled in the set of changed attributes, whether it has changed or not.
endpoint=(value :
String |
Nil)
endpoint_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
endpoint_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
endpoint_changed?
Vendor credentials used to generate or edit signage artwork.
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.
endpoint_present?
optional overrides. endpoint also lets a deployment point at a gateway or,
locally, at a stub vendor.
endpoint_removed?
Vendor credentials used to generate or edit signage artwork.
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.
endpoint_was
Vendor credentials used to generate or edit signage artwork.
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.
endpoint_will_change!
Include endpoint in the set of changed attributes, whether it has changed or not.
id?
Vendor credentials used to generate or edit signage artwork.
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.
id_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
id_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
id_changed?
Vendor credentials used to generate or edit signage artwork.
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.
id_removed?
Vendor credentials used to generate or edit signage artwork.
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.
id_was
Vendor credentials used to generate or edit signage artwork.
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.
id_will_change!
Include id in the set of changed attributes, whether it has changed or not.
invoke_props
Vendor credentials used to generate or edit signage artwork.
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.
is_default=(value :
Bool)
is_default?
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.
is_default_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
is_default_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
is_default_changed?
Vendor credentials used to generate or edit signage artwork.
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.
is_default_default
is_default's default value
Sourceis_default_removed?
Vendor credentials used to generate or edit signage artwork.
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.
is_default_was
Vendor credentials used to generate or edit signage artwork.
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.
is_default_will_change!
Include is_default in the set of changed attributes, whether it has changed or not.
location=(value :
String |
Nil)
location_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
location_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
location_changed?
Vendor credentials used to generate or edit signage artwork.
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.
location_removed?
Vendor credentials used to generate or edit signage artwork.
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.
location_was
Vendor credentials used to generate or edit signage artwork.
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.
location_will_change!
Include location in the set of changed attributes, whether it has changed or not.
name?
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.
name_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
name_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
name_changed?
Vendor credentials used to generate or edit signage artwork.
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.
name_removed?
Vendor credentials used to generate or edit signage artwork.
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.
name_was
Vendor credentials used to generate or edit signage artwork.
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.
name_will_change!
Include name in the set of changed attributes, whether it has changed or not.
persistent_attributes
Vendor credentials used to generate or edit signage artwork.
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.
primary_key
Vendor credentials used to generate or edit signage artwork.
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.
Sourceprimary_key_hash
Vendor credentials used to generate or edit signage artwork.
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.
provider?
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.
provider_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
provider_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
provider_changed?
Vendor credentials used to generate or edit signage artwork.
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.
provider_removed?
Vendor credentials used to generate or edit signage artwork.
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.
provider_was
Vendor credentials used to generate or edit signage artwork.
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.
provider_will_change!
Include provider in the set of changed attributes, whether it has changed or not.
quotas?
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.
quotas_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
quotas_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
quotas_changed?
Vendor credentials used to generate or edit signage artwork.
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.
quotas_present?
{"user_per_day": 60, "domain_per_month": 2000}
quotas_removed?
Vendor credentials used to generate or edit signage artwork.
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.
quotas_was
Vendor credentials used to generate or edit signage artwork.
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.
quotas_will_change!
Include quotas in the set of changed attributes, whether it has changed or not.
restore_attributes
Reset each attribute to their previous values and clears all changes.
table_name
Vendor credentials used to generate or edit signage artwork.
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.
updated_at=(value :
Time)
updated_at?
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.
updated_at_assigned?
Vendor credentials used to generate or edit signage artwork.
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.
updated_at_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
updated_at_changed?
Vendor credentials used to generate or edit signage artwork.
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.
updated_at_default
updated_at's default value
updated_at_removed?
Vendor credentials used to generate or edit signage artwork.
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.
updated_at_was
Vendor credentials used to generate or edit signage artwork.
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.
updated_at_will_change!
Include updated_at in the set of changed attributes, whether it has changed or not.
validate_nilability
Validate that all non-nillable fields have values.