admin

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 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 AddBufferBadRequest

type AddBufferBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

AddBufferBadRequest handles this case with default header values.

malformed request

func NewAddBufferBadRequest

func NewAddBufferBadRequest() *AddBufferBadRequest

NewAddBufferBadRequest creates a AddBufferBadRequest with default headers values

func (*AddBufferBadRequest) Error

func (o *AddBufferBadRequest) Error() string

func (*AddBufferBadRequest) GetPayload

func (*AddBufferBadRequest) ToJSONString

func (o *AddBufferBadRequest) ToJSONString() string

type AddBufferConflict

type AddBufferConflict struct {
	Payload *dsmcclientmodels.ResponseError
}

AddBufferConflict handles this case with default header values.

Conflict

func NewAddBufferConflict

func NewAddBufferConflict() *AddBufferConflict

NewAddBufferConflict creates a AddBufferConflict with default headers values

func (*AddBufferConflict) Error

func (o *AddBufferConflict) Error() string

func (*AddBufferConflict) GetPayload

func (*AddBufferConflict) ToJSONString

func (o *AddBufferConflict) ToJSONString() string

type AddBufferInternalServerError

type AddBufferInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

AddBufferInternalServerError handles this case with default header values.

Internal Server Error

func NewAddBufferInternalServerError

func NewAddBufferInternalServerError() *AddBufferInternalServerError

NewAddBufferInternalServerError creates a AddBufferInternalServerError with default headers values

func (*AddBufferInternalServerError) Error

func (*AddBufferInternalServerError) GetPayload

func (*AddBufferInternalServerError) ToJSONString

func (o *AddBufferInternalServerError) ToJSONString() string

type AddBufferOK

type AddBufferOK struct {
	Payload *dsmcclientmodels.ModelsAddBufferResponse
}

AddBufferOK handles this case with default header values.

buffer requested

func NewAddBufferOK

func NewAddBufferOK() *AddBufferOK

NewAddBufferOK creates a AddBufferOK with default headers values

func (*AddBufferOK) Error

func (o *AddBufferOK) Error() string

func (*AddBufferOK) GetPayload

func (*AddBufferOK) ToJSONString

func (o *AddBufferOK) ToJSONString() string

type AddBufferParams

type AddBufferParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsAddBufferRequest
	/*Namespace
	  namespace of the game

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

AddBufferParams contains all the parameters to send to the API endpoint for the add buffer operation typically these are written to a http.Request

func NewAddBufferParams

func NewAddBufferParams() *AddBufferParams

NewAddBufferParams creates a new AddBufferParams object with the default values initialized.

func NewAddBufferParamsWithContext

func NewAddBufferParamsWithContext(ctx context.Context) *AddBufferParams

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

func NewAddBufferParamsWithHTTPClient

func NewAddBufferParamsWithHTTPClient(client *http.Client) *AddBufferParams

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

func NewAddBufferParamsWithTimeout

func NewAddBufferParamsWithTimeout(timeout time.Duration) *AddBufferParams

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

func (*AddBufferParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the add buffer params

func (*AddBufferParams) SetBody

SetBody adds the body to the add buffer params

func (*AddBufferParams) SetContext

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

SetContext adds the context to the add buffer params

func (*AddBufferParams) SetFlightId

func (o *AddBufferParams) SetFlightId(flightId string)

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

func (*AddBufferParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add buffer params

func (*AddBufferParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the add buffer params

func (*AddBufferParams) SetNamespace

func (o *AddBufferParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add buffer params

func (*AddBufferParams) SetTimeout

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

SetTimeout adds the timeout to the add buffer params

func (*AddBufferParams) WithBody

WithBody adds the body to the add buffer params

func (*AddBufferParams) WithContext

func (o *AddBufferParams) WithContext(ctx context.Context) *AddBufferParams

WithContext adds the context to the add buffer params

func (*AddBufferParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add buffer params

func (*AddBufferParams) WithNamespace

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

WithNamespace adds the namespace to the add buffer params

func (*AddBufferParams) WithTimeout

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

WithTimeout adds the timeout to the add buffer params

func (*AddBufferParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddBufferReader

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

AddBufferReader is a Reader for the AddBuffer structure.

func (*AddBufferReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddBufferUnauthorized

type AddBufferUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

AddBufferUnauthorized handles this case with default header values.

Unauthorized

func NewAddBufferUnauthorized

func NewAddBufferUnauthorized() *AddBufferUnauthorized

NewAddBufferUnauthorized creates a AddBufferUnauthorized with default headers values

func (*AddBufferUnauthorized) Error

func (o *AddBufferUnauthorized) Error() string

func (*AddBufferUnauthorized) GetPayload

func (*AddBufferUnauthorized) ToJSONString

func (o *AddBufferUnauthorized) ToJSONString() string

type Client

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

Client for admin API

func (*Client) AddBufferShort

func (a *Client) AddBufferShort(params *AddBufferParams, authInfo runtime.ClientAuthInfoWriter) (*AddBufferOK, error)

AddBufferShort manual add buffer ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE] Required scope: social

This endpoint manually adds buffer for selected namespace and deployment x Job will contain y num of allocs.

Region can be filled with comma-separated values. use * as region name to deploy to all region specified in the deployment's region list

if JobPriority set to 0, we will use 80 as default value for job priority

OverrideVersion will be used as override version for the new allocations. If OverrideVersion is empty, will use version in the deployment. ```

func (*Client) CountServerDetailedShort

func (a *Client) CountServerDetailedShort(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, error)

CountServerDetailedShort get detailed count of managed servers in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint counts all of dedicated servers in a region managed by this service.

func (*Client) CountServerShort

func (a *Client) CountServerShort(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, error)

CountServerShort count all managed servers Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint counts all of dedicated servers in a namespace managed by this service.

func (*Client) CountSessionShort

func (a *Client) CountSessionShort(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, error)

CountSessionShort count all sessions Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [READ]

Required scope: social

This endpoint count all of sessions in a namespace managed by this service.

func (*Client) CreateWorkerConfigShort

func (a *Client) CreateWorkerConfigShort(params *CreateWorkerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateWorkerConfigCreated, error)

CreateWorkerConfigShort create worker configuration Required permission: ADMIN:NAMESPACE:{namespace}:WORKER:CONFIG [CREATE]

Required scope: social

This endpoint creates a worker configuration to control the worker in the DSMC.

func (*Client) DeleteLocalServerShort

func (a *Client) DeleteLocalServerShort(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, error)

DeleteLocalServerShort delete a local server Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [DELETE]

Required scope: social

This endpoint deletes a specified local dedicated server from DB. Note that DSM has no ability to shutdown local DS.

func (*Client) DeleteServerShort

func (a *Client) DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)

DeleteServerShort delete a server in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [DELETE]

Required scope: social

This endpoint deletes a specified dedicated server from DB and terminates the DS pod.

func (*Client) DeleteSessionShort

func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, error)

DeleteSessionShort delete a session in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [DELETE]

Required scope: social

This endpoint deletes a specified session and its corresponding match result from DB.

func (*Client) GetServerShort

func (a *Client) GetServerShort(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, error)

GetServerShort query a server in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint queries a specified dedicated server from DB.

func (*Client) GetWorkerConfigShort

func (a *Client) GetWorkerConfigShort(params *GetWorkerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkerConfigOK, error)

GetWorkerConfigShort get worker configuration Required permission: ADMIN:NAMESPACE:{namespace}:WORKER:CONFIG [READ]

Required scope: social

This endpoint retrieves a worker configuration to control the worker in the DSMC.

func (*Client) ListLocalServerShort

func (a *Client) ListLocalServerShort(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, error)

ListLocalServerShort list all managed local servers Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint lists all of local dedicated servers in a namespace managed by this service.

func (*Client) ListServerShort

func (a *Client) ListServerShort(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, error)

ListServerShort list all managed servers in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint lists all of dedicated servers in a namespace managed by this service.

Parameter Offset and Count is Required

func (*Client) ListSessionShort

func (a *Client) ListSessionShort(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, error)

ListSessionShort list all managed sessions in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [READ]

Required scope: social

This endpoint lists all of sessions in a namespace managed by this service.

Parameter Offset and Count is Required

func (*Client) RunGhostCleanerRequestHandlerShort

func (a *Client) RunGhostCleanerRequestHandlerShort(params *RunGhostCleanerRequestHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*RunGhostCleanerRequestHandlerNoContent, error)

RunGhostCleanerRequestHandlerShort run ghost cleaner Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [DELETE]

Required scope: social

This endpoint run ghost cleaner once.

func (*Client) RunZombieCleanerRequestHandlerShort

func (a *Client) RunZombieCleanerRequestHandlerShort(params *RunZombieCleanerRequestHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*RunZombieCleanerRequestHandlerNoContent, error)

RunZombieCleanerRequestHandlerShort run zombie cleaner ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [DELETE] Required scope: social

This endpoint run zombie cleaner once

use * as region name to target all regions ```

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateWorkerConfigShort

func (a *Client) UpdateWorkerConfigShort(params *UpdateWorkerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateWorkerConfigNoContent, error)

UpdateWorkerConfigShort update worker configuration Required permission: ADMIN:NAMESPACE:{namespace}:WORKER:CONFIG [UPDATE]

Required scope: social

This endpoint updates a worker configuration to control the worker in the DSMC.

type ClientService

type ClientService interface {
	GetWorkerConfigShort(params *GetWorkerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkerConfigOK, error)
	UpdateWorkerConfigShort(params *UpdateWorkerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateWorkerConfigNoContent, error)
	CreateWorkerConfigShort(params *CreateWorkerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateWorkerConfigCreated, error)
	AddBufferShort(params *AddBufferParams, authInfo runtime.ClientAuthInfoWriter) (*AddBufferOK, error)
	ListServerShort(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, error)
	CountServerShort(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, error)
	CountServerDetailedShort(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, error)
	ListLocalServerShort(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, error)
	DeleteLocalServerShort(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, error)
	GetServerShort(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, error)
	DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)
	ListSessionShort(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, error)
	CountSessionShort(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, error)
	DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, error)
	RunGhostCleanerRequestHandlerShort(params *RunGhostCleanerRequestHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*RunGhostCleanerRequestHandlerNoContent, error)
	RunZombieCleanerRequestHandlerShort(params *RunZombieCleanerRequestHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*RunZombieCleanerRequestHandlerNoContent, 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 admin API client.

type CountServerDetailedInternalServerError

type CountServerDetailedInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CountServerDetailedInternalServerError handles this case with default header values.

Internal Server Error

func NewCountServerDetailedInternalServerError

func NewCountServerDetailedInternalServerError() *CountServerDetailedInternalServerError

NewCountServerDetailedInternalServerError creates a CountServerDetailedInternalServerError with default headers values

func (*CountServerDetailedInternalServerError) Error

func (*CountServerDetailedInternalServerError) GetPayload

func (*CountServerDetailedInternalServerError) ToJSONString

type CountServerDetailedOK

type CountServerDetailedOK struct {
	Payload *dsmcclientmodels.ModelsDetailedCountServerResponse
}

CountServerDetailedOK handles this case with default header values.

servers listed

func NewCountServerDetailedOK

func NewCountServerDetailedOK() *CountServerDetailedOK

NewCountServerDetailedOK creates a CountServerDetailedOK with default headers values

func (*CountServerDetailedOK) Error

func (o *CountServerDetailedOK) Error() string

func (*CountServerDetailedOK) GetPayload

func (*CountServerDetailedOK) ToJSONString

func (o *CountServerDetailedOK) ToJSONString() string

type CountServerDetailedParams

type CountServerDetailedParams struct {

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

	*/
	Namespace string
	/*Region
	  region where DS server is located.

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

CountServerDetailedParams contains all the parameters to send to the API endpoint for the count server detailed operation typically these are written to a http.Request

func NewCountServerDetailedParams

func NewCountServerDetailedParams() *CountServerDetailedParams

NewCountServerDetailedParams creates a new CountServerDetailedParams object with the default values initialized.

func NewCountServerDetailedParamsWithContext

func NewCountServerDetailedParamsWithContext(ctx context.Context) *CountServerDetailedParams

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

func NewCountServerDetailedParamsWithHTTPClient

func NewCountServerDetailedParamsWithHTTPClient(client *http.Client) *CountServerDetailedParams

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

func NewCountServerDetailedParamsWithTimeout

func NewCountServerDetailedParamsWithTimeout(timeout time.Duration) *CountServerDetailedParams

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

func (*CountServerDetailedParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the count server detailed params

func (*CountServerDetailedParams) SetContext

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

SetContext adds the context to the count server detailed params

func (*CountServerDetailedParams) SetFlightId

func (o *CountServerDetailedParams) SetFlightId(flightId string)

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

func (*CountServerDetailedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count server detailed params

func (*CountServerDetailedParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the count server detailed params

func (*CountServerDetailedParams) SetNamespace

func (o *CountServerDetailedParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the count server detailed params

func (*CountServerDetailedParams) SetRegion

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

SetRegion adds the region to the count server detailed params

func (*CountServerDetailedParams) SetTimeout

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

SetTimeout adds the timeout to the count server detailed params

func (*CountServerDetailedParams) WithContext

WithContext adds the context to the count server detailed params

func (*CountServerDetailedParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the count server detailed params

func (*CountServerDetailedParams) WithNamespace

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

WithNamespace adds the namespace to the count server detailed params

func (*CountServerDetailedParams) WithRegion

WithRegion adds the region to the count server detailed params

func (*CountServerDetailedParams) WithTimeout

WithTimeout adds the timeout to the count server detailed params

func (*CountServerDetailedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CountServerDetailedReader

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

CountServerDetailedReader is a Reader for the CountServerDetailed structure.

func (*CountServerDetailedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CountServerDetailedUnauthorized

type CountServerDetailedUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CountServerDetailedUnauthorized handles this case with default header values.

Unauthorized

func NewCountServerDetailedUnauthorized

func NewCountServerDetailedUnauthorized() *CountServerDetailedUnauthorized

NewCountServerDetailedUnauthorized creates a CountServerDetailedUnauthorized with default headers values

func (*CountServerDetailedUnauthorized) Error

func (*CountServerDetailedUnauthorized) GetPayload

func (*CountServerDetailedUnauthorized) ToJSONString

func (o *CountServerDetailedUnauthorized) ToJSONString() string

type CountServerInternalServerError

type CountServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CountServerInternalServerError handles this case with default header values.

Internal Server Error

func NewCountServerInternalServerError

func NewCountServerInternalServerError() *CountServerInternalServerError

NewCountServerInternalServerError creates a CountServerInternalServerError with default headers values

func (*CountServerInternalServerError) Error

func (*CountServerInternalServerError) GetPayload

func (*CountServerInternalServerError) ToJSONString

func (o *CountServerInternalServerError) ToJSONString() string

type CountServerOK

type CountServerOK struct {
	Payload *dsmcclientmodels.ModelsCountServerResponse
}

CountServerOK handles this case with default header values.

servers listed

func NewCountServerOK

func NewCountServerOK() *CountServerOK

NewCountServerOK creates a CountServerOK with default headers values

func (*CountServerOK) Error

func (o *CountServerOK) Error() string

func (*CountServerOK) GetPayload

func (*CountServerOK) ToJSONString

func (o *CountServerOK) ToJSONString() string

type CountServerParams

type CountServerParams struct {

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

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

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

func NewCountServerParams

func NewCountServerParams() *CountServerParams

NewCountServerParams creates a new CountServerParams object with the default values initialized.

func NewCountServerParamsWithContext

func NewCountServerParamsWithContext(ctx context.Context) *CountServerParams

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

func NewCountServerParamsWithHTTPClient

func NewCountServerParamsWithHTTPClient(client *http.Client) *CountServerParams

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

func NewCountServerParamsWithTimeout

func NewCountServerParamsWithTimeout(timeout time.Duration) *CountServerParams

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

func (*CountServerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the count server params

func (*CountServerParams) SetContext

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

SetContext adds the context to the count server params

func (*CountServerParams) SetFlightId

func (o *CountServerParams) SetFlightId(flightId string)

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

func (*CountServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count server params

func (*CountServerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the count server params

func (*CountServerParams) SetNamespace

func (o *CountServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the count server params

func (*CountServerParams) SetTimeout

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

SetTimeout adds the timeout to the count server params

func (*CountServerParams) WithContext

func (o *CountServerParams) WithContext(ctx context.Context) *CountServerParams

WithContext adds the context to the count server params

func (*CountServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the count server params

func (*CountServerParams) WithNamespace

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

WithNamespace adds the namespace to the count server params

func (*CountServerParams) WithTimeout

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

WithTimeout adds the timeout to the count server params

func (*CountServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CountServerReader

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

CountServerReader is a Reader for the CountServer structure.

func (*CountServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CountServerUnauthorized

type CountServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CountServerUnauthorized handles this case with default header values.

Unauthorized

func NewCountServerUnauthorized

func NewCountServerUnauthorized() *CountServerUnauthorized

NewCountServerUnauthorized creates a CountServerUnauthorized with default headers values

func (*CountServerUnauthorized) Error

func (o *CountServerUnauthorized) Error() string

func (*CountServerUnauthorized) GetPayload

func (*CountServerUnauthorized) ToJSONString

func (o *CountServerUnauthorized) ToJSONString() string

type CountSessionInternalServerError

type CountSessionInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CountSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewCountSessionInternalServerError

func NewCountSessionInternalServerError() *CountSessionInternalServerError

NewCountSessionInternalServerError creates a CountSessionInternalServerError with default headers values

func (*CountSessionInternalServerError) Error

func (*CountSessionInternalServerError) GetPayload

func (*CountSessionInternalServerError) ToJSONString

func (o *CountSessionInternalServerError) ToJSONString() string

type CountSessionOK

type CountSessionOK struct {
	Payload *dsmcclientmodels.ModelsCountSessionResponse
}

CountSessionOK handles this case with default header values.

sessions listed

func NewCountSessionOK

func NewCountSessionOK() *CountSessionOK

NewCountSessionOK creates a CountSessionOK with default headers values

func (*CountSessionOK) Error

func (o *CountSessionOK) Error() string

func (*CountSessionOK) GetPayload

func (*CountSessionOK) ToJSONString

func (o *CountSessionOK) ToJSONString() string

type CountSessionParams

type CountSessionParams struct {

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

	*/
	Namespace string
	/*Region
	  region where session is located. if not specified it will count all sessions.

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

CountSessionParams contains all the parameters to send to the API endpoint for the count session operation typically these are written to a http.Request

func NewCountSessionParams

func NewCountSessionParams() *CountSessionParams

NewCountSessionParams creates a new CountSessionParams object with the default values initialized.

func NewCountSessionParamsWithContext

func NewCountSessionParamsWithContext(ctx context.Context) *CountSessionParams

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

func NewCountSessionParamsWithHTTPClient

func NewCountSessionParamsWithHTTPClient(client *http.Client) *CountSessionParams

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

func NewCountSessionParamsWithTimeout

func NewCountSessionParamsWithTimeout(timeout time.Duration) *CountSessionParams

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

func (*CountSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the count session params

func (*CountSessionParams) SetContext

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

SetContext adds the context to the count session params

func (*CountSessionParams) SetFlightId

func (o *CountSessionParams) SetFlightId(flightId string)

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

func (*CountSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count session params

func (*CountSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the count session params

func (*CountSessionParams) SetNamespace

func (o *CountSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the count session params

func (*CountSessionParams) SetRegion

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

SetRegion adds the region to the count session params

func (*CountSessionParams) SetTimeout

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

SetTimeout adds the timeout to the count session params

func (*CountSessionParams) WithContext

WithContext adds the context to the count session params

func (*CountSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the count session params

func (*CountSessionParams) WithNamespace

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

WithNamespace adds the namespace to the count session params

func (*CountSessionParams) WithRegion

func (o *CountSessionParams) WithRegion(region *string) *CountSessionParams

WithRegion adds the region to the count session params

func (*CountSessionParams) WithTimeout

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

WithTimeout adds the timeout to the count session params

func (*CountSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CountSessionReader

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

CountSessionReader is a Reader for the CountSession structure.

func (*CountSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CountSessionUnauthorized

type CountSessionUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CountSessionUnauthorized handles this case with default header values.

Unauthorized

func NewCountSessionUnauthorized

func NewCountSessionUnauthorized() *CountSessionUnauthorized

NewCountSessionUnauthorized creates a CountSessionUnauthorized with default headers values

func (*CountSessionUnauthorized) Error

func (o *CountSessionUnauthorized) Error() string

func (*CountSessionUnauthorized) GetPayload

func (*CountSessionUnauthorized) ToJSONString

func (o *CountSessionUnauthorized) ToJSONString() string

type CreateWorkerConfigBadRequest

type CreateWorkerConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateWorkerConfigBadRequest handles this case with default header values.

Bad Request

func NewCreateWorkerConfigBadRequest

func NewCreateWorkerConfigBadRequest() *CreateWorkerConfigBadRequest

NewCreateWorkerConfigBadRequest creates a CreateWorkerConfigBadRequest with default headers values

func (*CreateWorkerConfigBadRequest) Error

func (*CreateWorkerConfigBadRequest) GetPayload

func (*CreateWorkerConfigBadRequest) ToJSONString

func (o *CreateWorkerConfigBadRequest) ToJSONString() string

type CreateWorkerConfigCreated

type CreateWorkerConfigCreated struct {
	Payload *dsmcclientmodels.ModelsWorkerConfig
}

CreateWorkerConfigCreated handles this case with default header values.

The worker configuration has been successfully created.

func NewCreateWorkerConfigCreated

func NewCreateWorkerConfigCreated() *CreateWorkerConfigCreated

NewCreateWorkerConfigCreated creates a CreateWorkerConfigCreated with default headers values

func (*CreateWorkerConfigCreated) Error

func (o *CreateWorkerConfigCreated) Error() string

func (*CreateWorkerConfigCreated) GetPayload

func (*CreateWorkerConfigCreated) ToJSONString

func (o *CreateWorkerConfigCreated) ToJSONString() string

type CreateWorkerConfigInternalServerError

type CreateWorkerConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateWorkerConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateWorkerConfigInternalServerError

func NewCreateWorkerConfigInternalServerError() *CreateWorkerConfigInternalServerError

NewCreateWorkerConfigInternalServerError creates a CreateWorkerConfigInternalServerError with default headers values

func (*CreateWorkerConfigInternalServerError) Error

func (*CreateWorkerConfigInternalServerError) GetPayload

func (*CreateWorkerConfigInternalServerError) ToJSONString

type CreateWorkerConfigParams

type CreateWorkerConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsWorkerConfigRequest
	/*Namespace
	  the namespace of the game

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

CreateWorkerConfigParams contains all the parameters to send to the API endpoint for the create worker config operation typically these are written to a http.Request

func NewCreateWorkerConfigParams

func NewCreateWorkerConfigParams() *CreateWorkerConfigParams

NewCreateWorkerConfigParams creates a new CreateWorkerConfigParams object with the default values initialized.

func NewCreateWorkerConfigParamsWithContext

func NewCreateWorkerConfigParamsWithContext(ctx context.Context) *CreateWorkerConfigParams

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

func NewCreateWorkerConfigParamsWithHTTPClient

func NewCreateWorkerConfigParamsWithHTTPClient(client *http.Client) *CreateWorkerConfigParams

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

func NewCreateWorkerConfigParamsWithTimeout

func NewCreateWorkerConfigParamsWithTimeout(timeout time.Duration) *CreateWorkerConfigParams

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

func (*CreateWorkerConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create worker config params

func (*CreateWorkerConfigParams) SetBody

SetBody adds the body to the create worker config params

func (*CreateWorkerConfigParams) SetContext

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

SetContext adds the context to the create worker config params

func (*CreateWorkerConfigParams) SetFlightId

func (o *CreateWorkerConfigParams) SetFlightId(flightId string)

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

func (*CreateWorkerConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create worker config params

func (*CreateWorkerConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create worker config params

func (*CreateWorkerConfigParams) SetNamespace

func (o *CreateWorkerConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create worker config params

func (*CreateWorkerConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create worker config params

func (*CreateWorkerConfigParams) WithBody

WithBody adds the body to the create worker config params

func (*CreateWorkerConfigParams) WithContext

WithContext adds the context to the create worker config params

func (*CreateWorkerConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create worker config params

func (*CreateWorkerConfigParams) WithNamespace

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

WithNamespace adds the namespace to the create worker config params

func (*CreateWorkerConfigParams) WithTimeout

WithTimeout adds the timeout to the create worker config params

func (*CreateWorkerConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateWorkerConfigReader

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

CreateWorkerConfigReader is a Reader for the CreateWorkerConfig structure.

func (*CreateWorkerConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateWorkerConfigUnauthorized

type CreateWorkerConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateWorkerConfigUnauthorized handles this case with default header values.

Unauthorized

func NewCreateWorkerConfigUnauthorized

func NewCreateWorkerConfigUnauthorized() *CreateWorkerConfigUnauthorized

NewCreateWorkerConfigUnauthorized creates a CreateWorkerConfigUnauthorized with default headers values

func (*CreateWorkerConfigUnauthorized) Error

func (*CreateWorkerConfigUnauthorized) GetPayload

func (*CreateWorkerConfigUnauthorized) ToJSONString

func (o *CreateWorkerConfigUnauthorized) ToJSONString() string

type DeleteLocalServerInternalServerError

type DeleteLocalServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteLocalServerInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteLocalServerInternalServerError

func NewDeleteLocalServerInternalServerError() *DeleteLocalServerInternalServerError

NewDeleteLocalServerInternalServerError creates a DeleteLocalServerInternalServerError with default headers values

func (*DeleteLocalServerInternalServerError) Error

func (*DeleteLocalServerInternalServerError) GetPayload

func (*DeleteLocalServerInternalServerError) ToJSONString

func (o *DeleteLocalServerInternalServerError) ToJSONString() string

type DeleteLocalServerNoContent

type DeleteLocalServerNoContent struct {
}

DeleteLocalServerNoContent handles this case with default header values.

server deleted

func NewDeleteLocalServerNoContent

func NewDeleteLocalServerNoContent() *DeleteLocalServerNoContent

NewDeleteLocalServerNoContent creates a DeleteLocalServerNoContent with default headers values

func (*DeleteLocalServerNoContent) Error

type DeleteLocalServerParams

type DeleteLocalServerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Name
	  name of the DS

	*/
	Name string
	/*Namespace
	  namespace of the game

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

DeleteLocalServerParams contains all the parameters to send to the API endpoint for the delete local server operation typically these are written to a http.Request

func NewDeleteLocalServerParams

func NewDeleteLocalServerParams() *DeleteLocalServerParams

NewDeleteLocalServerParams creates a new DeleteLocalServerParams object with the default values initialized.

func NewDeleteLocalServerParamsWithContext

func NewDeleteLocalServerParamsWithContext(ctx context.Context) *DeleteLocalServerParams

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

func NewDeleteLocalServerParamsWithHTTPClient

func NewDeleteLocalServerParamsWithHTTPClient(client *http.Client) *DeleteLocalServerParams

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

func NewDeleteLocalServerParamsWithTimeout

func NewDeleteLocalServerParamsWithTimeout(timeout time.Duration) *DeleteLocalServerParams

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

func (*DeleteLocalServerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete local server params

func (*DeleteLocalServerParams) SetContext

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

SetContext adds the context to the delete local server params

func (*DeleteLocalServerParams) SetFlightId

func (o *DeleteLocalServerParams) SetFlightId(flightId string)

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

func (*DeleteLocalServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete local server params

func (*DeleteLocalServerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete local server params

func (*DeleteLocalServerParams) SetName

func (o *DeleteLocalServerParams) SetName(name string)

SetName adds the name to the delete local server params

func (*DeleteLocalServerParams) SetNamespace

func (o *DeleteLocalServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete local server params

func (*DeleteLocalServerParams) SetTimeout

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

SetTimeout adds the timeout to the delete local server params

func (*DeleteLocalServerParams) WithContext

WithContext adds the context to the delete local server params

func (*DeleteLocalServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete local server params

func (*DeleteLocalServerParams) WithName

WithName adds the name to the delete local server params

func (*DeleteLocalServerParams) WithNamespace

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

WithNamespace adds the namespace to the delete local server params

func (*DeleteLocalServerParams) WithTimeout

WithTimeout adds the timeout to the delete local server params

func (*DeleteLocalServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLocalServerReader

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

DeleteLocalServerReader is a Reader for the DeleteLocalServer structure.

func (*DeleteLocalServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLocalServerUnauthorized

type DeleteLocalServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteLocalServerUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteLocalServerUnauthorized

func NewDeleteLocalServerUnauthorized() *DeleteLocalServerUnauthorized

NewDeleteLocalServerUnauthorized creates a DeleteLocalServerUnauthorized with default headers values

func (*DeleteLocalServerUnauthorized) Error

func (*DeleteLocalServerUnauthorized) GetPayload

func (*DeleteLocalServerUnauthorized) ToJSONString

func (o *DeleteLocalServerUnauthorized) ToJSONString() string

type DeleteServerInternalServerError

type DeleteServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteServerInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteServerInternalServerError

func NewDeleteServerInternalServerError() *DeleteServerInternalServerError

NewDeleteServerInternalServerError creates a DeleteServerInternalServerError with default headers values

func (*DeleteServerInternalServerError) Error

func (*DeleteServerInternalServerError) GetPayload

func (*DeleteServerInternalServerError) ToJSONString

func (o *DeleteServerInternalServerError) ToJSONString() string

type DeleteServerNoContent

type DeleteServerNoContent struct {
}

DeleteServerNoContent handles this case with default header values.

server deleted

func NewDeleteServerNoContent

func NewDeleteServerNoContent() *DeleteServerNoContent

NewDeleteServerNoContent creates a DeleteServerNoContent with default headers values

func (*DeleteServerNoContent) Error

func (o *DeleteServerNoContent) Error() string

type DeleteServerNotFound

type DeleteServerNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteServerNotFound handles this case with default header values.

server not found

func NewDeleteServerNotFound

func NewDeleteServerNotFound() *DeleteServerNotFound

NewDeleteServerNotFound creates a DeleteServerNotFound with default headers values

func (*DeleteServerNotFound) Error

func (o *DeleteServerNotFound) Error() string

func (*DeleteServerNotFound) GetPayload

func (*DeleteServerNotFound) ToJSONString

func (o *DeleteServerNotFound) ToJSONString() string

type DeleteServerParams

type DeleteServerParams struct {

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

	*/
	Namespace string
	/*PodName
	  name of the DS pod

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

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

func NewDeleteServerParams

func NewDeleteServerParams() *DeleteServerParams

NewDeleteServerParams creates a new DeleteServerParams object with the default values initialized.

func NewDeleteServerParamsWithContext

func NewDeleteServerParamsWithContext(ctx context.Context) *DeleteServerParams

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

func NewDeleteServerParamsWithHTTPClient

func NewDeleteServerParamsWithHTTPClient(client *http.Client) *DeleteServerParams

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

func NewDeleteServerParamsWithTimeout

func NewDeleteServerParamsWithTimeout(timeout time.Duration) *DeleteServerParams

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

func (*DeleteServerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete server params

func (*DeleteServerParams) SetContext

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

SetContext adds the context to the delete server params

func (*DeleteServerParams) SetFlightId

func (o *DeleteServerParams) SetFlightId(flightId string)

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

func (*DeleteServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete server params

func (*DeleteServerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete server params

func (*DeleteServerParams) SetNamespace

func (o *DeleteServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete server params

func (*DeleteServerParams) SetPodName

func (o *DeleteServerParams) SetPodName(podName string)

SetPodName adds the podName to the delete server params

func (*DeleteServerParams) SetTimeout

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

SetTimeout adds the timeout to the delete server params

func (*DeleteServerParams) WithContext

WithContext adds the context to the delete server params

func (*DeleteServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete server params

func (*DeleteServerParams) WithNamespace

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

WithNamespace adds the namespace to the delete server params

func (*DeleteServerParams) WithPodName

func (o *DeleteServerParams) WithPodName(podName string) *DeleteServerParams

WithPodName adds the podName to the delete server params

func (*DeleteServerParams) WithTimeout

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

WithTimeout adds the timeout to the delete server params

func (*DeleteServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteServerReader

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

DeleteServerReader is a Reader for the DeleteServer structure.

func (*DeleteServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServerUnauthorized

type DeleteServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteServerUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteServerUnauthorized

func NewDeleteServerUnauthorized() *DeleteServerUnauthorized

NewDeleteServerUnauthorized creates a DeleteServerUnauthorized with default headers values

func (*DeleteServerUnauthorized) Error

func (o *DeleteServerUnauthorized) Error() string

func (*DeleteServerUnauthorized) GetPayload

func (*DeleteServerUnauthorized) ToJSONString

func (o *DeleteServerUnauthorized) ToJSONString() string

type DeleteSessionInternalServerError

type DeleteSessionInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSessionInternalServerError

func NewDeleteSessionInternalServerError() *DeleteSessionInternalServerError

NewDeleteSessionInternalServerError creates a DeleteSessionInternalServerError with default headers values

func (*DeleteSessionInternalServerError) Error

func (*DeleteSessionInternalServerError) GetPayload

func (*DeleteSessionInternalServerError) ToJSONString

func (o *DeleteSessionInternalServerError) ToJSONString() string

type DeleteSessionNoContent

type DeleteSessionNoContent struct {
}

DeleteSessionNoContent handles this case with default header values.

session deleted

func NewDeleteSessionNoContent

func NewDeleteSessionNoContent() *DeleteSessionNoContent

NewDeleteSessionNoContent creates a DeleteSessionNoContent with default headers values

func (*DeleteSessionNoContent) Error

func (o *DeleteSessionNoContent) Error() string

type DeleteSessionParams

type DeleteSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session to be deleted

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

DeleteSessionParams contains all the parameters to send to the API endpoint for the delete session operation typically these are written to a http.Request

func NewDeleteSessionParams

func NewDeleteSessionParams() *DeleteSessionParams

NewDeleteSessionParams creates a new DeleteSessionParams object with the default values initialized.

func NewDeleteSessionParamsWithContext

func NewDeleteSessionParamsWithContext(ctx context.Context) *DeleteSessionParams

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

func NewDeleteSessionParamsWithHTTPClient

func NewDeleteSessionParamsWithHTTPClient(client *http.Client) *DeleteSessionParams

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

func NewDeleteSessionParamsWithTimeout

func NewDeleteSessionParamsWithTimeout(timeout time.Duration) *DeleteSessionParams

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

func (*DeleteSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete session params

func (*DeleteSessionParams) SetContext

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

SetContext adds the context to the delete session params

func (*DeleteSessionParams) SetFlightId

func (o *DeleteSessionParams) SetFlightId(flightId string)

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

func (*DeleteSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete session params

func (*DeleteSessionParams) SetNamespace

func (o *DeleteSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete session params

func (*DeleteSessionParams) SetSessionID

func (o *DeleteSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the delete session params

func (*DeleteSessionParams) SetTimeout

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

SetTimeout adds the timeout to the delete session params

func (*DeleteSessionParams) WithContext

WithContext adds the context to the delete session params

func (*DeleteSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) WithNamespace

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

WithNamespace adds the namespace to the delete session params

func (*DeleteSessionParams) WithSessionID

func (o *DeleteSessionParams) WithSessionID(sessionID string) *DeleteSessionParams

WithSessionID adds the sessionID to the delete session params

func (*DeleteSessionParams) WithTimeout

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

WithTimeout adds the timeout to the delete session params

func (*DeleteSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSessionReader

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

DeleteSessionReader is a Reader for the DeleteSession structure.

func (*DeleteSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSessionUnauthorized

type DeleteSessionUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteSessionUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteSessionUnauthorized

func NewDeleteSessionUnauthorized() *DeleteSessionUnauthorized

NewDeleteSessionUnauthorized creates a DeleteSessionUnauthorized with default headers values

func (*DeleteSessionUnauthorized) Error

func (o *DeleteSessionUnauthorized) Error() string

func (*DeleteSessionUnauthorized) GetPayload

func (*DeleteSessionUnauthorized) ToJSONString

func (o *DeleteSessionUnauthorized) ToJSONString() string

type GetServerInternalServerError

type GetServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerInternalServerError handles this case with default header values.

Internal Server Error

func NewGetServerInternalServerError

func NewGetServerInternalServerError() *GetServerInternalServerError

NewGetServerInternalServerError creates a GetServerInternalServerError with default headers values

func (*GetServerInternalServerError) Error

func (*GetServerInternalServerError) GetPayload

func (*GetServerInternalServerError) ToJSONString

func (o *GetServerInternalServerError) ToJSONString() string

type GetServerNotFound

type GetServerNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerNotFound handles this case with default header values.

server not found

func NewGetServerNotFound

func NewGetServerNotFound() *GetServerNotFound

NewGetServerNotFound creates a GetServerNotFound with default headers values

func (*GetServerNotFound) Error

func (o *GetServerNotFound) Error() string

func (*GetServerNotFound) GetPayload

func (*GetServerNotFound) ToJSONString

func (o *GetServerNotFound) ToJSONString() string

type GetServerOK

type GetServerOK struct {
	Payload *dsmcclientmodels.ModelsServerDetailsResponse
}

GetServerOK handles this case with default header values.

server queried

func NewGetServerOK

func NewGetServerOK() *GetServerOK

NewGetServerOK creates a GetServerOK with default headers values

func (*GetServerOK) Error

func (o *GetServerOK) Error() string

func (*GetServerOK) GetPayload

func (*GetServerOK) ToJSONString

func (o *GetServerOK) ToJSONString() string

type GetServerParams

type GetServerParams struct {

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

	*/
	Namespace string
	/*PodName
	  name of the DS pod

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

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

func NewGetServerParams

func NewGetServerParams() *GetServerParams

NewGetServerParams creates a new GetServerParams object with the default values initialized.

func NewGetServerParamsWithContext

func NewGetServerParamsWithContext(ctx context.Context) *GetServerParams

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

func NewGetServerParamsWithHTTPClient

func NewGetServerParamsWithHTTPClient(client *http.Client) *GetServerParams

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

func NewGetServerParamsWithTimeout

func NewGetServerParamsWithTimeout(timeout time.Duration) *GetServerParams

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

func (*GetServerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get server params

func (*GetServerParams) SetContext

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

SetContext adds the context to the get server params

func (*GetServerParams) SetFlightId

func (o *GetServerParams) SetFlightId(flightId string)

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

func (*GetServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get server params

func (*GetServerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get server params

func (*GetServerParams) SetNamespace

func (o *GetServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get server params

func (*GetServerParams) SetPodName

func (o *GetServerParams) SetPodName(podName string)

SetPodName adds the podName to the get server params

func (*GetServerParams) SetTimeout

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

SetTimeout adds the timeout to the get server params

func (*GetServerParams) WithContext

func (o *GetServerParams) WithContext(ctx context.Context) *GetServerParams

WithContext adds the context to the get server params

func (*GetServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get server params

func (*GetServerParams) WithNamespace

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

WithNamespace adds the namespace to the get server params

func (*GetServerParams) WithPodName

func (o *GetServerParams) WithPodName(podName string) *GetServerParams

WithPodName adds the podName to the get server params

func (*GetServerParams) WithTimeout

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

WithTimeout adds the timeout to the get server params

func (*GetServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetServerReader

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

GetServerReader is a Reader for the GetServer structure.

func (*GetServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServerUnauthorized

type GetServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerUnauthorized handles this case with default header values.

Unauthorized

func NewGetServerUnauthorized

func NewGetServerUnauthorized() *GetServerUnauthorized

NewGetServerUnauthorized creates a GetServerUnauthorized with default headers values

func (*GetServerUnauthorized) Error

func (o *GetServerUnauthorized) Error() string

func (*GetServerUnauthorized) GetPayload

func (*GetServerUnauthorized) ToJSONString

func (o *GetServerUnauthorized) ToJSONString() string

type GetWorkerConfigBadRequest

type GetWorkerConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

GetWorkerConfigBadRequest handles this case with default header values.

Bad Request

func NewGetWorkerConfigBadRequest

func NewGetWorkerConfigBadRequest() *GetWorkerConfigBadRequest

NewGetWorkerConfigBadRequest creates a GetWorkerConfigBadRequest with default headers values

func (*GetWorkerConfigBadRequest) Error

func (o *GetWorkerConfigBadRequest) Error() string

func (*GetWorkerConfigBadRequest) GetPayload

func (*GetWorkerConfigBadRequest) ToJSONString

func (o *GetWorkerConfigBadRequest) ToJSONString() string

type GetWorkerConfigInternalServerError

type GetWorkerConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

GetWorkerConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewGetWorkerConfigInternalServerError

func NewGetWorkerConfigInternalServerError() *GetWorkerConfigInternalServerError

NewGetWorkerConfigInternalServerError creates a GetWorkerConfigInternalServerError with default headers values

func (*GetWorkerConfigInternalServerError) Error

func (*GetWorkerConfigInternalServerError) GetPayload

func (*GetWorkerConfigInternalServerError) ToJSONString

func (o *GetWorkerConfigInternalServerError) ToJSONString() string

type GetWorkerConfigNotFound

type GetWorkerConfigNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

GetWorkerConfigNotFound handles this case with default header values.

Not Found

func NewGetWorkerConfigNotFound

func NewGetWorkerConfigNotFound() *GetWorkerConfigNotFound

NewGetWorkerConfigNotFound creates a GetWorkerConfigNotFound with default headers values

func (*GetWorkerConfigNotFound) Error

func (o *GetWorkerConfigNotFound) Error() string

func (*GetWorkerConfigNotFound) GetPayload

func (*GetWorkerConfigNotFound) ToJSONString

func (o *GetWorkerConfigNotFound) ToJSONString() string

type GetWorkerConfigOK

type GetWorkerConfigOK struct {
	Payload *dsmcclientmodels.ModelsWorkerConfig
}

GetWorkerConfigOK handles this case with default header values.

The worker configuration has been successfully retrieved.

func NewGetWorkerConfigOK

func NewGetWorkerConfigOK() *GetWorkerConfigOK

NewGetWorkerConfigOK creates a GetWorkerConfigOK with default headers values

func (*GetWorkerConfigOK) Error

func (o *GetWorkerConfigOK) Error() string

func (*GetWorkerConfigOK) GetPayload

func (*GetWorkerConfigOK) ToJSONString

func (o *GetWorkerConfigOK) ToJSONString() string

type GetWorkerConfigParams

type GetWorkerConfigParams struct {

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

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

GetWorkerConfigParams contains all the parameters to send to the API endpoint for the get worker config operation typically these are written to a http.Request

func NewGetWorkerConfigParams

func NewGetWorkerConfigParams() *GetWorkerConfigParams

NewGetWorkerConfigParams creates a new GetWorkerConfigParams object with the default values initialized.

func NewGetWorkerConfigParamsWithContext

func NewGetWorkerConfigParamsWithContext(ctx context.Context) *GetWorkerConfigParams

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

func NewGetWorkerConfigParamsWithHTTPClient

func NewGetWorkerConfigParamsWithHTTPClient(client *http.Client) *GetWorkerConfigParams

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

func NewGetWorkerConfigParamsWithTimeout

func NewGetWorkerConfigParamsWithTimeout(timeout time.Duration) *GetWorkerConfigParams

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

func (*GetWorkerConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get worker config params

func (*GetWorkerConfigParams) SetContext

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

SetContext adds the context to the get worker config params

func (*GetWorkerConfigParams) SetFlightId

func (o *GetWorkerConfigParams) SetFlightId(flightId string)

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

func (*GetWorkerConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get worker config params

func (*GetWorkerConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get worker config params

func (*GetWorkerConfigParams) SetNamespace

func (o *GetWorkerConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get worker config params

func (*GetWorkerConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get worker config params

func (*GetWorkerConfigParams) WithContext

WithContext adds the context to the get worker config params

func (*GetWorkerConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get worker config params

func (*GetWorkerConfigParams) WithNamespace

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

WithNamespace adds the namespace to the get worker config params

func (*GetWorkerConfigParams) WithTimeout

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

WithTimeout adds the timeout to the get worker config params

func (*GetWorkerConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetWorkerConfigReader

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

GetWorkerConfigReader is a Reader for the GetWorkerConfig structure.

func (*GetWorkerConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkerConfigUnauthorized

type GetWorkerConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

GetWorkerConfigUnauthorized handles this case with default header values.

Unauthorized

func NewGetWorkerConfigUnauthorized

func NewGetWorkerConfigUnauthorized() *GetWorkerConfigUnauthorized

NewGetWorkerConfigUnauthorized creates a GetWorkerConfigUnauthorized with default headers values

func (*GetWorkerConfigUnauthorized) Error

func (*GetWorkerConfigUnauthorized) GetPayload

func (*GetWorkerConfigUnauthorized) ToJSONString

func (o *GetWorkerConfigUnauthorized) ToJSONString() string

type ListLocalServerInternalServerError

type ListLocalServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ListLocalServerInternalServerError handles this case with default header values.

Internal Server Error

func NewListLocalServerInternalServerError

func NewListLocalServerInternalServerError() *ListLocalServerInternalServerError

NewListLocalServerInternalServerError creates a ListLocalServerInternalServerError with default headers values

func (*ListLocalServerInternalServerError) Error

func (*ListLocalServerInternalServerError) GetPayload

func (*ListLocalServerInternalServerError) ToJSONString

func (o *ListLocalServerInternalServerError) ToJSONString() string

type ListLocalServerOK

type ListLocalServerOK struct {
	Payload *dsmcclientmodels.ModelsListServerResponse
}

ListLocalServerOK handles this case with default header values.

servers listed

func NewListLocalServerOK

func NewListLocalServerOK() *ListLocalServerOK

NewListLocalServerOK creates a ListLocalServerOK with default headers values

func (*ListLocalServerOK) Error

func (o *ListLocalServerOK) Error() string

func (*ListLocalServerOK) GetPayload

func (*ListLocalServerOK) ToJSONString

func (o *ListLocalServerOK) ToJSONString() string

type ListLocalServerParams

type ListLocalServerParams struct {

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

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

ListLocalServerParams contains all the parameters to send to the API endpoint for the list local server operation typically these are written to a http.Request

func NewListLocalServerParams

func NewListLocalServerParams() *ListLocalServerParams

NewListLocalServerParams creates a new ListLocalServerParams object with the default values initialized.

func NewListLocalServerParamsWithContext

func NewListLocalServerParamsWithContext(ctx context.Context) *ListLocalServerParams

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

func NewListLocalServerParamsWithHTTPClient

func NewListLocalServerParamsWithHTTPClient(client *http.Client) *ListLocalServerParams

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

func NewListLocalServerParamsWithTimeout

func NewListLocalServerParamsWithTimeout(timeout time.Duration) *ListLocalServerParams

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

func (*ListLocalServerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list local server params

func (*ListLocalServerParams) SetContext

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

SetContext adds the context to the list local server params

func (*ListLocalServerParams) SetFlightId

func (o *ListLocalServerParams) SetFlightId(flightId string)

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

func (*ListLocalServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list local server params

func (*ListLocalServerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list local server params

func (*ListLocalServerParams) SetNamespace

func (o *ListLocalServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list local server params

func (*ListLocalServerParams) SetTimeout

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

SetTimeout adds the timeout to the list local server params

func (*ListLocalServerParams) WithContext

WithContext adds the context to the list local server params

func (*ListLocalServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list local server params

func (*ListLocalServerParams) WithNamespace

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

WithNamespace adds the namespace to the list local server params

func (*ListLocalServerParams) WithTimeout

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

WithTimeout adds the timeout to the list local server params

func (*ListLocalServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListLocalServerReader

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

ListLocalServerReader is a Reader for the ListLocalServer structure.

func (*ListLocalServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListLocalServerUnauthorized

type ListLocalServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ListLocalServerUnauthorized handles this case with default header values.

Unauthorized

func NewListLocalServerUnauthorized

func NewListLocalServerUnauthorized() *ListLocalServerUnauthorized

NewListLocalServerUnauthorized creates a ListLocalServerUnauthorized with default headers values

func (*ListLocalServerUnauthorized) Error

func (*ListLocalServerUnauthorized) GetPayload

func (*ListLocalServerUnauthorized) ToJSONString

func (o *ListLocalServerUnauthorized) ToJSONString() string

type ListServerInternalServerError

type ListServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ListServerInternalServerError handles this case with default header values.

Internal Server Error

func NewListServerInternalServerError

func NewListServerInternalServerError() *ListServerInternalServerError

NewListServerInternalServerError creates a ListServerInternalServerError with default headers values

func (*ListServerInternalServerError) Error

func (*ListServerInternalServerError) GetPayload

func (*ListServerInternalServerError) ToJSONString

func (o *ListServerInternalServerError) ToJSONString() string

type ListServerOK

type ListServerOK struct {
	Payload *dsmcclientmodels.ModelsListServerResponse
}

ListServerOK handles this case with default header values.

servers listed

func NewListServerOK

func NewListServerOK() *ListServerOK

NewListServerOK creates a ListServerOK with default headers values

func (*ListServerOK) Error

func (o *ListServerOK) Error() string

func (*ListServerOK) GetPayload

func (*ListServerOK) ToJSONString

func (o *ListServerOK) ToJSONString() string

type ListServerParams

type ListServerParams struct {

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

	*/
	Namespace string
	/*Region
	  region where DS server is located. if not specified it will list all servers.

	*/
	Region *string
	/*Count
	  how many items to return

	*/
	Count int64
	/*Offset
	  offset from list to query from

	*/
	Offset int64

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

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

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

