servers

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for servers API

func (*Client) FleetServerHistory deprecated

Deprecated: 2022-08-10 - Use FleetServerHistoryShort instead.

FleetServerHistory get history records of a specific dedicated server for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) FleetServerHistoryShort

func (a *Client) FleetServerHistoryShort(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, error)

FleetServerHistoryShort get history records of a specific dedicated server for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) FleetServerInfo deprecated

Deprecated: 2022-08-10 - Use FleetServerInfoShort instead.

FleetServerInfo get information about a specific dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) FleetServerInfoShort

func (a *Client) FleetServerInfoShort(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, error)

FleetServerInfoShort get information about a specific dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) ServerHistory deprecated

Deprecated: 2022-08-10 - Use ServerHistoryShort instead.

ServerHistory get history records of a specific dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) ServerHistoryShort

func (a *Client) ServerHistoryShort(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, error)

ServerHistoryShort get history records of a specific dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type FleetServerHistoryBadRequest

type FleetServerHistoryBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerHistoryBadRequest handles this case with default header values.

bad request

func NewFleetServerHistoryBadRequest

func NewFleetServerHistoryBadRequest() *FleetServerHistoryBadRequest

NewFleetServerHistoryBadRequest creates a FleetServerHistoryBadRequest with default headers values

func (*FleetServerHistoryBadRequest) Error

func (*FleetServerHistoryBadRequest) GetPayload

func (*FleetServerHistoryBadRequest) ToJSONString

func (o *FleetServerHistoryBadRequest) ToJSONString() string

type FleetServerHistoryForbidden

type FleetServerHistoryForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerHistoryForbidden handles this case with default header values.

insufficient permissions

func NewFleetServerHistoryForbidden

func NewFleetServerHistoryForbidden() *FleetServerHistoryForbidden

NewFleetServerHistoryForbidden creates a FleetServerHistoryForbidden with default headers values

func (*FleetServerHistoryForbidden) Error

func (*FleetServerHistoryForbidden) GetPayload

func (*FleetServerHistoryForbidden) ToJSONString

func (o *FleetServerHistoryForbidden) ToJSONString() string

type FleetServerHistoryInternalServerError

type FleetServerHistoryInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerHistoryInternalServerError handles this case with default header values.

internal server error

func NewFleetServerHistoryInternalServerError

func NewFleetServerHistoryInternalServerError() *FleetServerHistoryInternalServerError

NewFleetServerHistoryInternalServerError creates a FleetServerHistoryInternalServerError with default headers values

func (*FleetServerHistoryInternalServerError) Error

func (*FleetServerHistoryInternalServerError) GetPayload

func (*FleetServerHistoryInternalServerError) ToJSONString

type FleetServerHistoryOK

type FleetServerHistoryOK struct {
	Payload *amsclientmodels.APIDSHistoryList
}

FleetServerHistoryOK handles this case with default header values.

success

func NewFleetServerHistoryOK

func NewFleetServerHistoryOK() *FleetServerHistoryOK

NewFleetServerHistoryOK creates a FleetServerHistoryOK with default headers values

func (*FleetServerHistoryOK) Error

func (o *FleetServerHistoryOK) Error() string

func (*FleetServerHistoryOK) GetPayload

func (*FleetServerHistoryOK) ToJSONString

func (o *FleetServerHistoryOK) ToJSONString() string

type FleetServerHistoryParams

type FleetServerHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*FleetID
	  the id of the fleet

	*/
	FleetID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Count
	  Defines the maximum number of records returned in one page. Default is 1000 when not provided.

	*/
	Count *int64
	/*Offset
	  Specifies the start index for the records returned. Useful for implementing pagination. Default is 0 when not provided.

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

FleetServerHistoryParams contains all the parameters to send to the API endpoint for the fleet server history operation typically these are written to a http.Request

func NewFleetServerHistoryParams

func NewFleetServerHistoryParams() *FleetServerHistoryParams

NewFleetServerHistoryParams creates a new FleetServerHistoryParams object with the default values initialized.

func NewFleetServerHistoryParamsWithContext

func NewFleetServerHistoryParamsWithContext(ctx context.Context) *FleetServerHistoryParams

NewFleetServerHistoryParamsWithContext creates a new FleetServerHistoryParams object with the default values initialized, and the ability to set a context for a request

func NewFleetServerHistoryParamsWithHTTPClient

func NewFleetServerHistoryParamsWithHTTPClient(client *http.Client) *FleetServerHistoryParams

NewFleetServerHistoryParamsWithHTTPClient creates a new FleetServerHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFleetServerHistoryParamsWithTimeout

func NewFleetServerHistoryParamsWithTimeout(timeout time.Duration) *FleetServerHistoryParams

NewFleetServerHistoryParamsWithTimeout creates a new FleetServerHistoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*FleetServerHistoryParams) SetAuthInfoWriter

func (o *FleetServerHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the fleet server history params

func (*FleetServerHistoryParams) SetContext

func (o *FleetServerHistoryParams) SetContext(ctx context.Context)

SetContext adds the context to the fleet server history params

func (*FleetServerHistoryParams) SetCount added in v0.48.0

func (o *FleetServerHistoryParams) SetCount(count *int64)

SetCount adds the count to the fleet server history params

func (*FleetServerHistoryParams) SetFleetID

func (o *FleetServerHistoryParams) SetFleetID(fleetID string)

SetFleetID adds the fleetId to the fleet server history params

func (*FleetServerHistoryParams) SetHTTPClient

func (o *FleetServerHistoryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the fleet server history params

func (*FleetServerHistoryParams) SetHTTPClientTransport

func (o *FleetServerHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the fleet server history params

func (*FleetServerHistoryParams) SetNamespace

func (o *FleetServerHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet server history params

func (*FleetServerHistoryParams) SetOffset added in v0.47.0

func (o *FleetServerHistoryParams) SetOffset(offset *int64)

SetOffset adds the offset to the fleet server history params

func (*FleetServerHistoryParams) SetTimeout

func (o *FleetServerHistoryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the fleet server history params

func (*FleetServerHistoryParams) WithContext

WithContext adds the context to the fleet server history params

func (*FleetServerHistoryParams) WithCount added in v0.48.0

WithCount adds the count to the fleet server history params

func (*FleetServerHistoryParams) WithFleetID

func (o *FleetServerHistoryParams) WithFleetID(fleetID string) *FleetServerHistoryParams

WithFleetID adds the fleetID to the fleet server history params

func (*FleetServerHistoryParams) WithHTTPClient

func (o *FleetServerHistoryParams) WithHTTPClient(client *http.Client) *FleetServerHistoryParams

WithHTTPClient adds the HTTPClient to the fleet server history params

func (*FleetServerHistoryParams) WithNamespace

func (o *FleetServerHistoryParams) WithNamespace(namespace string) *FleetServerHistoryParams

WithNamespace adds the namespace to the fleet server history params

func (*FleetServerHistoryParams) WithOffset added in v0.47.0

WithOffset adds the offset to the fleet server history params

func (*FleetServerHistoryParams) WithTimeout

WithTimeout adds the timeout to the fleet server history params

func (*FleetServerHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FleetServerHistoryReader

type FleetServerHistoryReader struct {
	// contains filtered or unexported fields
}

FleetServerHistoryReader is a Reader for the FleetServerHistory structure.

func (*FleetServerHistoryReader) ReadResponse

func (o *FleetServerHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FleetServerHistoryUnauthorized

type FleetServerHistoryUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerHistoryUnauthorized handles this case with default header values.

no authorization provided

func NewFleetServerHistoryUnauthorized

func NewFleetServerHistoryUnauthorized() *FleetServerHistoryUnauthorized

NewFleetServerHistoryUnauthorized creates a FleetServerHistoryUnauthorized with default headers values

func (*FleetServerHistoryUnauthorized) Error

func (*FleetServerHistoryUnauthorized) GetPayload

func (*FleetServerHistoryUnauthorized) ToJSONString

func (o *FleetServerHistoryUnauthorized) ToJSONString() string

type FleetServerInfoForbidden

type FleetServerInfoForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerInfoForbidden handles this case with default header values.

insufficient permissions

func NewFleetServerInfoForbidden

func NewFleetServerInfoForbidden() *FleetServerInfoForbidden

NewFleetServerInfoForbidden creates a FleetServerInfoForbidden with default headers values

func (*FleetServerInfoForbidden) Error

func (o *FleetServerInfoForbidden) Error() string

func (*FleetServerInfoForbidden) GetPayload

func (*FleetServerInfoForbidden) ToJSONString

func (o *FleetServerInfoForbidden) ToJSONString() string

type FleetServerInfoInternalServerError

type FleetServerInfoInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerInfoInternalServerError handles this case with default header values.

internal server error

func NewFleetServerInfoInternalServerError

func NewFleetServerInfoInternalServerError() *FleetServerInfoInternalServerError

NewFleetServerInfoInternalServerError creates a FleetServerInfoInternalServerError with default headers values

func (*FleetServerInfoInternalServerError) Error

func (*FleetServerInfoInternalServerError) GetPayload

func (*FleetServerInfoInternalServerError) ToJSONString

func (o *FleetServerInfoInternalServerError) ToJSONString() string

type FleetServerInfoNotFound

type FleetServerInfoNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerInfoNotFound handles this case with default header values.

dedicated server not found

func NewFleetServerInfoNotFound

func NewFleetServerInfoNotFound() *FleetServerInfoNotFound

NewFleetServerInfoNotFound creates a FleetServerInfoNotFound with default headers values

func (*FleetServerInfoNotFound) Error

func (o *FleetServerInfoNotFound) Error() string

func (*FleetServerInfoNotFound) GetPayload

func (*FleetServerInfoNotFound) ToJSONString

func (o *FleetServerInfoNotFound) ToJSONString() string

type FleetServerInfoOK

type FleetServerInfoOK struct {
	Payload *amsclientmodels.APIFleetServerInfoResponse
}

FleetServerInfoOK handles this case with default header values.

success

func NewFleetServerInfoOK

func NewFleetServerInfoOK() *FleetServerInfoOK

NewFleetServerInfoOK creates a FleetServerInfoOK with default headers values

func (*FleetServerInfoOK) Error

func (o *FleetServerInfoOK) Error() string

func (*FleetServerInfoOK) GetPayload

func (*FleetServerInfoOK) ToJSONString

func (o *FleetServerInfoOK) ToJSONString() string

type FleetServerInfoParams

type FleetServerInfoParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ServerID
	  the id of the dedicated server

	*/
	ServerID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

