Outgoing

Outgoing Entity for recording outgoing traffic to target endpoints

package

App\Entity

ORM\Table

(name="outgoing")

ORM\Entity

(repositoryClass="App\Repository\OutgoingRepository")

Methods

Doctrine PrePersist actions triggered when record row is requested

createdOnPrePersit() 
ORM\PrePersist

Get the Content Body

getBody() : null|string

Response

null|string

Get the Delay in seconds

getDelay() : integer|null

Response

integer|null

Get the GPS Id

getGpsID() : null|string

Response

null|string

Get the Headers array

getHeaders() : array|null

Response

array|null

Get the Outgoing Id

getId() : integer|null

Response

integer|null

Get the Incoming ID associated with this Outgoing payload

getIncomingId() : \App\Entity\Incoming

Get the Sent Epoch timestamp

getSent() : integer|null

Response

integer|null

Get the Status Code

getStatusCode() : integer|null

Response

integer|null

Get the Target Id

getTargetId() : null|string

Response

null|string

Set the Content Body

setBody(string $body) : \App\Entity\Outgoing

Arguments

$body

string

Response

\App\Entity\Outgoing

Sets the $created timestamp

setCreated(integer $created) : \App\Entity\Outgoing

Arguments

$created

integer

Response

\App\Entity\Outgoing

Set the Delay in seconds

setDelay(integer $delay) : \App\Entity\Outgoing

Arguments

$delay

integer

Response

\App\Entity\Outgoing

Set the GPS Id

setGpsId(string $GpsId) : \App\Entity\Outgoing

Arguments

$GpsId

string

Response

\App\Entity\Outgoing

Set the Headers array

setHeaders(array $headers) : \App\Entity\Outgoing

Arguments

$headers

array

Response

\App\Entity\Outgoing

Set the Incoming ID associated to this Outgoing POST

setIncomingId(\App\Entity\Incoming $incomingId) : \App\Entity\Outgoing

Arguments

$incomingId

\App\Entity\Incoming

Response

\App\Entity\Outgoing

Set the Sent Epoch timestamp

setSent(integer $sent) : \App\Entity\Outgoing

Arguments

$sent

integer

Response

\App\Entity\Outgoing

Set the Status Code

setStatusCode(integer $status_code) : \App\Entity\Outgoing

Arguments

$status_code

integer

Response

\App\Entity\Outgoing

Set the Target Id

setTargetId(string $targetId) : \App\Entity\Outgoing

Arguments

$targetId

string

Response

\App\Entity\Outgoing

Properties

Auto incremented ID

id : 
ORM\Id

()

ORM\GeneratedValue

()

ORM\Column

(type="integer")

Type(s)

Target ID for outgoing traffic

targetId : 
ORM\Column

(type="text", length=32)

Assert\NotNull

()

Type(s)

GPS ID of outgoing traffic

gpsId : 
ORM\Column

(type="text", length=32, nullable=false)

Assert\NotNull

()

Type(s)

Status Code received from target endpoint server

status_code : 
ORM\Column

(type="integer", length=3)

Assert\NotNull

()

Type(s)

Headers received from target endpoint server

headers : 
ORM\Column

(type="json")

Type(s)

Content Body received from target endpoint server

body : 
ORM\Column

(type="text")

Type(s)

Time set to target endpoint server

sent : 
ORM\Column

(type="integer", length=11)

Assert\NotNull

()

Type(s)

Delay in seconds for round trip

delay : 
ORM\Column

(type="integer", nullable=true, length=11)

Type(s)

UTC timestamp of when record was created

created : integer
var
Gedmo\Timestampable

(on="create")

ORM\Column

(type="integer", name="created", nullable=true)

Assert\NotNull

()

Type(s)

integer

Incoming ID entity associated with this Outgoing record

incomingId : \App\Entity\Incoming
var
ORM\ManyToOne

(targetEntity="App\Entity\Incoming", inversedBy="outgoings")

ORM\JoinColumn

(nullable=false)

Type(s)

\App\Entity\Incoming