models2

package
Version: v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtUser

type ExtUser struct {

	// age
	Age int64 `json:"age,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

ExtUser user swagger:model ExtUser

func (*ExtUser) MarshalBinary

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

MarshalBinary interface implementation

func (*ExtUser) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExtUser) Validate

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

Validate validates this user

type ExtUserObjectFlat

type ExtUserObjectFlat struct {

	// age
	Age int64 `json:"age,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

ExtUserObjectFlat user object flat swagger:model ExtUserObjectFlat

func (*ExtUserObjectFlat) MarshalBinary

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

MarshalBinary interface implementation

func (*ExtUserObjectFlat) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExtUserObjectFlat) Validate

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

Validate validates this user object flat

type ExtUserObjectRef

type ExtUserObjectRef struct {
	ExtUser
}

ExtUserObjectRef user object ref swagger:model ExtUserObjectRef

func (*ExtUserObjectRef) MarshalBinary

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

MarshalBinary interface implementation

func (ExtUserObjectRef) MarshalJSON

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

MarshalJSON marshals this object to a JSON structure

func (*ExtUserObjectRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExtUserObjectRef) UnmarshalJSON

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

UnmarshalJSON unmarshals this object from a JSON structure

func (*ExtUserObjectRef) Validate

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

Validate validates this user object ref

type ExtUsersArrayFlat

type ExtUsersArrayFlat []*ExtUsersArrayFlatItems0

ExtUsersArrayFlat users array flat swagger:model ExtUsersArrayFlat

func (ExtUsersArrayFlat) Validate

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

Validate validates this users array flat

type ExtUsersArrayFlatItems0

type ExtUsersArrayFlatItems0 struct {

	// age
	Age int64 `json:"age,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

ExtUsersArrayFlatItems0 users array flat items0 swagger:model ExtUsersArrayFlatItems0

func (*ExtUsersArrayFlatItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ExtUsersArrayFlatItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExtUsersArrayFlatItems0) Validate

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

Validate validates this users array flat items0

type ExtUsersArrayRef

type ExtUsersArrayRef []*ExtUser

ExtUsersArrayRef users array ref swagger:model ExtUsersArrayRef

func (ExtUsersArrayRef) Validate

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

Validate validates this users array ref

Jump to

Keyboard shortcuts

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