admin

package
v0.59.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for admin API

func (*Client) CountServer deprecated

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

CountServer 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) CountServerDetailed deprecated

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

CountServerDetailed 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) CountServerDetailedShort added in v0.8.0

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 added in v0.8.0

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) CountSession deprecated

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

CountSession 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) CountSessionShort added in v0.8.0

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) DeleteLocalServer deprecated

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

DeleteLocalServer 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) DeleteLocalServerShort added in v0.8.0

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) DeleteServer deprecated

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

DeleteServer 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) DeleteServerShort added in v0.8.0

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) DeleteSession deprecated

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

DeleteSession 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) DeleteSessionShort added in v0.8.0

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) GetServer deprecated

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

GetServer 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) GetServerShort added in v0.8.0

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) ListLocalServer deprecated

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

ListLocalServer 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) ListLocalServerShort added in v0.8.0

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) ListServer deprecated

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

ListServer 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) ListServerShort added in v0.8.0

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) ListSession deprecated

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

ListSession 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) ListSessionShort added in v0.8.0

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) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListServer(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, *ListServerUnauthorized, *ListServerInternalServerError, error)
	ListServerShort(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, error)
	CountServer(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, *CountServerUnauthorized, *CountServerInternalServerError, error)
	CountServerShort(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, error)
	CountServerDetailed(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, *CountServerDetailedUnauthorized, *CountServerDetailedInternalServerError, error)
	CountServerDetailedShort(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, error)
	ListLocalServer(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, *ListLocalServerUnauthorized, *ListLocalServerInternalServerError, error)
	ListLocalServerShort(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, error)
	DeleteLocalServer(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, *DeleteLocalServerUnauthorized, *DeleteLocalServerInternalServerError, error)
	DeleteLocalServerShort(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, error)
	GetServer(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, *GetServerUnauthorized, *GetServerNotFound, *GetServerInternalServerError, error)
	GetServerShort(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, error)
	DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, *DeleteServerUnauthorized, *DeleteServerNotFound, *DeleteServerInternalServerError, error)
	DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)
	ListSession(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, *ListSessionUnauthorized, *ListSessionInternalServerError, error)
	ListSessionShort(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, error)
	CountSession(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, *CountSessionUnauthorized, *CountSessionInternalServerError, error)
	CountSessionShort(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, error)
	DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, *DeleteSessionUnauthorized, *DeleteSessionInternalServerError, error)
	DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, 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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count server detailed params

func (*CountServerDetailedParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count server params

func (*CountServerParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count session params

func (*CountSessionParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

func (o *CountSessionUnauthorized) 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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete local server params

func (*DeleteLocalServerParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete server params

func (*DeleteServerParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

func (o *GetServerNotFound) ToJSONString() string

type GetServerOK

type GetServerOK struct {
	Payload *dsmcclientmodels.ModelsServer
}

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 (o *GetServerOK) GetPayload() *dsmcclientmodels.ModelsServer

func (*GetServerOK) ToJSONString added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get server params

func (*GetServerParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

func (o *GetServerUnauthorized) 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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list local server params

func (*ListLocalServerParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list server params

func (*ListServerParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list session params

func (*ListSessionParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

func (o *ListSessionUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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