models

package
v0.0.0-...-d881226 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2016 License: BSD-3-Clause 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

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

	/* Message message

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

Error Error error

swagger:model Error

func (*Error) Validate

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

Validate validates this error

type Event

type Event struct {

	/* ID id

	Required: true
	*/
	ID string `json:"id,omitempty"`

	/* MaxTicket max ticket
	 */
	MaxTicket int32 `json:"max_ticket,omitempty"`
}

Event Event event

swagger:model Event

func (*Event) Validate

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

Validate validates this event

type Ticket

type Ticket struct {

	/* EventID event id

	Required: true
	*/
	EventID string `json:"event_id,omitempty"`

	/* Num num

	Required: true
	*/
	Num int32 `json:"num,omitempty"`
}

Ticket Ticket ticket

swagger:model Ticket

func (*Ticket) Validate

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

Validate validates this ticket

Jump to

Keyboard shortcuts

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