Interface OperationInterface
Interface defining data objects that hold the information of an API operation
- Guzzle\Service\Description\OperationInterface implements Guzzle\Common\ToArrayInterface
Direct known implementers
Guzzle\Service\Description\Operation
Namespace: Guzzle\Service\Description
Located at src/Guzzle/Service/Description/OperationInterface.php
Located at src/Guzzle/Service/Description/OperationInterface.php
public
|
|
public
|
#
setServiceDescription(
Set the service description that the operation belongs to |
public
array
|
|
public
array
|
|
public
boolean
|
|
public
|
|
public
string|null
|
|
public
string
|
|
public
string|null
|
|
public
string|null
|
|
public
string|null
|
|
public
string|null
|
|
public
string|null
|
#
getResponseClass( )
Get what is returned from the method. Can be a primitive, class name, or model. For example, the responseClass could be 'array', which would inherently use a responseType of 'primitive'. Using a class name would set a responseType of 'class'. Specifying a model by ID will use a responseType of 'model'. |
public
string
|
#
getResponseType( )
Get information about how the response is unmarshalled: One of 'primitive', 'class', 'model', or 'documentation' |
public
string|null
|
|
public
boolean
|
|
public
string
|
|
public
array
|
|
public
mixed|null
|
toArray()
|
string |
TYPE_PRIMITIVE
|
#
'primitive'
|
string |
TYPE_CLASS
|
#
'class'
|
string |
TYPE_DOCUMENTATION
|
#
'documentation'
|
string |
TYPE_MODEL
|
#
'model'
|