config

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetAllConfigV1BadRequest

type AdminGetAllConfigV1BadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1BadRequest handles this case with default header values.

Bad Request

func NewAdminGetAllConfigV1BadRequest

func NewAdminGetAllConfigV1BadRequest() *AdminGetAllConfigV1BadRequest

NewAdminGetAllConfigV1BadRequest creates a AdminGetAllConfigV1BadRequest with default headers values

func (*AdminGetAllConfigV1BadRequest) Error

func (*AdminGetAllConfigV1BadRequest) GetPayload

type AdminGetAllConfigV1Forbidden

type AdminGetAllConfigV1Forbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminGetAllConfigV1Forbidden

func NewAdminGetAllConfigV1Forbidden() *AdminGetAllConfigV1Forbidden

NewAdminGetAllConfigV1Forbidden creates a AdminGetAllConfigV1Forbidden with default headers values

func (*AdminGetAllConfigV1Forbidden) Error

func (*AdminGetAllConfigV1Forbidden) GetPayload

type AdminGetAllConfigV1InternalServerError

type AdminGetAllConfigV1InternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetAllConfigV1InternalServerError

func NewAdminGetAllConfigV1InternalServerError() *AdminGetAllConfigV1InternalServerError

NewAdminGetAllConfigV1InternalServerError creates a AdminGetAllConfigV1InternalServerError with default headers values

func (*AdminGetAllConfigV1InternalServerError) Error

func (*AdminGetAllConfigV1InternalServerError) GetPayload

type AdminGetAllConfigV1NotFound

type AdminGetAllConfigV1NotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1NotFound handles this case with default header values.

Not Found

func NewAdminGetAllConfigV1NotFound

func NewAdminGetAllConfigV1NotFound() *AdminGetAllConfigV1NotFound

NewAdminGetAllConfigV1NotFound creates a AdminGetAllConfigV1NotFound with default headers values

func (*AdminGetAllConfigV1NotFound) Error

func (*AdminGetAllConfigV1NotFound) GetPayload

type AdminGetAllConfigV1OK

type AdminGetAllConfigV1OK struct {
	Payload *lobbyclientmodels.ModelsConfigList
}

AdminGetAllConfigV1OK handles this case with default header values.

OK

func NewAdminGetAllConfigV1OK

func NewAdminGetAllConfigV1OK() *AdminGetAllConfigV1OK

NewAdminGetAllConfigV1OK creates a AdminGetAllConfigV1OK with default headers values

func (*AdminGetAllConfigV1OK) Error

func (o *AdminGetAllConfigV1OK) Error() string

func (*AdminGetAllConfigV1OK) GetPayload

type AdminGetAllConfigV1Params

type AdminGetAllConfigV1Params struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewAdminGetAllConfigV1Params

func NewAdminGetAllConfigV1Params() *AdminGetAllConfigV1Params

NewAdminGetAllConfigV1Params creates a new AdminGetAllConfigV1Params object with the default values initialized.

func NewAdminGetAllConfigV1ParamsWithContext

func NewAdminGetAllConfigV1ParamsWithContext(ctx context.Context) *AdminGetAllConfigV1Params

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

func NewAdminGetAllConfigV1ParamsWithHTTPClient

func NewAdminGetAllConfigV1ParamsWithHTTPClient(client *http.Client) *AdminGetAllConfigV1Params

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

func NewAdminGetAllConfigV1ParamsWithTimeout

func NewAdminGetAllConfigV1ParamsWithTimeout(timeout time.Duration) *AdminGetAllConfigV1Params

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

func (*AdminGetAllConfigV1Params) SetContext

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

SetContext adds the context to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithContext

WithContext adds the context to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetAllConfigV1Reader

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

AdminGetAllConfigV1Reader is a Reader for the AdminGetAllConfigV1 structure.

