models

package
v0.0.0-...-371fce3 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandResponse

type CommandResponse struct {

	// the raw response from the receiver
	// Required: true
	Raw *string `json:"raw"`
}

CommandResponse command response

swagger:model CommandResponse

func (*CommandResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CommandResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CommandResponse) Validate

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

Validate validates this command response

type ErrorResponse

type ErrorResponse string

ErrorResponse error response

swagger:model ErrorResponse

func (ErrorResponse) Validate

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

Validate validates this error response

type StatusResponse

type StatusResponse struct {

	// host name or IP address of the receiver
	// Required: true
	Host *string `json:"host"`

	// if the receiver is reachable
	// Required: true
	Reachable *bool `json:"reachable"`
}

StatusResponse status response

swagger:model StatusResponse

func (*StatusResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponse) Validate

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

Validate validates this status response

Jump to

Keyboard shortcuts

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