models

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: GPL-3.0 Imports: 6 Imported by: 0 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 BookingIDs

type BookingIDs struct {

	// list bids in string format
	// Required: true
	BookingIds []string `json:"booking_ids"`
}

BookingIDs Set of booking IDs (bids)

swagger:model BookingIDs

func (*BookingIDs) ContextValidate

func (m *BookingIDs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this booking i ds based on context it is used

func (*BookingIDs) MarshalBinary

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

MarshalBinary interface implementation

func (*BookingIDs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BookingIDs) Validate

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

Validate validates this booking i ds

type Error

type Error struct {

	// code
	// Required: true
	Code *string `json:"code"`

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

Error error

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (Error) String

func (e Error) String() string

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

Jump to

Keyboard shortcuts

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