Class: Telnyx::Models::SimCardDataUsageNotification

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

Overview

Defined Under Namespace

Classes: Threshold

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, record_type: nil, sim_card_id: nil, threshold: nil, updated_at: nil) ⇒ Object

The SIM card individual data usage notification information.

Parameters:

  • id (String) (defaults to: nil)

    Identifies the resource.

  • created_at (String) (defaults to: nil)

    ISO 8601 formatted date-time indicating when the resource was created.

  • record_type (String) (defaults to: nil)
  • sim_card_id (String) (defaults to: nil)

    The identification UUID of the related SIM card resource.

  • threshold (Telnyx::Models::SimCardDataUsageNotification::Threshold) (defaults to: nil)

    Data usage threshold that will trigger the notification.

  • updated_at (String) (defaults to: nil)

    ISO 8601 formatted date-time indicating when the resource was updated.



# File 'lib/telnyx/models/sim_card_data_usage_notification.rb', line 44

Instance Attribute Details

#sim_card_idString?

The identification UUID of the related SIM card resource.

Returns:

  • (String, nil)


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

optional :sim_card_id, String

#thresholdTelnyx::Models::SimCardDataUsageNotification::Threshold?

Data usage threshold that will trigger the notification.



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

optional :threshold, -> { Telnyx::SimCardDataUsageNotification::Threshold }