Class: Moonbase::Models::CallParticipant
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Moonbase::Models::CallParticipant
- Defined in:
- lib/moonbase/models/call_participant.rb
Defined Under Namespace
Modules: Role
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier for the object.
-
#organization ⇒ Moonbase::Models::ItemPointer?
A reference to an ‘Item` within a specific `Collection`, providing the context needed to locate the item.
-
#person ⇒ Moonbase::Models::ItemPointer?
A reference to an ‘Item` within a specific `Collection`, providing the context needed to locate the item.
-
#phone ⇒ String
The E.164 formatted phone number of the participant.
-
#role ⇒ Symbol, Moonbase::Models::CallParticipant::Role
The role of the participant in the call.
-
#type ⇒ Symbol, :call_participant
String representing the object’s type.
Instance Method Summary collapse
-
#initialize(id:, phone:, role:, organization: nil, person: nil, type: :call_participant) ⇒ Object
constructor
Some parameter documentations has been truncated, see CallParticipant for more details.
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:, phone:, role:, organization: nil, person: nil, type: :call_participant) ⇒ Object
Some parameter documentations has been truncated, see Moonbase::Models::CallParticipant for more details.
Represents a participant in a call.
|
|
# File 'lib/moonbase/models/call_participant.rb', line 45
|
Instance Attribute Details
#id ⇒ String
Unique identifier for the object.
10 |
# File 'lib/moonbase/models/call_participant.rb', line 10 required :id, String |
#organization ⇒ Moonbase::Models::ItemPointer?
A reference to an ‘Item` within a specific `Collection`, providing the context needed to locate the item.
36 |
# File 'lib/moonbase/models/call_participant.rb', line 36 optional :organization, -> { Moonbase::ItemPointer } |
#person ⇒ Moonbase::Models::ItemPointer?
A reference to an ‘Item` within a specific `Collection`, providing the context needed to locate the item.
43 |
# File 'lib/moonbase/models/call_participant.rb', line 43 optional :person, -> { Moonbase::ItemPointer } |
#phone ⇒ String
The E.164 formatted phone number of the participant.
16 |
# File 'lib/moonbase/models/call_participant.rb', line 16 required :phone, String |
#role ⇒ Symbol, Moonbase::Models::CallParticipant::Role
The role of the participant in the call. Can be ‘caller`, `callee`, or `other`.
22 |
# File 'lib/moonbase/models/call_participant.rb', line 22 required :role, enum: -> { Moonbase::CallParticipant::Role } |
#type ⇒ Symbol, :call_participant
String representing the object’s type. Always ‘call_participant` for this object.
29 |
# File 'lib/moonbase/models/call_participant.rb', line 29 required :type, const: :call_participant |