Class: Telnyx::Models::EventNode::Relationship::Via

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

Overview

See Also:

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(local_field:, parent_field:) ⇒ Object

Parameters:

  • local_field (String)

    Field name on the child record.

  • parent_field (String)

    Field name on the parent record.



# File 'lib/telnyx/models/event_node.rb', line 159

Instance Attribute Details

#local_fieldString

Field name on the child record.

Returns:

  • (String)


151
# File 'lib/telnyx/models/event_node.rb', line 151

required :local_field, String

#parent_fieldString

Field name on the parent record.

Returns:

  • (String)


157
# File 'lib/telnyx/models/event_node.rb', line 157

required :parent_field, String