models

package
v0.0.0-...-d92d8b1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ProduceEventsResponseStatusOK captures enum value "OK"
	ProduceEventsResponseStatusOK string = "OK"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// code
	// Required: true
	Code *int64 `json:"code"`

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

Error Error message

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

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

Validate validates this error

type ProduceEventsPayload

type ProduceEventsPayload struct {

	// Non-serialized JSONs event, \n separated
	// Required: true
	Payload *string `json:"payload"`
}

ProduceEventsPayload produce events payload

swagger:model ProduceEventsPayload

func (*ProduceEventsPayload) MarshalBinary

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

MarshalBinary interface implementation

func (*ProduceEventsPayload) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProduceEventsPayload) Validate

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

Validate validates this produce events payload

type ProduceEventsResponse

type ProduceEventsResponse struct {

	// status
	// Enum: [OK]
	Status string `json:"status,omitempty"`
}

ProduceEventsResponse produce events response

swagger:model ProduceEventsResponse

func (*ProduceEventsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ProduceEventsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProduceEventsResponse) Validate

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

Validate validates this produce events response

Jump to

Keyboard shortcuts

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