external

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPoint

type AccessPoint struct {

	// f b ID
	FBID uint64 `json:"FBID,omitempty" gorm:"index"`

	// created at
	// Format: date-time
	CreatedAt *Time `json:"created_at,omitempty"`

	// id
	ID uint64 `json:"id,omitempty" gorm:"primary_key"`

	// updated at
	// Format: date-time
	UpdatedAt *Time `json:"updated_at,omitempty"`

	// version
	Version uint64 `json:"version,omitempty"`

	// hotspot
	Hotspot *Hotspot `json:"hotspot,omitempty"`

	// hotspot id
	HotspotID uint64 `json:"hotspot_id,omitempty"`

	// mac address
	MacAddress string `json:"mac_address,omitempty" gorm:"index;not null;unique"`
}

AccessPoint access point

swagger:model AccessPoint

func (*AccessPoint) ContextValidate

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

ContextValidate validate this access point based on the context it is used

func (*AccessPoint) MarshalBinary

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

MarshalBinary interface implementation

func (AccessPoint) MarshalJSON

func (m AccessPoint) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*AccessPoint) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccessPoint) UnmarshalJSON

func (m *AccessPoint) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*AccessPoint) Validate

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

Validate validates this access point

type Base

type Base struct {

	// f b ID
	FBID uint64 `json:"FBID,omitempty" gorm:"index"`

	// created at
	// Format: date-time
	CreatedAt *Time `json:"created_at,omitempty"`

	// id
	ID uint64 `json:"id,omitempty" gorm:"primary_key"`

	// updated at
	// Format: date-time
	UpdatedAt *Time `json:"updated_at,omitempty"`

	// version
	Version uint64 `json:"version,omitempty"`
}

Base base

swagger:model Base

func (*Base) ContextValidate

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

ContextValidate validate this base based on the context it is used

func (*Base) MarshalBinary

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

MarshalBinary interface implementation

func (*Base) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Base) Validate

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

Validate validates this base

type Hotspot

type Hotspot struct {

	// f b ID
	FBID uint64 `json:"FBID,omitempty" gorm:"index"`

	// created at
	// Format: date-time
	CreatedAt *Time `json:"created_at,omitempty"`

	// id
	ID uint64 `json:"id,omitempty" gorm:"primary_key"`

	// updated at
	// Format: date-time
	UpdatedAt *Time `json:"updated_at,omitempty"`

	// version
	Version uint64 `json:"version,omitempty"`

	// access points
	AccessPoints []*AccessPoint `json:"access_points"`

	// type
	// Required: true
	Type *HotspotType `json:"type"`
}

Hotspot hotspot

swagger:model Hotspot

func (*Hotspot) ContextValidate

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

ContextValidate validate this hotspot based on the context it is used

func (*Hotspot) MarshalBinary

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

MarshalBinary interface implementation

func (Hotspot) MarshalJSON

func (m Hotspot) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Hotspot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Hotspot) UnmarshalJSON

func (m *Hotspot) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Hotspot) Validate

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

Validate validates this hotspot

type HotspotType

type HotspotType string

HotspotType hotspot type

swagger:model HotspotType

const (

	// HotspotTypeA captures enum value "A"
	HotspotTypeA HotspotType = "A"

	// HotspotTypeB captures enum value "B"
	HotspotTypeB HotspotType = "B"

	// HotspotTypeC captures enum value "C"
	HotspotTypeC HotspotType = "C"
)

func NewHotspotType

func NewHotspotType(value HotspotType) *HotspotType

func (HotspotType) ContextValidate

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

ContextValidate validates this hotspot type based on context it is used

func (HotspotType) Validate

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

Validate validates this hotspot type

type Incorrect

type Incorrect struct {
	net.Buffers
}

Incorrect incorrect

swagger:model Incorrect

func (Incorrect) ContextValidate

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

func (Incorrect) Validate

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

type JSONMessage

type JSONMessage = Raw

JSONMessage JSON message

