models

package
v4.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 9 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) MarshalBinary added in v1.5.3

func (m *BadRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BadRequest) UnmarshalBinary added in v1.5.3

func (m *BadRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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) Path added in v1.3.0

func (i HealthInput) Path() (string, error)

Path returns the URI path for the input.

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) MarshalBinary added in v1.5.3

func (m *InternalError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InternalError) UnmarshalBinary added in v1.5.3

func (m *InternalError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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) MarshalBinary added in v1.5.3

func (m *NotFound) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotFound) UnmarshalBinary added in v1.5.3

func (m *NotFound) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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