plugin_config

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 15 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 plugin config API

func (*Client) CreatePluginConfig deprecated

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

CreatePluginConfig create plugin configuration ## Description

This endpoints will create new grpc plugins configuration per namespace

func (*Client) CreatePluginConfigShort

func (a *Client) CreatePluginConfigShort(params *CreatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePluginConfigCreated, error)

CreatePluginConfigShort create plugin configuration ## Description

This endpoints will create new grpc plugins configuration per namespace

func (*Client) DeletePluginConfig deprecated

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

DeletePluginConfig delete plugin configuration ## Description

This endpoints will delete grpc plugins configuration

func (*Client) DeletePluginConfigShort

func (a *Client) DeletePluginConfigShort(params *DeletePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginConfigNoContent, error)

DeletePluginConfigShort delete plugin configuration ## Description

This endpoints will delete grpc plugins configuration

func (*Client) GetPluginConfig deprecated

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

GetPluginConfig get plugin configuration ## Description

This endpoints will get grpc plugins configuration

func (*Client) GetPluginConfigShort

func (a *Client) GetPluginConfigShort(params *GetPluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginConfigOK, error)

GetPluginConfigShort get plugin configuration ## Description

This endpoints will get grpc plugins configuration

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePluginConfig deprecated

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

UpdatePluginConfig update plugin configuration ## Description

This endpoints will update grpc plugins configuration

func (*Client) UpdatePluginConfigShort

func (a *Client) UpdatePluginConfigShort(params *UpdatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePluginConfigOK, error)

UpdatePluginConfigShort update plugin configuration ## Description

This endpoints will update grpc plugins configuration

type ClientService

