operations

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePetsResponse

type CreatePetsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// unexpected error
	Error *shared.Error
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*CreatePetsResponse) GetContentType

func (o *CreatePetsResponse) GetContentType() string

func (*CreatePetsResponse) GetError

func (o *CreatePetsResponse) GetError() *shared.Error

func (*CreatePetsResponse) GetRawResponse

func (o *CreatePetsResponse) GetRawResponse() *http.Response

func (*CreatePetsResponse) GetStatusCode

func (o *CreatePetsResponse) GetStatusCode() int

type ListPetsRequest

type ListPetsRequest struct {
	// How many items to return at one time (max 100)
	Limit *int `queryParam:"style=form,explode=true,name=limit"`
}

func (*ListPetsRequest) GetLimit

func (o *ListPetsRequest) GetLimit() *int

type ListPetsResponse

type ListPetsResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// unexpected error
	Error   *shared.Error
	Headers map[string][]string
	// A paged array of pets
	Pets []shared.Pet
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*ListPetsResponse) GetContentType

func (o *ListPetsResponse) GetContentType() string

func (*ListPetsResponse) GetError

func (o *ListPetsResponse) GetError() *shared.Error

func (*ListPetsResponse) GetHeaders

func (o *ListPetsResponse) GetHeaders() map[string][]string

func (*ListPetsResponse) GetPets

func (o *ListPetsResponse) GetPets() []shared.Pet

func (*ListPetsResponse) GetRawResponse

func (o *ListPetsResponse) GetRawResponse() *http.Response

func (*ListPetsResponse) GetStatusCode

func (o *ListPetsResponse) GetStatusCode() int

type ShowPetByIDRequest

type ShowPetByIDRequest struct {
	// The id of the pet to retrieve
	PetID string `pathParam:"style=simple,explode=false,name=petId"`
}

func (*ShowPetByIDRequest) GetPetID

func (o *ShowPetByIDRequest) GetPetID() string

type ShowPetByIDResponse

type ShowPetByIDResponse struct {
	// HTTP response content type for this operation
	ContentType string
	// unexpected error
	Error *shared.Error
	// Expected response to a valid request
	Pet *shared.Pet
	// HTTP response status code for this operation
	StatusCode int
	// Raw HTTP response; suitable for custom response parsing
	RawResponse *http.Response
}

func (*ShowPetByIDResponse) GetContentType

func (o *ShowPetByIDResponse) GetContentType() string

func (*ShowPetByIDResponse) GetError

func (o *ShowPetByIDResponse) GetError() *shared.Error

func (*ShowPetByIDResponse) GetPet

func (o *ShowPetByIDResponse) GetPet() *shared.Pet

func (*ShowPetByIDResponse) GetRawResponse

func (o *ShowPetByIDResponse) GetRawResponse() *http.Response

func (*ShowPetByIDResponse) GetStatusCode

func (o *ShowPetByIDResponse) GetStatusCode() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL