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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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