Class: Telnyx::Models::Messaging10dlcGetEnumResponse::EnumPaginatedResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/messaging_10dlc_get_enum_response.rb,
sig/telnyx/models/messaging_10dlc_get_enum_response.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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/messaging_10dlc_get_enum_response.rbs', line 27

def initialize: (

Instance Attribute Details

#pageInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


23
# File 'lib/telnyx/models/messaging_10dlc_get_enum_response.rb', line 23

required :page, Integer

#recordsArray<Hash{Symbol=>Object}>

Parameters:

  • value (::Array[::Hash[Symbol, top]])

Returns:

  • (Array<Hash{Symbol=>Object}>)


28
29
# File 'lib/telnyx/models/messaging_10dlc_get_enum_response.rb', line 28

required :records,
Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]

#total_recordsInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


34
# File 'lib/telnyx/models/messaging_10dlc_get_enum_response.rb', line 34

required :total_records, Integer, api_name: :totalRecords

Instance Method Details

#to_hash{

Returns:

  • ({)


33
# File 'sig/telnyx/models/messaging_10dlc_get_enum_response.rbs', line 33

def to_hash: -> {