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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
text_model_assigned?
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.
text_model_change
Returns a Tuple of the previous and the current
value of an instance variable if it has changed
text_model_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.
text_model_default
text_model's default value
Sourcetext_model_present?
the text/vision model used for map editing, nil for the adapter's default
text_model_removed?
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.
text_model_was
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.
text_model_will_change!
Include text_model in the set of changed attributes, whether it has changed or not.
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.