models

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2015 License: Apache-2.0 Imports: 3 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
	 */
	Code int64 `json:"code,omitempty"`

	/* Message message

	Required: true
	*/
	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

type Item

type Item struct {

	/* Completed completed
	 */
	Completed *bool `json:"completed,omitempty"`

	/* Description description

	Required: true
	*/
	Description string `json:"description,omitempty"`

	/* ID id

	Read Only: true
	*/
	ID int64 `json:"id,omitempty"`
}

Item item

swagger:model item

func (*Item) Validate

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

Validate validates this item

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL