config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 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) 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) 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) SetTransport

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

SetTransport changes the transport on the client

Jump to

Keyboard shortcuts

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