Documentation

DiseaseAreaReport extends Resource
in package
implements ResourceInterface

A DiseaseAreaReport object as returned by the Travel Restrictions API.

Tags
see
Covid19AreaReport::get()
link
https://developers.amadeus.com/self-service/category/covid-19-and-travel-safety/api-doc/travel-restrictions/api-reference

Interfaces, Classes, Traits and Enums

ResourceInterface

Table of Contents

$area  : object|null
$areaAccessRestriction  : object|null
$areaPolicy  : object|null
$areaRestrictions  : array<string|int, mixed>|null
$areaVaccinated  : array<string|int, mixed>|null
$dataSources  : object|null
$diseaseCases  : object|null
$diseaseInfection  : object|null
$diseaseRiskLevel  : string|null
$hotspots  : string|null
$relatedArea  : array<string|int, mixed>|null
$response  : Response|null
$subAreas  : array<string|int, mixed>|null
$summary  : string|null
$type  : string|null
__set()  : void
__toString()  : string
fromArray()  : array<string|int, mixed>
fromObject()  : object
getArea()  : Area|null
getAreaAccessRestriction()  : AreaAccessRestriction|null
getAreaPolicy()  : AreaPolicy|null
getAreaRestrictions()  : array<string|int, AreaRestriction>|null
getAreaVaccinated()  : array<string|int, AreaVaccinated>|null
getDataSources()  : DiseaseDataSources|null
getDiseaseCases()  : DiseaseCase|null
getDiseaseInfection()  : DiseaseInfection|null
getDiseaseRiskLevel()  : string|null
getHotspots()  : string|null
getRelatedArea()  : array<string|int, Link>|null
getResponse()  : Response|null
getSubAreas()  : array<string|int, mixed>|null
getSummary()  : string|null
getType()  : string|null
toArray()  : array<string|int, mixed>
For fitting into the Laravel framework Transform the resource into an array.
toResourceArray()  : array<string|int, mixed>
toResourceObject()  : object
toString()  : string

Properties

$areaRestrictions

private array<string|int, mixed>|null $areaRestrictions = null

$areaVaccinated

private array<string|int, mixed>|null $areaVaccinated = null

Methods

__set()

public __set(mixed $name, mixed $value) : void
Parameters
$name : mixed
$value : mixed
Return values
void

fromArray()

public static fromArray(Response $response, string $class) : array<string|int, mixed>
Parameters
$response : Response
$class : string
Return values
array<string|int, mixed>

fromObject()

public static fromObject(Response $response, string $class) : object
Parameters
$response : Response
$class : string
Return values
object

getDiseaseRiskLevel()

public getDiseaseRiskLevel() : string|null
Return values
string|null

getHotspots()

public getHotspots() : string|null
Return values
string|null

getRelatedArea()

public getRelatedArea() : array<string|int, Link>|null
Return values
array<string|int, Link>|null

getSubAreas()

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

getSummary()

public getSummary() : string|null
Return values
string|null

toArray()

For fitting into the Laravel framework Transform the resource into an array.

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

toResourceArray()

public static toResourceArray(array<string|int, mixed> $array, string $class) : array<string|int, mixed>
Parameters
$array : array<string|int, mixed>
$class : string
Return values
array<string|int, mixed>

toResourceObject()

public static toResourceObject(object $object, string $class) : object
Parameters
$object : object
$class : string
Return values
object

toString()

public static toString( $array) : string
Parameters
$array :
Return values
string

Search results