models

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequest added in v0.4.0

type BadRequest struct {

	// message
	Message string `json:"message,omitempty"`
}

BadRequest bad request swagger:model BadRequest

func (BadRequest) Error added in v0.4.0

func (o BadRequest) Error() string

func (*BadRequest) Validate added in v0.6.0

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

Validate validates this bad request

type HealthInput added in v1.0.0

type HealthInput struct {
	Section int64
}

HealthInput holds the input parameters for a health operation.

func (HealthInput) Validate added in v1.0.0

func (i HealthInput) Validate() error

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

type InternalError added in v0.4.0

type InternalError struct {

	// message
	Message string `json:"message,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 NotFound added in v0.6.0

type NotFound struct {

	// message
	Message string `json:"message,omitempty"`
}

NotFound not found swagger:model NotFound

func (NotFound) Error added in v0.6.0

func (o NotFound) Error() string

func (*NotFound) Validate added in v0.6.0

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

Validate validates this not found

Jump to

Keyboard shortcuts

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