NetworkCreate extends BaseEndpoint implements Endpoint Uses EndpointTrait
Interfaces, Classes and Traits
Table of Contents
- $body : mixed
- $headerParameters : mixed
- $queryParameters : mixed
- __construct() : mixed
- getAuthenticationScopes() : array<string|int, mixed>
- Get security scopes of an endpoint.
- getBody() : array<string|int, mixed>
- Get body for an endpoint.
- getExtraHeaders() : array<string|int, mixed>
- getHeaders() : array<string|int, mixed>
- Get the headers of an endpoint.
- getMethod() : string
- Get the HTTP method of an endpoint (like GET, POST, ...).
- getQueryString() : string
- Get the query string of an endpoint without the starting ? (like foo=foo&bar=bar).
- getUri() : string
- Get the URI of an endpoint (like /foo-uri).
- parseResponse() : mixed
- getFormBody() : array<string|int, mixed>
- getFormOptionsResolver() : OptionsResolver
- getHeadersOptionsResolver() : OptionsResolver
- getMultipartBody() : array<string|int, mixed>
- getQueryOptionsResolver() : OptionsResolver
- getSerializedBody() : array<string|int, mixed>
- transformResponseBody() : NetworksCreatePostResponse201|null
Properties
$body
    protected
        mixed
    $body
    
    
    
$headerParameters
    protected
        mixed
    $headerParameters
     = []
    
    
$queryParameters
    protected
        mixed
    $queryParameters
     = []
    
    
Methods
__construct()
    public
                __construct(NetworksCreatePostBody $networkConfig) : mixed
        
        Parameters
- $networkConfig : NetworksCreatePostBody
- 
                    Network configuration 
Return values
mixed —getAuthenticationScopes()
Get security scopes of an endpoint.
    public
                getAuthenticationScopes() : array<string|int, mixed>
        
    
    
        Return values
array<string|int, mixed> —getBody()
Get body for an endpoint.
    public
                getBody(SerializerInterface $serializer[, mixed $streamFactory = null ]) : array<string|int, mixed>
        Return value consist of an array where the first item will be a list of headers to add on the request (like the Content Type) And the second value consist of the body object.
Parameters
- $serializer : SerializerInterface
- $streamFactory : mixed = null
Return values
array<string|int, mixed> —getExtraHeaders()
    public
                getExtraHeaders() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —getHeaders()
Get the headers of an endpoint.
    public
                getHeaders([array<string|int, mixed> $baseHeaders = [] ]) : array<string|int, mixed>
        
        Parameters
- $baseHeaders : array<string|int, mixed> = []
Return values
array<string|int, mixed> —getMethod()
Get the HTTP method of an endpoint (like GET, POST, ...).
    public
                getMethod() : string
        
    
    
        Return values
string —getQueryString()
Get the query string of an endpoint without the starting ? (like foo=foo&bar=bar).
    public
                getQueryString() : string
        
    
    
        Return values
string —getUri()
Get the URI of an endpoint (like /foo-uri).
    public
                getUri() : string
        
    
    
        Return values
string —parseResponse()
    public
                parseResponse(ResponseInterface $response, SerializerInterface $serializer[, string $fetchMode = Client::FETCH_OBJECT ]) : mixed
    
        Parameters
- $response : ResponseInterface
- $serializer : SerializerInterface
- $fetchMode : string = Client::FETCH_OBJECT
Return values
mixed —getFormBody()
    protected
                getFormBody() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —getFormOptionsResolver()
    protected
                getFormOptionsResolver() : OptionsResolver
    
    
    
        Return values
OptionsResolver —getHeadersOptionsResolver()
    protected
                getHeadersOptionsResolver() : OptionsResolver
    
    
    
        Return values
OptionsResolver —getMultipartBody()
    protected
                getMultipartBody([mixed $streamFactory = null ]) : array<string|int, mixed>
    
        Parameters
- $streamFactory : mixed = null
Return values
array<string|int, mixed> —getQueryOptionsResolver()
    protected
                getQueryOptionsResolver() : OptionsResolver
    
    
    
        Return values
OptionsResolver —getSerializedBody()
    protected
                getSerializedBody(SerializerInterface $serializer) : array<string|int, mixed>
    
        Parameters
- $serializer : SerializerInterface
Return values
array<string|int, mixed> —transformResponseBody()
    protected
                transformResponseBody(string $body, int $status, SerializerInterface $serializer, string|null $contentType) : NetworksCreatePostResponse201|null
        
        Parameters
- $body : string
- $status : int
- $serializer : SerializerInterface
- $contentType : string|null