models

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: Apache-2.0 Imports: 9 Imported by: 2

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 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

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

Validate validates this bad request

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 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

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

Validate validates this internal error

type NilCheckInput

type NilCheckInput struct {
	ID     string
	Query  *string
	Header string
	Array  []string
	Body   *NilFields
}

NilCheckInput holds the input parameters for a nilCheck operation.

func (NilCheckInput) Path added in v1.3.0

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

Path returns the URI path for the input.

func (NilCheckInput) Validate

func (i NilCheckInput) Validate() error

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

type NilFields

type NilFields struct {

	// id
	ID string `json:"id,omitempty"`

	// optional
	Optional *string `json:"optional,omitempty"`
}

NilFields nil fields swagger:model NilFields

func (*NilFields) MarshalBinary added in v1.5.3

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

MarshalBinary interface implementation

func (*NilFields) UnmarshalBinary added in v1.5.3

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

UnmarshalBinary interface implementation

func (*NilFields) Validate

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

Validate validates this nil fields

Jump to

Keyboard shortcuts

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