Documentation
¶
Index ¶
- type AccessPoint
- func (m *AccessPoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AccessPoint) MarshalBinary() ([]byte, error)
- func (m AccessPoint) MarshalJSON() ([]byte, error)
- func (m *AccessPoint) UnmarshalBinary(b []byte) error
- func (m *AccessPoint) UnmarshalJSON(raw []byte) error
- func (m *AccessPoint) Validate(formats strfmt.Registry) error
- type Base
- type Hotspot
- func (m *Hotspot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Hotspot) MarshalBinary() ([]byte, error)
- func (m Hotspot) MarshalJSON() ([]byte, error)
- func (m *Hotspot) UnmarshalBinary(b []byte) error
- func (m *Hotspot) UnmarshalJSON(raw []byte) error
- func (m *Hotspot) Validate(formats strfmt.Registry) error
- type HotspotType
- type Incorrect
- type JSONMessage
- type JSONObject
- type JSONObjectWithAlias
- type JSONObjectWithAliasAnon
- func (m *JSONObjectWithAliasAnon) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JSONObjectWithAliasAnon) MarshalBinary() ([]byte, error)
- func (m *JSONObjectWithAliasAnon) UnmarshalBinary(b []byte) error
- func (m *JSONObjectWithAliasAnon) Validate(formats strfmt.Registry) error
- type ObjectWithEmbedded
- type ObjectWithExternals
- type Raw
- type Request
- type RequestPointer
- type Time
- type TimeAsObject
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 ¶
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
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 ¶
ContextValidate validate this base based on the context it is used
func (*Base) MarshalBinary ¶
MarshalBinary interface implementation
func (*Base) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this hotspot based on the context it is used
func (*Hotspot) MarshalBinary ¶
MarshalBinary interface implementation
func (Hotspot) MarshalJSON ¶
MarshalJSON marshals this object to a JSON structure
func (*Hotspot) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Hotspot) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object from a JSON structure
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 ¶
ContextValidate validates this hotspot type based on context it is used
type JSONObject ¶
JSONObject JSON object
swagger:model JSONObject
func (JSONObject) ContextValidate ¶
ContextValidate validate this JSON object based on the context it is used
type JSONObjectWithAlias ¶
type JSONObjectWithAlias map[string]JSONObjectWithAliasAnon
JSONObjectWithAlias JSON object with alias
swagger:model JSONObjectWithAlias
func (JSONObjectWithAlias) ContextValidate ¶
ContextValidate validate this JSON object with alias based on the context it is used
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
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 ¶
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
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 ¶
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
type Raw ¶
type Raw struct {
jsonext.RawMessage
}
Raw raw
swagger:model Raw
func (Raw) ContextValidate ¶
type RequestPointer ¶
RequestPointer request pointer
swagger:model RequestPointer
func (RequestPointer) ContextValidate ¶
type Time ¶
Time time
swagger:model Time
func (Time) ContextValidate ¶
func (*Time) MarshalBinary ¶
MarshalBinary interface implementation
func (*Time) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TimeAsObject ¶
TimeAsObject time as object
swagger:model TimeAsObject
func (TimeAsObject) ContextValidate ¶
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