qosmclientmodels

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 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 ModelsHeartbeatRequest

type ModelsHeartbeatRequest struct {

	// ip
	// Required: true
	IP *string `json:"ip"`

	// port
	// Required: true
	Port *int32 `json:"port"`

	// region
	// Required: true
	Region *string `json:"region"`
}

ModelsHeartbeatRequest models heartbeat request

swagger:model models.HeartbeatRequest

func (*ModelsHeartbeatRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsHeartbeatRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsHeartbeatRequest) Validate

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

Validate validates this models heartbeat request

type ModelsListServerResponse

type ModelsListServerResponse struct {

	// servers
	// Required: true
	Servers []*ModelsServer `json:"servers"`
}

ModelsListServerResponse models list server response

swagger:model models.ListServerResponse

func (*ModelsListServerResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsListServerResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsListServerResponse) Validate

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

Validate validates this models list server response

type ModelsServer

type ModelsServer struct {

	// alias
	// Required: true
	Alias *string `json:"alias"`

	// ip
	// Required: true
	IP *string `json:"ip"`

	// last update
	// Required: true
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"last_update"`

	// port
	// Required: true
	Port *int32 `json:"port"`

	// region
	// Required: true
	Region *string `json:"region"`

	// status
	// Required: true
	Status *string `json:"status"`
}

ModelsServer models server

swagger:model models.Server

func (*ModelsServer) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsServer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsServer) Validate

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

Validate validates this models server

type ModelsSetAliasRequest

type ModelsSetAliasRequest struct {

	// alias
	// Required: true
	Alias *string `json:"alias"`
}

ModelsSetAliasRequest models set alias request

swagger:model models.SetAliasRequest

func (*ModelsSetAliasRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsSetAliasRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsSetAliasRequest) Validate

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

Validate validates this models set alias request

type ModelsUpdateServerRequest added in v0.20.0

type ModelsUpdateServerRequest struct {

	// status
	// Required: true
	Status *string `json:"status"`
}

ModelsUpdateServerRequest models update server request

swagger:model models.UpdateServerRequest

func (*ModelsUpdateServerRequest) MarshalBinary added in v0.20.0

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

MarshalBinary interface implementation

func (*ModelsUpdateServerRequest) UnmarshalBinary added in v0.20.0

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

UnmarshalBinary interface implementation

func (*ModelsUpdateServerRequest) Validate added in v0.20.0

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

Validate validates this models update server request

type ResponseError

type ResponseError struct {

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

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

ResponseError response error

swagger:model response.Error

func (*ResponseError) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseError) Validate

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

Validate validates this response error

Jump to

Keyboard shortcuts

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