models

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

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 Details added in v0.7.0

type Details struct {

	// fps
	Fps float32 `json:"fps,omitempty"`

	// last
	Last string `json:"last,omitempty"`

	// size
	Size float32 `json:"size,omitempty"`
}

Details Connection details

swagger:model Details

func (*Details) ContextValidate added in v0.7.0

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

ContextValidate validates this details based on context it is used

func (*Details) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*Details) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*Details) Validate added in v0.7.0

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

Validate validates this details

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) 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

type Report added in v0.7.0

type Report struct {

	// can read
	CanRead bool `json:"can_read,omitempty"`

	// can write
	CanWrite bool `json:"can_write,omitempty"`

	// connected
	Connected string `json:"connected,omitempty"`

	// expires at
	ExpiresAt string `json:"expires_at,omitempty"`

	// remote addr
	RemoteAddr string `json:"remote_addr,omitempty"`

	// scopes
	Scopes []string `json:"scopes"`

	// stats
	Stats *Stats `json:"stats,omitempty"`

	// topic
	Topic string `json:"topic,omitempty"`

	// user agent
	UserAgent string `json:"user_agent,omitempty"`
}

Report report

swagger:model Report

func (*Report) ContextValidate added in v0.7.0

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

ContextValidate validate this report based on the context it is used

func (*Report) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*Report) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*Report) Validate added in v0.7.0

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

Validate validates this report

type Stats added in v0.7.0

type Stats struct {

	// rx
	Rx *Details `json:"rx,omitempty"`

	// tx
	Tx *Details `json:"tx,omitempty"`
}

Stats connection statistics

swagger:model Stats

func (*Stats) ContextValidate added in v0.7.0

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

ContextValidate validate this stats based on the context it is used

func (*Stats) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*Stats) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*Stats) Validate added in v0.7.0

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

Validate validates this stats

type Status added in v0.7.0

type Status []*Report

Status status reports

swagger:model Status

func (Status) ContextValidate added in v0.7.0

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

ContextValidate validate this status based on the context it is used

func (Status) Validate added in v0.7.0

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

Validate validates this status

Jump to

Keyboard shortcuts

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