Documentation

DelayPrediction extends Resource
in package
implements ResourceInterface

A DelayPrediction object as returned by the Airport Routes API.

Tags
see
FlightDelay::get()
link
https://developers.amadeus.com/self-service/category/air/api-doc/flight-delay-prediction/api-reference

Interfaces, Classes, Traits and Enums

ResourceInterface

Table of Contents

$id  : string|null
$probability  : string|null
$response  : Response|null
$result  : string|null
$subType  : string|null
$type  : string|null
__set()  : void
__toString()  : string
fromArray()  : array<string|int, mixed>
fromObject()  : object
getId()  : string|null
getProbability()  : string|null
getResponse()  : Response|null
getResult()  : string|null
getSubType()  : 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

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

getProbability()

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

getResult()

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

getSubType()

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

getType()

public getType() : 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