Class: Telnyx::Models::PhoneNumbers::CsvDownload

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/phone_numbers/csv_download.rb

Overview

Defined Under Namespace

Modules: Status

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

#initialize(id: nil, record_type: nil, status: nil, url: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::PhoneNumbers::CsvDownload for more details.

Parameters:

  • id (String) (defaults to: nil)

    Identifies the resource.

  • record_type (String) (defaults to: nil)

    Identifies the type of the resource.

  • status (Symbol, Telnyx::Models::PhoneNumbers::CsvDownload::Status) (defaults to: nil)

    Indicates the completion level of the CSV report. Only complete CSV download req

  • url (String) (defaults to: nil)

    The URL at which the CSV file can be retrieved.



# File 'lib/telnyx/models/phone_numbers/csv_download.rb', line 35

Instance Attribute Details

#statusSymbol, ...

Indicates the completion level of the CSV report. Only complete CSV download requests will be able to be retrieved.



13
# File 'lib/telnyx/models/phone_numbers/csv_download.rb', line 13

optional :status, enum: -> { Telnyx::PhoneNumbers::CsvDownload::Status }

#urlString?

The URL at which the CSV file can be retrieved.

Returns:

  • (String, nil)


19
# File 'lib/telnyx/models/phone_numbers/csv_download.rb', line 19

optional :url, String