models

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Message

type Message struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

func (*Message) MarshalBinary

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

MarshalBinary interface implementation

func (*Message) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Message) Validate

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

Validate validates this message

type Redirect

type Redirect struct {

	// location
	// Required: true
	Location *string `json:"location"`
}

func (*Redirect) MarshalBinary

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

MarshalBinary interface implementation

func (*Redirect) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Redirect) Validate

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

Validate validates this redirect

Jump to

Keyboard shortcuts

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