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