PetApi
class PetApi
PetApi Class Doc Comment
Properties
protected ClientInterface | $client | ||
protected Configuration | $config | ||
protected HeaderSelector | $headerSelector | ||
protected int | $hostIndex |
Methods
No description
Set the host index
Get the host index
No description
Operation deletePet
Operation deletePetWithHttpInfo
Operation deletePetAsync
Operation deletePetAsyncWithHttpInfo
Create request for operation 'deletePet'
Operation findPetsByStatus
Operation findPetsByStatusWithHttpInfo
Operation findPetsByStatusAsync
Operation findPetsByStatusAsyncWithHttpInfo
Create request for operation 'findPetsByStatus'
Operation findPetsByTagsAsyncWithHttpInfo
Operation getPetById
Operation getPetByIdWithHttpInfo
Operation getPetByIdAsync
Operation getPetByIdAsyncWithHttpInfo
Create request for operation 'getPetById'
Operation updatePetWithForm
Operation updatePetWithFormWithHttpInfo
Operation updatePetWithFormAsync
Operation updatePetWithFormAsyncWithHttpInfo
Create request for operation 'updatePetWithForm'
Operation uploadFile
Operation uploadFileWithHttpInfo
Operation uploadFileAsync
Operation uploadFileAsyncWithHttpInfo
Create request for operation 'uploadFile'
Create http client option
Details
at line 78
__construct(ClientInterface $client = null, Configuration $config = null, HeaderSelector $selector = null, int $hostIndex = 0)
No description
at line 95
void
setHostIndex(int $hostIndex)
Set the host index
at line 105
int
getHostIndex()
Get the host index
at line 113
Configuration
getConfig()
No description
at line 146
array
addPetWithHttpInfo(Pet $pet)
Operation addPetWithHttpInfo
Add a new pet to the store
at line 244
PromiseInterface
addPetAsync(Pet $pet)
Operation addPetAsync
Add a new pet to the store
at line 264
PromiseInterface
addPetAsyncWithHttpInfo(Pet $pet)
Operation addPetAsyncWithHttpInfo
Add a new pet to the store
at line 313
Request
addPetRequest(Pet $pet)
Create request for operation 'addPet'
at line 414
void
deletePet(int $pet_id, string $api_key = null)
Operation deletePet
Deletes a pet
at line 431
array
deletePetWithHttpInfo(int $pet_id, string $api_key = null)
Operation deletePetWithHttpInfo
Deletes a pet
at line 490
PromiseInterface
deletePetAsync(int $pet_id, string $api_key = null)
Operation deletePetAsync
Deletes a pet
at line 511
PromiseInterface
deletePetAsyncWithHttpInfo(int $pet_id, string $api_key = null)
Operation deletePetAsyncWithHttpInfo
Deletes a pet
at line 548
Request
deletePetRequest(int $pet_id, string $api_key = null)
Create request for operation 'deletePet'
at line 655
Pet[]
findPetsByStatus(string[] $status)
Operation findPetsByStatus
Finds Pets by status
at line 672
array
findPetsByStatusWithHttpInfo(string[] $status)
Operation findPetsByStatusWithHttpInfo
Finds Pets by status
at line 770
PromiseInterface
findPetsByStatusAsync(string[] $status)
Operation findPetsByStatusAsync
Finds Pets by status
at line 790
PromiseInterface
findPetsByStatusAsyncWithHttpInfo(string[] $status)
Operation findPetsByStatusAsyncWithHttpInfo
Finds Pets by status
at line 839
Request
findPetsByStatusRequest(string[] $status)
Create request for operation 'findPetsByStatus'
at line 943
Pet[]
findPetsByTags(string[] $tags)
deprecated
deprecated
Operation findPetsByTags
Finds Pets by tags
at line 961
array
findPetsByTagsWithHttpInfo(string[] $tags)
deprecated
deprecated
Operation findPetsByTagsWithHttpInfo
Finds Pets by tags
at line 1060
PromiseInterface
findPetsByTagsAsync(string[] $tags)
deprecated
deprecated
Operation findPetsByTagsAsync
Finds Pets by tags
at line 1081
PromiseInterface
findPetsByTagsAsyncWithHttpInfo(string[] $tags)
deprecated
deprecated
Operation findPetsByTagsAsyncWithHttpInfo
Finds Pets by tags
at line 1131
Request
findPetsByTagsRequest(string[] $tags)
deprecated
deprecated
Create request for operation 'findPetsByTags'
at line 1234
Pet
getPetById(int $pet_id)
Operation getPetById
Find pet by ID
at line 1251
array
getPetByIdWithHttpInfo(int $pet_id)
Operation getPetByIdWithHttpInfo
Find pet by ID
at line 1349
PromiseInterface
getPetByIdAsync(int $pet_id)
Operation getPetByIdAsync
Find pet by ID
at line 1369
PromiseInterface
getPetByIdAsyncWithHttpInfo(int $pet_id)
Operation getPetByIdAsyncWithHttpInfo
Find pet by ID
at line 1418
Request
getPetByIdRequest(int $pet_id)
Create request for operation 'getPetById'
at line 1538
array
updatePetWithHttpInfo(Pet $pet)
Operation updatePetWithHttpInfo
Update an existing pet
at line 1636
PromiseInterface
updatePetAsync(Pet $pet)
Operation updatePetAsync
Update an existing pet
at line 1656
PromiseInterface
updatePetAsyncWithHttpInfo(Pet $pet)
Operation updatePetAsyncWithHttpInfo
Update an existing pet
at line 1705
Request
updatePetRequest(Pet $pet)
Create request for operation 'updatePet'
at line 1807
void
updatePetWithForm(int $pet_id, string $name = null, string $status = null)
Operation updatePetWithForm
Updates a pet in the store with form data
at line 1825
array
updatePetWithFormWithHttpInfo(int $pet_id, string $name = null, string $status = null)
Operation updatePetWithFormWithHttpInfo
Updates a pet in the store with form data
at line 1885
PromiseInterface
updatePetWithFormAsync(int $pet_id, string $name = null, string $status = null)
Operation updatePetWithFormAsync
Updates a pet in the store with form data
at line 1907
PromiseInterface
updatePetWithFormAsyncWithHttpInfo(int $pet_id, string $name = null, string $status = null)
Operation updatePetWithFormAsyncWithHttpInfo
Updates a pet in the store with form data
at line 1945
Request
updatePetWithFormRequest(int $pet_id, string $name = null, string $status = null)
Create request for operation 'updatePetWithForm'
at line 2059
ApiResponse
uploadFile(int $pet_id, string $additional_metadata = null, SplFileObject $file = null)
Operation uploadFile
uploads an image
at line 2078
array
uploadFileWithHttpInfo(int $pet_id, string $additional_metadata = null, SplFileObject $file = null)
Operation uploadFileWithHttpInfo
uploads an image
at line 2178
PromiseInterface
uploadFileAsync(int $pet_id, string $additional_metadata = null, SplFileObject $file = null)
Operation uploadFileAsync
uploads an image
at line 2200
PromiseInterface
uploadFileAsyncWithHttpInfo(int $pet_id, string $additional_metadata = null, SplFileObject $file = null)
Operation uploadFileAsyncWithHttpInfo
uploads an image
at line 2251
Request
uploadFileRequest(int $pet_id, string $additional_metadata = null, SplFileObject $file = null)
Create request for operation 'uploadFile'
at line 2366
protected array
createHttpClientOption()
Create http client option