config

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 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 AdminExportConfigV1Forbidden added in v0.15.0

type AdminExportConfigV1Forbidden struct {
	Payload *lobbyclientmodels.ResponseError
}

AdminExportConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminExportConfigV1Forbidden added in v0.15.0

func NewAdminExportConfigV1Forbidden() *AdminExportConfigV1Forbidden

NewAdminExportConfigV1Forbidden creates a AdminExportConfigV1Forbidden with default headers values

func (*AdminExportConfigV1Forbidden) Error added in v0.15.0

func (*AdminExportConfigV1Forbidden) GetPayload added in v0.15.0

func (*AdminExportConfigV1Forbidden) ToJSONString added in v0.25.0

func (o *AdminExportConfigV1Forbidden) ToJSONString() string

type AdminExportConfigV1InternalServerError added in v0.15.0

type AdminExportConfigV1InternalServerError struct {
	Payload *lobbyclientmodels.ResponseError
}

AdminExportConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminExportConfigV1InternalServerError added in v0.15.0

func NewAdminExportConfigV1InternalServerError() *AdminExportConfigV1InternalServerError

NewAdminExportConfigV1InternalServerError creates a AdminExportConfigV1InternalServerError with default headers values

func (*AdminExportConfigV1InternalServerError) Error added in v0.15.0

func (*AdminExportConfigV1InternalServerError) GetPayload added in v0.15.0

func (*AdminExportConfigV1InternalServerError) ToJSONString added in v0.25.0

type AdminExportConfigV1OK added in v0.15.0

type AdminExportConfigV1OK struct {
	Payload io.Writer
}

AdminExportConfigV1OK handles this case with default header values.

OK

JSON Schema of the exported file:

{
 "required": [
  "namespace",
  "entitlementItemID",
  "chatRateLimitDuration",
  "unregisterDelay",
  "generalRateLimitDuration",
  "autoKickOnDisconnectDelay",
  "chatRateLimitBurst",
  "generalRateLimitBurst",
  "maxPartyMember",
  "autoKickOnDisconnect",
  "profanityFilter",
  "enableChat",
  "entitlementCheck",
  "cancelTicketOnDisconnect",
  "concurrentUsersLimit",
  "readyConsentTimeout",
  "disableInvitationOnJoinParty",
  "allowJoinPartyDuringMatchmaking",
  "allowInviteNonConnectedUser",
  "keepPresenceActivityOnDisconnect",
  "maxDSWaitTime",
  "maxFriendsLimit"
 ],
 "properties": {
  "allowInviteNonConnectedUser": {
   "type": "boolean"
  },
  "allowJoinPartyDuringMatchmaking": {
   "type": "boolean"
  },
  "autoKickOnDisconnect": {
   "type": "boolean"
  },
  "autoKickOnDisconnectDelay": {
   "type": "integer",
   "format": "int64"
  },
  "cancelTicketOnDisconnect": {
   "type": "boolean"
  },
  "chatRateLimitBurst": {
   "type": "integer",
   "format": "int32"
  },
  "chatRateLimitDuration": {
   "type": "integer",
   "format": "int64"
  },
  "concurrentUsersLimit": {
   "type": "integer",
   "format": "int32"
  },
  "disableInvitationOnJoinParty": {
   "type": "boolean"
  },
  "enableChat": {
   "type": "boolean"
  },
  "entitlementCheck": {
   "type": "boolean"
  },
  "entitlementItemID": {
   "type": "string"
  },
  "generalRateLimitBurst": {
   "type": "integer",
   "format": "int32"
  },
  "generalRateLimitDuration": {
   "type": "integer",
   "format": "int64"
  },
  "keepPresenceActivityOnDisconnect": {
   "type": "boolean"
  },
  "maxDSWaitTime": {
   "type": "integer",
   "format": "int64"
  },
  "maxFriendsLimit": {
   "type": "integer",
   "format": "int32"
  },
  "maxPartyMember": {
   "type": "integer",
   "format": "int32"
  },
  "namespace": {
   "type": "string"
  },
  "profanityFilter": {
   "type": "boolean"
  },
  "readyConsentTimeout": {
   "type": "integer",
   "format": "int64"
  },
  "unregisterDelay": {
   "type": "integer",
   "format": "int64"
  }
 }
}