func NewListServerParams

func NewListServerParams() *ListServerParams

NewListServerParams creates a new ListServerParams object with the default values initialized.

func NewListServerParamsWithContext

func NewListServerParamsWithContext(ctx context.Context) *ListServerParams

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

func NewListServerParamsWithHTTPClient

func NewListServerParamsWithHTTPClient(client *http.Client) *ListServerParams

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

func NewListServerParamsWithTimeout

func NewListServerParamsWithTimeout(timeout time.Duration) *ListServerParams

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

func (*ListServerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list server params

func (*ListServerParams) SetContext

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

SetContext adds the context to the list server params

func (*ListServerParams) SetCount

func (o *ListServerParams) SetCount(count int64)

SetCount adds the count to the list server params

func (*ListServerParams) SetFlightId

func (o *ListServerParams) SetFlightId(flightId string)

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

func (*ListServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list server params

func (*ListServerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list server params

func (*ListServerParams) SetNamespace

func (o *ListServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list server params

func (*ListServerParams) SetOffset

func (o *ListServerParams) SetOffset(offset int64)

SetOffset adds the offset to the list server params

func (*ListServerParams) SetRegion

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

SetRegion adds the region to the list server params

func (*ListServerParams) SetTimeout

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

SetTimeout adds the timeout to the list server params

func (*ListServerParams) WithContext

func (o *ListServerParams) WithContext(ctx context.Context) *ListServerParams

WithContext adds the context to the list server params

func (*ListServerParams) WithCount

func (o *ListServerParams) WithCount(count int64) *ListServerParams

WithCount adds the count to the list server params

func (*ListServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list server params

func (*ListServerParams) WithNamespace

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

WithNamespace adds the namespace to the list server params

func (*ListServerParams) WithOffset

func (o *ListServerParams) WithOffset(offset int64) *ListServerParams

WithOffset adds the offset to the list server params

func (*ListServerParams) WithRegion

func (o *ListServerParams) WithRegion(region *string) *ListServerParams

WithRegion adds the region to the list server params

func (*ListServerParams) WithTimeout

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

WithTimeout adds the timeout to the list server params

func (*ListServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListServerReader

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

ListServerReader is a Reader for the ListServer structure.

func (*ListServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServerUnauthorized

type ListServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ListServerUnauthorized handles this case with default header values.

Unauthorized

func NewListServerUnauthorized

func NewListServerUnauthorized() *ListServerUnauthorized

NewListServerUnauthorized creates a ListServerUnauthorized with default headers values

func (*ListServerUnauthorized) Error

func (o *ListServerUnauthorized) Error() string

func (*ListServerUnauthorized) GetPayload

func (*ListServerUnauthorized) ToJSONString

func (o *ListServerUnauthorized) ToJSONString() string

type ListSessionInternalServerError

type ListSessionInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ListSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewListSessionInternalServerError

func NewListSessionInternalServerError() *ListSessionInternalServerError

NewListSessionInternalServerError creates a ListSessionInternalServerError with default headers values

func (*ListSessionInternalServerError) Error

func (*ListSessionInternalServerError) GetPayload

func (*ListSessionInternalServerError) ToJSONString

func (o *ListSessionInternalServerError) ToJSONString() string

type ListSessionOK

type ListSessionOK struct {
	Payload *dsmcclientmodels.ModelsListSessionResponse
}

ListSessionOK handles this case with default header values.

sessions listed

func NewListSessionOK

func NewListSessionOK() *ListSessionOK

NewListSessionOK creates a ListSessionOK with default headers values

func (*ListSessionOK) Error

func (o *ListSessionOK) Error() string

func (*ListSessionOK) GetPayload

func (*ListSessionOK) ToJSONString

func (o *ListSessionOK) ToJSONString() string

type ListSessionParams

type ListSessionParams struct {

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

	*/
	Namespace string
	/*Region
	  region where session is located. if not specified it will list all sessions.

	*/
	Region *string
	/*WithServer
	  append server info to session or not

	*/
	WithServer *bool
	/*Count
	  how many items to return

	*/
	Count int64
	/*Offset
	  offset from list to query from

	*/
	Offset int64

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

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

ListSessionParams contains all the parameters to send to the API endpoint for the list session operation typically these are written to a http.Request

func NewListSessionParams

func NewListSessionParams() *ListSessionParams

NewListSessionParams creates a new ListSessionParams object with the default values initialized.

func NewListSessionParamsWithContext

func NewListSessionParamsWithContext(ctx context.Context) *ListSessionParams

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

func NewListSessionParamsWithHTTPClient

func NewListSessionParamsWithHTTPClient(client *http.Client) *ListSessionParams

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

func NewListSessionParamsWithTimeout

func NewListSessionParamsWithTimeout(timeout time.Duration) *ListSessionParams

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

func (*ListSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list session params

func (*ListSessionParams) SetContext

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

SetContext adds the context to the list session params

func (*ListSessionParams) SetCount

func (o *ListSessionParams) SetCount(count int64)

SetCount adds the count to the list session params

func (*ListSessionParams) SetFlightId

func (o *ListSessionParams) SetFlightId(flightId string)

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

func (*ListSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list session params

func (*ListSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list session params

func (*ListSessionParams) SetNamespace

func (o *ListSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list session params

func (*ListSessionParams) SetOffset

func (o *ListSessionParams) SetOffset(offset int64)

SetOffset adds the offset to the list session params

func (*ListSessionParams) SetRegion

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

SetRegion adds the region to the list session params

func (*ListSessionParams) SetTimeout

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

SetTimeout adds the timeout to the list session params

func (*ListSessionParams) SetWithServer

func (o *ListSessionParams) SetWithServer(withServer *bool)

SetWithServer adds the withServer to the list session params

func (*ListSessionParams) WithContext

func (o *ListSessionParams) WithContext(ctx context.Context) *ListSessionParams

WithContext adds the context to the list session params

func (*ListSessionParams) WithCount

func (o *ListSessionParams) WithCount(count int64) *ListSessionParams

WithCount adds the count to the list session params

func (*ListSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list session params

func (*ListSessionParams) WithNamespace

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

WithNamespace adds the namespace to the list session params

func (*ListSessionParams) WithOffset

func (o *ListSessionParams) WithOffset(offset int64) *ListSessionParams

WithOffset adds the offset to the list session params

func (*ListSessionParams) WithRegion

func (o *ListSessionParams) WithRegion(region *string) *ListSessionParams

WithRegion adds the region to the list session params

func (*ListSessionParams) WithTimeout

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

WithTimeout adds the timeout to the list session params

func (*ListSessionParams) WithWithServer

func (o *ListSessionParams) WithWithServer(withServer *bool) *ListSessionParams

WithWithServer adds the withServer to the list session params

func (*ListSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListSessionReader

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

ListSessionReader is a Reader for the ListSession structure.

func (*ListSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSessionUnauthorized

type ListSessionUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ListSessionUnauthorized handles this case with default header values.

Unauthorized

func NewListSessionUnauthorized

func NewListSessionUnauthorized() *ListSessionUnauthorized

NewListSessionUnauthorized creates a ListSessionUnauthorized with default headers values

func (*ListSessionUnauthorized) Error

func (o *ListSessionUnauthorized) Error() string

func (*ListSessionUnauthorized) GetPayload

func (*ListSessionUnauthorized) ToJSONString

func (o *ListSessionUnauthorized) ToJSONString() string

type RunGhostCleanerRequestHandlerNoContent

type RunGhostCleanerRequestHandlerNoContent struct {
}

RunGhostCleanerRequestHandlerNoContent handles this case with default header values.

worker ran

func NewRunGhostCleanerRequestHandlerNoContent

func NewRunGhostCleanerRequestHandlerNoContent() *RunGhostCleanerRequestHandlerNoContent

NewRunGhostCleanerRequestHandlerNoContent creates a RunGhostCleanerRequestHandlerNoContent with default headers values

func (*RunGhostCleanerRequestHandlerNoContent) Error

type RunGhostCleanerRequestHandlerParams

type RunGhostCleanerRequestHandlerParams struct {

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

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

RunGhostCleanerRequestHandlerParams contains all the parameters to send to the API endpoint for the run ghost cleaner request handler operation typically these are written to a http.Request

func NewRunGhostCleanerRequestHandlerParams

func NewRunGhostCleanerRequestHandlerParams() *RunGhostCleanerRequestHandlerParams

NewRunGhostCleanerRequestHandlerParams creates a new RunGhostCleanerRequestHandlerParams object with the default values initialized.

func NewRunGhostCleanerRequestHandlerParamsWithContext

func NewRunGhostCleanerRequestHandlerParamsWithContext(ctx context.Context) *RunGhostCleanerRequestHandlerParams

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

func NewRunGhostCleanerRequestHandlerParamsWithHTTPClient

func NewRunGhostCleanerRequestHandlerParamsWithHTTPClient(client *http.Client) *RunGhostCleanerRequestHandlerParams

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

func NewRunGhostCleanerRequestHandlerParamsWithTimeout

func NewRunGhostCleanerRequestHandlerParamsWithTimeout(timeout time.Duration) *RunGhostCleanerRequestHandlerParams

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

func (*RunGhostCleanerRequestHandlerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) SetContext

SetContext adds the context to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) SetFlightId

func (o *RunGhostCleanerRequestHandlerParams) SetFlightId(flightId string)

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

func (*RunGhostCleanerRequestHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) SetNamespace

func (o *RunGhostCleanerRequestHandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) WithContext

WithContext adds the context to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) WithNamespace

WithNamespace adds the namespace to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) WithTimeout

WithTimeout adds the timeout to the run ghost cleaner request handler params

func (*RunGhostCleanerRequestHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunGhostCleanerRequestHandlerReader

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

RunGhostCleanerRequestHandlerReader is a Reader for the RunGhostCleanerRequestHandler structure.

func (*RunGhostCleanerRequestHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunGhostCleanerRequestHandlerUnauthorized

type RunGhostCleanerRequestHandlerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

RunGhostCleanerRequestHandlerUnauthorized handles this case with default header values.

Unauthorized

func NewRunGhostCleanerRequestHandlerUnauthorized

func NewRunGhostCleanerRequestHandlerUnauthorized() *RunGhostCleanerRequestHandlerUnauthorized

NewRunGhostCleanerRequestHandlerUnauthorized creates a RunGhostCleanerRequestHandlerUnauthorized with default headers values

func (*RunGhostCleanerRequestHandlerUnauthorized) Error

func (*RunGhostCleanerRequestHandlerUnauthorized) GetPayload

func (*RunGhostCleanerRequestHandlerUnauthorized) ToJSONString

type RunZombieCleanerRequestHandlerNoContent

type RunZombieCleanerRequestHandlerNoContent struct {
}

RunZombieCleanerRequestHandlerNoContent handles this case with default header values.

worker ran

func NewRunZombieCleanerRequestHandlerNoContent

func NewRunZombieCleanerRequestHandlerNoContent() *RunZombieCleanerRequestHandlerNoContent

NewRunZombieCleanerRequestHandlerNoContent creates a RunZombieCleanerRequestHandlerNoContent with default headers values

func (*RunZombieCleanerRequestHandlerNoContent) Error

type RunZombieCleanerRequestHandlerParams

type RunZombieCleanerRequestHandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsDeleteZombieRequest
	/*Namespace
	  namespace of the game

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

RunZombieCleanerRequestHandlerParams contains all the parameters to send to the API endpoint for the run zombie cleaner request handler operation typically these are written to a http.Request

func NewRunZombieCleanerRequestHandlerParams

func NewRunZombieCleanerRequestHandlerParams() *RunZombieCleanerRequestHandlerParams

NewRunZombieCleanerRequestHandlerParams creates a new RunZombieCleanerRequestHandlerParams object with the default values initialized.

func NewRunZombieCleanerRequestHandlerParamsWithContext

func NewRunZombieCleanerRequestHandlerParamsWithContext(ctx context.Context) *RunZombieCleanerRequestHandlerParams

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

func NewRunZombieCleanerRequestHandlerParamsWithHTTPClient

func NewRunZombieCleanerRequestHandlerParamsWithHTTPClient(client *http.Client) *RunZombieCleanerRequestHandlerParams

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

func NewRunZombieCleanerRequestHandlerParamsWithTimeout

func NewRunZombieCleanerRequestHandlerParamsWithTimeout(timeout time.Duration) *RunZombieCleanerRequestHandlerParams

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

func (*RunZombieCleanerRequestHandlerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) SetBody

SetBody adds the body to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) SetContext

SetContext adds the context to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) SetFlightId

func (o *RunZombieCleanerRequestHandlerParams) SetFlightId(flightId string)

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

func (*RunZombieCleanerRequestHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) SetNamespace

func (o *RunZombieCleanerRequestHandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) WithBody

WithBody adds the body to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) WithContext

WithContext adds the context to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) WithNamespace

WithNamespace adds the namespace to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) WithTimeout

WithTimeout adds the timeout to the run zombie cleaner request handler params

func (*RunZombieCleanerRequestHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RunZombieCleanerRequestHandlerReader

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

RunZombieCleanerRequestHandlerReader is a Reader for the RunZombieCleanerRequestHandler structure.

func (*RunZombieCleanerRequestHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RunZombieCleanerRequestHandlerUnauthorized

type RunZombieCleanerRequestHandlerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

RunZombieCleanerRequestHandlerUnauthorized handles this case with default header values.

Unauthorized

func NewRunZombieCleanerRequestHandlerUnauthorized

func NewRunZombieCleanerRequestHandlerUnauthorized() *RunZombieCleanerRequestHandlerUnauthorized

NewRunZombieCleanerRequestHandlerUnauthorized creates a RunZombieCleanerRequestHandlerUnauthorized with default headers values

func (*RunZombieCleanerRequestHandlerUnauthorized) Error

func (*RunZombieCleanerRequestHandlerUnauthorized) GetPayload

func (*RunZombieCleanerRequestHandlerUnauthorized) ToJSONString

type UpdateWorkerConfigBadRequest

type UpdateWorkerConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateWorkerConfigBadRequest handles this case with default header values.

Bad Request

func NewUpdateWorkerConfigBadRequest

func NewUpdateWorkerConfigBadRequest() *UpdateWorkerConfigBadRequest

NewUpdateWorkerConfigBadRequest creates a UpdateWorkerConfigBadRequest with default headers values

func (*UpdateWorkerConfigBadRequest) Error

func (*UpdateWorkerConfigBadRequest) GetPayload

func (*UpdateWorkerConfigBadRequest) ToJSONString

func (o *UpdateWorkerConfigBadRequest) ToJSONString() string

type UpdateWorkerConfigInternalServerError

type UpdateWorkerConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateWorkerConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateWorkerConfigInternalServerError

func NewUpdateWorkerConfigInternalServerError() *UpdateWorkerConfigInternalServerError

NewUpdateWorkerConfigInternalServerError creates a UpdateWorkerConfigInternalServerError with default headers values

func (*UpdateWorkerConfigInternalServerError) Error

func (*UpdateWorkerConfigInternalServerError) GetPayload

func (*UpdateWorkerConfigInternalServerError) ToJSONString

type UpdateWorkerConfigNoContent

type UpdateWorkerConfigNoContent struct {
}

UpdateWorkerConfigNoContent handles this case with default header values.

The worker configuration has been successfully updated.

func NewUpdateWorkerConfigNoContent

func NewUpdateWorkerConfigNoContent() *UpdateWorkerConfigNoContent

NewUpdateWorkerConfigNoContent creates a UpdateWorkerConfigNoContent with default headers values

func (*UpdateWorkerConfigNoContent) Error

type UpdateWorkerConfigNotFound

type UpdateWorkerConfigNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateWorkerConfigNotFound handles this case with default header values.

Not Found

func NewUpdateWorkerConfigNotFound

func NewUpdateWorkerConfigNotFound() *UpdateWorkerConfigNotFound

NewUpdateWorkerConfigNotFound creates a UpdateWorkerConfigNotFound with default headers values

func (*UpdateWorkerConfigNotFound) Error

func (*UpdateWorkerConfigNotFound) GetPayload

func (*UpdateWorkerConfigNotFound) ToJSONString

func (o *UpdateWorkerConfigNotFound) ToJSONString() string

type UpdateWorkerConfigParams

type UpdateWorkerConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsWorkerConfigRequest
	/*Namespace
	  the namespace of the game

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

UpdateWorkerConfigParams contains all the parameters to send to the API endpoint for the update worker config operation typically these are written to a http.Request

func NewUpdateWorkerConfigParams

func NewUpdateWorkerConfigParams() *UpdateWorkerConfigParams

NewUpdateWorkerConfigParams creates a new UpdateWorkerConfigParams object with the default values initialized.

func NewUpdateWorkerConfigParamsWithContext

func NewUpdateWorkerConfigParamsWithContext(ctx context.Context) *UpdateWorkerConfigParams

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

func NewUpdateWorkerConfigParamsWithHTTPClient

func NewUpdateWorkerConfigParamsWithHTTPClient(client *http.Client) *UpdateWorkerConfigParams

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

func NewUpdateWorkerConfigParamsWithTimeout

func NewUpdateWorkerConfigParamsWithTimeout(timeout time.Duration) *UpdateWorkerConfigParams

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

func (*UpdateWorkerConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update worker config params

func (*UpdateWorkerConfigParams) SetBody

SetBody adds the body to the update worker config params

func (*UpdateWorkerConfigParams) SetContext

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

SetContext adds the context to the update worker config params

func (*UpdateWorkerConfigParams) SetFlightId

func (o *UpdateWorkerConfigParams) SetFlightId(flightId string)

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

func (*UpdateWorkerConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update worker config params

func (*UpdateWorkerConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update worker config params

func (*UpdateWorkerConfigParams) SetNamespace

func (o *UpdateWorkerConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update worker config params

func (*UpdateWorkerConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update worker config params

func (*UpdateWorkerConfigParams) WithBody

WithBody adds the body to the update worker config params

func (*UpdateWorkerConfigParams) WithContext

WithContext adds the context to the update worker config params

func (*UpdateWorkerConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update worker config params

func (*UpdateWorkerConfigParams) WithNamespace

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

WithNamespace adds the namespace to the update worker config params

func (*UpdateWorkerConfigParams) WithTimeout

WithTimeout adds the timeout to the update worker config params

func (*UpdateWorkerConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateWorkerConfigReader

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

UpdateWorkerConfigReader is a Reader for the UpdateWorkerConfig structure.

func (*UpdateWorkerConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateWorkerConfigUnauthorized

type UpdateWorkerConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateWorkerConfigUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateWorkerConfigUnauthorized

func NewUpdateWorkerConfigUnauthorized() *UpdateWorkerConfigUnauthorized

NewUpdateWorkerConfigUnauthorized creates a UpdateWorkerConfigUnauthorized with default headers values

func (*UpdateWorkerConfigUnauthorized) Error

func (*UpdateWorkerConfigUnauthorized) GetPayload

func (*UpdateWorkerConfigUnauthorized) ToJSONString

func (o *UpdateWorkerConfigUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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