models

package
v0.0.0-...-553ec8c Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {

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

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

ErrorResponse error response

swagger:model ErrorResponse

func (*ErrorResponse) ContextValidate

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

ContextValidate validates this error response based on context it is used

func (*ErrorResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

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

Validate validates this error response

type ProcessRequest

type ProcessRequest struct {

	// from
	// Required: true
	From *string `json:"from"`

	// method
	// Required: true
	Method *string `json:"method"`

	// payload
	Payload interface{} `json:"payload,omitempty"`

	// to
	// Required: true
	To *string `json:"to"`
}

ProcessRequest process request

swagger:model ProcessRequest

func (*ProcessRequest) ContextValidate

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

ContextValidate validates this process request based on context it is used

func (*ProcessRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ProcessRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProcessRequest) Validate

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

Validate validates this process request

type ProcessResponse

type ProcessResponse interface{}

ProcessResponse process response

swagger:model ProcessResponse

Jump to

Keyboard shortcuts

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