Class: Telnyx::Models::Storage::Sqldbs::ActionQueryParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Storage::Sqldbs::ActionQueryParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/telnyx/models/storage/sqldbs/action_query_params.rb,
sig/telnyx/models/storage/sqldbs/action_query_params.rbs
Overview
Defined Under Namespace
Modules: Param
Instance Attribute Summary collapse
- #id ⇒ String
-
#params ⇒ Array<String, Float, Boolean, nil>?
Positional bind parameters, in placeholder order.
-
#sql ⇒ String
The SQL to run.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
27 |
# File 'sig/telnyx/models/storage/sqldbs/action_query_params.rbs', line 27
def initialize: (
|
Instance Attribute Details
#id ⇒ String
15 |
# File 'lib/telnyx/models/storage/sqldbs/action_query_params.rb', line 15 required :id, String |
#params ⇒ Array<String, Float, Boolean, nil>?
Positional bind parameters, in placeholder order. Each value is a string, a
number, a boolean, or null; booleans are cast to 1/0. The count must match
the number of ? placeholders exactly — a mismatch is rejected with 422 rather
than binding null for the ones you left out. (Not enforced for multi-statement
scripts or named parameters, where the placeholder count is not the number
bound.)
33 34 |
# File 'lib/telnyx/models/storage/sqldbs/action_query_params.rb', line 33 optional :params, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::Storage::Sqldbs::ActionQueryParams::Param, nil?: true] } |
#sql ⇒ String
The SQL to run. Use positional ? placeholders and supply the values in
params rather than interpolating them into this string.
22 |
# File 'lib/telnyx/models/storage/sqldbs/action_query_params.rb', line 22 required :sql, String |
Instance Method Details
#to_hash ⇒ {
34 |
# File 'sig/telnyx/models/storage/sqldbs/action_query_params.rbs', line 34
def to_hash: -> {
|