models

package
v0.0.0-...-03830f7 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 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 CabPickupsCount

type CabPickupsCount struct {

	// found times in query
	// Required: true
	Count *int64 `json:"count"`

	// does this car exist
	// Required: true
	Found *bool `json:"found"`

	// car id
	// Required: true
	Medallion *string `json:"medallion"`
}

CabPickupsCount cab pickups count swagger:model cabPickupsCount

func (*CabPickupsCount) MarshalBinary

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

MarshalBinary interface implementation

func (*CabPickupsCount) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CabPickupsCount) Validate

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

Validate validates this cab pickups count

type ErrResponse

type ErrResponse struct {

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

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

ErrResponse err response swagger:model errResponse

func (*ErrResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrResponse) Validate

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

Validate validates this err response

type GetCabsPickupsCountResponse

type GetCabsPickupsCountResponse struct {

	// result
	// Required: true
	Result []*CabPickupsCount `json:"result"`
}

GetCabsPickupsCountResponse get cabs pickups count response swagger:model getCabsPickupsCountResponse

func (*GetCabsPickupsCountResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetCabsPickupsCountResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetCabsPickupsCountResponse) Validate

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

Validate validates this get cabs pickups count response

Jump to

Keyboard shortcuts

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