C# Class Com.Wordnik.Petstore.Api.PetApi

Afficher le fichier Open project: hike/swagger-codegen

Méthodes publiques

Méthode Description
addPet ( Pet body ) : void

Add a new pet to the store

deletePet ( string petId ) : void

Deletes a pet

findPetsByStatus ( string status ) : List

Finds Pets by status Multiple status values can be provided with comma seperated strings

findPetsByTags ( string tags ) : List

Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.

getBasePath ( ) : String
getInvoker ( ) : Com.Wordnik.Petstore.ApiInvoker
getPetById ( string petId ) : Pet

Find pet by ID Returns a pet based on ID

setBasePath ( string basePath ) : void
updatePet ( Pet body ) : void

Update an existing pet

Method Details

addPet() public méthode

Add a new pet to the store
public addPet ( Pet body ) : void
body Com.Wordnik.Petstore.Model.Pet Pet object that needs to be added to the store
Résultat void

deletePet() public méthode

Deletes a pet
public deletePet ( string petId ) : void
petId string Pet id to delete
Résultat void

findPetsByStatus() public méthode

Finds Pets by status Multiple status values can be provided with comma seperated strings
public findPetsByStatus ( string status ) : List
status string Status values that need to be considered for filter
Résultat List

findPetsByTags() public méthode

Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
public findPetsByTags ( string tags ) : List
tags string Tags to filter by
Résultat List

getBasePath() public méthode

public getBasePath ( ) : String
Résultat String

getInvoker() public méthode

public getInvoker ( ) : Com.Wordnik.Petstore.ApiInvoker
Résultat Com.Wordnik.Petstore.ApiInvoker

getPetById() public méthode

Find pet by ID Returns a pet based on ID
public getPetById ( string petId ) : Pet
petId string ID of pet that needs to be fetched
Résultat Com.Wordnik.Petstore.Model.Pet

setBasePath() public méthode

public setBasePath ( string basePath ) : void
basePath string
Résultat void

updatePet() public méthode

Update an existing pet
public updatePet ( Pet body ) : void
body Com.Wordnik.Petstore.Model.Pet Pet object that needs to be updated in the store
Résultat void