models

package
v6.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 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

type BadRequest struct {

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

BadRequest bad request swagger:model BadRequest

func (BadRequest) Error

func (o BadRequest) Error() string

func (*BadRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*BadRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BadRequest) Validate

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

Validate validates this bad request

type HealthInput

type HealthInput struct {
	Section int64
}

HealthInput holds the input parameters for a health operation.

func (HealthInput) Path

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

Path returns the URI path for the input.

func (HealthInput) Validate

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

type InternalError struct {

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

InternalError internal error swagger:model InternalError

func (InternalError) Error

func (o InternalError) Error() string

func (*InternalError) MarshalBinary

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

MarshalBinary interface implementation

func (*InternalError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InternalError) Validate

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

Validate validates this internal error

type NotFound

type NotFound struct {

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

NotFound not found swagger:model NotFound

func (NotFound) Error

func (o NotFound) Error() string

func (*NotFound) MarshalBinary

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

MarshalBinary interface implementation

func (*NotFound) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NotFound) Validate

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