Documentation

GISApi
in package

GISApi Class Doc Comment

Tags
author

OpenAPI Generator team

link
https://openapi-generator.tech

Table of Contents

Constants

contentTypes  : array<string, array<string|int, string>> = ['copyGeoReference' => ['application/json'], 'e...

Properties

$client  : ClientInterface
$config  : Configuration
$headerSelector  : HeaderSelector
$hostIndex  : int

Methods

__construct()  : mixed
copyGeoReference()  : CopiedGeoReference|ErrorResponse
Operation copyGeoReference
copyGeoReferenceAsync()  : PromiseInterface
Operation copyGeoReferenceAsync
copyGeoReferenceAsyncWithHttpInfo()  : PromiseInterface
Operation copyGeoReferenceAsyncWithHttpInfo
copyGeoReferenceRequest()  : Request
Create request for operation 'copyGeoReference'
copyGeoReferenceWithHttpInfo()  : ErrorResponse, 1: int, 2: array}
Operation copyGeoReferenceWithHttpInfo
exportCityGML3()  : SplFileObject|ErrorResponse
Operation exportCityGML3
exportCityGML3Async()  : PromiseInterface
Operation exportCityGML3Async
exportCityGML3AsyncWithHttpInfo()  : PromiseInterface
Operation exportCityGML3AsyncWithHttpInfo
exportCityGML3Request()  : Request
Create request for operation 'exportCityGML3'
exportCityGML3WithHttpInfo()  : ErrorResponse, 1: int, 2: array}
Operation exportCityGML3WithHttpInfo
extractGeoReference()  : ExtractedGeoReference|ErrorResponse
Operation extractGeoReference
extractGeoReferenceAsync()  : PromiseInterface
Operation extractGeoReferenceAsync
extractGeoReferenceAsyncWithHttpInfo()  : PromiseInterface
Operation extractGeoReferenceAsyncWithHttpInfo
extractGeoReferenceRequest()  : Request
Create request for operation 'extractGeoReference'
extractGeoReferenceWithHttpInfo()  : ErrorResponse, 1: int, 2: array}
Operation extractGeoReferenceWithHttpInfo
generate3DTilesUrl()  : Generate3DTilesUrl200Response|ErrorResponse
Operation generate3DTilesUrl
generate3DTilesUrlAsync()  : PromiseInterface
Operation generate3DTilesUrlAsync
generate3DTilesUrlAsyncWithHttpInfo()  : PromiseInterface
Operation generate3DTilesUrlAsyncWithHttpInfo
generate3DTilesUrlRequest()  : Request
Create request for operation 'generate3DTilesUrl'
generate3DTilesUrlWithHttpInfo()  : ErrorResponse, 1: int, 2: array}
Operation generate3DTilesUrlWithHttpInfo
getConfig()  : Configuration
getGeoReference()  : GeoReferenceResult|ErrorResponse
Operation getGeoReference
getGeoReferenceAsync()  : PromiseInterface
Operation getGeoReferenceAsync
getGeoReferenceAsyncWithHttpInfo()  : PromiseInterface
Operation getGeoReferenceAsyncWithHttpInfo
getGeoReferenceRequest()  : Request
Create request for operation 'getGeoReference'
getGeoReferenceWithHttpInfo()  : ErrorResponse, 1: int, 2: array}
Operation getGeoReferenceWithHttpInfo
getHostIndex()  : int
Get the host index
setGeoReference()  : ErrorResponse|null
Operation setGeoReference
setGeoReferenceAsync()  : PromiseInterface
Operation setGeoReferenceAsync
setGeoReferenceAsyncWithHttpInfo()  : PromiseInterface
Operation setGeoReferenceAsyncWithHttpInfo
setGeoReferenceRequest()  : Request
Create request for operation 'setGeoReference'
setGeoReferenceWithHttpInfo()  : array{0: null, 1: int, 2: array}
Operation setGeoReferenceWithHttpInfo
setHostIndex()  : void
Set the host index
createHttpClientOption()  : array<string|int, mixed>
Create http client option
getExceptionResponse()  : ResponseInterface|null
Returns the response attached to a Guzzle exception, if there is one.
handleResponseWithDataType()  : array<string|int, mixed>
responseWithinRangeCode()  : bool

Constants

contentTypes

public array<string, array<string|int, string>> contentTypes = ['copyGeoReference' => ['application/json'], 'exportCityGML3' => ['application/json'], 'extractGeoReference' => ['application/json'], 'generate3DTilesUrl' => ['application/json'], 'getGeoReference' => ['application/json'], 'setGeoReference' => ['application/json']]

