Class: Peddler::APIs::ServicesV1::Appointment

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#appointment_idString? (readonly)

Returns the value of attribute appointment_id.

Returns:

  • (String, nil)


56
57
58
# File 'sig/peddler/apis/services_v1.rbs', line 56

def appointment_id
  @appointment_id
end

#appointment_statusString? (readonly)

Returns the value of attribute appointment_status.

Returns:

  • (String, nil)


57
58
59
# File 'sig/peddler/apis/services_v1.rbs', line 57

def appointment_status
  @appointment_status
end

#appointment_timePeddler::APIs::ServicesV1::AppointmentTime? (readonly)

Returns the value of attribute appointment_time.



58
59
60
# File 'sig/peddler/apis/services_v1.rbs', line 58

def appointment_time
  @appointment_time
end

#assigned_techniciansArray[Peddler::APIs::ServicesV1::Technician]? (readonly)

Returns the value of attribute assigned_technicians.

Returns:



59
60
61
# File 'sig/peddler/apis/services_v1.rbs', line 59

def assigned_technicians
  @assigned_technicians
end

#poaPeddler::APIs::ServicesV1::Poa? (readonly)

Returns the value of attribute poa.



60
61
62
# File 'sig/peddler/apis/services_v1.rbs', line 60

def poa
  @poa
end

#rescheduled_appointment_idString? (readonly)

Returns the value of attribute rescheduled_appointment_id.

Returns:

  • (String, nil)


61
62
63
# File 'sig/peddler/apis/services_v1.rbs', line 61

def rescheduled_appointment_id
  @rescheduled_appointment_id
end

Class Method Details

.[](appointment_id:, appointment_status:, appointment_time:, assigned_technicians:, poa:, rescheduled_appointment_id:) ⇒ Peddler::APIs::ServicesV1::Appointment .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::ServicesV1::Appointment

Overloads:



49
50
# File 'sig/peddler/apis/services_v1.rbs', line 49

def self.[]: (?appointment_id: String?, ?appointment_status: String?, ?appointment_time: Peddler::APIs::ServicesV1::AppointmentTime?, ?assigned_technicians: Array[Peddler::APIs::ServicesV1::Technician]?, ?poa: Peddler::APIs::ServicesV1::Poa?, ?rescheduled_appointment_id: String?) -> Peddler::APIs::ServicesV1::Appointment
| (String?, String?, Peddler::APIs::ServicesV1::AppointmentTime?, Array[Peddler::APIs::ServicesV1::Technician]?, Peddler::APIs::ServicesV1::Poa?, String?) -> Peddler::APIs::ServicesV1::Appointment

.members[ :appointment_id, :appointment_status, :appointment_time, :assigned_technicians, :poa, :rescheduled_appointment_id ]

Returns:

  • ([ :appointment_id, :appointment_status, :appointment_time, :assigned_technicians, :poa, :rescheduled_appointment_id ])


52
# File 'sig/peddler/apis/services_v1.rbs', line 52

def self.members: () -> [ :appointment_id, :appointment_status, :appointment_time, :assigned_technicians, :poa, :rescheduled_appointment_id ]

.new(appointment_id:, appointment_status:, appointment_time:, assigned_technicians:, poa:, rescheduled_appointment_id:) ⇒ Peddler::APIs::ServicesV1::Appointment .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::ServicesV1::Appointment

Overloads:



47
48
# File 'sig/peddler/apis/services_v1.rbs', line 47

def self.new: (?appointment_id: String?, ?appointment_status: String?, ?appointment_time: Peddler::APIs::ServicesV1::AppointmentTime?, ?assigned_technicians: Array[Peddler::APIs::ServicesV1::Technician]?, ?poa: Peddler::APIs::ServicesV1::Poa?, ?rescheduled_appointment_id: String?) -> Peddler::APIs::ServicesV1::Appointment
| (String?, String?, Peddler::APIs::ServicesV1::AppointmentTime?, Array[Peddler::APIs::ServicesV1::Technician]?, Peddler::APIs::ServicesV1::Poa?, String?) -> Peddler::APIs::ServicesV1::Appointment

.parsePeddler::APIs::ServicesV1::Appointment

Parameters:

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

Returns:



54
# File 'sig/peddler/apis/services_v1.rbs', line 54

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

Instance Method Details

#members[ :appointment_id, :appointment_status, :appointment_time, :assigned_technicians, :poa, :rescheduled_appointment_id ]

Returns:

  • ([ :appointment_id, :appointment_status, :appointment_time, :assigned_technicians, :poa, :rescheduled_appointment_id ])


63
# File 'sig/peddler/apis/services_v1.rbs', line 63

def members: () -> [ :appointment_id, :appointment_status, :appointment_time, :assigned_technicians, :poa, :rescheduled_appointment_id ]

#to_h{ appointment_id: String?, appointment_status: String?, appointment_time: Peddler::APIs::ServicesV1::AppointmentTime?, assigned_technicians: Array[Peddler::APIs::ServicesV1::Technician]?, poa: Peddler::APIs::ServicesV1::Poa?, rescheduled_appointment_id: String? }

Returns:



64
# File 'sig/peddler/apis/services_v1.rbs', line 64

def to_h: () -> { appointment_id: String?, appointment_status: String?, appointment_time: Peddler::APIs::ServicesV1::AppointmentTime?, assigned_technicians: Array[Peddler::APIs::ServicesV1::Technician]?, poa: Peddler::APIs::ServicesV1::Poa?, rescheduled_appointment_id: String? }