Class: Telnyx::Models::NotificationSetting

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

Overview

See Also:

  • Telnyx::Resources::NotificationSettings#list

Direct Known Subclasses

NotificationSettingCreateParams

Defined Under Namespace

Modules: Status Classes: Parameter

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(name: nil, value: nil) ⇒ Object

Parameters:

  • name (String) (defaults to: nil)
  • value (String) (defaults to: nil)


# File 'lib/telnyx/models/notification_setting.rb', line 98

Instance Attribute Details

#associated_record_typeString? (readonly)

Returns the value of attribute associated_record_type.

Returns:

  • (String, nil)


40
41
42
# File 'sig/telnyx/models/notification_setting.rbs', line 40

def associated_record_type
  @associated_record_type
end

#associated_record_type_valueString? (readonly)

Returns the value of attribute associated_record_type_value.

Returns:

  • (String, nil)


44
45
46
# File 'sig/telnyx/models/notification_setting.rbs', line 44

def associated_record_type_value
  @associated_record_type_value
end

#created_atTime? (readonly)

Returns the value of attribute created_at.

Returns:

  • (Time, nil)


48
49
50
# File 'sig/telnyx/models/notification_setting.rbs', line 48

def created_at
  @created_at
end

#idString? (readonly)

Returns the value of attribute id.

Returns:

  • (String, nil)


36
37
38
# File 'sig/telnyx/models/notification_setting.rbs', line 36

def id
  @id
end

#notification_channel_idString?

A UUID reference to the associated Notification Channel.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :notification_channel_id, String

#notification_event_condition_idString?

A UUID reference to the associated Notification Event Condition.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :notification_event_condition_id, String

#notification_profile_idString?

A UUID reference to the associated Notification Profile.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :notification_profile_id, String

#parametersArray<Telnyx::Models::NotificationSetting::Parameter>?



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

optional :parameters, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::NotificationSetting::Parameter] }

#statusTelnyx::Models::NotificationSetting::status? (readonly)

Returns the value of attribute status.

Returns:

  • (Telnyx::Models::NotificationSetting::status, nil)


52
53
54
# File 'sig/telnyx/models/notification_setting.rbs', line 52

def status
  @status
end

#updated_atTime? (readonly)

Returns the value of attribute updated_at.

Returns:

  • (Time, nil)


58
59
60
# File 'sig/telnyx/models/notification_setting.rbs', line 58

def updated_at
  @updated_at
end

Instance Method Details

#associated_record_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


42
# File 'sig/telnyx/models/notification_setting.rbs', line 42

def associated_record_type=: (String) -> String

#associated_record_type_value=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


46
# File 'sig/telnyx/models/notification_setting.rbs', line 46

def associated_record_type_value=: (String) -> String

#created_at=Time (readonly)

Parameters:

  • (Time)

Returns:

  • (Time)


50
# File 'sig/telnyx/models/notification_setting.rbs', line 50

def created_at=: (Time) -> Time

#id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


38
# File 'sig/telnyx/models/notification_setting.rbs', line 38

def id=: (String) -> String

#status=Object (readonly)



54
# File 'sig/telnyx/models/notification_setting.rbs', line 54

def status=: (

#to_hash{

Returns:

  • ({)


75
# File 'sig/telnyx/models/notification_setting.rbs', line 75

def to_hash: -> {

#updated_at=Time (readonly)

Parameters:

  • (Time)

Returns:

  • (Time)


60
# File 'sig/telnyx/models/notification_setting.rbs', line 60

def updated_at=: (Time) -> Time