servers

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 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) FleetServerConnectionInfo deprecated added in v0.66.0

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

FleetServerConnectionInfo get connection info for a dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]

func (*Client) FleetServerConnectionInfoShort added in v0.66.0

func (a *Client) FleetServerConnectionInfoShort(params *FleetServerConnectionInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerConnectionInfoOK, error)

FleetServerConnectionInfoShort get connection info for a dedicated server Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]

func (*Client) FleetServerHistory deprecated

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

FleetServerHistory get history records of a dedicated server in 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 dedicated server in 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 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 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 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 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 ClientService

type ClientService interface {
	FleetServerHistory(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, *FleetServerHistoryBadRequest, *FleetServerHistoryUnauthorized, *FleetServerHistoryForbidden, *FleetServerHistoryInternalServerError, error)
	FleetServerHistoryShort(params *FleetServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerHistoryOK, error)
	FleetServerInfo(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, *FleetServerInfoUnauthorized, *FleetServerInfoForbidden, *FleetServerInfoNotFound, *FleetServerInfoInternalServerError, error)
	FleetServerInfoShort(params *FleetServerInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerInfoOK, error)
	FleetServerConnectionInfo(params *FleetServerConnectionInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerConnectionInfoOK, *FleetServerConnectionInfoUnauthorized, *FleetServerConnectionInfoForbidden, *FleetServerConnectionInfoNotFound, *FleetServerConnectionInfoInternalServerError, error)
	FleetServerConnectionInfoShort(params *FleetServerConnectionInfoParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServerConnectionInfoOK, error)
	ServerHistory(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, *ServerHistoryBadRequest, *ServerHistoryUnauthorized, *ServerHistoryForbidden, *ServerHistoryInternalServerError, error)
	ServerHistoryShort(params *ServerHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHistoryOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new servers API client.

type FleetServerConnectionInfoForbidden added in v0.66.0

type FleetServerConnectionInfoForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerConnectionInfoForbidden handles this case with default header values.

insufficient permissions

func NewFleetServerConnectionInfoForbidden added in v0.66.0

func NewFleetServerConnectionInfoForbidden() *FleetServerConnectionInfoForbidden

NewFleetServerConnectionInfoForbidden creates a FleetServerConnectionInfoForbidden with default headers values

func (*FleetServerConnectionInfoForbidden) Error added in v0.66.0

func (*FleetServerConnectionInfoForbidden) GetPayload added in v0.66.0

func (*FleetServerConnectionInfoForbidden) ToJSONString added in v0.66.0

func (o *FleetServerConnectionInfoForbidden) ToJSONString() string

type FleetServerConnectionInfoInternalServerError added in v0.66.0

type FleetServerConnectionInfoInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerConnectionInfoInternalServerError handles this case with default header values.

internal server error

func NewFleetServerConnectionInfoInternalServerError added in v0.66.0

func NewFleetServerConnectionInfoInternalServerError() *FleetServerConnectionInfoInternalServerError

NewFleetServerConnectionInfoInternalServerError creates a FleetServerConnectionInfoInternalServerError with default headers values

func (*FleetServerConnectionInfoInternalServerError) Error added in v0.66.0

func (*FleetServerConnectionInfoInternalServerError) GetPayload added in v0.66.0

func (*FleetServerConnectionInfoInternalServerError) ToJSONString added in v0.66.0

type FleetServerConnectionInfoNotFound added in v0.66.0

type FleetServerConnectionInfoNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerConnectionInfoNotFound handles this case with default header values.

dedicated server not found

func NewFleetServerConnectionInfoNotFound added in v0.66.0

func NewFleetServerConnectionInfoNotFound() *FleetServerConnectionInfoNotFound

NewFleetServerConnectionInfoNotFound creates a FleetServerConnectionInfoNotFound with default headers values

func (*FleetServerConnectionInfoNotFound) Error added in v0.66.0

func (*FleetServerConnectionInfoNotFound) GetPayload added in v0.66.0

func (*FleetServerConnectionInfoNotFound) ToJSONString added in v0.66.0

func (o *FleetServerConnectionInfoNotFound) ToJSONString() string

type FleetServerConnectionInfoOK added in v0.66.0

type FleetServerConnectionInfoOK struct {
	Payload *amsclientmodels.APIFleetServerConnectionInfoResponse
}

FleetServerConnectionInfoOK handles this case with default header values.

success

func NewFleetServerConnectionInfoOK added in v0.66.0

func NewFleetServerConnectionInfoOK() *FleetServerConnectionInfoOK

NewFleetServerConnectionInfoOK creates a FleetServerConnectionInfoOK with default headers values

func (*FleetServerConnectionInfoOK) Error added in v0.66.0

func (*FleetServerConnectionInfoOK) GetPayload added in v0.66.0

func (*FleetServerConnectionInfoOK) ToJSONString added in v0.66.0

func (o *FleetServerConnectionInfoOK) ToJSONString() string

type FleetServerConnectionInfoParams added in v0.66.0

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewFleetServerConnectionInfoParams added in v0.66.0

func NewFleetServerConnectionInfoParams() *FleetServerConnectionInfoParams

NewFleetServerConnectionInfoParams creates a new FleetServerConnectionInfoParams object with the default values initialized.

func NewFleetServerConnectionInfoParamsWithContext added in v0.66.0

func NewFleetServerConnectionInfoParamsWithContext(ctx context.Context) *FleetServerConnectionInfoParams

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

func NewFleetServerConnectionInfoParamsWithHTTPClient added in v0.66.0

func NewFleetServerConnectionInfoParamsWithHTTPClient(client *http.Client) *FleetServerConnectionInfoParams

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

func NewFleetServerConnectionInfoParamsWithTimeout added in v0.66.0

func NewFleetServerConnectionInfoParamsWithTimeout(timeout time.Duration) *FleetServerConnectionInfoParams

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

func (*FleetServerConnectionInfoParams) SetAuthInfoWriter added in v0.66.0

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

SetAuthInfoWriter adds the authInfoWriter to the fleet server connection info params

func (*FleetServerConnectionInfoParams) SetContext added in v0.66.0

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

SetContext adds the context to the fleet server connection info params

func (*FleetServerConnectionInfoParams) SetFlightId added in v0.66.0

func (o *FleetServerConnectionInfoParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*FleetServerConnectionInfoParams) SetHTTPClient added in v0.66.0

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

SetHTTPClient adds the HTTPClient to the fleet server connection info params

func (*FleetServerConnectionInfoParams) SetHTTPClientTransport added in v0.66.0

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

SetHTTPClient adds the HTTPClient Transport to the fleet server connection info params

func (*FleetServerConnectionInfoParams) SetNamespace added in v0.66.0

func (o *FleetServerConnectionInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet server connection info params

func (*FleetServerConnectionInfoParams) SetServerID added in v0.66.0

func (o *FleetServerConnectionInfoParams) SetServerID(serverID string)

SetServerID adds the serverId to the fleet server connection info params

func (*FleetServerConnectionInfoParams) SetTimeout added in v0.66.0

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

SetTimeout adds the timeout to the fleet server connection info params

func (*FleetServerConnectionInfoParams) WithContext added in v0.66.0

WithContext adds the context to the fleet server connection info params

func (*FleetServerConnectionInfoParams) WithHTTPClient added in v0.66.0

WithHTTPClient adds the HTTPClient to the fleet server connection info params

func (*FleetServerConnectionInfoParams) WithNamespace added in v0.66.0

WithNamespace adds the namespace to the fleet server connection info params

func (*FleetServerConnectionInfoParams) WithServerID added in v0.66.0

WithServerID adds the serverID to the fleet server connection info params

func (*FleetServerConnectionInfoParams) WithTimeout added in v0.66.0

WithTimeout adds the timeout to the fleet server connection info params

func (*FleetServerConnectionInfoParams) WriteToRequest added in v0.66.0

WriteToRequest writes these params to a swagger request

type FleetServerConnectionInfoReader added in v0.66.0

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

FleetServerConnectionInfoReader is a Reader for the FleetServerConnectionInfo structure.

func (*FleetServerConnectionInfoReader) ReadResponse added in v0.66.0

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

ReadResponse reads a server response into the received o.

type FleetServerConnectionInfoUnauthorized added in v0.66.0

type FleetServerConnectionInfoUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServerConnectionInfoUnauthorized handles this case with default header values.

no authorization provided

func NewFleetServerConnectionInfoUnauthorized added in v0.66.0

func NewFleetServerConnectionInfoUnauthorized() *FleetServerConnectionInfoUnauthorized

NewFleetServerConnectionInfoUnauthorized creates a FleetServerConnectionInfoUnauthorized with default headers values

func (*FleetServerConnectionInfoUnauthorized) Error added in v0.66.0

func (*FleetServerConnectionInfoUnauthorized) GetPayload added in v0.66.0

func (*FleetServerConnectionInfoUnauthorized) ToJSONString added in v0.66.0

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
	  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
	/*Reason
	  Exit reason

	*/
	Reason *string
	/*Region
	  Region

	*/
	Region *string
	/*ServerID
	  Dedicated server ID

	*/
	ServerID *string
	/*SortDirection
	  The direction of the sort on the 'createdAt' column, 'asc' for ascending and 'desc' for descending. Defaults to 'asc' when not provided.

	*/
	SortDirection *string
	/*Status
	  Status of the dedicated server

	*/
	Status *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *FleetServerHistoryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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) SetReason added in v0.51.0

func (o *FleetServerHistoryParams) SetReason(reason *string)

SetReason adds the reason to the fleet server history params

func (*FleetServerHistoryParams) SetRegion added in v0.51.0

func (o *FleetServerHistoryParams) SetRegion(region *string)

SetRegion adds the region to the fleet server history params

func (*FleetServerHistoryParams) SetServerID added in v0.51.0

func (o *FleetServerHistoryParams) SetServerID(serverID *string)

SetServerID adds the serverId to the fleet server history params

func (*FleetServerHistoryParams) SetSortDirection added in v0.51.0

func (o *FleetServerHistoryParams) SetSortDirection(sortDirection *string)

SetSortDirection adds the sortDirection to the fleet server history params

func (*FleetServerHistoryParams) SetStatus added in v0.51.0

func (o *FleetServerHistoryParams) SetStatus(status *string)

SetStatus adds the status 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) WithReason added in v0.51.0

WithReason adds the reason to the fleet server history params

func (*FleetServerHistoryParams) WithRegion added in v0.51.0

WithRegion adds the region to the fleet server history params

func (*FleetServerHistoryParams) WithServerID added in v0.51.0

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

WithServerID adds the serverID to the fleet server history params

func (*FleetServerHistoryParams) WithSortDirection added in v0.51.0

func (o *FleetServerHistoryParams) WithSortDirection(sortDirection *string) *FleetServerHistoryParams

WithSortDirection adds the sortDirection to the fleet server history params

func (*FleetServerHistoryParams) WithStatus added in v0.51.0

WithStatus adds the status 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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *FleetServerInfoParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *ServerHistoryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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