Class: Peddler::APIs::Support20250201::Appointment

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/support_2025_02_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#answering_party ⇒ String? (readonly)

Returns the value of attribute answering_party.

Returns:

  • (String, nil)


14
15
16
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 14

def answering_party
  @answering_party
end

#appointment_id ⇒ String (readonly)

Returns the value of attribute appointment_id.

Returns:

  • (String)


15
16
17
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 15

def appointment_id
  @appointment_id
end

#callback_timing ⇒ Peddler::APIs::Support20250201::CallbackTiming (readonly)

Returns the value of attribute callback_timing.



16
17
18
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 16

def callback_timing
  @callback_timing
end

#phone_number ⇒ Peddler::APIs::Support20250201::PhoneNumber (readonly)

Returns the value of attribute phone_number.



17
18
19
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 17

def phone_number
  @phone_number
end

#status ⇒ String (readonly)

Returns the value of attribute status.

Returns:

  • (String)


18
19
20
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 18

def status
  @status
end

Class Method Details

.[](appointment_id:, callback_timing:, phone_number:, status:, answering_party:) ⇒ Peddler::APIs::Support20250201::Appointment .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::Support20250201::Appointment

Overloads:



7
8
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 7

def self.[]: (appointment_id: String, callback_timing: Peddler::APIs::Support20250201::CallbackTiming, phone_number: Peddler::APIs::Support20250201::PhoneNumber, status: String, ?answering_party: String?) -> Peddler::APIs::Support20250201::Appointment
| (String, Peddler::APIs::Support20250201::CallbackTiming, Peddler::APIs::Support20250201::PhoneNumber, String, String?) -> Peddler::APIs::Support20250201::Appointment

.members ⇒ [ :appointment_id, :callback_timing, :phone_number, :status, :answering_party ]

Returns:

  • ([ :appointment_id, :callback_timing, :phone_number, :status, :answering_party ])


10
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 10

def self.members: () -> [ :appointment_id, :callback_timing, :phone_number, :status, :answering_party ]

.new(appointment_id:, callback_timing:, phone_number:, status:, answering_party:) ⇒ Peddler::APIs::Support20250201::Appointment .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::Support20250201::Appointment

Overloads:



5
6
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 5

def self.new: (appointment_id: String, callback_timing: Peddler::APIs::Support20250201::CallbackTiming, phone_number: Peddler::APIs::Support20250201::PhoneNumber, status: String, ?answering_party: String?) -> Peddler::APIs::Support20250201::Appointment
| (String, Peddler::APIs::Support20250201::CallbackTiming, Peddler::APIs::Support20250201::PhoneNumber, String, String?) -> Peddler::APIs::Support20250201::Appointment

.parse ⇒ Peddler::APIs::Support20250201::Appointment

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



12
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 12

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Support20250201::Appointment

Instance Method Details

#members ⇒ [ :appointment_id, :callback_timing, :phone_number, :status, :answering_party ]

Returns:

  • ([ :appointment_id, :callback_timing, :phone_number, :status, :answering_party ])


20
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 20

def members: () -> [ :appointment_id, :callback_timing, :phone_number, :status, :answering_party ]

#to_h ⇒ { appointment_id: String, callback_timing: Peddler::APIs::Support20250201::CallbackTiming, phone_number: Peddler::APIs::Support20250201::PhoneNumber, status: String, answering_party: String? }

Returns:



21
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 21

def to_h: () -> { appointment_id: String, callback_timing: Peddler::APIs::Support20250201::CallbackTiming, phone_number: Peddler::APIs::Support20250201::PhoneNumber, status: String, answering_party: String? }