models

package
v0.0.0-...-3e15a49 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 3 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 {

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

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

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 UnsecuredPing

type UnsecuredPing struct {

	// ping status
	Status string `json:"status,omitempty" yaml:"status,omitempty"`
}

UnsecuredPing unsecured ping

swagger:model UnsecuredPing

func (*UnsecuredPing) ContextValidate

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

ContextValidate validates this unsecured ping based on context it is used

func (*UnsecuredPing) MarshalBinary

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

MarshalBinary interface implementation

func (*UnsecuredPing) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UnsecuredPing) Validate

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

Validate validates this unsecured ping

Jump to

Keyboard shortcuts

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