Class: Telnyx::Models::Storage::Sqldbs::ActionQueryParams

Inherits:
Internal::Type::BaseModel show all
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

See Also:

  • Telnyx::Resources::Storage::Sqldbs::Actions#query

Defined Under Namespace

Modules: Param

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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

#initializeObject



27
# File 'sig/telnyx/models/storage/sqldbs/action_query_params.rbs', line 27

def initialize: (

Instance Attribute Details

#idString

Parameters:

  • value (String)

Returns:

  • (String)


15
# File 'lib/telnyx/models/storage/sqldbs/action_query_params.rb', line 15

required :id, String

#paramsArray<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.)

Returns:

  • (Array<String, Float, Boolean, nil>, nil)


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] }

#sqlString

The SQL to run. Use positional ? placeholders and supply the values in params rather than interpolating them into this string.

Parameters:

  • value (String)

Returns:

  • (String)


22
# File 'lib/telnyx/models/storage/sqldbs/action_query_params.rb', line 22

required :sql, String

Instance Method Details

#to_hash{

Returns:

  • ({)


34
# File 'sig/telnyx/models/storage/sqldbs/action_query_params.rbs', line 34

def to_hash: -> {