type ClientService interface {
	GetPluginConfig(params *GetPluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginConfigOK, *GetPluginConfigUnauthorized, *GetPluginConfigForbidden, *GetPluginConfigNotFound, *GetPluginConfigInternalServerError, error)
	GetPluginConfigShort(params *GetPluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginConfigOK, error)
	CreatePluginConfig(params *CreatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePluginConfigCreated, *CreatePluginConfigBadRequest, *CreatePluginConfigUnauthorized, *CreatePluginConfigForbidden, *CreatePluginConfigConflict, *CreatePluginConfigInternalServerError, error)
	CreatePluginConfigShort(params *CreatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePluginConfigCreated, error)
	DeletePluginConfig(params *DeletePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginConfigNoContent, *DeletePluginConfigUnauthorized, *DeletePluginConfigForbidden, *DeletePluginConfigNotFound, *DeletePluginConfigInternalServerError, error)
	DeletePluginConfigShort(params *DeletePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePluginConfigNoContent, error)
	UpdatePluginConfig(params *UpdatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePluginConfigOK, *UpdatePluginConfigBadRequest, *UpdatePluginConfigUnauthorized, *UpdatePluginConfigForbidden, *UpdatePluginConfigNotFound, *UpdatePluginConfigInternalServerError, error)
	UpdatePluginConfigShort(params *UpdatePluginConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePluginConfigOK, 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 plugin config API client.

type CreatePluginConfigBadRequest

type CreatePluginConfigBadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

CreatePluginConfigBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18401</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreatePluginConfigBadRequest

func NewCreatePluginConfigBadRequest() *CreatePluginConfigBadRequest

NewCreatePluginConfigBadRequest creates a CreatePluginConfigBadRequest with default headers values

func (*CreatePluginConfigBadRequest) Error

func (*CreatePluginConfigBadRequest) GetPayload

func (*CreatePluginConfigBadRequest) ToJSONString

func (o *CreatePluginConfigBadRequest) ToJSONString() string

type CreatePluginConfigConflict

type CreatePluginConfigConflict struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

CreatePluginConfigConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18402</td><td>plugins already configured</td></tr></table>

func NewCreatePluginConfigConflict

func NewCreatePluginConfigConflict() *CreatePluginConfigConflict

NewCreatePluginConfigConflict creates a CreatePluginConfigConflict with default headers values

func (*CreatePluginConfigConflict) Error

func (*CreatePluginConfigConflict) GetPayload

func (*CreatePluginConfigConflict) ToJSONString

func (o *CreatePluginConfigConflict) ToJSONString() string

type CreatePluginConfigCreated

type CreatePluginConfigCreated struct {
	Payload *cloudsaveclientmodels.ModelsPluginResponse
}

CreatePluginConfigCreated handles this case with default header values.

Created

func NewCreatePluginConfigCreated

func NewCreatePluginConfigCreated() *CreatePluginConfigCreated

NewCreatePluginConfigCreated creates a CreatePluginConfigCreated with default headers values

func (*CreatePluginConfigCreated) Error

func (o *CreatePluginConfigCreated) Error() string

func (*CreatePluginConfigCreated) GetPayload

func (*CreatePluginConfigCreated) ToJSONString

func (o *CreatePluginConfigCreated) ToJSONString() string

type CreatePluginConfigForbidden

type CreatePluginConfigForbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

CreatePluginConfigForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewCreatePluginConfigForbidden

func NewCreatePluginConfigForbidden() *CreatePluginConfigForbidden

NewCreatePluginConfigForbidden creates a CreatePluginConfigForbidden with default headers values

func (*CreatePluginConfigForbidden) Error

func (*CreatePluginConfigForbidden) GetPayload

func (*CreatePluginConfigForbidden) ToJSONString

func (o *CreatePluginConfigForbidden) ToJSONString() string

type CreatePluginConfigInternalServerError

type CreatePluginConfigInternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

CreatePluginConfigInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewCreatePluginConfigInternalServerError

func NewCreatePluginConfigInternalServerError() *CreatePluginConfigInternalServerError

NewCreatePluginConfigInternalServerError creates a CreatePluginConfigInternalServerError with default headers values

func (*CreatePluginConfigInternalServerError) Error

func (*CreatePluginConfigInternalServerError) GetPayload

func (*CreatePluginConfigInternalServerError) ToJSONString

type CreatePluginConfigParams

type CreatePluginConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsPluginRequest
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

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

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

func NewCreatePluginConfigParams

func NewCreatePluginConfigParams() *CreatePluginConfigParams

NewCreatePluginConfigParams creates a new CreatePluginConfigParams object with the default values initialized.

func NewCreatePluginConfigParamsWithContext

func NewCreatePluginConfigParamsWithContext(ctx context.Context) *CreatePluginConfigParams

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

func NewCreatePluginConfigParamsWithHTTPClient

func NewCreatePluginConfigParamsWithHTTPClient(client *http.Client) *CreatePluginConfigParams

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

func NewCreatePluginConfigParamsWithTimeout

func NewCreatePluginConfigParamsWithTimeout(timeout time.Duration) *CreatePluginConfigParams

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

func (*CreatePluginConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create plugin config params

func (*CreatePluginConfigParams) SetBody

SetBody adds the body to the create plugin config params

func (*CreatePluginConfigParams) SetContext

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

SetContext adds the context to the create plugin config params

func (*CreatePluginConfigParams) SetFlightId added in v0.63.0

func (o *CreatePluginConfigParams) SetFlightId(flightId string)

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

func (*CreatePluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create plugin config params

func (*CreatePluginConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create plugin config params

func (*CreatePluginConfigParams) SetNamespace

func (o *CreatePluginConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create plugin config params

func (*CreatePluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create plugin config params

func (*CreatePluginConfigParams) WithBody

WithBody adds the body to the create plugin config params

func (*CreatePluginConfigParams) WithContext

WithContext adds the context to the create plugin config params

func (*CreatePluginConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create plugin config params

func (*CreatePluginConfigParams) WithNamespace

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

WithNamespace adds the namespace to the create plugin config params

func (*CreatePluginConfigParams) WithTimeout

WithTimeout adds the timeout to the create plugin config params

func (*CreatePluginConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePluginConfigReader

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

CreatePluginConfigReader is a Reader for the CreatePluginConfig structure.

func (*CreatePluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePluginConfigUnauthorized

type CreatePluginConfigUnauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

CreatePluginConfigUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewCreatePluginConfigUnauthorized

func NewCreatePluginConfigUnauthorized() *CreatePluginConfigUnauthorized

NewCreatePluginConfigUnauthorized creates a CreatePluginConfigUnauthorized with default headers values

func (*CreatePluginConfigUnauthorized) Error

func (*CreatePluginConfigUnauthorized) GetPayload

func (*CreatePluginConfigUnauthorized) ToJSONString

func (o *CreatePluginConfigUnauthorized) ToJSONString() string

type DeletePluginConfigForbidden

type DeletePluginConfigForbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeletePluginConfigForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewDeletePluginConfigForbidden

func NewDeletePluginConfigForbidden() *DeletePluginConfigForbidden

NewDeletePluginConfigForbidden creates a DeletePluginConfigForbidden with default headers values

func (*DeletePluginConfigForbidden) Error

func (*DeletePluginConfigForbidden) GetPayload

func (*DeletePluginConfigForbidden) ToJSONString

func (o *DeletePluginConfigForbidden) ToJSONString() string

type DeletePluginConfigInternalServerError

type DeletePluginConfigInternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeletePluginConfigInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewDeletePluginConfigInternalServerError

func NewDeletePluginConfigInternalServerError() *DeletePluginConfigInternalServerError

NewDeletePluginConfigInternalServerError creates a DeletePluginConfigInternalServerError with default headers values

func (*DeletePluginConfigInternalServerError) Error

func (*DeletePluginConfigInternalServerError) GetPayload

func (*DeletePluginConfigInternalServerError) ToJSONString

type DeletePluginConfigNoContent

type DeletePluginConfigNoContent struct {
}

DeletePluginConfigNoContent handles this case with default header values.

OK

func NewDeletePluginConfigNoContent

func NewDeletePluginConfigNoContent() *DeletePluginConfigNoContent

NewDeletePluginConfigNoContent creates a DeletePluginConfigNoContent with default headers values

func (*DeletePluginConfigNoContent) Error

type DeletePluginConfigNotFound

type DeletePluginConfigNotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeletePluginConfigNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18406</td><td>plugins config not found</td></tr></table>

func NewDeletePluginConfigNotFound

func NewDeletePluginConfigNotFound() *DeletePluginConfigNotFound

NewDeletePluginConfigNotFound creates a DeletePluginConfigNotFound with default headers values

func (*DeletePluginConfigNotFound) Error

func (*DeletePluginConfigNotFound) GetPayload

func (*DeletePluginConfigNotFound) ToJSONString

func (o *DeletePluginConfigNotFound) ToJSONString() string

type DeletePluginConfigParams

type DeletePluginConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

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

DeletePluginConfigParams contains all the parameters to send to the API endpoint for the delete plugin config operation typically these are written to a http.Request

func NewDeletePluginConfigParams

func NewDeletePluginConfigParams() *DeletePluginConfigParams

NewDeletePluginConfigParams creates a new DeletePluginConfigParams object with the default values initialized.

func NewDeletePluginConfigParamsWithContext

func NewDeletePluginConfigParamsWithContext(ctx context.Context) *DeletePluginConfigParams

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

func NewDeletePluginConfigParamsWithHTTPClient

func NewDeletePluginConfigParamsWithHTTPClient(client *http.Client) *DeletePluginConfigParams

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

func NewDeletePluginConfigParamsWithTimeout

func NewDeletePluginConfigParamsWithTimeout(timeout time.Duration) *DeletePluginConfigParams

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

func (*DeletePluginConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete plugin config params

func (*DeletePluginConfigParams) SetContext

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

SetContext adds the context to the delete plugin config params

func (*DeletePluginConfigParams) SetFlightId added in v0.63.0

func (o *DeletePluginConfigParams) SetFlightId(flightId string)

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

func (*DeletePluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete plugin config params

func (*DeletePluginConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete plugin config params

func (*DeletePluginConfigParams) SetNamespace

func (o *DeletePluginConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete plugin config params

func (*DeletePluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete plugin config params

func (*DeletePluginConfigParams) WithContext

WithContext adds the context to the delete plugin config params

func (*DeletePluginConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete plugin config params

func (*DeletePluginConfigParams) WithNamespace

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

WithNamespace adds the namespace to the delete plugin config params

func (*DeletePluginConfigParams) WithTimeout

WithTimeout adds the timeout to the delete plugin config params

func (*DeletePluginConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePluginConfigReader

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

DeletePluginConfigReader is a Reader for the DeletePluginConfig structure.

func (*DeletePluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePluginConfigUnauthorized

type DeletePluginConfigUnauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeletePluginConfigUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewDeletePluginConfigUnauthorized

func NewDeletePluginConfigUnauthorized() *DeletePluginConfigUnauthorized

NewDeletePluginConfigUnauthorized creates a DeletePluginConfigUnauthorized with default headers values

func (*DeletePluginConfigUnauthorized) Error

func (*DeletePluginConfigUnauthorized) GetPayload

func (*DeletePluginConfigUnauthorized) ToJSONString

func (o *DeletePluginConfigUnauthorized) ToJSONString() string

type GetPluginConfigForbidden

type GetPluginConfigForbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPluginConfigForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetPluginConfigForbidden

func NewGetPluginConfigForbidden() *GetPluginConfigForbidden

NewGetPluginConfigForbidden creates a GetPluginConfigForbidden with default headers values

func (*GetPluginConfigForbidden) Error

func (o *GetPluginConfigForbidden) Error() string

func (*GetPluginConfigForbidden) GetPayload

func (*GetPluginConfigForbidden) ToJSONString

func (o *GetPluginConfigForbidden) ToJSONString() string

type GetPluginConfigInternalServerError

type GetPluginConfigInternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPluginConfigInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewGetPluginConfigInternalServerError

func NewGetPluginConfigInternalServerError() *GetPluginConfigInternalServerError

NewGetPluginConfigInternalServerError creates a GetPluginConfigInternalServerError with default headers values

func (*GetPluginConfigInternalServerError) Error

func (*GetPluginConfigInternalServerError) GetPayload

func (*GetPluginConfigInternalServerError) ToJSONString

func (o *GetPluginConfigInternalServerError) ToJSONString() string

type GetPluginConfigNotFound

type GetPluginConfigNotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPluginConfigNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18404</td><td>plugins not found</td></tr></table>

func NewGetPluginConfigNotFound

func NewGetPluginConfigNotFound() *GetPluginConfigNotFound

NewGetPluginConfigNotFound creates a GetPluginConfigNotFound with default headers values

func (*GetPluginConfigNotFound) Error

func (o *GetPluginConfigNotFound) Error() string

func (*GetPluginConfigNotFound) GetPayload

func (*GetPluginConfigNotFound) ToJSONString

func (o *GetPluginConfigNotFound) ToJSONString() string

type GetPluginConfigOK

type GetPluginConfigOK struct {
	Payload *cloudsaveclientmodels.ModelsPluginResponse
}

GetPluginConfigOK handles this case with default header values.

OK

func NewGetPluginConfigOK

func NewGetPluginConfigOK() *GetPluginConfigOK

NewGetPluginConfigOK creates a GetPluginConfigOK with default headers values

func (*GetPluginConfigOK) Error

func (o *GetPluginConfigOK) Error() string

func (*GetPluginConfigOK) GetPayload

func (*GetPluginConfigOK) ToJSONString

func (o *GetPluginConfigOK) ToJSONString() string

type GetPluginConfigParams

type GetPluginConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

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

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

func NewGetPluginConfigParams

func NewGetPluginConfigParams() *GetPluginConfigParams

NewGetPluginConfigParams creates a new GetPluginConfigParams object with the default values initialized.

func NewGetPluginConfigParamsWithContext

func NewGetPluginConfigParamsWithContext(ctx context.Context) *GetPluginConfigParams

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

func NewGetPluginConfigParamsWithHTTPClient

func NewGetPluginConfigParamsWithHTTPClient(client *http.Client) *GetPluginConfigParams

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

func NewGetPluginConfigParamsWithTimeout

func NewGetPluginConfigParamsWithTimeout(timeout time.Duration) *GetPluginConfigParams

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

func (*GetPluginConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get plugin config params

func (*GetPluginConfigParams) SetContext

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

SetContext adds the context to the get plugin config params

func (*GetPluginConfigParams) SetFlightId added in v0.63.0

func (o *GetPluginConfigParams) SetFlightId(flightId string)

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

func (*GetPluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get plugin config params

func (*GetPluginConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get plugin config params

func (*GetPluginConfigParams) SetNamespace

func (o *GetPluginConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get plugin config params

func (*GetPluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get plugin config params

func (*GetPluginConfigParams) WithContext

WithContext adds the context to the get plugin config params

func (*GetPluginConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get plugin config params

func (*GetPluginConfigParams) WithNamespace

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

WithNamespace adds the namespace to the get plugin config params

func (*GetPluginConfigParams) WithTimeout

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

WithTimeout adds the timeout to the get plugin config params

func (*GetPluginConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPluginConfigReader

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

GetPluginConfigReader is a Reader for the GetPluginConfig structure.

func (*GetPluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPluginConfigUnauthorized

type GetPluginConfigUnauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPluginConfigUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetPluginConfigUnauthorized

func NewGetPluginConfigUnauthorized() *GetPluginConfigUnauthorized

NewGetPluginConfigUnauthorized creates a GetPluginConfigUnauthorized with default headers values

func (*GetPluginConfigUnauthorized) Error

func (*GetPluginConfigUnauthorized) GetPayload

func (*GetPluginConfigUnauthorized) ToJSONString

func (o *GetPluginConfigUnauthorized) ToJSONString() string

type UpdatePluginConfigBadRequest

type UpdatePluginConfigBadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

UpdatePluginConfigBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18408</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewUpdatePluginConfigBadRequest

func NewUpdatePluginConfigBadRequest() *UpdatePluginConfigBadRequest

NewUpdatePluginConfigBadRequest creates a UpdatePluginConfigBadRequest with default headers values

func (*UpdatePluginConfigBadRequest) Error

func (*UpdatePluginConfigBadRequest) GetPayload

func (*UpdatePluginConfigBadRequest) ToJSONString

func (o *UpdatePluginConfigBadRequest) ToJSONString() string

type UpdatePluginConfigForbidden

type UpdatePluginConfigForbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

UpdatePluginConfigForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewUpdatePluginConfigForbidden

func NewUpdatePluginConfigForbidden() *UpdatePluginConfigForbidden

NewUpdatePluginConfigForbidden creates a UpdatePluginConfigForbidden with default headers values

func (*UpdatePluginConfigForbidden) Error

func (*UpdatePluginConfigForbidden) GetPayload

func (*UpdatePluginConfigForbidden) ToJSONString

func (o *UpdatePluginConfigForbidden) ToJSONString() string

type UpdatePluginConfigInternalServerError

type UpdatePluginConfigInternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

UpdatePluginConfigInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewUpdatePluginConfigInternalServerError

func NewUpdatePluginConfigInternalServerError() *UpdatePluginConfigInternalServerError

NewUpdatePluginConfigInternalServerError creates a UpdatePluginConfigInternalServerError with default headers values

func (*UpdatePluginConfigInternalServerError) Error

func (*UpdatePluginConfigInternalServerError) GetPayload

func (*UpdatePluginConfigInternalServerError) ToJSONString

type UpdatePluginConfigNotFound

type UpdatePluginConfigNotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

UpdatePluginConfigNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18409</td><td>plugins config not found</td></tr></table>

func NewUpdatePluginConfigNotFound

func NewUpdatePluginConfigNotFound() *UpdatePluginConfigNotFound

NewUpdatePluginConfigNotFound creates a UpdatePluginConfigNotFound with default headers values

func (*UpdatePluginConfigNotFound) Error

func (*UpdatePluginConfigNotFound) GetPayload

func (*UpdatePluginConfigNotFound) ToJSONString

func (o *UpdatePluginConfigNotFound) ToJSONString() string

type UpdatePluginConfigOK

type UpdatePluginConfigOK struct {
	Payload *cloudsaveclientmodels.ModelsPluginResponse
}

UpdatePluginConfigOK handles this case with default header values.

OK

func NewUpdatePluginConfigOK

func NewUpdatePluginConfigOK() *UpdatePluginConfigOK

NewUpdatePluginConfigOK creates a UpdatePluginConfigOK with default headers values

func (*UpdatePluginConfigOK) Error

func (o *UpdatePluginConfigOK) Error() string

func (*UpdatePluginConfigOK) GetPayload

func (*UpdatePluginConfigOK) ToJSONString

func (o *UpdatePluginConfigOK) ToJSONString() string

type UpdatePluginConfigParams

type UpdatePluginConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsPluginRequest
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

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

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

func NewUpdatePluginConfigParams

func NewUpdatePluginConfigParams() *UpdatePluginConfigParams

NewUpdatePluginConfigParams creates a new UpdatePluginConfigParams object with the default values initialized.

func NewUpdatePluginConfigParamsWithContext

func NewUpdatePluginConfigParamsWithContext(ctx context.Context) *UpdatePluginConfigParams

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

func NewUpdatePluginConfigParamsWithHTTPClient

func NewUpdatePluginConfigParamsWithHTTPClient(client *http.Client) *UpdatePluginConfigParams

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

func NewUpdatePluginConfigParamsWithTimeout

func NewUpdatePluginConfigParamsWithTimeout(timeout time.Duration) *UpdatePluginConfigParams

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

func (*UpdatePluginConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update plugin config params

func (*UpdatePluginConfigParams) SetBody

SetBody adds the body to the update plugin config params

func (*UpdatePluginConfigParams) SetContext

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

SetContext adds the context to the update plugin config params

func (*UpdatePluginConfigParams) SetFlightId added in v0.63.0

func (o *UpdatePluginConfigParams) SetFlightId(flightId string)

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

func (*UpdatePluginConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update plugin config params

func (*UpdatePluginConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update plugin config params

func (*UpdatePluginConfigParams) SetNamespace

func (o *UpdatePluginConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update plugin config params

func (*UpdatePluginConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update plugin config params

func (*UpdatePluginConfigParams) WithBody

WithBody adds the body to the update plugin config params

func (*UpdatePluginConfigParams) WithContext

WithContext adds the context to the update plugin config params

func (*UpdatePluginConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update plugin config params

func (*UpdatePluginConfigParams) WithNamespace

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

WithNamespace adds the namespace to the update plugin config params

func (*UpdatePluginConfigParams) WithTimeout

WithTimeout adds the timeout to the update plugin config params

func (*UpdatePluginConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePluginConfigReader

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

UpdatePluginConfigReader is a Reader for the UpdatePluginConfig structure.

func (*UpdatePluginConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePluginConfigUnauthorized

type UpdatePluginConfigUnauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

UpdatePluginConfigUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewUpdatePluginConfigUnauthorized

func NewUpdatePluginConfigUnauthorized() *UpdatePluginConfigUnauthorized

NewUpdatePluginConfigUnauthorized creates a UpdatePluginConfigUnauthorized with default headers values

func (*UpdatePluginConfigUnauthorized) Error

func (*UpdatePluginConfigUnauthorized) GetPayload

func (*UpdatePluginConfigUnauthorized) ToJSONString

func (o *UpdatePluginConfigUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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