Overview
ThePingReturnType model represents the response returned by the pingGet() method in the BasicApi. It confirms the API is accessible and responsive.
Properties
Response code indicating the status of the ping request. A value of
0 typically indicates success.Ping response message, typically “pong” or a timestamp confirming the server is responsive.
Example JSON
Usage Example
Methods
Getters
getCode(): int- Get the response codegetPing(): string- Get the ping response message
Setters
setCode(int $code): self- Set the response codesetPing(string $ping): self- Set the ping response message
Related
- BasicApi - Returns this model from
pingGet()method