models

package
v0.0.0-...-bd6edc4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddResponse

type AddResponse struct {

	// the unique id of the newly added item
	// Required: true
	ID *string `json:"id"`

	// title of the newly added item
	// Required: true
	Title *string `json:"title"`
}

AddResponse add response swagger:model AddResponse

func (*AddResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AddResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddResponse) Validate

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

Validate validates this add response

type ErrorResponse

type ErrorResponse string

ErrorResponse error response swagger:model ErrorResponse

func (ErrorResponse) Validate

func (m ErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this error response

type ListResponse

type ListResponse struct {

	// todo items
	// Required: true
	TodoItems []*ListResponseTodoItemsItems0 `json:"todoItems"`
}

ListResponse list response swagger:model ListResponse

func (*ListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListResponse) Validate

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

Validate validates this list response

type ListResponseTodoItemsItems0

type ListResponseTodoItemsItems0 struct {

	// the unique id of the newly added item
	// Required: true
	ID *string `json:"id"`

	// title of the newly added item
	// Required: true
	Title *string `json:"title"`
}

ListResponseTodoItemsItems0 list response todo items items0 swagger:model ListResponseTodoItemsItems0

func (*ListResponseTodoItemsItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ListResponseTodoItemsItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListResponseTodoItemsItems0) Validate

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

Validate validates this list response todo items items0

type RemoveResponse

type RemoveResponse struct {

	// the unique id of the removed item
	// Required: true
	ID *string `json:"id"`

	// title of the removed item
	// Required: true
	Title *string `json:"title"`
}

RemoveResponse remove response swagger:model RemoveResponse

func (*RemoveResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoveResponse) Validate

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

Validate validates this remove response

Jump to

Keyboard shortcuts

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