terminated_servers

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 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 terminated servers API

func (*Client) ListTerminatedServersWithNamespace deprecated

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

ListTerminatedServersWithNamespace retrieve all terminated servers in a namespace ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSAM:SERVER [READ]

This endpoint used to retrieve terminated servers in a namespace ```

func (*Client) ListTerminatedServersWithNamespaceShort

func (a *Client) ListTerminatedServersWithNamespaceShort(params *ListTerminatedServersWithNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersWithNamespaceOK, error)

ListTerminatedServersWithNamespaceShort retrieve all terminated servers in a namespace ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSAM:SERVER [READ]

This endpoint used to retrieve terminated servers in a namespace ```

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new terminated servers API client.

type ListTerminatedServersWithNamespaceBadRequest

type ListTerminatedServersWithNamespaceBadRequest struct {
	Payload *dsartifactclientmodels.ResponseError
}

ListTerminatedServersWithNamespaceBadRequest handles this case with default header values.

Bad Request

func NewListTerminatedServersWithNamespaceBadRequest

func NewListTerminatedServersWithNamespaceBadRequest() *ListTerminatedServersWithNamespaceBadRequest

NewListTerminatedServersWithNamespaceBadRequest creates a ListTerminatedServersWithNamespaceBadRequest with default headers values

func (*ListTerminatedServersWithNamespaceBadRequest) Error

func (*ListTerminatedServersWithNamespaceBadRequest) GetPayload

func (*ListTerminatedServersWithNamespaceBadRequest) ToJSONString

type ListTerminatedServersWithNamespaceInternalServerError

type ListTerminatedServersWithNamespaceInternalServerError struct {
	Payload *dsartifactclientmodels.ResponseError
}

ListTerminatedServersWithNamespaceInternalServerError handles this case with default header values.

Internal Server Error

func NewListTerminatedServersWithNamespaceInternalServerError

func NewListTerminatedServersWithNamespaceInternalServerError() *ListTerminatedServersWithNamespaceInternalServerError

NewListTerminatedServersWithNamespaceInternalServerError creates a ListTerminatedServersWithNamespaceInternalServerError with default headers values

func (*ListTerminatedServersWithNamespaceInternalServerError) Error

func (*ListTerminatedServersWithNamespaceInternalServerError) GetPayload

func (*ListTerminatedServersWithNamespaceInternalServerError) ToJSONString

type ListTerminatedServersWithNamespaceOK

type ListTerminatedServersWithNamespaceOK struct {
	Payload *dsartifactclientmodels.ModelsListTerminatedServersResponse
}

ListTerminatedServersWithNamespaceOK handles this case with default header values.

OK

func NewListTerminatedServersWithNamespaceOK

func NewListTerminatedServersWithNamespaceOK() *ListTerminatedServersWithNamespaceOK

NewListTerminatedServersWithNamespaceOK creates a ListTerminatedServersWithNamespaceOK with default headers values

func (*ListTerminatedServersWithNamespaceOK) Error

func (*ListTerminatedServersWithNamespaceOK) GetPayload

func (*ListTerminatedServersWithNamespaceOK) ToJSONString

func (o *ListTerminatedServersWithNamespaceOK) ToJSONString() string

type ListTerminatedServersWithNamespaceParams

type ListTerminatedServersWithNamespaceParams struct {

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

	*/
	Namespace string
	/*Deployment
	  deployment of the game

	*/
	Deployment *string
	/*GameMode
	  game mode of the game

	*/
	GameMode *string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Next
	  next

	*/
	Next *string
	/*PartyID
	  ID of the party

	*/
	PartyID *string
	/*PodName
	  pod name of the server

	*/
	PodName *string
	/*Previous
	  previous

	*/
	Previous *string
	/*Provider
	  provider of the server

	*/
	Provider *string
	/*Region
	  region of the server

	*/
	Region *string
	/*SessionID
	  session id of the game

	*/
	SessionID *string
	/*UserID
	  ID of the user

	*/
	UserID *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
}

ListTerminatedServersWithNamespaceParams contains all the parameters to send to the API endpoint for the list terminated servers with namespace operation typically these are written to a http.Request

func NewListTerminatedServersWithNamespaceParams

func NewListTerminatedServersWithNamespaceParams() *ListTerminatedServersWithNamespaceParams

