qosmclientmodels

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 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
	// Format: int32
	Port *int32 `json:"port"`

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

ModelsHeartbeatRequest Models heartbeat request

swagger:model Models heartbeat request.

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 list server response.

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
	// Format: int32
	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 set alias request.

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 update server request.

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
	// Format: int32
	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