models

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {

	/* the string name of the type for the value
	 */
	Type *string `json:"type,omitempty"`
}

Data the value for the data

swagger:model Data

func (*Data) Validate

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

Validate validates this data

type Error

type Error struct {

	/* code
	 */
	Code *int32 `json:"code,omitempty"`

	/* fields
	 */
	Fields *string `json:"fields,omitempty"`

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

Error error

swagger:model Error

func (*Error) Validate

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

Validate validates this error

Jump to

Keyboard shortcuts

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