Medical Appointments API

MedicalCentersByPostalCodeResponseDomain
in package
implements JsonSerializable

Represents a object with the list of medical centers by postal code.

Tags
OA\Schema

( title="MedicalCentersByPostalCodeResponse", description="Response object for retrieving medical centers by postal code.", @OA\Property( property="medicalCenters", description="The list of medical centers.", type="array", @OA\Items(ref="#/components/schemas/MedicalCenter") ), @OA\Property( property="municipality", description="The postal code.", type="object", ref="#/components/schemas/Municipality" ), @OA\Property( property="postalCode", description="The postal code.", type="integer", format="int32", example=28001 ) )

Interfaces, Classes, Traits and Enums

JsonSerializable

Table of Contents

$medicalCenters  : array<string|int, mixed>
$municipality  : MunicipalityDomain|null
$postalCode  : int|null
getMedicalCenters()  : array<string|int, mixed>
Get the list of medical centers.
getMunicipality()  : MunicipalityDomain|null
Get the municipality domain object.
getPostalCode()  : int|null
Get the postal code.
jsonSerialize()  : array<string|int, mixed>
Description of the jsonSerialize method.
setMedicalCenters()  : self
Set the list of medical centers.
setMunicipality()  : self
Set the municipality domain object.
setPostalCode()  : self
Set the postal code.

Properties

Methods

getMedicalCenters()

Get the list of medical centers.

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

The list of medical centers.

jsonSerialize()

Description of the jsonSerialize method.

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

Description of the return value.

setMedicalCenters()

Set the list of medical centers.

public setMedicalCenters(array<string|int, mixed> $medicalCenters) : self
Parameters
$medicalCenters : array<string|int, mixed>

The list of medical centers.

Return values
self

Search results