FleetServerInfoParams contains all the parameters to send to the API endpoint for the fleet server info operation typically these are written to a http.Request

func NewFleetServerInfoParams

func NewFleetServerInfoParams() *FleetServerInfoParams

NewFleetServerInfoParams creates a new FleetServerInfoParams object with the default values initialized.

func NewFleetServerInfoParamsWithContext

func NewFleetServerInfoParamsWithContext(ctx context.Context) *FleetServerInfoParams

NewFleetServerInfoParamsWithContext creates a new FleetServerInfoParams object with the default values initialized, and the ability to set a context for a request

func NewFleetServerInfoParamsWithHTTPClient

func NewFleetServerInfoParamsWithHTTPClient(client *http.Client) *FleetServerInfoParams

NewFleetServerInfoParamsWithHTTPClient creates a new FleetServerInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFleetServerInfoParamsWithTimeout

func NewFleetServerInfoParamsWithTimeout(timeout time.Duration) *FleetServerInfoParams

NewFleetServerInfoParamsWithTimeout creates a new FleetServerInfoParams object with the default values initialized, and the ability to set a timeout on a request

func (*FleetServerInfoParams) SetAuthInfoWriter

func (o *FleetServerInfoParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the fleet server info params

func (*FleetServerInfoParams) SetContext

func (o *FleetServerInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the fleet server info params

func (*FleetServerInfoParams) SetHTTPClient

func (o *FleetServerInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the fleet server info params

func (*FleetServerInfoParams) SetHTTPClientTransport

func (o *FleetServerInfoParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the fleet server info params

func (*FleetServerInfoParams) SetNamespace

func (o *FleetServerInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet server info params

func (*FleetServerInfoParams) SetServerID

func (o *FleetServerInfoParams) SetServerID(serverID string)

SetServerID adds the serverId to the fleet server info params

func (*FleetServerInfoParams) SetTimeout

func (o *FleetServerInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the fleet server info params

func (*FleetServerInfoParams) WithContext

WithContext adds the context to the fleet server info params

func (*FleetServerInfoParams) WithHTTPClient

func (o *FleetServerInfoParams) WithHTTPClient(client *http.Client) *FleetServerInfoParams

WithHTTPClient adds the HTTPClient to the fleet server info params

func (*FleetServerInfoParams) WithNamespace

func (o *FleetServerInfoParams) WithNamespace(namespace string) *FleetServerInfoParams

WithNamespace adds the namespace to the fleet server info params

func (*FleetServerInfoParams) WithServerID

func (o *FleetServerInfoParams) WithServerID(serverID string) *FleetServerInfoParams

WithServerID adds the serverID to the fleet server info params

func (*FleetServerInfoParams) WithTimeout

func (o *FleetServerInfoParams) WithTimeout(timeout time.Duration) *FleetServerInfoParams

WithTimeout adds the timeout to the fleet server info params

func (*FleetServerInfoParams) WriteToRequest

func (o *FleetServerInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FleetServerInfoReader

type FleetServerInfoReader struct {
	// contains filtered or unexported fields
}

FleetServerInfoReader is a Reader for the FleetServerInfo structure.

func (*FleetServerInfoReader) ReadResponse

func (o *FleetServerInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FleetServerInfoUnauthorized

type FleetServerInfoUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerInfoUnauthorized handles this case with default header values.

no authorization provided

func NewFleetServerInfoUnauthorized

func NewFleetServerInfoUnauthorized() *FleetServerInfoUnauthorized

NewFleetServerInfoUnauthorized creates a FleetServerInfoUnauthorized with default headers values

func (*FleetServerInfoUnauthorized) Error

func (*FleetServerInfoUnauthorized) GetPayload

func (*FleetServerInfoUnauthorized) ToJSONString

func (o *FleetServerInfoUnauthorized) ToJSONString() string

type ServerHistoryBadRequest

type ServerHistoryBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ServerHistoryBadRequest handles this case with default header values.

bad request

func NewServerHistoryBadRequest

func NewServerHistoryBadRequest() *ServerHistoryBadRequest

NewServerHistoryBadRequest creates a ServerHistoryBadRequest with default headers values

func (*ServerHistoryBadRequest) Error

func (o *ServerHistoryBadRequest) Error() string

func (*ServerHistoryBadRequest) GetPayload

func (*ServerHistoryBadRequest) ToJSONString

func (o *ServerHistoryBadRequest) ToJSONString() string

type ServerHistoryForbidden

type ServerHistoryForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ServerHistoryForbidden handles this case with default header values.

insufficient permissions

func NewServerHistoryForbidden

func NewServerHistoryForbidden() *ServerHistoryForbidden

NewServerHistoryForbidden creates a ServerHistoryForbidden with default headers values

func (*ServerHistoryForbidden) Error

func (o *ServerHistoryForbidden) Error() string

func (*ServerHistoryForbidden) GetPayload

func (*ServerHistoryForbidden) ToJSONString

func (o *ServerHistoryForbidden) ToJSONString() string

type ServerHistoryInternalServerError

type ServerHistoryInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ServerHistoryInternalServerError handles this case with default header values.

internal server error

func NewServerHistoryInternalServerError

func NewServerHistoryInternalServerError() *ServerHistoryInternalServerError

NewServerHistoryInternalServerError creates a ServerHistoryInternalServerError with default headers values

func (*ServerHistoryInternalServerError) Error

func (*ServerHistoryInternalServerError) GetPayload

func (*ServerHistoryInternalServerError) ToJSONString

func (o *ServerHistoryInternalServerError) ToJSONString() string

type ServerHistoryOK

type ServerHistoryOK struct {
	Payload *amsclientmodels.APIFleetServerHistoryResponse
}

ServerHistoryOK handles this case with default header values.

success

func NewServerHistoryOK

func NewServerHistoryOK() *ServerHistoryOK

NewServerHistoryOK creates a ServerHistoryOK with default headers values

func (*ServerHistoryOK) Error

func (o *ServerHistoryOK) Error() string

func (*ServerHistoryOK) GetPayload

func (*ServerHistoryOK) ToJSONString

func (o *ServerHistoryOK) ToJSONString() string

type ServerHistoryParams

type ServerHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ServerID
	  the id of the dedicated server

	*/
	ServerID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

ServerHistoryParams contains all the parameters to send to the API endpoint for the server history operation typically these are written to a http.Request

func NewServerHistoryParams

func NewServerHistoryParams() *ServerHistoryParams

NewServerHistoryParams creates a new ServerHistoryParams object with the default values initialized.

func NewServerHistoryParamsWithContext

func NewServerHistoryParamsWithContext(ctx context.Context) *ServerHistoryParams

NewServerHistoryParamsWithContext creates a new ServerHistoryParams object with the default values initialized, and the ability to set a context for a request

func NewServerHistoryParamsWithHTTPClient

func NewServerHistoryParamsWithHTTPClient(client *http.Client) *ServerHistoryParams

NewServerHistoryParamsWithHTTPClient creates a new ServerHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewServerHistoryParamsWithTimeout

func NewServerHistoryParamsWithTimeout(timeout time.Duration) *ServerHistoryParams

NewServerHistoryParamsWithTimeout creates a new ServerHistoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*ServerHistoryParams) SetAuthInfoWriter

func (o *ServerHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the server history params

func (*ServerHistoryParams) SetContext

func (o *ServerHistoryParams) SetContext(ctx context.Context)

SetContext adds the context to the server history params

func (*ServerHistoryParams) SetHTTPClient

func (o *ServerHistoryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the server history params

func (*ServerHistoryParams) SetHTTPClientTransport

func (o *ServerHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the server history params

func (*ServerHistoryParams) SetNamespace

func (o *ServerHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the server history params

func (*ServerHistoryParams) SetServerID

func (o *ServerHistoryParams) SetServerID(serverID string)

SetServerID adds the serverId to the server history params

func (*ServerHistoryParams) SetTimeout

func (o *ServerHistoryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the server history params

func (*ServerHistoryParams) WithContext

WithContext adds the context to the server history params

func (*ServerHistoryParams) WithHTTPClient

func (o *ServerHistoryParams) WithHTTPClient(client *http.Client) *ServerHistoryParams

WithHTTPClient adds the HTTPClient to the server history params

func (*ServerHistoryParams) WithNamespace

func (o *ServerHistoryParams) WithNamespace(namespace string) *ServerHistoryParams

WithNamespace adds the namespace to the server history params

func (*ServerHistoryParams) WithServerID

func (o *ServerHistoryParams) WithServerID(serverID string) *ServerHistoryParams

WithServerID adds the serverID to the server history params

func (*ServerHistoryParams) WithTimeout

func (o *ServerHistoryParams) WithTimeout(timeout time.Duration) *ServerHistoryParams

WithTimeout adds the timeout to the server history params

func (*ServerHistoryParams) WriteToRequest

func (o *ServerHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ServerHistoryReader

type ServerHistoryReader struct {
	// contains filtered or unexported fields
}

ServerHistoryReader is a Reader for the ServerHistory structure.

func (*ServerHistoryReader) ReadResponse

func (o *ServerHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServerHistoryUnauthorized

type ServerHistoryUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ServerHistoryUnauthorized handles this case with default header values.

no authorization provided

func NewServerHistoryUnauthorized

func NewServerHistoryUnauthorized() *ServerHistoryUnauthorized

NewServerHistoryUnauthorized creates a ServerHistoryUnauthorized with default headers values

func (*ServerHistoryUnauthorized) Error

func (o *ServerHistoryUnauthorized) Error() string

func (*ServerHistoryUnauthorized) GetPayload

func (*ServerHistoryUnauthorized) ToJSONString

func (o *ServerHistoryUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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