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

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