func NewAdminExportConfigV1OK added in v0.15.0

func NewAdminExportConfigV1OK(writer io.Writer) *AdminExportConfigV1OK

NewAdminExportConfigV1OK creates a AdminExportConfigV1OK with default headers values

func (*AdminExportConfigV1OK) Error added in v0.15.0

func (o *AdminExportConfigV1OK) Error() string

func (*AdminExportConfigV1OK) GetPayload added in v0.15.0

func (o *AdminExportConfigV1OK) GetPayload() io.Writer

func (*AdminExportConfigV1OK) ToJSONString added in v0.25.0

func (o *AdminExportConfigV1OK) ToJSONString() string

type AdminExportConfigV1Params added in v0.15.0

type AdminExportConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

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

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

func NewAdminExportConfigV1Params added in v0.15.0

func NewAdminExportConfigV1Params() *AdminExportConfigV1Params

NewAdminExportConfigV1Params creates a new AdminExportConfigV1Params object with the default values initialized.

func NewAdminExportConfigV1ParamsWithContext added in v0.15.0

func NewAdminExportConfigV1ParamsWithContext(ctx context.Context) *AdminExportConfigV1Params

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

func NewAdminExportConfigV1ParamsWithHTTPClient added in v0.15.0

func NewAdminExportConfigV1ParamsWithHTTPClient(client *http.Client) *AdminExportConfigV1Params

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

func NewAdminExportConfigV1ParamsWithTimeout added in v0.15.0

func NewAdminExportConfigV1ParamsWithTimeout(timeout time.Duration) *AdminExportConfigV1Params

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

