C# 클래스 Com.Wordnik.Petstore.Api.PetApi

파일 보기 프로젝트 열기: hike/swagger-codegen

공개 메소드들

메소드 설명
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

메소드 상세

addPet() 공개 메소드

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
리턴 void

deletePet() 공개 메소드

Deletes a pet
public deletePet ( string petId ) : void
petId string Pet id to delete
리턴 void

findPetsByStatus() 공개 메소드

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
리턴 List

findPetsByTags() 공개 메소드

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
리턴 List

getBasePath() 공개 메소드

public getBasePath ( ) : String
리턴 String

getInvoker() 공개 메소드

public getInvoker ( ) : Com.Wordnik.Petstore.ApiInvoker
리턴 Com.Wordnik.Petstore.ApiInvoker

getPetById() 공개 메소드

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
리턴 Com.Wordnik.Petstore.Model.Pet

setBasePath() 공개 메소드

public setBasePath ( string basePath ) : void
basePath string
리턴 void

updatePet() 공개 메소드

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
리턴 void