InitializationCommandResponseData
in package
implements
ResponseDataContract
Uses
ResponseDataTrait, UrlJsonResponseAttributeTrait, CodeJsonResponseAttributeTrait, MessageJsonResponseAttributeTrait
Read onlyYes
Class InitializationCommandResponseData
Response data for the initialization command.
Table of Contents
Interfaces
- ResponseDataContract
- ResponseDataContract interface.
Properties
- $response : object
- The response object.
Methods
- getCode() : int
- Get the code from the JSON response.
- getMessage() : string
- Get the message from the JSON response.
- getUrl() : string
- Get the URL from the JSON response.
- handle() : self
- Handle the JSON response object.
Properties
$response read-only
The response object.
private
object
$response
Methods
getCode()
Get the code from the JSON response.
public
getCode() : int
Return values
int —The code.
getMessage()
Get the message from the JSON response.
public
getMessage() : string
Return values
string —The message.
getUrl()
Get the URL from the JSON response.
public
getUrl() : string
Return values
string —The URL.
handle()
Handle the JSON response object.
public
handle(object $response) : self
Parameters
- $response : object
-
The JSON response object.
Return values
self —The instance of the class.