all_terminated_servers

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 13 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 all terminated servers API

func (*Client) ListAllTerminatedServers

ListAllTerminatedServers retrieves all terminated servers

```

Required permission: ADMIN:NAMESPACE:{namespace}:DSLM:SERVER [READ]

This endpoint used to retrieve terminated servers in all 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 all terminated servers API client.

type ListAllTerminatedServersBadRequest

type ListAllTerminatedServersBadRequest struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

ListAllTerminatedServersBadRequest handles this case with default header values.

Bad Request

func NewListAllTerminatedServersBadRequest

func NewListAllTerminatedServersBadRequest() *ListAllTerminatedServersBadRequest

NewListAllTerminatedServersBadRequest creates a ListAllTerminatedServersBadRequest with default headers values

func (*ListAllTerminatedServersBadRequest) Error

func (*ListAllTerminatedServersBadRequest) GetPayload

type ListAllTerminatedServersInternalServerError

type ListAllTerminatedServersInternalServerError struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

ListAllTerminatedServersInternalServerError handles this case with default header values.

Internal Server Error

func NewListAllTerminatedServersInternalServerError

func NewListAllTerminatedServersInternalServerError() *ListAllTerminatedServersInternalServerError

NewListAllTerminatedServersInternalServerError creates a ListAllTerminatedServersInternalServerError with default headers values

func (*ListAllTerminatedServersInternalServerError) Error

func (*ListAllTerminatedServersInternalServerError) GetPayload

type ListAllTerminatedServersOK

type ListAllTerminatedServersOK struct {
	Payload *dslogmanagerclientmodels.ModelsListTerminatedServersResponse
}

ListAllTerminatedServersOK handles this case with default header values.

OK

func NewListAllTerminatedServersOK

func NewListAllTerminatedServersOK() *ListAllTerminatedServersOK

NewListAllTerminatedServersOK creates a ListAllTerminatedServersOK with default headers values

func (*ListAllTerminatedServersOK) Error

func (*ListAllTerminatedServersOK) GetPayload

type ListAllTerminatedServersParams

type ListAllTerminatedServersParams struct {

	/*Deployment
	  deployment of the game

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

	*/
	GameMode *string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Namespace
	  namespace of the server

	*/
	Namespace *string
	/*Offset
	  offset

	*/
	Offset *int64
	/*PartyID
	  ID of the party

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

	*/
	PodName *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

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

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

func NewListAllTerminatedServersParams

func NewListAllTerminatedServersParams() *ListAllTerminatedServersParams

NewListAllTerminatedServersParams creates a new ListAllTerminatedServersParams object with the default values initialized.

func NewListAllTerminatedServersParamsWithContext

func NewListAllTerminatedServersParamsWithContext(ctx context.Context) *ListAllTerminatedServersParams

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

func NewListAllTerminatedServersParamsWithHTTPClient

func NewListAllTerminatedServersParamsWithHTTPClient(client *http.Client) *ListAllTerminatedServersParams

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

func NewListAllTerminatedServersParamsWithTimeout

func NewListAllTerminatedServersParamsWithTimeout(timeout time.Duration) *ListAllTerminatedServersParams

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

func (*ListAllTerminatedServersParams) SetContext

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

SetContext adds the context to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetDeployment

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

SetDeployment adds the deployment to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetGameMode

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

SetGameMode adds the gameMode to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetLimit

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

SetLimit adds the limit to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetNamespace

func (o *ListAllTerminatedServersParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetOffset

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

SetOffset adds the offset to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetPartyID

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

SetPartyID adds the partyId to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetPodName

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

SetPodName adds the podName to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetProvider

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

SetProvider adds the provider to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetRegion

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

SetRegion adds the region to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetSessionID

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

SetSessionID adds the sessionId to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetTimeout

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

SetTimeout adds the timeout to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetUserID

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

SetUserID adds the userId to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithContext

WithContext adds the context to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithDeployment

WithDeployment adds the deployment to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithGameMode

WithGameMode adds the gameMode to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithLimit

WithLimit adds the limit to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithNamespace

WithNamespace adds the namespace to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithOffset

WithOffset adds the offset to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithPartyID

WithPartyID adds the partyID to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithPodName

WithPodName adds the podName to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithProvider

WithProvider adds the provider to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithRegion

WithRegion adds the region to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithSessionID

WithSessionID adds the sessionID to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithTimeout

WithTimeout adds the timeout to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithUserID

WithUserID adds the userID to the list all terminated servers params

func (*ListAllTerminatedServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAllTerminatedServersReader

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

ListAllTerminatedServersReader is a Reader for the ListAllTerminatedServers structure.

func (*ListAllTerminatedServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAllTerminatedServersUnauthorized

type ListAllTerminatedServersUnauthorized struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

ListAllTerminatedServersUnauthorized handles this case with default header values.

Unauthorized

func NewListAllTerminatedServersUnauthorized

func NewListAllTerminatedServersUnauthorized() *ListAllTerminatedServersUnauthorized

NewListAllTerminatedServersUnauthorized creates a ListAllTerminatedServersUnauthorized with default headers values

func (*ListAllTerminatedServersUnauthorized) Error

func (*ListAllTerminatedServersUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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