func (*AdminGetAllConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetAllConfigV1Unauthorized

type AdminGetAllConfigV1Unauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetAllConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminGetAllConfigV1Unauthorized

func NewAdminGetAllConfigV1Unauthorized() *AdminGetAllConfigV1Unauthorized

NewAdminGetAllConfigV1Unauthorized creates a AdminGetAllConfigV1Unauthorized with default headers values

func (*AdminGetAllConfigV1Unauthorized) Error

func (*AdminGetAllConfigV1Unauthorized) GetPayload

type AdminGetConfigV1BadRequest

type AdminGetConfigV1BadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1BadRequest handles this case with default header values.

Bad Request

func NewAdminGetConfigV1BadRequest

func NewAdminGetConfigV1BadRequest() *AdminGetConfigV1BadRequest

NewAdminGetConfigV1BadRequest creates a AdminGetConfigV1BadRequest with default headers values

func (*AdminGetConfigV1BadRequest) Error

func (*AdminGetConfigV1BadRequest) GetPayload

type AdminGetConfigV1Forbidden

type AdminGetConfigV1Forbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminGetConfigV1Forbidden

func NewAdminGetConfigV1Forbidden() *AdminGetConfigV1Forbidden

NewAdminGetConfigV1Forbidden creates a AdminGetConfigV1Forbidden with default headers values

func (*AdminGetConfigV1Forbidden) Error

func (o *AdminGetConfigV1Forbidden) Error() string

func (*AdminGetConfigV1Forbidden) GetPayload

type AdminGetConfigV1InternalServerError

type AdminGetConfigV1InternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetConfigV1InternalServerError

func NewAdminGetConfigV1InternalServerError() *AdminGetConfigV1InternalServerError

NewAdminGetConfigV1InternalServerError creates a AdminGetConfigV1InternalServerError with default headers values

func (*AdminGetConfigV1InternalServerError) Error

func (*AdminGetConfigV1InternalServerError) GetPayload

type AdminGetConfigV1NotFound

type AdminGetConfigV1NotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1NotFound handles this case with default header values.

Not Found

func NewAdminGetConfigV1NotFound

func NewAdminGetConfigV1NotFound() *AdminGetConfigV1NotFound

NewAdminGetConfigV1NotFound creates a AdminGetConfigV1NotFound with default headers values

func (*AdminGetConfigV1NotFound) Error

func (o *AdminGetConfigV1NotFound) Error() string

func (*AdminGetConfigV1NotFound) GetPayload

type AdminGetConfigV1OK

type AdminGetConfigV1OK struct {
	Payload *lobbyclientmodels.ModelsConfigReq
}

AdminGetConfigV1OK handles this case with default header values.

OK

func NewAdminGetConfigV1OK

func NewAdminGetConfigV1OK() *AdminGetConfigV1OK

NewAdminGetConfigV1OK creates a AdminGetConfigV1OK with default headers values

func (*AdminGetConfigV1OK) Error

func (o *AdminGetConfigV1OK) Error() string

func (*AdminGetConfigV1OK) GetPayload

type AdminGetConfigV1Params

type AdminGetConfigV1Params struct {

	/*Namespace
	  namespace

	*/
	Namespace string

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

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

func NewAdminGetConfigV1Params

func NewAdminGetConfigV1Params() *AdminGetConfigV1Params

NewAdminGetConfigV1Params creates a new AdminGetConfigV1Params object with the default values initialized.

func NewAdminGetConfigV1ParamsWithContext

func NewAdminGetConfigV1ParamsWithContext(ctx context.Context) *AdminGetConfigV1Params

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

func NewAdminGetConfigV1ParamsWithHTTPClient

func NewAdminGetConfigV1ParamsWithHTTPClient(client *http.Client) *AdminGetConfigV1Params

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

func NewAdminGetConfigV1ParamsWithTimeout

func NewAdminGetConfigV1ParamsWithTimeout(timeout time.Duration) *AdminGetConfigV1Params

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

func (*AdminGetConfigV1Params) SetContext

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

SetContext adds the context to the admin get config v1 params

func (*AdminGetConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get config v1 params

func (*AdminGetConfigV1Params) SetNamespace

func (o *AdminGetConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get config v1 params

func (*AdminGetConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin get config v1 params

func (*AdminGetConfigV1Params) WithContext

WithContext adds the context to the admin get config v1 params

func (*AdminGetConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get config v1 params

func (*AdminGetConfigV1Params) WithNamespace

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

WithNamespace adds the namespace to the admin get config v1 params

func (*AdminGetConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin get config v1 params

func (*AdminGetConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetConfigV1Reader

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

AdminGetConfigV1Reader is a Reader for the AdminGetConfigV1 structure.

func (*AdminGetConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetConfigV1Unauthorized

type AdminGetConfigV1Unauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminGetConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminGetConfigV1Unauthorized

func NewAdminGetConfigV1Unauthorized() *AdminGetConfigV1Unauthorized

NewAdminGetConfigV1Unauthorized creates a AdminGetConfigV1Unauthorized with default headers values

func (*AdminGetConfigV1Unauthorized) Error

func (*AdminGetConfigV1Unauthorized) GetPayload

type AdminUpdateConfigV1BadRequest

type AdminUpdateConfigV1BadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1BadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateConfigV1BadRequest

func NewAdminUpdateConfigV1BadRequest() *AdminUpdateConfigV1BadRequest

NewAdminUpdateConfigV1BadRequest creates a AdminUpdateConfigV1BadRequest with default headers values

func (*AdminUpdateConfigV1BadRequest) Error

func (*AdminUpdateConfigV1BadRequest) GetPayload

type AdminUpdateConfigV1Forbidden

type AdminUpdateConfigV1Forbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminUpdateConfigV1Forbidden

func NewAdminUpdateConfigV1Forbidden() *AdminUpdateConfigV1Forbidden

NewAdminUpdateConfigV1Forbidden creates a AdminUpdateConfigV1Forbidden with default headers values

func (*AdminUpdateConfigV1Forbidden) Error

func (*AdminUpdateConfigV1Forbidden) GetPayload

type AdminUpdateConfigV1InternalServerError

type AdminUpdateConfigV1InternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateConfigV1InternalServerError

func NewAdminUpdateConfigV1InternalServerError() *AdminUpdateConfigV1InternalServerError

NewAdminUpdateConfigV1InternalServerError creates a AdminUpdateConfigV1InternalServerError with default headers values

func (*AdminUpdateConfigV1InternalServerError) Error

func (*AdminUpdateConfigV1InternalServerError) GetPayload

type AdminUpdateConfigV1NotFound

type AdminUpdateConfigV1NotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1NotFound handles this case with default header values.

Not Found

func NewAdminUpdateConfigV1NotFound

func NewAdminUpdateConfigV1NotFound() *AdminUpdateConfigV1NotFound

NewAdminUpdateConfigV1NotFound creates a AdminUpdateConfigV1NotFound with default headers values

func (*AdminUpdateConfigV1NotFound) Error

func (*AdminUpdateConfigV1NotFound) GetPayload

type AdminUpdateConfigV1OK

type AdminUpdateConfigV1OK struct {
	Payload *lobbyclientmodels.ModelsConfigReq
}

AdminUpdateConfigV1OK handles this case with default header values.

OK

func NewAdminUpdateConfigV1OK

func NewAdminUpdateConfigV1OK() *AdminUpdateConfigV1OK

NewAdminUpdateConfigV1OK creates a AdminUpdateConfigV1OK with default headers values

func (*AdminUpdateConfigV1OK) Error

func (o *AdminUpdateConfigV1OK) Error() string

func (*AdminUpdateConfigV1OK) GetPayload

type AdminUpdateConfigV1Params

type AdminUpdateConfigV1Params struct {

	/*Body
	  lobby config

	*/
	Body *lobbyclientmodels.ModelsConfigReq
	/*Namespace
	  namespace

	*/
	Namespace string

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

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

func NewAdminUpdateConfigV1Params

func NewAdminUpdateConfigV1Params() *AdminUpdateConfigV1Params

NewAdminUpdateConfigV1Params creates a new AdminUpdateConfigV1Params object with the default values initialized.

func NewAdminUpdateConfigV1ParamsWithContext

func NewAdminUpdateConfigV1ParamsWithContext(ctx context.Context) *AdminUpdateConfigV1Params

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

func NewAdminUpdateConfigV1ParamsWithHTTPClient

func NewAdminUpdateConfigV1ParamsWithHTTPClient(client *http.Client) *AdminUpdateConfigV1Params

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

func NewAdminUpdateConfigV1ParamsWithTimeout

func NewAdminUpdateConfigV1ParamsWithTimeout(timeout time.Duration) *AdminUpdateConfigV1Params

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

func (*AdminUpdateConfigV1Params) SetBody

SetBody adds the body to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetContext

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

SetContext adds the context to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetNamespace

func (o *AdminUpdateConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithBody

WithBody adds the body to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithContext

WithContext adds the context to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithNamespace

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

WithNamespace adds the namespace to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin update config v1 params

func (*AdminUpdateConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateConfigV1PreconditionFailed

type AdminUpdateConfigV1PreconditionFailed struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1PreconditionFailed handles this case with default header values.

Precondition Failed

func NewAdminUpdateConfigV1PreconditionFailed

func NewAdminUpdateConfigV1PreconditionFailed() *AdminUpdateConfigV1PreconditionFailed

NewAdminUpdateConfigV1PreconditionFailed creates a AdminUpdateConfigV1PreconditionFailed with default headers values

func (*AdminUpdateConfigV1PreconditionFailed) Error

func (*AdminUpdateConfigV1PreconditionFailed) GetPayload

type AdminUpdateConfigV1Reader

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

AdminUpdateConfigV1Reader is a Reader for the AdminUpdateConfigV1 structure.

func (*AdminUpdateConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateConfigV1Unauthorized

type AdminUpdateConfigV1Unauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

AdminUpdateConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminUpdateConfigV1Unauthorized

func NewAdminUpdateConfigV1Unauthorized() *AdminUpdateConfigV1Unauthorized

NewAdminUpdateConfigV1Unauthorized creates a AdminUpdateConfigV1Unauthorized with default headers values

func (*AdminUpdateConfigV1Unauthorized) Error

func (*AdminUpdateConfigV1Unauthorized) GetPayload

type Client

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

Client for config API

func (*Client) AdminGetAllConfigV1

  AdminGetAllConfigV1 admins get all namespaces config

  Required permission : <code>ADMIN:NAMESPACE:*:LOBBY:CONFIG [READ]</code> with scope <code>social</code>
			<br>get lobby config of all namespaces.

func (*Client) AdminGetAllConfigV1Short added in v0.8.0

func (a *Client) AdminGetAllConfigV1Short(params *AdminGetAllConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllConfigV1OK, error)

func (*Client) AdminGetConfigV1

  AdminGetConfigV1 admins get namespace config

  Required permission : <code>ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [READ]</code> with scope <code>social</code>
			<br>get lobby config of a namespace.

func (*Client) AdminGetConfigV1Short added in v0.8.0

func (a *Client) AdminGetConfigV1Short(params *AdminGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigV1OK, error)

func (*Client) AdminUpdateConfigV1

  AdminUpdateConfigV1 admins update namespace config

  Required permission : <code>ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [UPDATE]</code> with scope <code>social</code>
			<br>update lobby config of a namespace.

func (*Client) AdminUpdateConfigV1Short added in v0.8.0

func (a *Client) AdminUpdateConfigV1Short(params *AdminUpdateConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigV1OK, error)

func (*Client) ExportConfig added in v0.8.0

  ExportConfig exports lobby config to a json file

				Required permission ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [READ]

				Required Scope: social

				Export lobby configuration to a json file. The file can then be imported from the /import endpoint.

func (*Client) ExportConfigShort added in v0.8.0

func (a *Client) ExportConfigShort(params *ExportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigOK, error)

func (*Client) ImportConfig added in v0.8.0

  ImportConfig imports lobby config from a json file

				Required permission ADMIN:NAMESPACE:{namespace}:LOBBY:CONFIG [UPDATE]

				Required Scope: social

				Import config configuration from file. The existing configuration will be replaced.
				The json file to import can be obtained from the /export endpoint.

func (*Client) ImportConfigShort added in v0.8.0

func (a *Client) ImportConfigShort(params *ImportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ExportConfig(params *ExportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigOK, *ExportConfigUnauthorized, *ExportConfigForbidden, *ExportConfigInternalServerError, error)
	ExportConfigShort(params *ExportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigOK, error)
	ImportConfig(params *ImportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigOK, *ImportConfigUnauthorized, *ImportConfigForbidden, *ImportConfigInternalServerError, error)
	ImportConfigShort(params *ImportConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigOK, error)
	AdminGetAllConfigV1(params *AdminGetAllConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllConfigV1OK, *AdminGetAllConfigV1BadRequest, *AdminGetAllConfigV1Unauthorized, *AdminGetAllConfigV1Forbidden, *AdminGetAllConfigV1NotFound, *AdminGetAllConfigV1InternalServerError, error)
	AdminGetAllConfigV1Short(params *AdminGetAllConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllConfigV1OK, error)
	AdminGetConfigV1(params *AdminGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigV1OK, *AdminGetConfigV1BadRequest, *AdminGetConfigV1Unauthorized, *AdminGetConfigV1Forbidden, *AdminGetConfigV1NotFound, *AdminGetConfigV1InternalServerError, error)
	AdminGetConfigV1Short(params *AdminGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigV1OK, error)
	AdminUpdateConfigV1(params *AdminUpdateConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigV1OK, *AdminUpdateConfigV1BadRequest, *AdminUpdateConfigV1Unauthorized, *AdminUpdateConfigV1Forbidden, *AdminUpdateConfigV1NotFound, *AdminUpdateConfigV1PreconditionFailed, *AdminUpdateConfigV1InternalServerError, error)
	AdminUpdateConfigV1Short(params *AdminUpdateConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigV1OK, 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 config API client.

type ExportConfigForbidden added in v0.8.0

type ExportConfigForbidden struct {
	Payload *lobbyclientmodels.ResponseError
}

ExportConfigForbidden handles this case with default header values.

Forbidden

func NewExportConfigForbidden added in v0.8.0

func NewExportConfigForbidden() *ExportConfigForbidden

NewExportConfigForbidden creates a ExportConfigForbidden with default headers values

func (*ExportConfigForbidden) Error added in v0.8.0

func (o *ExportConfigForbidden) Error() string

func (*ExportConfigForbidden) GetPayload added in v0.8.0

type ExportConfigInternalServerError added in v0.8.0

type ExportConfigInternalServerError struct {
	Payload *lobbyclientmodels.ResponseError
}

ExportConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewExportConfigInternalServerError added in v0.8.0

func NewExportConfigInternalServerError() *ExportConfigInternalServerError

NewExportConfigInternalServerError creates a ExportConfigInternalServerError with default headers values

func (*ExportConfigInternalServerError) Error added in v0.8.0

func (*ExportConfigInternalServerError) GetPayload added in v0.8.0

type ExportConfigOK added in v0.8.0

type ExportConfigOK struct {
	Payload []*lobbyclientmodels.ModelsConfigExport
}

ExportConfigOK handles this case with default header values.

OK

func NewExportConfigOK added in v0.8.0

func NewExportConfigOK() *ExportConfigOK

NewExportConfigOK creates a ExportConfigOK with default headers values

func (*ExportConfigOK) Error added in v0.8.0

func (o *ExportConfigOK) Error() string

func (*ExportConfigOK) GetPayload added in v0.8.0

type ExportConfigParams added in v0.8.0

type ExportConfigParams struct {

	/*Namespace
	  namespace

	*/
	Namespace string

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

ExportConfigParams contains all the parameters to send to the API endpoint for the export config operation typically these are written to a http.Request

func NewExportConfigParams added in v0.8.0

func NewExportConfigParams() *ExportConfigParams

NewExportConfigParams creates a new ExportConfigParams object with the default values initialized.

func NewExportConfigParamsWithContext added in v0.8.0

func NewExportConfigParamsWithContext(ctx context.Context) *ExportConfigParams

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

func NewExportConfigParamsWithHTTPClient added in v0.8.0

func NewExportConfigParamsWithHTTPClient(client *http.Client) *ExportConfigParams

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

func NewExportConfigParamsWithTimeout added in v0.8.0

func NewExportConfigParamsWithTimeout(timeout time.Duration) *ExportConfigParams

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

func (*ExportConfigParams) SetContext added in v0.8.0

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

SetContext adds the context to the export config params

func (*ExportConfigParams) SetHTTPClient added in v0.8.0

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

SetHTTPClient adds the HTTPClient to the export config params

func (*ExportConfigParams) SetNamespace added in v0.8.0

func (o *ExportConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export config params

func (*ExportConfigParams) SetTimeout added in v0.8.0

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

SetTimeout adds the timeout to the export config params

func (*ExportConfigParams) WithContext added in v0.8.0

WithContext adds the context to the export config params

func (*ExportConfigParams) WithHTTPClient added in v0.8.0

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

WithHTTPClient adds the HTTPClient to the export config params

func (*ExportConfigParams) WithNamespace added in v0.8.0

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

WithNamespace adds the namespace to the export config params

func (*ExportConfigParams) WithTimeout added in v0.8.0

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

WithTimeout adds the timeout to the export config params

func (*ExportConfigParams) WriteToRequest added in v0.8.0

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

WriteToRequest writes these params to a swagger request

type ExportConfigReader added in v0.8.0

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

ExportConfigReader is a Reader for the ExportConfig structure.

func (*ExportConfigReader) ReadResponse added in v0.8.0

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

ReadResponse reads a server response into the received o.

type ExportConfigUnauthorized added in v0.8.0

type ExportConfigUnauthorized struct {
	Payload *lobbyclientmodels.ResponseError
}

ExportConfigUnauthorized handles this case with default header values.

Unauthorized

func NewExportConfigUnauthorized added in v0.8.0

func NewExportConfigUnauthorized() *ExportConfigUnauthorized

NewExportConfigUnauthorized creates a ExportConfigUnauthorized with default headers values

func (*ExportConfigUnauthorized) Error added in v0.8.0

func (o *ExportConfigUnauthorized) Error() string

func (*ExportConfigUnauthorized) GetPayload added in v0.8.0

type ImportConfigForbidden added in v0.8.0

type ImportConfigForbidden struct {
	Payload *lobbyclientmodels.ResponseError
}

ImportConfigForbidden handles this case with default header values.

Forbidden

func NewImportConfigForbidden added in v0.8.0

func NewImportConfigForbidden() *ImportConfigForbidden

NewImportConfigForbidden creates a ImportConfigForbidden with default headers values

func (*ImportConfigForbidden) Error added in v0.8.0

func (o *ImportConfigForbidden) Error() string

func (*ImportConfigForbidden) GetPayload added in v0.8.0

type ImportConfigInternalServerError added in v0.8.0

type ImportConfigInternalServerError struct {
	Payload *lobbyclientmodels.ResponseError
}

ImportConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewImportConfigInternalServerError added in v0.8.0

func NewImportConfigInternalServerError() *ImportConfigInternalServerError

NewImportConfigInternalServerError creates a ImportConfigInternalServerError with default headers values

func (*ImportConfigInternalServerError) Error added in v0.8.0

func (*ImportConfigInternalServerError) GetPayload added in v0.8.0

type ImportConfigOK added in v0.8.0

type ImportConfigOK struct {
	Payload *lobbyclientmodels.ModelsImportConfigResponse
}

ImportConfigOK handles this case with default header values.

OK

func NewImportConfigOK added in v0.8.0

func NewImportConfigOK() *ImportConfigOK

NewImportConfigOK creates a ImportConfigOK with default headers values

func (*ImportConfigOK) Error added in v0.8.0

func (o *ImportConfigOK) Error() string

func (*ImportConfigOK) GetPayload added in v0.8.0

type ImportConfigParams added in v0.8.0

type ImportConfigParams struct {

	/*Namespace
	  namespace

	*/
	Namespace string

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

ImportConfigParams contains all the parameters to send to the API endpoint for the import config operation typically these are written to a http.Request

func NewImportConfigParams added in v0.8.0

func NewImportConfigParams() *ImportConfigParams

NewImportConfigParams creates a new ImportConfigParams object with the default values initialized.

func NewImportConfigParamsWithContext added in v0.8.0

func NewImportConfigParamsWithContext(ctx context.Context) *ImportConfigParams

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

func NewImportConfigParamsWithHTTPClient added in v0.8.0

func NewImportConfigParamsWithHTTPClient(client *http.Client) *ImportConfigParams

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

func NewImportConfigParamsWithTimeout added in v0.8.0

func NewImportConfigParamsWithTimeout(timeout time.Duration) *ImportConfigParams

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

func (*ImportConfigParams) SetContext added in v0.8.0

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

SetContext adds the context to the import config params

func (*ImportConfigParams) SetHTTPClient added in v0.8.0

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

SetHTTPClient adds the HTTPClient to the import config params

func (*ImportConfigParams) SetNamespace added in v0.8.0

func (o *ImportConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import config params

func (*ImportConfigParams) SetTimeout added in v0.8.0

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

SetTimeout adds the timeout to the import config params

func (*ImportConfigParams) WithContext added in v0.8.0

WithContext adds the context to the import config params

func (*ImportConfigParams) WithHTTPClient added in v0.8.0

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

WithHTTPClient adds the HTTPClient to the import config params

func (*ImportConfigParams) WithNamespace added in v0.8.0

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

WithNamespace adds the namespace to the import config params

func (*ImportConfigParams) WithTimeout added in v0.8.0

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

WithTimeout adds the timeout to the import config params

func (*ImportConfigParams) WriteToRequest added in v0.8.0

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

WriteToRequest writes these params to a swagger request

type ImportConfigReader added in v0.8.0

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

ImportConfigReader is a Reader for the ImportConfig structure.

func (*ImportConfigReader) ReadResponse added in v0.8.0

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

ReadResponse reads a server response into the received o.

type ImportConfigUnauthorized added in v0.8.0

type ImportConfigUnauthorized struct {
	Payload *lobbyclientmodels.ResponseError
}

ImportConfigUnauthorized handles this case with default header values.

Unauthorized

func NewImportConfigUnauthorized added in v0.8.0

func NewImportConfigUnauthorized() *ImportConfigUnauthorized

NewImportConfigUnauthorized creates a ImportConfigUnauthorized with default headers values

func (*ImportConfigUnauthorized) Error added in v0.8.0

func (o *ImportConfigUnauthorized) Error() string

func (*ImportConfigUnauthorized) GetPayload added in v0.8.0

Jump to

Keyboard shortcuts

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