models

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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

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