Medical Appointments API

AppointmentTimeIntervalDomain
in package
implements JsonSerializable

Tags
OA\Schema

( schema="AppointmentTimeInterval", title="AppointmentTimeInterval", description="AppointmentTimeInterval model", required={"startTime", "endTime"}, @OA\Property ( property="startTime", type="integer", format="int64", description="Start time of the time interval in Unix timestamp", example=1616598000 ), @OA\Property ( property="endTime", type="integer", format="int64", description="End time of the time interval in Unix timestamp", example=1616598000 ) )

Interfaces, Classes, Traits and Enums

JsonSerializable

Table of Contents

$endTime  : int|null
$scheduleTimeSlotId  : int|null
$startTime  : int|null
getEndTime()  : int|null
Gets the end time of the appointment time interval.
getScheduleTimeSlotId()  : int|null
Gets the ID of the schedule time slot for the appointment time interval.
getStartTime()  : int|null
Gets the start time of the appointment time interval.
jsonSerialize()  : array<string|int, mixed>
Serializes the appointment time interval domain to JSON.
newInstance()  : self
Creates a new instance of the appointment time interval domain.
setEndTime()  : self
Sets the end time of the appointment time interval.
setScheduleTimeSlotId()  : self
Sets the ID of the schedule time slot for the appointment time interval.
setStartTime()  : self
Sets the start time of the appointment time interval.

Properties

$scheduleTimeSlotId

private int|null $scheduleTimeSlotId = null

The ID of the schedule time slot for the appointment time interval.

Methods

getEndTime()

Gets the end time of the appointment time interval.

public getEndTime() : int|null
Return values
int|null

The end time of the appointment time interval.

getScheduleTimeSlotId()

Gets the ID of the schedule time slot for the appointment time interval.

public getScheduleTimeSlotId() : int|null
Return values
int|null

The ID of the schedule time slot for the appointment time interval.

getStartTime()

Gets the start time of the appointment time interval.

public getStartTime() : int|null
Return values
int|null

The start time of the appointment time interval.

jsonSerialize()

Serializes the appointment time interval domain to JSON.

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

The serialized appointment time interval domain.

newInstance()

Creates a new instance of the appointment time interval domain.

public static newInstance() : self
Return values
self

The new instance of the appointment time interval domain.

setEndTime()

Sets the end time of the appointment time interval.

public setEndTime(int|null $endTime) : self
Parameters
$endTime : int|null

The end time of the appointment time interval.

Return values
self

The current instance of the domain.

setScheduleTimeSlotId()

Sets the ID of the schedule time slot for the appointment time interval.

public setScheduleTimeSlotId(int|null $scheduleTimeSlotId) : self
Parameters
$scheduleTimeSlotId : int|null

The ID of the schedule time slot for the appointment time interval.

Return values
self

The current instance of the domain.

setStartTime()

Sets the start time of the appointment time interval.

public setStartTime(int|null $startTime) : self
Parameters
$startTime : int|null

The start time of the appointment time interval.

Return values
self

The current instance of the domain.

Search results