Documentation ¶
Index ¶
- type Client
- type ClientService
- type ListTerminatedServersWithNamespaceBadRequest
- type ListTerminatedServersWithNamespaceInternalServerError
- type ListTerminatedServersWithNamespaceOK
- type ListTerminatedServersWithNamespaceParams
- func NewListTerminatedServersWithNamespaceParams() *ListTerminatedServersWithNamespaceParams
- func NewListTerminatedServersWithNamespaceParamsWithContext(ctx context.Context) *ListTerminatedServersWithNamespaceParams
- func NewListTerminatedServersWithNamespaceParamsWithHTTPClient(client *http.Client) *ListTerminatedServersWithNamespaceParams
- func NewListTerminatedServersWithNamespaceParamsWithTimeout(timeout time.Duration) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListTerminatedServersWithNamespaceParams) SetContext(ctx context.Context)
- func (o *ListTerminatedServersWithNamespaceParams) SetDeployment(deployment *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetFlightId(flightId string)
- func (o *ListTerminatedServersWithNamespaceParams) SetGameMode(gameMode *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *ListTerminatedServersWithNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListTerminatedServersWithNamespaceParams) SetLimit(limit *int64)
- func (o *ListTerminatedServersWithNamespaceParams) SetNamespace(namespace string)
- func (o *ListTerminatedServersWithNamespaceParams) SetNext(nextVar *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetPartyID(partyID *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetPodName(podName *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetPrevious(previous *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetProvider(provider *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetRegion(region *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetSessionID(sessionID *string)
- func (o *ListTerminatedServersWithNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *ListTerminatedServersWithNamespaceParams) SetUserID(userID *string)
- func (o *ListTerminatedServersWithNamespaceParams) WithContext(ctx context.Context) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithDeployment(deployment *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithGameMode(gameMode *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithHTTPClient(client *http.Client) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithLimit(limit *int64) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithNamespace(namespace string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithNext(nextVar *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithPartyID(partyID *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithPodName(podName *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithPrevious(previous *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithProvider(provider *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithRegion(region *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithSessionID(sessionID *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithTimeout(timeout time.Duration) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WithUserID(userID *string) *ListTerminatedServersWithNamespaceParams
- func (o *ListTerminatedServersWithNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTerminatedServersWithNamespaceReader
- type ListTerminatedServersWithNamespaceResponse
- type ListTerminatedServersWithNamespaceUnauthorized
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) ListTerminatedServersWithNamespaceShort ¶
func (a *Client) ListTerminatedServersWithNamespaceShort(params *ListTerminatedServersWithNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersWithNamespaceResponse, 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 ¶
type ClientService interface { ListTerminatedServersWithNamespaceShort(params *ListTerminatedServersWithNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersWithNamespaceResponse, 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 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 (o *ListTerminatedServersWithNamespaceBadRequest) Error() string
func (*ListTerminatedServersWithNamespaceBadRequest) GetPayload ¶
func (o *ListTerminatedServersWithNamespaceBadRequest) GetPayload() *dsartifactclientmodels.ResponseError
func (*ListTerminatedServersWithNamespaceBadRequest) ToJSONString ¶
func (o *ListTerminatedServersWithNamespaceBadRequest) ToJSONString() string
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 (o *ListTerminatedServersWithNamespaceInternalServerError) Error() string
func (*ListTerminatedServersWithNamespaceInternalServerError) GetPayload ¶
func (o *ListTerminatedServersWithNamespaceInternalServerError) GetPayload() *dsartifactclientmodels.ResponseError
func (*ListTerminatedServersWithNamespaceInternalServerError) ToJSONString ¶
func (o *ListTerminatedServersWithNamespaceInternalServerError) ToJSONString() string
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 (o *ListTerminatedServersWithNamespaceOK) Error() string
func (*ListTerminatedServersWithNamespaceOK) GetPayload ¶
func (o *ListTerminatedServersWithNamespaceOK) GetPayload() *dsartifactclientmodels.ModelsListTerminatedServersResponse
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 ¶
func (o *ListTerminatedServersWithNamespaceParams) SetContext(ctx context.Context)
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 ¶
func (o *ListTerminatedServersWithNamespaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *ListTerminatedServersWithNamespaceParams) WithContext(ctx context.Context) *ListTerminatedServersWithNamespaceParams
WithContext adds the context to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithDeployment ¶
func (o *ListTerminatedServersWithNamespaceParams) WithDeployment(deployment *string) *ListTerminatedServersWithNamespaceParams
WithDeployment adds the deployment to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithGameMode ¶
func (o *ListTerminatedServersWithNamespaceParams) WithGameMode(gameMode *string) *ListTerminatedServersWithNamespaceParams
WithGameMode adds the gameMode to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithHTTPClient ¶
func (o *ListTerminatedServersWithNamespaceParams) WithHTTPClient(client *http.Client) *ListTerminatedServersWithNamespaceParams
WithHTTPClient adds the HTTPClient to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithLimit ¶
func (o *ListTerminatedServersWithNamespaceParams) WithLimit(limit *int64) *ListTerminatedServersWithNamespaceParams
WithLimit adds the limit to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithNamespace ¶
func (o *ListTerminatedServersWithNamespaceParams) WithNamespace(namespace string) *ListTerminatedServersWithNamespaceParams
WithNamespace adds the namespace to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithNext ¶
func (o *ListTerminatedServersWithNamespaceParams) WithNext(nextVar *string) *ListTerminatedServersWithNamespaceParams
WithNext adds the nextVar to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithPartyID ¶
func (o *ListTerminatedServersWithNamespaceParams) WithPartyID(partyID *string) *ListTerminatedServersWithNamespaceParams
WithPartyID adds the partyID to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithPodName ¶
func (o *ListTerminatedServersWithNamespaceParams) WithPodName(podName *string) *ListTerminatedServersWithNamespaceParams
WithPodName adds the podName to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithPrevious ¶
func (o *ListTerminatedServersWithNamespaceParams) WithPrevious(previous *string) *ListTerminatedServersWithNamespaceParams
WithPrevious adds the previous to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithProvider ¶
func (o *ListTerminatedServersWithNamespaceParams) WithProvider(provider *string) *ListTerminatedServersWithNamespaceParams
WithProvider adds the provider to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithRegion ¶
func (o *ListTerminatedServersWithNamespaceParams) WithRegion(region *string) *ListTerminatedServersWithNamespaceParams
WithRegion adds the region to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithSessionID ¶
func (o *ListTerminatedServersWithNamespaceParams) WithSessionID(sessionID *string) *ListTerminatedServersWithNamespaceParams
WithSessionID adds the sessionID to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithTimeout ¶
func (o *ListTerminatedServersWithNamespaceParams) WithTimeout(timeout time.Duration) *ListTerminatedServersWithNamespaceParams
WithTimeout adds the timeout to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WithUserID ¶
func (o *ListTerminatedServersWithNamespaceParams) WithUserID(userID *string) *ListTerminatedServersWithNamespaceParams
WithUserID adds the userID to the list terminated servers with namespace params
func (*ListTerminatedServersWithNamespaceParams) WriteToRequest ¶
func (o *ListTerminatedServersWithNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ListTerminatedServersWithNamespaceResponse ¶
type ListTerminatedServersWithNamespaceResponse struct { dsartifactclientmodels.ApiResponse Data *dsartifactclientmodels.ModelsListTerminatedServersResponse Error400 *dsartifactclientmodels.ResponseError Error401 *dsartifactclientmodels.ResponseError Error500 *dsartifactclientmodels.ResponseError }
type ListTerminatedServersWithNamespaceUnauthorized ¶
type ListTerminatedServersWithNamespaceUnauthorized struct {
}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 (o *ListTerminatedServersWithNamespaceUnauthorized) Error() string
func (*ListTerminatedServersWithNamespaceUnauthorized) GetPayload ¶
func (o *ListTerminatedServersWithNamespaceUnauthorized) GetPayload() *dsartifactclientmodels.ResponseError
func (*ListTerminatedServersWithNamespaceUnauthorized) ToJSONString ¶
func (o *ListTerminatedServersWithNamespaceUnauthorized) ToJSONString() string