Class: Telnyx::Models::BillingGroup

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

Overview

See Also:

  • Telnyx::Resources::BillingGroups#list

Defined Under Namespace

Modules: RecordType

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, created_at: nil, deleted_at: nil, name: nil, organization_id: nil, record_type: nil, updated_at: nil) ⇒ Object



# File 'lib/telnyx/models/billing_group.rb', line 49


Instance Attribute Details

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.



17
# File 'lib/telnyx/models/billing_group.rb', line 17

optional :created_at, Time

#deleted_atTime?

ISO 8601 formatted date indicating when the resource was removed.



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

optional :deleted_at, Time, nil?: true

#idString?

Identifies the type of resource.



11
# File 'lib/telnyx/models/billing_group.rb', line 11

optional :id, String

#nameString?

A user-specified name for the billing group



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

optional :name, String

#organization_idString?

Identifies the organization that owns the resource.



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

optional :organization_id, String

#record_typeSymbol, ...

Identifies the type of the resource.



41
# File 'lib/telnyx/models/billing_group.rb', line 41

optional :record_type, enum: -> { Telnyx::BillingGroup::RecordType }

#updated_atTime?

ISO 8601 formatted date indicating when the resource was updated.



47
# File 'lib/telnyx/models/billing_group.rb', line 47

optional :updated_at, Time

Instance Method Details

#to_hash{



53
# File 'sig/telnyx/models/billing_group.rbs', line 53

def to_hash: -> {