class

PlaceOS::Model::SignageAIProvider

Inherits Neuroplastic < PgORM::Timestamps < PgORM::Base < PgORM::Validators < PgORM::Table < PgORM::Persistence < PgORM::Associations < ActiveModel::Callbacks < ActiveModel::Validation < ActiveModel::Model < DB::Mappable < DB::Serializable < YAML::Serializable < JSON::Serializable < Reference < Object

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.

Log = ::Log.for(self)
PRIMARY_KEY_TYPES = {:id => UUID} of Nil => Nil

macro level key => type

PRIMARY_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.

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">
from_trusted_json(string_or_io : String | IO, root : String) : 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.

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.

Source
new(pull : JSON::PullParser)

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.

Source
new(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.

Source
by_authority_id(id)
Source
changefeed_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.

Source
elastic
from_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.

on_error(err : Exception | IO::Error)

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.

Source
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.

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

allowed_models getter

allowed_models=(value : Array(String))

allowed_models setter

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

Source
allowed_models_present?
allowed_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.

Source
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, 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_attributes(params : HTTP::Params | Hash(String, String) | Tuple(String, String))

Assign to multiple attributes via HTTP::Params.

assign_attributes(model : PlaceOS::Model::SignageAIProvider)

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
Source
authority!
Source
authority?
Source
authority_id

authority_id getter

authority_id=(value : String | Nil)

authority_id setter

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

Source
authority_id_present?
authority_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.

build_authority
Source
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.

clear_changes_information

Reset changes for all attributes.

create_authority
Source
create_authority!
Source
created_at

created_at getter

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_present?
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

credentials getter

credentials=(value : String)

credentials setter

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

Source
credentials_encrypted?
Source
credentials_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.

Source
credentials_json=(value : Hash(String, JSON::Any) | JSON::Any)
Source
credentials_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.

decrypt_credentials
Source
default_model

default_model getter

default_model=(value : String | Nil)

default_model setter

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

Source
default_model_present?
default_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

enabled getter

enabled=(value : Bool)

enabled setter

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_default

enabled's default value

Source
enabled_present?
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

endpoint getter

endpoint=(value : String | Nil)

endpoint setter

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_default

endpoint's default value

Source
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

id getter

id=(value : UUID)

id setter

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_default

id's default value

id_present?
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

is_default getter

is_default=(value : Bool)

is_default setter

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

Source
is_default_present?
is_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

location getter

location=(value : String | Nil)

location setter

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_default

location's default value

Source
location_present?
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

name getter

name=(value : String)

name setter

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_default

name's default value

Source
name_present?
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.

Source
primary_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

provider getter

provider setter

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_default

provider's default value

Source
provider_present?
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.

quota(key : String) : Int32 | Nil
Source
quotas

quotas getter

quotas=(value : JSON::Any)

quotas setter

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_default

quotas's default value

Source
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.

reload_authority
Source
reload_authority?
Source
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

updated_at getter

updated_at=(value : Time)

updated_at setter

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_present?
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.

Nested types