models

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {

	// An optional private error code whose values are undefined.
	Code int32 `json:"code,omitempty"`

	// An error message describing what went wrong.
	Message string `json:"message,omitempty"`
}

APIError api error

swagger:model apiError

func (*APIError) ContextValidate

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

ContextValidate validates this api error based on context it is used

func (*APIError) MarshalBinary

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

MarshalBinary interface implementation

func (*APIError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIError) Validate

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

Validate validates this api error

type GenericError

type GenericError interface{}

GenericError generic error

swagger:model genericError

type ProtobufAny

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

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

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

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

MarshalBinary interface implementation

func (*ProtobufAny) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

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

Validate validates this protobuf any

type StateunstableEchoResponse

type StateunstableEchoResponse struct {

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

StateunstableEchoResponse stateunstable echo response

swagger:model stateunstableEchoResponse

func (*StateunstableEchoResponse) ContextValidate

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

ContextValidate validates this stateunstable echo response based on context it is used

func (*StateunstableEchoResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StateunstableEchoResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StateunstableEchoResponse) Validate

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

Validate validates this stateunstable echo response

Jump to

Keyboard shortcuts

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