models

package
v0.0.0-...-9c85984 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.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 Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// fields
	Fields string `json:"fields,omitempty"`

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

Error error

swagger:model error

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

func (m *Error) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*Error) Validate

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

Validate validates this error

type Hello

type Hello struct {

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

Hello hello

swagger:model Hello

func (*Hello) MarshalBinary

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

MarshalBinary interface implementation

func (*Hello) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Hello) UnmarshalJSON

func (m *Hello) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*Hello) Validate

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

Validate validates this hello

type Principal

type Principal string

Principal principal

swagger:model principal

func (Principal) Validate

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

Validate validates this principal

Jump to

Keyboard shortcuts

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