Class: Telnyx::Models::BillingGroup

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

Overview

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

Parameters:

  • id (String) (defaults to: nil)

    Identifies the type of resource.

  • created_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was created.

  • deleted_at (Time, nil) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was removed.

  • name (String) (defaults to: nil)

    A user-specified name for the billing group

  • organization_id (String) (defaults to: nil)

    Identifies the organization that owns the resource.

  • record_type (Symbol, Telnyx::Models::BillingGroup::RecordType) (defaults to: nil)

    Identifies the type of the resource.

  • updated_at (Time) (defaults to: nil)

    ISO 8601 formatted date indicating when the resource was updated.



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

Instance Attribute Details

#created_atTime?

ISO 8601 formatted date indicating when the resource was created.

Returns:

  • (Time, nil)


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.

Returns:

  • (Time, nil)


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

optional :deleted_at, Time, nil?: true

#idString?

Identifies the type of resource.

Returns:

  • (String, nil)


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

optional :id, String

#nameString?

A user-specified name for the billing group

Returns:

  • (String, nil)


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

optional :name, String

#organization_idString?

Identifies the organization that owns the resource.

Returns:

  • (String, nil)


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.

Returns:

  • (Time, nil)


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

optional :updated_at, Time