swagger:model JSONMessage

type JSONObject

type JSONObject map[string][]Raw

JSONObject JSON object

swagger:model JSONObject

func (JSONObject) ContextValidate

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

ContextValidate validate this JSON object based on the context it is used

func (JSONObject) Validate

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

Validate validates this JSON object

type JSONObjectWithAlias

type JSONObjectWithAlias map[string]JSONObjectWithAliasAnon

JSONObjectWithAlias JSON object with alias

swagger:model JSONObjectWithAlias

func (JSONObjectWithAlias) ContextValidate

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

ContextValidate validate this JSON object with alias based on the context it is used

func (JSONObjectWithAlias) Validate

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

Validate validates this JSON object with alias

type JSONObjectWithAliasAnon

type JSONObjectWithAliasAnon struct {

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

JSONObjectWithAliasAnon JSON object with alias anon

swagger:model JSONObjectWithAliasAnon

func (*JSONObjectWithAliasAnon) ContextValidate

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

ContextValidate validate this JSON object with alias anon based on the context it is used

func (*JSONObjectWithAliasAnon) MarshalBinary

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

MarshalBinary interface implementation

func (*JSONObjectWithAliasAnon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*JSONObjectWithAliasAnon) Validate

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

Validate validates this JSON object with alias anon

type ObjectWithEmbedded

type ObjectWithEmbedded struct {

	// a
	// Format: date-time
	A *Time `json:"a,omitempty"`

	// b
	B Request `json:"b,omitempty"`

	// c
	// Format: date-time
	C *TimeAsObject `json:"c,omitempty"`

	// d
	D Raw `json:"d,omitempty"`

	// e
	E JSONObject `json:"e,omitempty"`

	// f
	F JSONMessage `json:"f,omitempty"`

	// g
	G JSONObjectWithAlias `json:"g,omitempty"`
}

ObjectWithEmbedded object with embedded

swagger:model ObjectWithEmbedded

func (*ObjectWithEmbedded) ContextValidate

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

ContextValidate validate this object with embedded based on the context it is used

func (*ObjectWithEmbedded) MarshalBinary

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

MarshalBinary interface implementation

func (*ObjectWithEmbedded) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ObjectWithEmbedded) Validate

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

Validate validates this object with embedded

type ObjectWithExternals

type ObjectWithExternals struct {

	// a
	A httpext.Request `json:"a,omitempty"`

	// b
	B httpext.Request `json:"b,omitempty"`
}

ObjectWithExternals object with externals

swagger:model ObjectWithExternals

func (*ObjectWithExternals) ContextValidate

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

ContextValidate validates this object with externals based on context it is used

func (*ObjectWithExternals) MarshalBinary

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

MarshalBinary interface implementation

func (*ObjectWithExternals) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ObjectWithExternals) Validate

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

Validate validates this object with externals

type Raw

type Raw struct {
	jsonext.RawMessage
}

Raw raw

swagger:model Raw

func (Raw) ContextValidate

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

func (Raw) Validate

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

type Request

type Request struct {
	httpext.Request
}

Request request

swagger:model Request

func (Request) ContextValidate

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

func (Request) Validate

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

type RequestPointer

type RequestPointer struct {
	*httpext.Request
}

RequestPointer request pointer

swagger:model RequestPointer

func (RequestPointer) ContextValidate

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

func (RequestPointer) Validate

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

type Time

type Time struct {
	timeext.Time
}

Time time

swagger:model Time

func (Time) ContextValidate

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

func (*Time) MarshalBinary

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

MarshalBinary interface implementation

func (*Time) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (Time) Validate

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

type TimeAsObject

type TimeAsObject struct {
	timeext.Time
}

TimeAsObject time as object

swagger:model TimeAsObject

func (TimeAsObject) ContextValidate

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

func (*TimeAsObject) MarshalBinary

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

MarshalBinary interface implementation

func (*TimeAsObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (TimeAsObject) Validate

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

Jump to

Keyboard shortcuts

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