NewListTerminatedServersWithNamespaceParams creates a new ListTerminatedServersWithNamespaceParams object with the default values initialized.

func NewListTerminatedServersWithNamespaceParamsWithContext

func NewListTerminatedServersWithNamespaceParamsWithContext(ctx context.Context) *ListTerminatedServersWithNamespaceParams

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

func NewListTerminatedServersWithNamespaceParamsWithHTTPClient

func NewListTerminatedServersWithNamespaceParamsWithHTTPClient(client *http.Client) *ListTerminatedServersWithNamespaceParams

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

func NewListTerminatedServersWithNamespaceParamsWithTimeout

func NewListTerminatedServersWithNamespaceParamsWithTimeout(timeout time.Duration) *ListTerminatedServersWithNamespaceParams

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

func (*ListTerminatedServersWithNamespaceParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetContext

SetContext adds the context to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetDeployment

func (o *ListTerminatedServersWithNamespaceParams) SetDeployment(deployment *string)

SetDeployment adds the deployment to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetFlightId

func (o *ListTerminatedServersWithNamespaceParams) SetFlightId(flightId string)

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

func (*ListTerminatedServersWithNamespaceParams) SetGameMode

func (o *ListTerminatedServersWithNamespaceParams) SetGameMode(gameMode *string)

SetGameMode adds the gameMode to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetLimit

func (o *ListTerminatedServersWithNamespaceParams) SetLimit(limit *int64)

SetLimit adds the limit to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetNamespace

func (o *ListTerminatedServersWithNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetNext

func (o *ListTerminatedServersWithNamespaceParams) SetNext(nextVar *string)

SetNext adds the next to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetPartyID

func (o *ListTerminatedServersWithNamespaceParams) SetPartyID(partyID *string)

SetPartyID adds the partyId to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetPodName

func (o *ListTerminatedServersWithNamespaceParams) SetPodName(podName *string)

SetPodName adds the podName to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetPrevious

func (o *ListTerminatedServersWithNamespaceParams) SetPrevious(previous *string)

SetPrevious adds the previous to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetProvider

func (o *ListTerminatedServersWithNamespaceParams) SetProvider(provider *string)

SetProvider adds the provider to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetRegion

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

SetRegion adds the region to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetSessionID

func (o *ListTerminatedServersWithNamespaceParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetTimeout

SetTimeout adds the timeout to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) SetUserID

func (o *ListTerminatedServersWithNamespaceParams) SetUserID(userID *string)

SetUserID adds the userId to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithContext

WithContext adds the context to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithDeployment

WithDeployment adds the deployment to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithGameMode

WithGameMode adds the gameMode to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithLimit

WithLimit adds the limit to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithNamespace

WithNamespace adds the namespace to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithNext

WithNext adds the nextVar to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithPartyID

WithPartyID adds the partyID to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithPodName

WithPodName adds the podName to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithPrevious

WithPrevious adds the previous to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithProvider

WithProvider adds the provider to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithRegion

WithRegion adds the region to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithSessionID

WithSessionID adds the sessionID to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithTimeout

WithTimeout adds the timeout to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WithUserID

WithUserID adds the userID to the list terminated servers with namespace params

func (*ListTerminatedServersWithNamespaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListTerminatedServersWithNamespaceReader

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

ListTerminatedServersWithNamespaceReader is a Reader for the ListTerminatedServersWithNamespace structure.

func (*ListTerminatedServersWithNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTerminatedServersWithNamespaceUnauthorized

type ListTerminatedServersWithNamespaceUnauthorized struct {
	Payload *dsartifactclientmodels.ResponseError
}

ListTerminatedServersWithNamespaceUnauthorized handles this case with default header values.

Unauthorized

func NewListTerminatedServersWithNamespaceUnauthorized

func NewListTerminatedServersWithNamespaceUnauthorized() *ListTerminatedServersWithNamespaceUnauthorized

NewListTerminatedServersWithNamespaceUnauthorized creates a ListTerminatedServersWithNamespaceUnauthorized with default headers values

func (*ListTerminatedServersWithNamespaceUnauthorized) Error

func (*ListTerminatedServersWithNamespaceUnauthorized) GetPayload

func (*ListTerminatedServersWithNamespaceUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

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