models

package
v0.0.0-...-6ea6977 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 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 TV
	// Required: true
	Host *string `json:"host"`

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

	// the status response from the TV
	TvResponse string `json:"tvResponse,omitempty"`
}

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
⌂ 换网址