models

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequestError added in v0.5.0

type BadRequestError struct {

	// msg
	Msg string `json:"msg,omitempty"`
}

BadRequestError bad request error swagger:model BadRequestError

func (BadRequestError) Error added in v0.5.0

func (o BadRequestError) Error() string

func (*BadRequestError) Validate added in v0.5.0

func (m *BadRequestError) Validate(formats strfmt.Registry) error

Validate validates this bad request error

type GetBookInput

type GetBookInput struct {
	ID int64
}

GetBookInput holds the input parameters for a getBook operation.

func (GetBookInput) Validate

func (i GetBookInput) Validate() error

Validate returns an error if any of the GetBookInput parameters don't satisfy the requirements from the swagger yml file.

type InternalError added in v0.4.0

type InternalError struct {

	// msg
	Msg string `json:"msg,omitempty"`
}

InternalError internal error swagger:model InternalError

func (InternalError) Error added in v0.4.0

func (o InternalError) Error() string

func (*InternalError) Validate added in v0.5.0

func (m *InternalError) Validate(formats strfmt.Registry) error

Validate validates this internal error

type NotFoundError added in v0.5.0

type NotFoundError struct {

	// msg
	Msg string `json:"msg,omitempty"`
}

NotFoundError not found error swagger:model NotFoundError

func (NotFoundError) Error added in v0.5.0

func (o NotFoundError) Error() string

func (*NotFoundError) Validate added in v0.5.0

func (m *NotFoundError) Validate(formats strfmt.Registry) error

Validate validates this not found error

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

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