Core/RestCalls/RequestParameters.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\RequestParameters

Package: Default
Parameters for calling Rest calls.

Properties

>VPropertypublicstring $ApiName
the name of the API.
Details
Type
string
>VPropertypublicstring $ContentType
The type of the content.
Details
Type
string
>VPropertypublicstring $HttpVerbType
The http verb.
Details
Type
string
>VPropertypublicstring $ResourceUri
The resource URI.
Details
Type
string

Methods

methodpublicRequestParameters(string $resourceUri, string $verb, string $contentType, string $apiName = NULL) : void

Initializes a new instance of the RequestParameters class.

Parameters
NameTypeDescription
$resourceUristring

The resource URI.

$verbstring

The http verb.

$contentTypestring

The type of the content.

$apiNamestring

the name of the API.

Documentation was generated by phpDocumentor 2.8.5.