func (*AdminExportConfigV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin export config v1 params

func (*AdminExportConfigV1Params) SetContext added in v0.15.0

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

SetContext adds the context to the admin export config v1 params

func (*AdminExportConfigV1Params) SetFlightId added in v0.63.0

func (o *AdminExportConfigV1Params) SetFlightId(flightId string)

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

func (*AdminExportConfigV1Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the admin export config v1 params

func (*AdminExportConfigV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin export config v1 params

func (*AdminExportConfigV1Params) SetNamespace added in v0.15.0

func (o *AdminExportConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin export config v1 params

func (*AdminExportConfigV1Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the admin export config v1 params

func (*AdminExportConfigV1Params) WithContext added in v0.15.0

WithContext adds the context to the admin export config v1 params

func (*AdminExportConfigV1Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the admin export config v1 params

func (*AdminExportConfigV1Params) WithNamespace added in v0.15.0

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

WithNamespace adds the namespace to the admin export config v1 params

func (*AdminExportConfigV1Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the admin export config v1 params

func (*AdminExportConfigV1Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type AdminExportConfigV1Reader added in v0.15.0

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

AdminExportConfigV1Reader is a Reader for the AdminExportConfigV1 structure.

func (*AdminExportConfigV1Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type AdminExportConfigV1Unauthorized added in v0.15.0

type AdminExportConfigV1Unauthorized struct {
	Payload *lobbyclientmodels.ResponseError
}

AdminExportConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminExportConfigV1Unauthorized added in v0.15.0

func NewAdminExportConfigV1Unauthorized() *AdminExportConfigV1Unauthorized

NewAdminExportConfigV1Unauthorized creates a AdminExportConfigV1Unauthorized with default headers values

func (*AdminExportConfigV1Unauthorized) Error added in v0.15.0

func (*AdminExportConfigV1Unauthorized) GetPayload added in v0.15.0

func (*AdminExportConfigV1Unauthorized) ToJSONString added in v0.25.0

func (o *AdminExportConfigV1Unauthorized) ToJSONString() string

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

func (*AdminGetAllConfigV1BadRequest) ToJSONString added in v0.25.0

func (o *AdminGetAllConfigV1BadRequest) ToJSONString() string

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

func (*AdminGetAllConfigV1Forbidden) ToJSONString added in v0.25.0

func (o *AdminGetAllConfigV1Forbidden) ToJSONString() string

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

func (*AdminGetAllConfigV1InternalServerError) ToJSONString added in v0.25.0

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

func (*AdminGetAllConfigV1NotFound) ToJSONString added in v0.25.0

func (o *AdminGetAllConfigV1NotFound) ToJSONString() string

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

func (*AdminGetAllConfigV1OK) ToJSONString added in v0.25.0

func (o *AdminGetAllConfigV1OK) ToJSONString() string

type AdminGetAllConfigV1Params

type AdminGetAllConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetContext

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

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

func (*AdminGetAllConfigV1Params) SetFlightId added in v0.63.0

func (o *AdminGetAllConfigV1Params) SetFlightId(flightId string)

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

func (*AdminGetAllConfigV1Params) SetHTTPClient

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

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

func (*AdminGetAllConfigV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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

func (*AdminGetAllConfigV1Unauthorized) ToJSONString added in v0.25.0

func (o *AdminGetAllConfigV1Unauthorized) ToJSONString() string

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

func (*AdminGetConfigV1BadRequest) ToJSONString added in v0.25.0

func (o *AdminGetConfigV1BadRequest) ToJSONString() string

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

func (*AdminGetConfigV1Forbidden) ToJSONString added in v0.25.0

func (o *AdminGetConfigV1Forbidden) ToJSONString() string

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

func (*AdminGetConfigV1InternalServerError) ToJSONString added in v0.25.0

func (o *AdminGetConfigV1InternalServerError) ToJSONString() string

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

func (*AdminGetConfigV1NotFound) ToJSONString added in v0.25.0

func (o *AdminGetConfigV1NotFound) ToJSONString() string

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

func (*AdminGetConfigV1OK) ToJSONString added in v0.25.0

func (o *AdminGetConfigV1OK) ToJSONString() string

type AdminGetConfigV1Params

type AdminGetConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the admin get config v1 params

func (*AdminGetConfigV1Params) SetContext

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

SetContext adds the context to the admin get config v1 params

func (*AdminGetConfigV1Params) SetFlightId added in v0.63.0

func (o *AdminGetConfigV1Params) SetFlightId(flightId string)

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

func (*AdminGetConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get config v1 params

func (*AdminGetConfigV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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

func (*AdminGetConfigV1Unauthorized) ToJSONString added in v0.25.0

func (o *AdminGetConfigV1Unauthorized) ToJSONString() string

type AdminImportConfigV1Forbidden added in v0.15.0

type AdminImportConfigV1Forbidden struct {
	Payload *lobbyclientmodels.ResponseError
}

AdminImportConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminImportConfigV1Forbidden added in v0.15.0

func NewAdminImportConfigV1Forbidden() *AdminImportConfigV1Forbidden

NewAdminImportConfigV1Forbidden creates a AdminImportConfigV1Forbidden with default headers values

func (*AdminImportConfigV1Forbidden) Error added in v0.15.0

func (*AdminImportConfigV1Forbidden) GetPayload added in v0.15.0

func (*AdminImportConfigV1Forbidden) ToJSONString added in v0.25.0

func (o *AdminImportConfigV1Forbidden) ToJSONString() string

type AdminImportConfigV1InternalServerError added in v0.15.0

type AdminImportConfigV1InternalServerError struct {
	Payload *lobbyclientmodels.ResponseError
}

AdminImportConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminImportConfigV1InternalServerError added in v0.15.0

func NewAdminImportConfigV1InternalServerError() *AdminImportConfigV1InternalServerError

NewAdminImportConfigV1InternalServerError creates a AdminImportConfigV1InternalServerError with default headers values

func (*AdminImportConfigV1InternalServerError) Error added in v0.15.0

func (*AdminImportConfigV1InternalServerError) GetPayload added in v0.15.0

func (*AdminImportConfigV1InternalServerError) ToJSONString added in v0.25.0

type AdminImportConfigV1OK added in v0.15.0

type AdminImportConfigV1OK struct {
	Payload *lobbyclientmodels.ModelsImportConfigResponse
}

AdminImportConfigV1OK handles this case with default header values.

OK

func NewAdminImportConfigV1OK added in v0.15.0

func NewAdminImportConfigV1OK() *AdminImportConfigV1OK

NewAdminImportConfigV1OK creates a AdminImportConfigV1OK with default headers values

func (*AdminImportConfigV1OK) Error added in v0.15.0

func (o *AdminImportConfigV1OK) Error() string

func (*AdminImportConfigV1OK) GetPayload added in v0.15.0

func (*AdminImportConfigV1OK) ToJSONString added in v0.25.0

func (o *AdminImportConfigV1OK) ToJSONString() string

type AdminImportConfigV1Params added in v0.15.0

type AdminImportConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File
	  file to be imported

	*/
	File runtime.NamedReadCloser
	/*Namespace
	  namespace

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

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

func NewAdminImportConfigV1Params added in v0.15.0

func NewAdminImportConfigV1Params() *AdminImportConfigV1Params

NewAdminImportConfigV1Params creates a new AdminImportConfigV1Params object with the default values initialized.

func NewAdminImportConfigV1ParamsWithContext added in v0.15.0

func NewAdminImportConfigV1ParamsWithContext(ctx context.Context) *AdminImportConfigV1Params

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

func NewAdminImportConfigV1ParamsWithHTTPClient added in v0.15.0

func NewAdminImportConfigV1ParamsWithHTTPClient(client *http.Client) *AdminImportConfigV1Params

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

func NewAdminImportConfigV1ParamsWithTimeout added in v0.15.0

func NewAdminImportConfigV1ParamsWithTimeout(timeout time.Duration) *AdminImportConfigV1Params

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

func (*AdminImportConfigV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin import config v1 params

func (*AdminImportConfigV1Params) SetContext added in v0.15.0

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

SetContext adds the context to the admin import config v1 params

func (*AdminImportConfigV1Params) SetFile added in v0.20.0

SetFile adds the file to the admin import config v1 params

func (*AdminImportConfigV1Params) SetFlightId added in v0.63.0

func (o *AdminImportConfigV1Params) SetFlightId(flightId string)

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

func (*AdminImportConfigV1Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the admin import config v1 params

func (*AdminImportConfigV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin import config v1 params

func (*AdminImportConfigV1Params) SetNamespace added in v0.15.0

func (o *AdminImportConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin import config v1 params

func (*AdminImportConfigV1Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the admin import config v1 params

func (*AdminImportConfigV1Params) WithContext added in v0.15.0

WithContext adds the context to the admin import config v1 params

func (*AdminImportConfigV1Params) WithFile added in v0.20.0

WithFile adds the file to the admin import config v1 params

func (*AdminImportConfigV1Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the admin import config v1 params

func (*AdminImportConfigV1Params) WithNamespace added in v0.15.0

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

WithNamespace adds the namespace to the admin import config v1 params

func (*AdminImportConfigV1Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the admin import config v1 params

func (*AdminImportConfigV1Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type AdminImportConfigV1Reader added in v0.15.0

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

AdminImportConfigV1Reader is a Reader for the AdminImportConfigV1 structure.

func (*AdminImportConfigV1Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type AdminImportConfigV1Unauthorized added in v0.15.0

type AdminImportConfigV1Unauthorized struct {
	Payload *lobbyclientmodels.ResponseError
}

AdminImportConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminImportConfigV1Unauthorized added in v0.15.0

func NewAdminImportConfigV1Unauthorized() *AdminImportConfigV1Unauthorized

NewAdminImportConfigV1Unauthorized creates a AdminImportConfigV1Unauthorized with default headers values

func (*AdminImportConfigV1Unauthorized) Error added in v0.15.0

func (*AdminImportConfigV1Unauthorized) GetPayload added in v0.15.0

func (*AdminImportConfigV1Unauthorized) ToJSONString added in v0.25.0

func (o *AdminImportConfigV1Unauthorized) ToJSONString() string

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

func (*AdminUpdateConfigV1BadRequest) ToJSONString added in v0.25.0

func (o *AdminUpdateConfigV1BadRequest) ToJSONString() string

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

func (*AdminUpdateConfigV1Forbidden) ToJSONString added in v0.25.0

func (o *AdminUpdateConfigV1Forbidden) ToJSONString() string

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

func (*AdminUpdateConfigV1InternalServerError) ToJSONString added in v0.25.0

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

func (*AdminUpdateConfigV1NotFound) ToJSONString added in v0.25.0

func (o *AdminUpdateConfigV1NotFound) ToJSONString() string

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

func (*AdminUpdateConfigV1OK) ToJSONString added in v0.25.0

func (o *AdminUpdateConfigV1OK) ToJSONString() string

type AdminUpdateConfigV1Params

type AdminUpdateConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *lobbyclientmodels.ModelsConfigReq
	/*Namespace
	  namespace

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the admin update config v1 params

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) SetFlightId added in v0.63.0

func (o *AdminUpdateConfigV1Params) SetFlightId(flightId string)

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

func (*AdminUpdateConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update config v1 params

func (*AdminUpdateConfigV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport 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

func (*AdminUpdateConfigV1PreconditionFailed) ToJSONString added in v0.25.0

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

func (*AdminUpdateConfigV1Unauthorized) ToJSONString added in v0.25.0

func (o *AdminUpdateConfigV1Unauthorized) ToJSONString() string

type Client

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

Client for config API

func (*Client) AdminExportConfigV1 deprecated added in v0.15.0

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

AdminExportConfigV1 export lobby config to a json file.

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

JSON Schema of the exported file: { "required": [ "namespace", "entitlementItemID", "chatRateLimitDuration", "unregisterDelay", "generalRateLimitDuration", "autoKickOnDisconnectDelay", "chatRateLimitBurst", "generalRateLimitBurst", "maxPartyMember", "autoKickOnDisconnect", "profanityFilter", "enableChat", "entitlementCheck", "cancelTicketOnDisconnect", "concurrentUsersLimit", "readyConsentTimeout", "disableInvitationOnJoinParty", "allowJoinPartyDuringMatchmaking", "allowInviteNonConnectedUser", "keepPresenceActivityOnDisconnect", "maxDSWaitTime", "maxFriendsLimit" ], "properties": { "allowInviteNonConnectedUser": { "type": "boolean" }, "allowJoinPartyDuringMatchmaking": { "type": "boolean" }, "autoKickOnDisconnect": { "type": "boolean" }, "autoKickOnDisconnectDelay": { "type": "integer", "format": "int64" }, "cancelTicketOnDisconnect": { "type": "boolean" }, "chatRateLimitBurst": { "type": "integer", "format": "int32" }, "chatRateLimitDuration": { "type": "integer", "format": "int64" }, "concurrentUsersLimit": { "type": "integer", "format": "int32" }, "disableInvitationOnJoinParty": { "type": "boolean" }, "enableChat": { "type": "boolean" }, "entitlementCheck": { "type": "boolean" }, "entitlementItemID": { "type": "string" }, "generalRateLimitBurst": { "type": "integer", "format": "int32" }, "generalRateLimitDuration": { "type": "integer", "format": "int64" }, "keepPresenceActivityOnDisconnect": { "type": "boolean" }, "maxDSWaitTime": { "type": "integer", "format": "int64" }, "maxFriendsLimit": { "type": "integer", "format": "int32" }, "maxPartyMember": { "type": "integer", "format": "int32" }, "namespace": { "type": "string" }, "profanityFilter": { "type": "boolean" }, "readyConsentTimeout": { "type": "integer", "format": "int64" }, "unregisterDelay": { "type": "integer", "format": "int64" } } }

func (*Client) AdminExportConfigV1Short added in v0.15.0

func (a *Client) AdminExportConfigV1Short(params *AdminExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*AdminExportConfigV1OK, error)

AdminExportConfigV1Short export lobby config to a json file.

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

JSON Schema of the exported file: { "required": [ "namespace", "entitlementItemID", "chatRateLimitDuration", "unregisterDelay", "generalRateLimitDuration", "autoKickOnDisconnectDelay", "chatRateLimitBurst", "generalRateLimitBurst", "maxPartyMember", "autoKickOnDisconnect", "profanityFilter", "enableChat", "entitlementCheck", "cancelTicketOnDisconnect", "concurrentUsersLimit", "readyConsentTimeout", "disableInvitationOnJoinParty", "allowJoinPartyDuringMatchmaking", "allowInviteNonConnectedUser", "keepPresenceActivityOnDisconnect", "maxDSWaitTime", "maxFriendsLimit" ], "properties": { "allowInviteNonConnectedUser": { "type": "boolean" }, "allowJoinPartyDuringMatchmaking": { "type": "boolean" }, "autoKickOnDisconnect": { "type": "boolean" }, "autoKickOnDisconnectDelay": { "type": "integer", "format": "int64" }, "cancelTicketOnDisconnect": { "type": "boolean" }, "chatRateLimitBurst": { "type": "integer", "format": "int32" }, "chatRateLimitDuration": { "type": "integer", "format": "int64" }, "concurrentUsersLimit": { "type": "integer", "format": "int32" }, "disableInvitationOnJoinParty": { "type": "boolean" }, "enableChat": { "type": "boolean" }, "entitlementCheck": { "type": "boolean" }, "entitlementItemID": { "type": "string" }, "generalRateLimitBurst": { "type": "integer", "format": "int32" }, "generalRateLimitDuration": { "type": "integer", "format": "int64" }, "keepPresenceActivityOnDisconnect": { "type": "boolean" }, "maxDSWaitTime": { "type": "integer", "format": "int64" }, "maxFriendsLimit": { "type": "integer", "format": "int32" }, "maxPartyMember": { "type": "integer", "format": "int32" }, "namespace": { "type": "string" }, "profanityFilter": { "type": "boolean" }, "readyConsentTimeout": { "type": "integer", "format": "int64" }, "unregisterDelay": { "type": "integer", "format": "int64" } } }

func (*Client) AdminGetAllConfigV1 deprecated

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

AdminGetAllConfigV1 admin get all namespaces config Get lobby config of all namespaces. default MaxDSWaitTime is 120 (second)

func (*Client) AdminGetAllConfigV1Short added in v0.8.0

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

AdminGetAllConfigV1Short admin get all namespaces config Get lobby config of all namespaces. default MaxDSWaitTime is 120 (second)

func (*Client) AdminGetConfigV1 deprecated

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

AdminGetConfigV1 admin get namespace config Get lobby config of a namespace. default MaxDSWaitTime is 120 (second)

func (*Client) AdminGetConfigV1Short added in v0.8.0

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

AdminGetConfigV1Short admin get namespace config Get lobby config of a namespace. default MaxDSWaitTime is 120 (second)

func (*Client) AdminImportConfigV1 deprecated added in v0.15.0

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

AdminImportConfigV1 import lobby config from a json file.

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

MaxDSWaitTime value is cannot less than 1, if null it will use default value in 120 (second)

func (*Client) AdminImportConfigV1Short added in v0.15.0

func (a *Client) AdminImportConfigV1Short(params *AdminImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminImportConfigV1OK, error)

AdminImportConfigV1Short import lobby config from a json file.

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

MaxDSWaitTime value is cannot less than 1, if null it will use default value in 120 (second)

func (*Client) AdminUpdateConfigV1 deprecated

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

AdminUpdateConfigV1 admin update namespace config Update lobby config of a namespace. MaxDSWaitTime value is cannot less than 1, if null it will use default value in 120 (second)

func (*Client) AdminUpdateConfigV1Short added in v0.8.0

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

AdminUpdateConfigV1Short admin update namespace config Update lobby config of a namespace. MaxDSWaitTime value is cannot less than 1, if null it will use default value in 120 (second)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	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)
	AdminExportConfigV1(params *AdminExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*AdminExportConfigV1OK, *AdminExportConfigV1Unauthorized, *AdminExportConfigV1Forbidden, *AdminExportConfigV1InternalServerError, error)
	AdminExportConfigV1Short(params *AdminExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*AdminExportConfigV1OK, error)
	AdminImportConfigV1(params *AdminImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminImportConfigV1OK, *AdminImportConfigV1Unauthorized, *AdminImportConfigV1Forbidden, *AdminImportConfigV1InternalServerError, error)
	AdminImportConfigV1Short(params *AdminImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminImportConfigV1OK, 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.

Jump to

Keyboard shortcuts

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