Properties

$client

protected ClientInterface $client

$hostIndex

protected int $hostIndex

Host index

Methods

__construct()

public __construct([ClientInterface|null $client = null ][, Configuration|null $config = null ][, HeaderSelector|null $selector = null ][, int $hostIndex = 0 ]) : mixed
Parameters
$client : ClientInterface|null = null
$config : Configuration|null = null
$selector : HeaderSelector|null = null
$hostIndex : int = 0

(Optional) host index to select the list of hosts if defined in the OpenAPI spec

copyGeoReference()

Operation copyGeoReference

public copyGeoReference(CopyGeoReferenceRequest $copy_geo_reference_request[, string $contentType = self::contentTypes['copyGeoReference'][0] ]) : CopiedGeoReference|ErrorResponse

Give a Version the georeference of another

Parameters
$copy_geo_reference_request : CopyGeoReferenceRequest

copy_geo_reference_request (required)

$contentType : string = self::contentTypes['copyGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['copyGeoReference'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
CopiedGeoReference|ErrorResponse

copyGeoReferenceAsync()

Operation copyGeoReferenceAsync

public copyGeoReferenceAsync(CopyGeoReferenceRequest $copy_geo_reference_request[, string $contentType = self::contentTypes['copyGeoReference'][0] ]) : PromiseInterface

Give a Version the georeference of another

Parameters
$copy_geo_reference_request : CopyGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['copyGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['copyGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

copyGeoReferenceAsyncWithHttpInfo()

Operation copyGeoReferenceAsyncWithHttpInfo

public copyGeoReferenceAsyncWithHttpInfo(CopyGeoReferenceRequest $copy_geo_reference_request[, string $contentType = self::contentTypes['copyGeoReference'][0] ]) : PromiseInterface

Give a Version the georeference of another

Parameters
$copy_geo_reference_request : CopyGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['copyGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['copyGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

copyGeoReferenceRequest()

Create request for operation 'copyGeoReference'

public copyGeoReferenceRequest(CopyGeoReferenceRequest $copy_geo_reference_request[, string $contentType = self::contentTypes['copyGeoReference'][0] ]) : Request
Parameters
$copy_geo_reference_request : CopyGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['copyGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['copyGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
Request

copyGeoReferenceWithHttpInfo()

Operation copyGeoReferenceWithHttpInfo

public copyGeoReferenceWithHttpInfo(CopyGeoReferenceRequest $copy_geo_reference_request[, string $contentType = self::contentTypes['copyGeoReference'][0] ]) : ErrorResponse, 1: int, 2: array}

Give a Version the georeference of another

Parameters
$copy_geo_reference_request : CopyGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['copyGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['copyGeoReference'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
ErrorResponse, 1: int, 2: array} —

[response data, HTTP status code, HTTP response headers]

exportCityGML3()

Operation exportCityGML3

public exportCityGML3(ExportCityGML3Request $export_city_gml3_request[, string $contentType = self::contentTypes['exportCityGML3'][0] ]) : SplFileObject|ErrorResponse

Export one or more IFC models to CityGML 3 or CityJSON 2

Parameters
$export_city_gml3_request : ExportCityGML3Request

export_city_gml3_request (required)

$contentType : string = self::contentTypes['exportCityGML3'][0]

The value for the Content-Type header. Check self::contentTypes['exportCityGML3'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
SplFileObject|ErrorResponse

exportCityGML3Async()

Operation exportCityGML3Async

public exportCityGML3Async(ExportCityGML3Request $export_city_gml3_request[, string $contentType = self::contentTypes['exportCityGML3'][0] ]) : PromiseInterface

Export one or more IFC models to CityGML 3 or CityJSON 2

Parameters
$export_city_gml3_request : ExportCityGML3Request

(required)

$contentType : string = self::contentTypes['exportCityGML3'][0]

The value for the Content-Type header. Check self::contentTypes['exportCityGML3'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

exportCityGML3AsyncWithHttpInfo()

Operation exportCityGML3AsyncWithHttpInfo

public exportCityGML3AsyncWithHttpInfo(ExportCityGML3Request $export_city_gml3_request[, string $contentType = self::contentTypes['exportCityGML3'][0] ]) : PromiseInterface

Export one or more IFC models to CityGML 3 or CityJSON 2

Parameters
$export_city_gml3_request : ExportCityGML3Request

(required)

$contentType : string = self::contentTypes['exportCityGML3'][0]

The value for the Content-Type header. Check self::contentTypes['exportCityGML3'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

exportCityGML3Request()

Create request for operation 'exportCityGML3'

public exportCityGML3Request(ExportCityGML3Request $export_city_gml3_request[, string $contentType = self::contentTypes['exportCityGML3'][0] ]) : Request
Parameters
$export_city_gml3_request : ExportCityGML3Request

(required)

$contentType : string = self::contentTypes['exportCityGML3'][0]

The value for the Content-Type header. Check self::contentTypes['exportCityGML3'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
Request

exportCityGML3WithHttpInfo()

Operation exportCityGML3WithHttpInfo

public exportCityGML3WithHttpInfo(ExportCityGML3Request $export_city_gml3_request[, string $contentType = self::contentTypes['exportCityGML3'][0] ]) : ErrorResponse, 1: int, 2: array}

Export one or more IFC models to CityGML 3 or CityJSON 2

Parameters
$export_city_gml3_request : ExportCityGML3Request

(required)

$contentType : string = self::contentTypes['exportCityGML3'][0]

The value for the Content-Type header. Check self::contentTypes['exportCityGML3'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
ErrorResponse, 1: int, 2: array} —

[response data, HTTP status code, HTTP response headers]

extractGeoReference()

Operation extractGeoReference

public extractGeoReference(ExtractGeoReferenceRequest $extract_geo_reference_request[, string $contentType = self::contentTypes['extractGeoReference'][0] ]) : ExtractedGeoReference|ErrorResponse

Compute a georeference from the model

Parameters
$extract_geo_reference_request : ExtractGeoReferenceRequest

extract_geo_reference_request (required)

$contentType : string = self::contentTypes['extractGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['extractGeoReference'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
ExtractedGeoReference|ErrorResponse

extractGeoReferenceAsync()

Operation extractGeoReferenceAsync

public extractGeoReferenceAsync(ExtractGeoReferenceRequest $extract_geo_reference_request[, string $contentType = self::contentTypes['extractGeoReference'][0] ]) : PromiseInterface

Compute a georeference from the model

Parameters
$extract_geo_reference_request : ExtractGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['extractGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['extractGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

extractGeoReferenceAsyncWithHttpInfo()

Operation extractGeoReferenceAsyncWithHttpInfo

public extractGeoReferenceAsyncWithHttpInfo(ExtractGeoReferenceRequest $extract_geo_reference_request[, string $contentType = self::contentTypes['extractGeoReference'][0] ]) : PromiseInterface

Compute a georeference from the model

Parameters
$extract_geo_reference_request : ExtractGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['extractGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['extractGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

extractGeoReferenceRequest()

Create request for operation 'extractGeoReference'

public extractGeoReferenceRequest(ExtractGeoReferenceRequest $extract_geo_reference_request[, string $contentType = self::contentTypes['extractGeoReference'][0] ]) : Request
Parameters
$extract_geo_reference_request : ExtractGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['extractGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['extractGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
Request

extractGeoReferenceWithHttpInfo()

Operation extractGeoReferenceWithHttpInfo

public extractGeoReferenceWithHttpInfo(ExtractGeoReferenceRequest $extract_geo_reference_request[, string $contentType = self::contentTypes['extractGeoReference'][0] ]) : ErrorResponse, 1: int, 2: array}

Compute a georeference from the model

Parameters
$extract_geo_reference_request : ExtractGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['extractGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['extractGeoReference'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
ErrorResponse, 1: int, 2: array} —

[response data, HTTP status code, HTTP response headers]

generate3DTilesUrl()

Operation generate3DTilesUrl

public generate3DTilesUrl(Generate3DTilesUrlRequest $generate3_d_tiles_url_request[, string $contentType = self::contentTypes['generate3DTilesUrl'][0] ]) : Generate3DTilesUrl200Response|ErrorResponse

Create a signed 3D Tiles tileset URL for a folder or a set of versions

Parameters
$generate3_d_tiles_url_request : Generate3DTilesUrlRequest

generate3_d_tiles_url_request (required)

$contentType : string = self::contentTypes['generate3DTilesUrl'][0]

The value for the Content-Type header. Check self::contentTypes['generate3DTilesUrl'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
Generate3DTilesUrl200Response|ErrorResponse

generate3DTilesUrlAsync()

Operation generate3DTilesUrlAsync

public generate3DTilesUrlAsync(Generate3DTilesUrlRequest $generate3_d_tiles_url_request[, string $contentType = self::contentTypes['generate3DTilesUrl'][0] ]) : PromiseInterface

Create a signed 3D Tiles tileset URL for a folder or a set of versions

Parameters
$generate3_d_tiles_url_request : Generate3DTilesUrlRequest

(required)

$contentType : string = self::contentTypes['generate3DTilesUrl'][0]

The value for the Content-Type header. Check self::contentTypes['generate3DTilesUrl'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

generate3DTilesUrlAsyncWithHttpInfo()

Operation generate3DTilesUrlAsyncWithHttpInfo

public generate3DTilesUrlAsyncWithHttpInfo(Generate3DTilesUrlRequest $generate3_d_tiles_url_request[, string $contentType = self::contentTypes['generate3DTilesUrl'][0] ]) : PromiseInterface

Create a signed 3D Tiles tileset URL for a folder or a set of versions

Parameters
$generate3_d_tiles_url_request : Generate3DTilesUrlRequest

(required)

$contentType : string = self::contentTypes['generate3DTilesUrl'][0]

The value for the Content-Type header. Check self::contentTypes['generate3DTilesUrl'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

generate3DTilesUrlRequest()

Create request for operation 'generate3DTilesUrl'

public generate3DTilesUrlRequest(Generate3DTilesUrlRequest $generate3_d_tiles_url_request[, string $contentType = self::contentTypes['generate3DTilesUrl'][0] ]) : Request
Parameters
$generate3_d_tiles_url_request : Generate3DTilesUrlRequest

(required)

$contentType : string = self::contentTypes['generate3DTilesUrl'][0]

The value for the Content-Type header. Check self::contentTypes['generate3DTilesUrl'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
Request

generate3DTilesUrlWithHttpInfo()

Operation generate3DTilesUrlWithHttpInfo

public generate3DTilesUrlWithHttpInfo(Generate3DTilesUrlRequest $generate3_d_tiles_url_request[, string $contentType = self::contentTypes['generate3DTilesUrl'][0] ]) : ErrorResponse, 1: int, 2: array}

Create a signed 3D Tiles tileset URL for a folder or a set of versions

Parameters
$generate3_d_tiles_url_request : Generate3DTilesUrlRequest

(required)

$contentType : string = self::contentTypes['generate3DTilesUrl'][0]

The value for the Content-Type header. Check self::contentTypes['generate3DTilesUrl'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
ErrorResponse, 1: int, 2: array} —

[response data, HTTP status code, HTTP response headers]

getGeoReference()

Operation getGeoReference

public getGeoReference([GetGeoReferenceRequest|null $get_geo_reference_request = null ][, string $contentType = self::contentTypes['getGeoReference'][0] ]) : GeoReferenceResult|ErrorResponse

Read or convert a georeference

Parameters
$get_geo_reference_request : GetGeoReferenceRequest|null = null

get_geo_reference_request (optional)

$contentType : string = self::contentTypes['getGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['getGeoReference'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
GeoReferenceResult|ErrorResponse

getGeoReferenceAsync()

Operation getGeoReferenceAsync

public getGeoReferenceAsync([GetGeoReferenceRequest|null $get_geo_reference_request = null ][, string $contentType = self::contentTypes['getGeoReference'][0] ]) : PromiseInterface

Read or convert a georeference

Parameters
$get_geo_reference_request : GetGeoReferenceRequest|null = null

(optional)

$contentType : string = self::contentTypes['getGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['getGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

getGeoReferenceAsyncWithHttpInfo()

Operation getGeoReferenceAsyncWithHttpInfo

public getGeoReferenceAsyncWithHttpInfo([GetGeoReferenceRequest|null $get_geo_reference_request = null ][, string $contentType = self::contentTypes['getGeoReference'][0] ]) : PromiseInterface

Read or convert a georeference

Parameters
$get_geo_reference_request : GetGeoReferenceRequest|null = null

(optional)

$contentType : string = self::contentTypes['getGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['getGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

getGeoReferenceRequest()

Create request for operation 'getGeoReference'

public getGeoReferenceRequest([GetGeoReferenceRequest|null $get_geo_reference_request = null ][, string $contentType = self::contentTypes['getGeoReference'][0] ]) : Request
Parameters
$get_geo_reference_request : GetGeoReferenceRequest|null = null

(optional)

$contentType : string = self::contentTypes['getGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['getGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
Request

getGeoReferenceWithHttpInfo()

Operation getGeoReferenceWithHttpInfo

public getGeoReferenceWithHttpInfo([GetGeoReferenceRequest|null $get_geo_reference_request = null ][, string $contentType = self::contentTypes['getGeoReference'][0] ]) : ErrorResponse, 1: int, 2: array}

Read or convert a georeference

Parameters
$get_geo_reference_request : GetGeoReferenceRequest|null = null

(optional)

$contentType : string = self::contentTypes['getGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['getGeoReference'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
ErrorResponse, 1: int, 2: array} —

[response data, HTTP status code, HTTP response headers]

getHostIndex()

Get the host index

public getHostIndex() : int
Return values
int —

Host index

setGeoReference()

Operation setGeoReference

public setGeoReference(SetGeoReferenceRequest $set_geo_reference_request[, string $contentType = self::contentTypes['setGeoReference'][0] ]) : ErrorResponse|null

Store a Version's georeference

Parameters
$set_geo_reference_request : SetGeoReferenceRequest

set_geo_reference_request (required)

$contentType : string = self::contentTypes['setGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['setGeoReference'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
ErrorResponse|null

setGeoReferenceAsync()

Operation setGeoReferenceAsync

public setGeoReferenceAsync(SetGeoReferenceRequest $set_geo_reference_request[, string $contentType = self::contentTypes['setGeoReference'][0] ]) : PromiseInterface

Store a Version's georeference

Parameters
$set_geo_reference_request : SetGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['setGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['setGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

setGeoReferenceAsyncWithHttpInfo()

Operation setGeoReferenceAsyncWithHttpInfo

public setGeoReferenceAsyncWithHttpInfo(SetGeoReferenceRequest $set_geo_reference_request[, string $contentType = self::contentTypes['setGeoReference'][0] ]) : PromiseInterface

Store a Version's georeference

Parameters
$set_geo_reference_request : SetGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['setGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['setGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
PromiseInterface

setGeoReferenceRequest()

Create request for operation 'setGeoReference'

public setGeoReferenceRequest(SetGeoReferenceRequest $set_geo_reference_request[, string $contentType = self::contentTypes['setGeoReference'][0] ]) : Request
Parameters
$set_geo_reference_request : SetGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['setGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['setGeoReference'] to see the possible values for this operation

Tags
throws
InvalidArgumentException
Return values
Request

setGeoReferenceWithHttpInfo()

Operation setGeoReferenceWithHttpInfo

public setGeoReferenceWithHttpInfo(SetGeoReferenceRequest $set_geo_reference_request[, string $contentType = self::contentTypes['setGeoReference'][0] ]) : array{0: null, 1: int, 2: array}

Store a Version's georeference

Parameters
$set_geo_reference_request : SetGeoReferenceRequest

(required)

$contentType : string = self::contentTypes['setGeoReference'][0]

The value for the Content-Type header. Check self::contentTypes['setGeoReference'] to see the possible values for this operation

Tags
throws
ApiException

on non-2xx response or if the response body is not in the expected format

InvalidArgumentException
Return values
array{0: null, 1: int, 2: array} —

[response data, HTTP status code, HTTP response headers]

setHostIndex()

Set the host index

public setHostIndex(int $hostIndex) : void
Parameters
$hostIndex : int

Host index (required)

createHttpClientOption()

Create http client option

protected createHttpClientOption() : array<string|int, mixed>
Tags
throws
RuntimeException

on file opening failure

Return values
array<string|int, mixed> —

of http client options

getExceptionResponse()

Returns the response attached to a Guzzle exception, if there is one.

private getExceptionResponse(Throwable $exception) : ResponseInterface|null

Guzzle 7 exposes getResponse() on RequestException, while Guzzle 8 only exposes it on ResponseException and its subclasses.

Parameters
$exception : Throwable
Return values
ResponseInterface|null

handleResponseWithDataType()

private handleResponseWithDataType(string $dataType, RequestInterface $request, ResponseInterface $response) : array<string|int, mixed>
Parameters
$dataType : string
$request : RequestInterface
$response : ResponseInterface
Return values
array<string|int, mixed>

responseWithinRangeCode()

private responseWithinRangeCode(string $rangeCode, int $statusCode) : bool
Parameters
$rangeCode : string
$statusCode : int
Return values
bool
On this page

Search results