admin

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for admin API

func (*Client) CreateTemplate deprecated

Deprecated: Use CreateTemplateShort instead.

  CreateTemplate creates new notification template

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [CREATE]</code> with scope <code>social</code>
			<br>Create new notification template. Include handlebars {{key}} for replaceable contexts. The the key inside
			handlebars will be the key to be replaced when sending notification. Already existing template with the same
			slug and language can not be created.
			<br>Check model description for detailed input restrictions.

func (*Client) CreateTemplateShort

func (a *Client) CreateTemplateShort(params *CreateTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTemplateNoContent, error)
  CreateTemplateShort creates new notification template

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [CREATE]</code> with scope <code>social</code>
			<br>Create new notification template. Include handlebars {{key}} for replaceable contexts. The the key inside
			handlebars will be the key to be replaced when sending notification. Already existing template with the same
			slug and language can not be created.
			<br>Check model description for detailed input restrictions.

func (*Client) DeleteTemplateLocalization deprecated

Deprecated: Use DeleteTemplateLocalizationShort instead.

  DeleteTemplateLocalization deletes template localization

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [DELETE]</code> with scope <code>social</code>
			<br>Delete all template in a slug

func (*Client) DeleteTemplateLocalizationShort

func (a *Client) DeleteTemplateLocalizationShort(params *DeleteTemplateLocalizationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateLocalizationNoContent, error)
  DeleteTemplateLocalizationShort deletes template localization

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [DELETE]</code> with scope <code>social</code>
			<br>Delete all template in a slug

func (*Client) DeleteTemplateSlug deprecated

Deprecated: Use DeleteTemplateSlugShort instead.

  DeleteTemplateSlug deletes template localization

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [DELETE]</code> with scope <code>social</code>
			<br>Delete localization template

func (*Client) DeleteTemplateSlugShort

func (a *Client) DeleteTemplateSlugShort(params *DeleteTemplateSlugParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateSlugNoContent, error)
  DeleteTemplateSlugShort deletes template localization

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [DELETE]</code> with scope <code>social</code>
			<br>Delete localization template

func (*Client) FreeFormNotification deprecated

Deprecated: Use FreeFormNotificationShort instead.

  FreeFormNotification sends freeform notification to a user

  Required permission : <code>NAMESPACE:{namespace}:NOTIFICATION [CREATE]</code> with scope <code>social</code>
			<br>Sends notification to all connected users in a namespace.

func (*Client) FreeFormNotificationShort

func (a *Client) FreeFormNotificationShort(params *FreeFormNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*FreeFormNotificationAccepted, error)
  FreeFormNotificationShort sends freeform notification to a user

  Required permission : <code>NAMESPACE:{namespace}:NOTIFICATION [CREATE]</code> with scope <code>social</code>
			<br>Sends notification to all connected users in a namespace.

func (*Client) GetGameTemplate deprecated

Deprecated: Use GetGameTemplateShort instead.

  GetGameTemplate gets all notification template in a namespace

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [READ]</code> with scope <code>social</code>
			<br>Get all templates in a namespace

func (*Client) GetGameTemplateShort

func (a *Client) GetGameTemplateShort(params *GetGameTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameTemplateOK, error)
  GetGameTemplateShort gets all notification template in a namespace

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [READ]</code> with scope <code>social</code>
			<br>Get all templates in a namespace

func (*Client) GetLocalizationTemplate deprecated

Deprecated: Use GetLocalizationTemplateShort instead.

  GetLocalizationTemplate gets a template localization

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [READ]</code> with scope <code>social</code>
			<br>Get a template localization

func (*Client) GetLocalizationTemplateShort

func (a *Client) GetLocalizationTemplateShort(params *GetLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocalizationTemplateOK, error)
  GetLocalizationTemplateShort gets a template localization

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [READ]</code> with scope <code>social</code>
			<br>Get a template localization

func (*Client) GetSlugTemplate deprecated

Deprecated: Use GetSlugTemplateShort instead.

  GetSlugTemplate gets all notification template in a slug

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [READ]</code> with scope <code>social</code>
			<br>Get all templates in a namespace

func (*Client) GetSlugTemplateShort

func (a *Client) GetSlugTemplateShort(params *GetSlugTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetSlugTemplateOK, error)
  GetSlugTemplateShort gets all notification template in a slug

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [READ]</code> with scope <code>social</code>
			<br>Get all templates in a namespace

func (*Client) NotificationWithTemplate deprecated

Deprecated: Use NotificationWithTemplateShort instead.

  NotificationWithTemplate sends notification to a user with template

  Required permission : <code>NAMESPACE:{namespace}:NOTIFICATION [CREATE]</code> with scope <code>social</code>
			<br>Sends notification to all connected users in a namespace with predefined template.
			<br>In the request body, specify which template slug (template identifier) to use and the template language.
			<br>NotificationTemplate context is the key-value pair defining the value of each handlebar specified in the template content.
			Template need to be published before it can be use to send notifications

func (*Client) NotificationWithTemplateShort

func (a *Client) NotificationWithTemplateShort(params *NotificationWithTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*NotificationWithTemplateAccepted, error)
  NotificationWithTemplateShort sends notification to a user with template

  Required permission : <code>NAMESPACE:{namespace}:NOTIFICATION [CREATE]</code> with scope <code>social</code>
			<br>Sends notification to all connected users in a namespace with predefined template.
			<br>In the request body, specify which template slug (template identifier) to use and the template language.
			<br>NotificationTemplate context is the key-value pair defining the value of each handlebar specified in the template content.
			Template need to be published before it can be use to send notifications

func (*Client) PublishTemplate deprecated

Deprecated: Use PublishTemplateShort instead.

  PublishTemplate publishes draft template

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [CREATE]</code> with scope <code>social</code>
			<br>Publish notification template draft. Empty draft can not be published.

func (*Client) PublishTemplateShort

func (a *Client) PublishTemplateShort(params *PublishTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PublishTemplateNoContent, error)
  PublishTemplateShort publishes draft template

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [CREATE]</code> with scope <code>social</code>
			<br>Publish notification template draft. Empty draft can not be published.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateLocalizationTemplate deprecated

Deprecated: Use UpdateLocalizationTemplateShort instead.

  UpdateLocalizationTemplate updates template draft

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [UPDATE]</code> with scope <code>social</code>
			<br>Modify draft template

func (*Client) UpdateLocalizationTemplateShort

func (a *Client) UpdateLocalizationTemplateShort(params *UpdateLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizationTemplateNoContent, error)
  UpdateLocalizationTemplateShort updates template draft

  Required permission : <code>NAMESPACE:{namespace}:TEMPLATE [UPDATE]</code> with scope <code>social</code>
			<br>Modify draft template

type ClientService

type ClientService interface {
	CreateTemplate(params *CreateTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTemplateNoContent, *CreateTemplateBadRequest, *CreateTemplateUnauthorized, *CreateTemplateForbidden, *CreateTemplateNotFound, error)
	CreateTemplateShort(params *CreateTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTemplateNoContent, error)
	DeleteTemplateLocalization(params *DeleteTemplateLocalizationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateLocalizationNoContent, *DeleteTemplateLocalizationBadRequest, *DeleteTemplateLocalizationUnauthorized, *DeleteTemplateLocalizationForbidden, *DeleteTemplateLocalizationNotFound, error)
	DeleteTemplateLocalizationShort(params *DeleteTemplateLocalizationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateLocalizationNoContent, error)
	DeleteTemplateSlug(params *DeleteTemplateSlugParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateSlugNoContent, *DeleteTemplateSlugBadRequest, *DeleteTemplateSlugUnauthorized, *DeleteTemplateSlugForbidden, *DeleteTemplateSlugNotFound, error)
	DeleteTemplateSlugShort(params *DeleteTemplateSlugParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateSlugNoContent, error)
	FreeFormNotification(params *FreeFormNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*FreeFormNotificationAccepted, *FreeFormNotificationBadRequest, *FreeFormNotificationUnauthorized, *FreeFormNotificationForbidden, *FreeFormNotificationNotFound, error)
	FreeFormNotificationShort(params *FreeFormNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*FreeFormNotificationAccepted, error)
	GetGameTemplate(params *GetGameTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameTemplateOK, *GetGameTemplateBadRequest, *GetGameTemplateUnauthorized, *GetGameTemplateForbidden, *GetGameTemplateNotFound, error)
	GetGameTemplateShort(params *GetGameTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameTemplateOK, error)
	GetLocalizationTemplate(params *GetLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocalizationTemplateOK, *GetLocalizationTemplateBadRequest, *GetLocalizationTemplateUnauthorized, *GetLocalizationTemplateForbidden, *GetLocalizationTemplateNotFound, error)
	GetLocalizationTemplateShort(params *GetLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocalizationTemplateOK, error)
	GetSlugTemplate(params *GetSlugTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetSlugTemplateOK, *GetSlugTemplateBadRequest, *GetSlugTemplateUnauthorized, *GetSlugTemplateForbidden, *GetSlugTemplateNotFound, error)
	GetSlugTemplateShort(params *GetSlugTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetSlugTemplateOK, error)
	NotificationWithTemplate(params *NotificationWithTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*NotificationWithTemplateAccepted, *NotificationWithTemplateBadRequest, *NotificationWithTemplateUnauthorized, *NotificationWithTemplateForbidden, *NotificationWithTemplateNotFound, error)
	NotificationWithTemplateShort(params *NotificationWithTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*NotificationWithTemplateAccepted, error)
	PublishTemplate(params *PublishTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PublishTemplateNoContent, *PublishTemplateBadRequest, *PublishTemplateUnauthorized, *PublishTemplateForbidden, *PublishTemplateNotFound, error)
	PublishTemplateShort(params *PublishTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PublishTemplateNoContent, error)
	UpdateLocalizationTemplate(params *UpdateLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizationTemplateNoContent, *UpdateLocalizationTemplateBadRequest, *UpdateLocalizationTemplateUnauthorized, *UpdateLocalizationTemplateForbidden, *UpdateLocalizationTemplateNotFound, error)
	UpdateLocalizationTemplateShort(params *UpdateLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizationTemplateNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new admin API client.

type CreateTemplateBadRequest

type CreateTemplateBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

CreateTemplateBadRequest handles this case with default header values.

Bad Request

func NewCreateTemplateBadRequest

func NewCreateTemplateBadRequest() *CreateTemplateBadRequest

NewCreateTemplateBadRequest creates a CreateTemplateBadRequest with default headers values

func (*CreateTemplateBadRequest) Error

func (o *CreateTemplateBadRequest) Error() string

func (*CreateTemplateBadRequest) GetPayload

func (*CreateTemplateBadRequest) ToJSONString

func (o *CreateTemplateBadRequest) ToJSONString() string

type CreateTemplateForbidden

type CreateTemplateForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

CreateTemplateForbidden handles this case with default header values.

Forbidden

func NewCreateTemplateForbidden

func NewCreateTemplateForbidden() *CreateTemplateForbidden

NewCreateTemplateForbidden creates a CreateTemplateForbidden with default headers values

func (*CreateTemplateForbidden) Error

func (o *CreateTemplateForbidden) Error() string

func (*CreateTemplateForbidden) GetPayload

func (*CreateTemplateForbidden) ToJSONString

func (o *CreateTemplateForbidden) ToJSONString() string

type CreateTemplateNoContent

type CreateTemplateNoContent struct {
}

CreateTemplateNoContent handles this case with default header values.

No Content

func NewCreateTemplateNoContent

func NewCreateTemplateNoContent() *CreateTemplateNoContent

NewCreateTemplateNoContent creates a CreateTemplateNoContent with default headers values

func (*CreateTemplateNoContent) Error

func (o *CreateTemplateNoContent) Error() string

type CreateTemplateNotFound

type CreateTemplateNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

CreateTemplateNotFound handles this case with default header values.

Not Found

func NewCreateTemplateNotFound

func NewCreateTemplateNotFound() *CreateTemplateNotFound

NewCreateTemplateNotFound creates a CreateTemplateNotFound with default headers values

func (*CreateTemplateNotFound) Error

func (o *CreateTemplateNotFound) Error() string

func (*CreateTemplateNotFound) GetPayload

func (*CreateTemplateNotFound) ToJSONString

func (o *CreateTemplateNotFound) ToJSONString() string

type CreateTemplateParams

type CreateTemplateParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body
	  create template input

	*/
	Body *lobbyclientmodels.ModelCreateTemplateRequest
	/*Namespace
	  namespace

	*/
	Namespace string

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

CreateTemplateParams contains all the parameters to send to the API endpoint for the create template operation typically these are written to a http.Request

func NewCreateTemplateParams

func NewCreateTemplateParams() *CreateTemplateParams

NewCreateTemplateParams creates a new CreateTemplateParams object with the default values initialized.

func NewCreateTemplateParamsWithContext

func NewCreateTemplateParamsWithContext(ctx context.Context) *CreateTemplateParams

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

func NewCreateTemplateParamsWithHTTPClient

func NewCreateTemplateParamsWithHTTPClient(client *http.Client) *CreateTemplateParams

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

func NewCreateTemplateParamsWithTimeout

func NewCreateTemplateParamsWithTimeout(timeout time.Duration) *CreateTemplateParams

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

func (*CreateTemplateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create template params

func (*CreateTemplateParams) SetBody

SetBody adds the body to the create template params

func (*CreateTemplateParams) SetContext

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

SetContext adds the context to the create template params

func (*CreateTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create template params

func (*CreateTemplateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create template params

func (*CreateTemplateParams) SetNamespace

func (o *CreateTemplateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create template params

func (*CreateTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the create template params

func (*CreateTemplateParams) WithBody

WithBody adds the body to the create template params

func (*CreateTemplateParams) WithContext

WithContext adds the context to the create template params

func (*CreateTemplateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create template params

func (*CreateTemplateParams) WithNamespace

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

WithNamespace adds the namespace to the create template params

func (*CreateTemplateParams) WithTimeout

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

WithTimeout adds the timeout to the create template params

func (*CreateTemplateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateTemplateReader

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

CreateTemplateReader is a Reader for the CreateTemplate structure.

func (*CreateTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateTemplateUnauthorized

type CreateTemplateUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

CreateTemplateUnauthorized handles this case with default header values.

Unauthorized

func NewCreateTemplateUnauthorized

func NewCreateTemplateUnauthorized() *CreateTemplateUnauthorized

NewCreateTemplateUnauthorized creates a CreateTemplateUnauthorized with default headers values

func (*CreateTemplateUnauthorized) Error

func (*CreateTemplateUnauthorized) GetPayload

func (*CreateTemplateUnauthorized) ToJSONString

func (o *CreateTemplateUnauthorized) ToJSONString() string

type DeleteTemplateLocalizationBadRequest

type DeleteTemplateLocalizationBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

DeleteTemplateLocalizationBadRequest handles this case with default header values.

Bad Request

func NewDeleteTemplateLocalizationBadRequest

func NewDeleteTemplateLocalizationBadRequest() *DeleteTemplateLocalizationBadRequest

NewDeleteTemplateLocalizationBadRequest creates a DeleteTemplateLocalizationBadRequest with default headers values

func (*DeleteTemplateLocalizationBadRequest) Error

func (*DeleteTemplateLocalizationBadRequest) GetPayload

func (*DeleteTemplateLocalizationBadRequest) ToJSONString

func (o *DeleteTemplateLocalizationBadRequest) ToJSONString() string

type DeleteTemplateLocalizationForbidden

type DeleteTemplateLocalizationForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

DeleteTemplateLocalizationForbidden handles this case with default header values.

Forbidden

func NewDeleteTemplateLocalizationForbidden

func NewDeleteTemplateLocalizationForbidden() *DeleteTemplateLocalizationForbidden

NewDeleteTemplateLocalizationForbidden creates a DeleteTemplateLocalizationForbidden with default headers values

func (*DeleteTemplateLocalizationForbidden) Error

func (*DeleteTemplateLocalizationForbidden) GetPayload

func (*DeleteTemplateLocalizationForbidden) ToJSONString

func (o *DeleteTemplateLocalizationForbidden) ToJSONString() string

type DeleteTemplateLocalizationNoContent

type DeleteTemplateLocalizationNoContent struct {
}

DeleteTemplateLocalizationNoContent handles this case with default header values.

No Content

func NewDeleteTemplateLocalizationNoContent

func NewDeleteTemplateLocalizationNoContent() *DeleteTemplateLocalizationNoContent

NewDeleteTemplateLocalizationNoContent creates a DeleteTemplateLocalizationNoContent with default headers values

func (*DeleteTemplateLocalizationNoContent) Error

type DeleteTemplateLocalizationNotFound

type DeleteTemplateLocalizationNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

DeleteTemplateLocalizationNotFound handles this case with default header values.

Not Found

func NewDeleteTemplateLocalizationNotFound

func NewDeleteTemplateLocalizationNotFound() *DeleteTemplateLocalizationNotFound

NewDeleteTemplateLocalizationNotFound creates a DeleteTemplateLocalizationNotFound with default headers values

func (*DeleteTemplateLocalizationNotFound) Error

func (*DeleteTemplateLocalizationNotFound) GetPayload

func (*DeleteTemplateLocalizationNotFound) ToJSONString

func (o *DeleteTemplateLocalizationNotFound) ToJSONString() string

type DeleteTemplateLocalizationParams

type DeleteTemplateLocalizationParams struct {

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

	*/
	Namespace string
	/*TemplateLanguage
	  template language

	*/
	TemplateLanguage string
	/*TemplateSlug
	  template slug

	*/
	TemplateSlug string

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

DeleteTemplateLocalizationParams contains all the parameters to send to the API endpoint for the delete template localization operation typically these are written to a http.Request

func NewDeleteTemplateLocalizationParams

func NewDeleteTemplateLocalizationParams() *DeleteTemplateLocalizationParams

NewDeleteTemplateLocalizationParams creates a new DeleteTemplateLocalizationParams object with the default values initialized.

func NewDeleteTemplateLocalizationParamsWithContext

func NewDeleteTemplateLocalizationParamsWithContext(ctx context.Context) *DeleteTemplateLocalizationParams

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

func NewDeleteTemplateLocalizationParamsWithHTTPClient

func NewDeleteTemplateLocalizationParamsWithHTTPClient(client *http.Client) *DeleteTemplateLocalizationParams

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

func NewDeleteTemplateLocalizationParamsWithTimeout

func NewDeleteTemplateLocalizationParamsWithTimeout(timeout time.Duration) *DeleteTemplateLocalizationParams

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

func (*DeleteTemplateLocalizationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete template localization params

func (*DeleteTemplateLocalizationParams) SetContext

SetContext adds the context to the delete template localization params

func (*DeleteTemplateLocalizationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete template localization params

func (*DeleteTemplateLocalizationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete template localization params

func (*DeleteTemplateLocalizationParams) SetNamespace

func (o *DeleteTemplateLocalizationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete template localization params

func (*DeleteTemplateLocalizationParams) SetTemplateLanguage

func (o *DeleteTemplateLocalizationParams) SetTemplateLanguage(templateLanguage string)

SetTemplateLanguage adds the templateLanguage to the delete template localization params

func (*DeleteTemplateLocalizationParams) SetTemplateSlug

func (o *DeleteTemplateLocalizationParams) SetTemplateSlug(templateSlug string)

SetTemplateSlug adds the templateSlug to the delete template localization params

func (*DeleteTemplateLocalizationParams) SetTimeout

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

SetTimeout adds the timeout to the delete template localization params

func (*DeleteTemplateLocalizationParams) WithContext

WithContext adds the context to the delete template localization params

func (*DeleteTemplateLocalizationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete template localization params

func (*DeleteTemplateLocalizationParams) WithNamespace

WithNamespace adds the namespace to the delete template localization params

func (*DeleteTemplateLocalizationParams) WithTemplateLanguage

func (o *DeleteTemplateLocalizationParams) WithTemplateLanguage(templateLanguage string) *DeleteTemplateLocalizationParams

WithTemplateLanguage adds the templateLanguage to the delete template localization params

func (*DeleteTemplateLocalizationParams) WithTemplateSlug

WithTemplateSlug adds the templateSlug to the delete template localization params

func (*DeleteTemplateLocalizationParams) WithTimeout

WithTimeout adds the timeout to the delete template localization params

func (*DeleteTemplateLocalizationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTemplateLocalizationReader

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

DeleteTemplateLocalizationReader is a Reader for the DeleteTemplateLocalization structure.

func (*DeleteTemplateLocalizationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTemplateLocalizationUnauthorized

type DeleteTemplateLocalizationUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

DeleteTemplateLocalizationUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteTemplateLocalizationUnauthorized

func NewDeleteTemplateLocalizationUnauthorized() *DeleteTemplateLocalizationUnauthorized

NewDeleteTemplateLocalizationUnauthorized creates a DeleteTemplateLocalizationUnauthorized with default headers values

func (*DeleteTemplateLocalizationUnauthorized) Error

func (*DeleteTemplateLocalizationUnauthorized) GetPayload

func (*DeleteTemplateLocalizationUnauthorized) ToJSONString

type DeleteTemplateSlugBadRequest

type DeleteTemplateSlugBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

DeleteTemplateSlugBadRequest handles this case with default header values.

Bad Request

func NewDeleteTemplateSlugBadRequest

func NewDeleteTemplateSlugBadRequest() *DeleteTemplateSlugBadRequest

NewDeleteTemplateSlugBadRequest creates a DeleteTemplateSlugBadRequest with default headers values

func (*DeleteTemplateSlugBadRequest) Error

func (*DeleteTemplateSlugBadRequest) GetPayload

func (*DeleteTemplateSlugBadRequest) ToJSONString

func (o *DeleteTemplateSlugBadRequest) ToJSONString() string

type DeleteTemplateSlugForbidden

type DeleteTemplateSlugForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

DeleteTemplateSlugForbidden handles this case with default header values.

Forbidden

func NewDeleteTemplateSlugForbidden

func NewDeleteTemplateSlugForbidden() *DeleteTemplateSlugForbidden

NewDeleteTemplateSlugForbidden creates a DeleteTemplateSlugForbidden with default headers values

func (*DeleteTemplateSlugForbidden) Error

func (*DeleteTemplateSlugForbidden) GetPayload

func (*DeleteTemplateSlugForbidden) ToJSONString

func (o *DeleteTemplateSlugForbidden) ToJSONString() string

type DeleteTemplateSlugNoContent

type DeleteTemplateSlugNoContent struct {
}

DeleteTemplateSlugNoContent handles this case with default header values.

No Content

func NewDeleteTemplateSlugNoContent

func NewDeleteTemplateSlugNoContent() *DeleteTemplateSlugNoContent

NewDeleteTemplateSlugNoContent creates a DeleteTemplateSlugNoContent with default headers values

func (*DeleteTemplateSlugNoContent) Error

type DeleteTemplateSlugNotFound

type DeleteTemplateSlugNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

DeleteTemplateSlugNotFound handles this case with default header values.

Not Found

func NewDeleteTemplateSlugNotFound

func NewDeleteTemplateSlugNotFound() *DeleteTemplateSlugNotFound

NewDeleteTemplateSlugNotFound creates a DeleteTemplateSlugNotFound with default headers values

func (*DeleteTemplateSlugNotFound) Error

func (*DeleteTemplateSlugNotFound) GetPayload

func (*DeleteTemplateSlugNotFound) ToJSONString

func (o *DeleteTemplateSlugNotFound) ToJSONString() string

type DeleteTemplateSlugParams

type DeleteTemplateSlugParams struct {

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

	*/
	Namespace string
	/*TemplateSlug
	  template slug

	*/
	TemplateSlug string

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

DeleteTemplateSlugParams contains all the parameters to send to the API endpoint for the delete template slug operation typically these are written to a http.Request

func NewDeleteTemplateSlugParams

func NewDeleteTemplateSlugParams() *DeleteTemplateSlugParams

NewDeleteTemplateSlugParams creates a new DeleteTemplateSlugParams object with the default values initialized.

func NewDeleteTemplateSlugParamsWithContext

func NewDeleteTemplateSlugParamsWithContext(ctx context.Context) *DeleteTemplateSlugParams

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

func NewDeleteTemplateSlugParamsWithHTTPClient

func NewDeleteTemplateSlugParamsWithHTTPClient(client *http.Client) *DeleteTemplateSlugParams

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

func NewDeleteTemplateSlugParamsWithTimeout

func NewDeleteTemplateSlugParamsWithTimeout(timeout time.Duration) *DeleteTemplateSlugParams

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

func (*DeleteTemplateSlugParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete template slug params

func (*DeleteTemplateSlugParams) SetContext

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

SetContext adds the context to the delete template slug params

func (*DeleteTemplateSlugParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete template slug params

func (*DeleteTemplateSlugParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete template slug params

func (*DeleteTemplateSlugParams) SetNamespace

func (o *DeleteTemplateSlugParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete template slug params

func (*DeleteTemplateSlugParams) SetTemplateSlug

func (o *DeleteTemplateSlugParams) SetTemplateSlug(templateSlug string)

SetTemplateSlug adds the templateSlug to the delete template slug params

func (*DeleteTemplateSlugParams) SetTimeout

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

SetTimeout adds the timeout to the delete template slug params

func (*DeleteTemplateSlugParams) WithContext

WithContext adds the context to the delete template slug params

func (*DeleteTemplateSlugParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete template slug params

func (*DeleteTemplateSlugParams) WithNamespace

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

WithNamespace adds the namespace to the delete template slug params

func (*DeleteTemplateSlugParams) WithTemplateSlug

func (o *DeleteTemplateSlugParams) WithTemplateSlug(templateSlug string) *DeleteTemplateSlugParams

WithTemplateSlug adds the templateSlug to the delete template slug params

func (*DeleteTemplateSlugParams) WithTimeout

WithTimeout adds the timeout to the delete template slug params

func (*DeleteTemplateSlugParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTemplateSlugReader

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

DeleteTemplateSlugReader is a Reader for the DeleteTemplateSlug structure.

func (*DeleteTemplateSlugReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTemplateSlugUnauthorized

type DeleteTemplateSlugUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

DeleteTemplateSlugUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteTemplateSlugUnauthorized

func NewDeleteTemplateSlugUnauthorized() *DeleteTemplateSlugUnauthorized

NewDeleteTemplateSlugUnauthorized creates a DeleteTemplateSlugUnauthorized with default headers values

func (*DeleteTemplateSlugUnauthorized) Error

func (*DeleteTemplateSlugUnauthorized) GetPayload

func (*DeleteTemplateSlugUnauthorized) ToJSONString

func (o *DeleteTemplateSlugUnauthorized) ToJSONString() string

type FreeFormNotificationAccepted

type FreeFormNotificationAccepted struct {
}

FreeFormNotificationAccepted handles this case with default header values.

Accepted

func NewFreeFormNotificationAccepted

func NewFreeFormNotificationAccepted() *FreeFormNotificationAccepted

NewFreeFormNotificationAccepted creates a FreeFormNotificationAccepted with default headers values

func (*FreeFormNotificationAccepted) Error

type FreeFormNotificationBadRequest

type FreeFormNotificationBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

FreeFormNotificationBadRequest handles this case with default header values.

Bad Request

func NewFreeFormNotificationBadRequest

func NewFreeFormNotificationBadRequest() *FreeFormNotificationBadRequest

NewFreeFormNotificationBadRequest creates a FreeFormNotificationBadRequest with default headers values

func (*FreeFormNotificationBadRequest) Error

func (*FreeFormNotificationBadRequest) GetPayload

func (*FreeFormNotificationBadRequest) ToJSONString

func (o *FreeFormNotificationBadRequest) ToJSONString() string

type FreeFormNotificationForbidden

type FreeFormNotificationForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

FreeFormNotificationForbidden handles this case with default header values.

Forbidden

func NewFreeFormNotificationForbidden

func NewFreeFormNotificationForbidden() *FreeFormNotificationForbidden

NewFreeFormNotificationForbidden creates a FreeFormNotificationForbidden with default headers values

func (*FreeFormNotificationForbidden) Error

func (*FreeFormNotificationForbidden) GetPayload

func (*FreeFormNotificationForbidden) ToJSONString

func (o *FreeFormNotificationForbidden) ToJSONString() string

type FreeFormNotificationNotFound

type FreeFormNotificationNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

FreeFormNotificationNotFound handles this case with default header values.

Not Found

func NewFreeFormNotificationNotFound

func NewFreeFormNotificationNotFound() *FreeFormNotificationNotFound

NewFreeFormNotificationNotFound creates a FreeFormNotificationNotFound with default headers values

func (*FreeFormNotificationNotFound) Error

func (*FreeFormNotificationNotFound) GetPayload

func (*FreeFormNotificationNotFound) ToJSONString

func (o *FreeFormNotificationNotFound) ToJSONString() string

type FreeFormNotificationParams

type FreeFormNotificationParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body
	  notification content

	*/
	Body *lobbyclientmodels.ModelFreeFormNotificationRequest
	/*Namespace
	  namespace

	*/
	Namespace string

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

FreeFormNotificationParams contains all the parameters to send to the API endpoint for the free form notification operation typically these are written to a http.Request

func NewFreeFormNotificationParams

func NewFreeFormNotificationParams() *FreeFormNotificationParams

NewFreeFormNotificationParams creates a new FreeFormNotificationParams object with the default values initialized.

func NewFreeFormNotificationParamsWithContext

func NewFreeFormNotificationParamsWithContext(ctx context.Context) *FreeFormNotificationParams

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

func NewFreeFormNotificationParamsWithHTTPClient

func NewFreeFormNotificationParamsWithHTTPClient(client *http.Client) *FreeFormNotificationParams

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

func NewFreeFormNotificationParamsWithTimeout

func NewFreeFormNotificationParamsWithTimeout(timeout time.Duration) *FreeFormNotificationParams

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

func (*FreeFormNotificationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the free form notification params

func (*FreeFormNotificationParams) SetBody

SetBody adds the body to the free form notification params

func (*FreeFormNotificationParams) SetContext

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

SetContext adds the context to the free form notification params

func (*FreeFormNotificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the free form notification params

func (*FreeFormNotificationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the free form notification params

func (*FreeFormNotificationParams) SetNamespace

func (o *FreeFormNotificationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the free form notification params

func (*FreeFormNotificationParams) SetTimeout

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

SetTimeout adds the timeout to the free form notification params

func (*FreeFormNotificationParams) WithBody

WithBody adds the body to the free form notification params

func (*FreeFormNotificationParams) WithContext

WithContext adds the context to the free form notification params

func (*FreeFormNotificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the free form notification params

func (*FreeFormNotificationParams) WithNamespace

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

WithNamespace adds the namespace to the free form notification params

func (*FreeFormNotificationParams) WithTimeout

WithTimeout adds the timeout to the free form notification params

func (*FreeFormNotificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FreeFormNotificationReader

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

FreeFormNotificationReader is a Reader for the FreeFormNotification structure.

func (*FreeFormNotificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FreeFormNotificationUnauthorized

type FreeFormNotificationUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

FreeFormNotificationUnauthorized handles this case with default header values.

Unauthorized

func NewFreeFormNotificationUnauthorized

func NewFreeFormNotificationUnauthorized() *FreeFormNotificationUnauthorized

NewFreeFormNotificationUnauthorized creates a FreeFormNotificationUnauthorized with default headers values

func (*FreeFormNotificationUnauthorized) Error

func (*FreeFormNotificationUnauthorized) GetPayload

func (*FreeFormNotificationUnauthorized) ToJSONString

func (o *FreeFormNotificationUnauthorized) ToJSONString() string

type GetGameTemplateBadRequest

type GetGameTemplateBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetGameTemplateBadRequest handles this case with default header values.

Bad Request

func NewGetGameTemplateBadRequest

func NewGetGameTemplateBadRequest() *GetGameTemplateBadRequest

NewGetGameTemplateBadRequest creates a GetGameTemplateBadRequest with default headers values

func (*GetGameTemplateBadRequest) Error

func (o *GetGameTemplateBadRequest) Error() string

func (*GetGameTemplateBadRequest) GetPayload

func (*GetGameTemplateBadRequest) ToJSONString

func (o *GetGameTemplateBadRequest) ToJSONString() string

type GetGameTemplateForbidden

type GetGameTemplateForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetGameTemplateForbidden handles this case with default header values.

Forbidden

func NewGetGameTemplateForbidden

func NewGetGameTemplateForbidden() *GetGameTemplateForbidden

NewGetGameTemplateForbidden creates a GetGameTemplateForbidden with default headers values

func (*GetGameTemplateForbidden) Error

func (o *GetGameTemplateForbidden) Error() string

func (*GetGameTemplateForbidden) GetPayload

func (*GetGameTemplateForbidden) ToJSONString

func (o *GetGameTemplateForbidden) ToJSONString() string

type GetGameTemplateNotFound

type GetGameTemplateNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetGameTemplateNotFound handles this case with default header values.

Not Found

func NewGetGameTemplateNotFound

func NewGetGameTemplateNotFound() *GetGameTemplateNotFound

NewGetGameTemplateNotFound creates a GetGameTemplateNotFound with default headers values

func (*GetGameTemplateNotFound) Error

func (o *GetGameTemplateNotFound) Error() string

func (*GetGameTemplateNotFound) GetPayload

func (*GetGameTemplateNotFound) ToJSONString

func (o *GetGameTemplateNotFound) ToJSONString() string

type GetGameTemplateOK

type GetGameTemplateOK struct {
	Payload []*lobbyclientmodels.ModelTemplateResponse
}

GetGameTemplateOK handles this case with default header values.

OK

func NewGetGameTemplateOK

func NewGetGameTemplateOK() *GetGameTemplateOK

NewGetGameTemplateOK creates a GetGameTemplateOK with default headers values

func (*GetGameTemplateOK) Error

func (o *GetGameTemplateOK) Error() string

func (*GetGameTemplateOK) GetPayload

func (*GetGameTemplateOK) ToJSONString

func (o *GetGameTemplateOK) ToJSONString() string

type GetGameTemplateParams

type GetGameTemplateParams struct {

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

	*/
	Namespace string

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

GetGameTemplateParams contains all the parameters to send to the API endpoint for the get game template operation typically these are written to a http.Request

func NewGetGameTemplateParams

func NewGetGameTemplateParams() *GetGameTemplateParams

NewGetGameTemplateParams creates a new GetGameTemplateParams object with the default values initialized.

func NewGetGameTemplateParamsWithContext

func NewGetGameTemplateParamsWithContext(ctx context.Context) *GetGameTemplateParams

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

func NewGetGameTemplateParamsWithHTTPClient

func NewGetGameTemplateParamsWithHTTPClient(client *http.Client) *GetGameTemplateParams

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

func NewGetGameTemplateParamsWithTimeout

func NewGetGameTemplateParamsWithTimeout(timeout time.Duration) *GetGameTemplateParams

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

func (*GetGameTemplateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get game template params

func (*GetGameTemplateParams) SetContext

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

SetContext adds the context to the get game template params

func (*GetGameTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get game template params

func (*GetGameTemplateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get game template params

func (*GetGameTemplateParams) SetNamespace

func (o *GetGameTemplateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get game template params

func (*GetGameTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the get game template params

func (*GetGameTemplateParams) WithContext

WithContext adds the context to the get game template params

func (*GetGameTemplateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get game template params

func (*GetGameTemplateParams) WithNamespace

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

WithNamespace adds the namespace to the get game template params

func (*GetGameTemplateParams) WithTimeout

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

WithTimeout adds the timeout to the get game template params

func (*GetGameTemplateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGameTemplateReader

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

GetGameTemplateReader is a Reader for the GetGameTemplate structure.

func (*GetGameTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGameTemplateUnauthorized

type GetGameTemplateUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetGameTemplateUnauthorized handles this case with default header values.

Unauthorized

func NewGetGameTemplateUnauthorized

func NewGetGameTemplateUnauthorized() *GetGameTemplateUnauthorized

NewGetGameTemplateUnauthorized creates a GetGameTemplateUnauthorized with default headers values

func (*GetGameTemplateUnauthorized) Error

func (*GetGameTemplateUnauthorized) GetPayload

func (*GetGameTemplateUnauthorized) ToJSONString

func (o *GetGameTemplateUnauthorized) ToJSONString() string

type GetLocalizationTemplateBadRequest

type GetLocalizationTemplateBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetLocalizationTemplateBadRequest handles this case with default header values.

Bad Request

func NewGetLocalizationTemplateBadRequest

func NewGetLocalizationTemplateBadRequest() *GetLocalizationTemplateBadRequest

NewGetLocalizationTemplateBadRequest creates a GetLocalizationTemplateBadRequest with default headers values

func (*GetLocalizationTemplateBadRequest) Error

func (*GetLocalizationTemplateBadRequest) GetPayload

func (*GetLocalizationTemplateBadRequest) ToJSONString

func (o *GetLocalizationTemplateBadRequest) ToJSONString() string

type GetLocalizationTemplateForbidden

type GetLocalizationTemplateForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetLocalizationTemplateForbidden handles this case with default header values.

Forbidden

func NewGetLocalizationTemplateForbidden

func NewGetLocalizationTemplateForbidden() *GetLocalizationTemplateForbidden

NewGetLocalizationTemplateForbidden creates a GetLocalizationTemplateForbidden with default headers values

func (*GetLocalizationTemplateForbidden) Error

func (*GetLocalizationTemplateForbidden) GetPayload

func (*GetLocalizationTemplateForbidden) ToJSONString

func (o *GetLocalizationTemplateForbidden) ToJSONString() string

type GetLocalizationTemplateNotFound

type GetLocalizationTemplateNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetLocalizationTemplateNotFound handles this case with default header values.

Not Found

func NewGetLocalizationTemplateNotFound

func NewGetLocalizationTemplateNotFound() *GetLocalizationTemplateNotFound

NewGetLocalizationTemplateNotFound creates a GetLocalizationTemplateNotFound with default headers values

func (*GetLocalizationTemplateNotFound) Error

func (*GetLocalizationTemplateNotFound) GetPayload

func (*GetLocalizationTemplateNotFound) ToJSONString

func (o *GetLocalizationTemplateNotFound) ToJSONString() string

type GetLocalizationTemplateOK

type GetLocalizationTemplateOK struct {
	Payload *lobbyclientmodels.ModelTemplateLocalization
}

GetLocalizationTemplateOK handles this case with default header values.

OK

func NewGetLocalizationTemplateOK

func NewGetLocalizationTemplateOK() *GetLocalizationTemplateOK

NewGetLocalizationTemplateOK creates a GetLocalizationTemplateOK with default headers values

func (*GetLocalizationTemplateOK) Error

func (o *GetLocalizationTemplateOK) Error() string

func (*GetLocalizationTemplateOK) GetPayload

func (*GetLocalizationTemplateOK) ToJSONString

func (o *GetLocalizationTemplateOK) ToJSONString() string

type GetLocalizationTemplateParams

type GetLocalizationTemplateParams struct {

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

	*/
	Namespace string
	/*TemplateLanguage
	  template language

	*/
	TemplateLanguage string
	/*TemplateSlug
	  template slug

	*/
	TemplateSlug string

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

GetLocalizationTemplateParams contains all the parameters to send to the API endpoint for the get localization template operation typically these are written to a http.Request

func NewGetLocalizationTemplateParams

func NewGetLocalizationTemplateParams() *GetLocalizationTemplateParams

NewGetLocalizationTemplateParams creates a new GetLocalizationTemplateParams object with the default values initialized.

func NewGetLocalizationTemplateParamsWithContext

func NewGetLocalizationTemplateParamsWithContext(ctx context.Context) *GetLocalizationTemplateParams

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

func NewGetLocalizationTemplateParamsWithHTTPClient

func NewGetLocalizationTemplateParamsWithHTTPClient(client *http.Client) *GetLocalizationTemplateParams

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

func NewGetLocalizationTemplateParamsWithTimeout

func NewGetLocalizationTemplateParamsWithTimeout(timeout time.Duration) *GetLocalizationTemplateParams

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

func (*GetLocalizationTemplateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get localization template params

func (*GetLocalizationTemplateParams) SetContext

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

SetContext adds the context to the get localization template params

func (*GetLocalizationTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get localization template params

func (*GetLocalizationTemplateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get localization template params

func (*GetLocalizationTemplateParams) SetNamespace

func (o *GetLocalizationTemplateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get localization template params

func (*GetLocalizationTemplateParams) SetTemplateLanguage

func (o *GetLocalizationTemplateParams) SetTemplateLanguage(templateLanguage string)

SetTemplateLanguage adds the templateLanguage to the get localization template params

func (*GetLocalizationTemplateParams) SetTemplateSlug

func (o *GetLocalizationTemplateParams) SetTemplateSlug(templateSlug string)

SetTemplateSlug adds the templateSlug to the get localization template params

func (*GetLocalizationTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the get localization template params

func (*GetLocalizationTemplateParams) WithContext

WithContext adds the context to the get localization template params

func (*GetLocalizationTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get localization template params

func (*GetLocalizationTemplateParams) WithNamespace

WithNamespace adds the namespace to the get localization template params

func (*GetLocalizationTemplateParams) WithTemplateLanguage

func (o *GetLocalizationTemplateParams) WithTemplateLanguage(templateLanguage string) *GetLocalizationTemplateParams

WithTemplateLanguage adds the templateLanguage to the get localization template params

func (*GetLocalizationTemplateParams) WithTemplateSlug

func (o *GetLocalizationTemplateParams) WithTemplateSlug(templateSlug string) *GetLocalizationTemplateParams

WithTemplateSlug adds the templateSlug to the get localization template params

func (*GetLocalizationTemplateParams) WithTimeout

WithTimeout adds the timeout to the get localization template params

func (*GetLocalizationTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLocalizationTemplateReader

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

GetLocalizationTemplateReader is a Reader for the GetLocalizationTemplate structure.

func (*GetLocalizationTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLocalizationTemplateUnauthorized

type GetLocalizationTemplateUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetLocalizationTemplateUnauthorized handles this case with default header values.

Unauthorized

func NewGetLocalizationTemplateUnauthorized

func NewGetLocalizationTemplateUnauthorized() *GetLocalizationTemplateUnauthorized

NewGetLocalizationTemplateUnauthorized creates a GetLocalizationTemplateUnauthorized with default headers values

func (*GetLocalizationTemplateUnauthorized) Error

func (*GetLocalizationTemplateUnauthorized) GetPayload

func (*GetLocalizationTemplateUnauthorized) ToJSONString

func (o *GetLocalizationTemplateUnauthorized) ToJSONString() string

type GetSlugTemplateBadRequest

type GetSlugTemplateBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetSlugTemplateBadRequest handles this case with default header values.

Bad Request

func NewGetSlugTemplateBadRequest

func NewGetSlugTemplateBadRequest() *GetSlugTemplateBadRequest

NewGetSlugTemplateBadRequest creates a GetSlugTemplateBadRequest with default headers values

func (*GetSlugTemplateBadRequest) Error

func (o *GetSlugTemplateBadRequest) Error() string

func (*GetSlugTemplateBadRequest) GetPayload

func (*GetSlugTemplateBadRequest) ToJSONString

func (o *GetSlugTemplateBadRequest) ToJSONString() string

type GetSlugTemplateForbidden

type GetSlugTemplateForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetSlugTemplateForbidden handles this case with default header values.

Forbidden

func NewGetSlugTemplateForbidden

func NewGetSlugTemplateForbidden() *GetSlugTemplateForbidden

NewGetSlugTemplateForbidden creates a GetSlugTemplateForbidden with default headers values

func (*GetSlugTemplateForbidden) Error

func (o *GetSlugTemplateForbidden) Error() string

func (*GetSlugTemplateForbidden) GetPayload

func (*GetSlugTemplateForbidden) ToJSONString

func (o *GetSlugTemplateForbidden) ToJSONString() string

type GetSlugTemplateNotFound

type GetSlugTemplateNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetSlugTemplateNotFound handles this case with default header values.

Not Found

func NewGetSlugTemplateNotFound

func NewGetSlugTemplateNotFound() *GetSlugTemplateNotFound

NewGetSlugTemplateNotFound creates a GetSlugTemplateNotFound with default headers values

func (*GetSlugTemplateNotFound) Error

func (o *GetSlugTemplateNotFound) Error() string

func (*GetSlugTemplateNotFound) GetPayload

func (*GetSlugTemplateNotFound) ToJSONString

func (o *GetSlugTemplateNotFound) ToJSONString() string

type GetSlugTemplateOK

type GetSlugTemplateOK struct {
	Payload *lobbyclientmodels.ModelTemplateLocalizationResponse
}

GetSlugTemplateOK handles this case with default header values.

OK

func NewGetSlugTemplateOK

func NewGetSlugTemplateOK() *GetSlugTemplateOK

NewGetSlugTemplateOK creates a GetSlugTemplateOK with default headers values

func (*GetSlugTemplateOK) Error

func (o *GetSlugTemplateOK) Error() string

func (*GetSlugTemplateOK) GetPayload

func (*GetSlugTemplateOK) ToJSONString

func (o *GetSlugTemplateOK) ToJSONString() string

type GetSlugTemplateParams

type GetSlugTemplateParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*After
	  last language code of previous page

	*/
	After *string
	/*Before
	  first language code of next page

	*/
	Before *string
	/*Limit
	  size of displayed data

	*/
	Limit *int64
	/*Namespace
	  namespace

	*/
	Namespace string
	/*TemplateSlug
	  template slug

	*/
	TemplateSlug string

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

GetSlugTemplateParams contains all the parameters to send to the API endpoint for the get slug template operation typically these are written to a http.Request

func NewGetSlugTemplateParams

func NewGetSlugTemplateParams() *GetSlugTemplateParams

NewGetSlugTemplateParams creates a new GetSlugTemplateParams object with the default values initialized.

func NewGetSlugTemplateParamsWithContext

func NewGetSlugTemplateParamsWithContext(ctx context.Context) *GetSlugTemplateParams

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

func NewGetSlugTemplateParamsWithHTTPClient

func NewGetSlugTemplateParamsWithHTTPClient(client *http.Client) *GetSlugTemplateParams

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

func NewGetSlugTemplateParamsWithTimeout

func NewGetSlugTemplateParamsWithTimeout(timeout time.Duration) *GetSlugTemplateParams

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

func (*GetSlugTemplateParams) SetAfter

func (o *GetSlugTemplateParams) SetAfter(after *string)

SetAfter adds the after to the get slug template params

func (*GetSlugTemplateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get slug template params

func (*GetSlugTemplateParams) SetBefore

func (o *GetSlugTemplateParams) SetBefore(before *string)

SetBefore adds the before to the get slug template params

func (*GetSlugTemplateParams) SetContext

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

SetContext adds the context to the get slug template params

func (*GetSlugTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get slug template params

func (*GetSlugTemplateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get slug template params

func (*GetSlugTemplateParams) SetLimit

func (o *GetSlugTemplateParams) SetLimit(limit *int64)

SetLimit adds the limit to the get slug template params

func (*GetSlugTemplateParams) SetNamespace

func (o *GetSlugTemplateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get slug template params

func (*GetSlugTemplateParams) SetTemplateSlug

func (o *GetSlugTemplateParams) SetTemplateSlug(templateSlug string)

SetTemplateSlug adds the templateSlug to the get slug template params

func (*GetSlugTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the get slug template params

func (*GetSlugTemplateParams) WithAfter

func (o *GetSlugTemplateParams) WithAfter(after *string) *GetSlugTemplateParams

WithAfter adds the after to the get slug template params

func (*GetSlugTemplateParams) WithBefore

func (o *GetSlugTemplateParams) WithBefore(before *string) *GetSlugTemplateParams

WithBefore adds the before to the get slug template params

func (*GetSlugTemplateParams) WithContext

WithContext adds the context to the get slug template params

func (*GetSlugTemplateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get slug template params

func (*GetSlugTemplateParams) WithLimit

func (o *GetSlugTemplateParams) WithLimit(limit *int64) *GetSlugTemplateParams

WithLimit adds the limit to the get slug template params

func (*GetSlugTemplateParams) WithNamespace

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

WithNamespace adds the namespace to the get slug template params

func (*GetSlugTemplateParams) WithTemplateSlug

func (o *GetSlugTemplateParams) WithTemplateSlug(templateSlug string) *GetSlugTemplateParams

WithTemplateSlug adds the templateSlug to the get slug template params

func (*GetSlugTemplateParams) WithTimeout

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

WithTimeout adds the timeout to the get slug template params

func (*GetSlugTemplateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSlugTemplateReader

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

GetSlugTemplateReader is a Reader for the GetSlugTemplate structure.

func (*GetSlugTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSlugTemplateUnauthorized

type GetSlugTemplateUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetSlugTemplateUnauthorized handles this case with default header values.

Unauthorized

func NewGetSlugTemplateUnauthorized

func NewGetSlugTemplateUnauthorized() *GetSlugTemplateUnauthorized

NewGetSlugTemplateUnauthorized creates a GetSlugTemplateUnauthorized with default headers values

func (*GetSlugTemplateUnauthorized) Error

func (*GetSlugTemplateUnauthorized) GetPayload

func (*GetSlugTemplateUnauthorized) ToJSONString

func (o *GetSlugTemplateUnauthorized) ToJSONString() string

type NotificationWithTemplateAccepted

type NotificationWithTemplateAccepted struct {
}

NotificationWithTemplateAccepted handles this case with default header values.

Accepted

func NewNotificationWithTemplateAccepted

func NewNotificationWithTemplateAccepted() *NotificationWithTemplateAccepted

NewNotificationWithTemplateAccepted creates a NotificationWithTemplateAccepted with default headers values

func (*NotificationWithTemplateAccepted) Error

type NotificationWithTemplateBadRequest

type NotificationWithTemplateBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

NotificationWithTemplateBadRequest handles this case with default header values.

Bad Request

func NewNotificationWithTemplateBadRequest

func NewNotificationWithTemplateBadRequest() *NotificationWithTemplateBadRequest

NewNotificationWithTemplateBadRequest creates a NotificationWithTemplateBadRequest with default headers values

func (*NotificationWithTemplateBadRequest) Error

func (*NotificationWithTemplateBadRequest) GetPayload

func (*NotificationWithTemplateBadRequest) ToJSONString

func (o *NotificationWithTemplateBadRequest) ToJSONString() string

type NotificationWithTemplateForbidden

type NotificationWithTemplateForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

NotificationWithTemplateForbidden handles this case with default header values.

Forbidden

func NewNotificationWithTemplateForbidden

func NewNotificationWithTemplateForbidden() *NotificationWithTemplateForbidden

NewNotificationWithTemplateForbidden creates a NotificationWithTemplateForbidden with default headers values

func (*NotificationWithTemplateForbidden) Error

func (*NotificationWithTemplateForbidden) GetPayload

func (*NotificationWithTemplateForbidden) ToJSONString

func (o *NotificationWithTemplateForbidden) ToJSONString() string

type NotificationWithTemplateNotFound

type NotificationWithTemplateNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

NotificationWithTemplateNotFound handles this case with default header values.

Not Found

func NewNotificationWithTemplateNotFound

func NewNotificationWithTemplateNotFound() *NotificationWithTemplateNotFound

NewNotificationWithTemplateNotFound creates a NotificationWithTemplateNotFound with default headers values

func (*NotificationWithTemplateNotFound) Error

func (*NotificationWithTemplateNotFound) GetPayload

func (*NotificationWithTemplateNotFound) ToJSONString

func (o *NotificationWithTemplateNotFound) ToJSONString() string

type NotificationWithTemplateParams

type NotificationWithTemplateParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body
	  notification content

	*/
	Body *lobbyclientmodels.ModelNotificationWithTemplateRequest
	/*Namespace
	  namespace

	*/
	Namespace string

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

NotificationWithTemplateParams contains all the parameters to send to the API endpoint for the notification with template operation typically these are written to a http.Request

func NewNotificationWithTemplateParams

func NewNotificationWithTemplateParams() *NotificationWithTemplateParams

NewNotificationWithTemplateParams creates a new NotificationWithTemplateParams object with the default values initialized.

func NewNotificationWithTemplateParamsWithContext

func NewNotificationWithTemplateParamsWithContext(ctx context.Context) *NotificationWithTemplateParams

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

func NewNotificationWithTemplateParamsWithHTTPClient

func NewNotificationWithTemplateParamsWithHTTPClient(client *http.Client) *NotificationWithTemplateParams

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

func NewNotificationWithTemplateParamsWithTimeout

func NewNotificationWithTemplateParamsWithTimeout(timeout time.Duration) *NotificationWithTemplateParams

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

func (*NotificationWithTemplateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the notification with template params

func (*NotificationWithTemplateParams) SetBody

SetBody adds the body to the notification with template params

func (*NotificationWithTemplateParams) SetContext

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

SetContext adds the context to the notification with template params

func (*NotificationWithTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the notification with template params

func (*NotificationWithTemplateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the notification with template params

func (*NotificationWithTemplateParams) SetNamespace

func (o *NotificationWithTemplateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the notification with template params

func (*NotificationWithTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the notification with template params

func (*NotificationWithTemplateParams) WithBody

WithBody adds the body to the notification with template params

func (*NotificationWithTemplateParams) WithContext

WithContext adds the context to the notification with template params

func (*NotificationWithTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notification with template params

func (*NotificationWithTemplateParams) WithNamespace

WithNamespace adds the namespace to the notification with template params

func (*NotificationWithTemplateParams) WithTimeout

WithTimeout adds the timeout to the notification with template params

func (*NotificationWithTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotificationWithTemplateReader

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

NotificationWithTemplateReader is a Reader for the NotificationWithTemplate structure.

func (*NotificationWithTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NotificationWithTemplateUnauthorized

type NotificationWithTemplateUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

NotificationWithTemplateUnauthorized handles this case with default header values.

Unauthorized

func NewNotificationWithTemplateUnauthorized

func NewNotificationWithTemplateUnauthorized() *NotificationWithTemplateUnauthorized

NewNotificationWithTemplateUnauthorized creates a NotificationWithTemplateUnauthorized with default headers values

func (*NotificationWithTemplateUnauthorized) Error

func (*NotificationWithTemplateUnauthorized) GetPayload

func (*NotificationWithTemplateUnauthorized) ToJSONString

func (o *NotificationWithTemplateUnauthorized) ToJSONString() string

type PublishTemplateBadRequest

type PublishTemplateBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

PublishTemplateBadRequest handles this case with default header values.

Bad Request

func NewPublishTemplateBadRequest

func NewPublishTemplateBadRequest() *PublishTemplateBadRequest

NewPublishTemplateBadRequest creates a PublishTemplateBadRequest with default headers values

func (*PublishTemplateBadRequest) Error

func (o *PublishTemplateBadRequest) Error() string

func (*PublishTemplateBadRequest) GetPayload

func (*PublishTemplateBadRequest) ToJSONString

func (o *PublishTemplateBadRequest) ToJSONString() string

type PublishTemplateForbidden

type PublishTemplateForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

PublishTemplateForbidden handles this case with default header values.

Forbidden

func NewPublishTemplateForbidden

func NewPublishTemplateForbidden() *PublishTemplateForbidden

NewPublishTemplateForbidden creates a PublishTemplateForbidden with default headers values

func (*PublishTemplateForbidden) Error

func (o *PublishTemplateForbidden) Error() string

func (*PublishTemplateForbidden) GetPayload

func (*PublishTemplateForbidden) ToJSONString

func (o *PublishTemplateForbidden) ToJSONString() string

type PublishTemplateNoContent

type PublishTemplateNoContent struct {
}

PublishTemplateNoContent handles this case with default header values.

No Content

func NewPublishTemplateNoContent

func NewPublishTemplateNoContent() *PublishTemplateNoContent

NewPublishTemplateNoContent creates a PublishTemplateNoContent with default headers values

func (*PublishTemplateNoContent) Error

func (o *PublishTemplateNoContent) Error() string

type PublishTemplateNotFound

type PublishTemplateNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

PublishTemplateNotFound handles this case with default header values.

Not Found

func NewPublishTemplateNotFound

func NewPublishTemplateNotFound() *PublishTemplateNotFound

NewPublishTemplateNotFound creates a PublishTemplateNotFound with default headers values

func (*PublishTemplateNotFound) Error

func (o *PublishTemplateNotFound) Error() string

func (*PublishTemplateNotFound) GetPayload

func (*PublishTemplateNotFound) ToJSONString

func (o *PublishTemplateNotFound) ToJSONString() string

type PublishTemplateParams

type PublishTemplateParams struct {

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

	*/
	Namespace string
	/*TemplateLanguage
	  template language

	*/
	TemplateLanguage string
	/*TemplateSlug
	  template slug

	*/
	TemplateSlug string

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

PublishTemplateParams contains all the parameters to send to the API endpoint for the publish template operation typically these are written to a http.Request

func NewPublishTemplateParams

func NewPublishTemplateParams() *PublishTemplateParams

NewPublishTemplateParams creates a new PublishTemplateParams object with the default values initialized.

func NewPublishTemplateParamsWithContext

func NewPublishTemplateParamsWithContext(ctx context.Context) *PublishTemplateParams

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

func NewPublishTemplateParamsWithHTTPClient

func NewPublishTemplateParamsWithHTTPClient(client *http.Client) *PublishTemplateParams

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

func NewPublishTemplateParamsWithTimeout

func NewPublishTemplateParamsWithTimeout(timeout time.Duration) *PublishTemplateParams

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

func (*PublishTemplateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the publish template params

func (*PublishTemplateParams) SetContext

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

SetContext adds the context to the publish template params

func (*PublishTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the publish template params

func (*PublishTemplateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the publish template params

func (*PublishTemplateParams) SetNamespace

func (o *PublishTemplateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the publish template params

func (*PublishTemplateParams) SetTemplateLanguage

func (o *PublishTemplateParams) SetTemplateLanguage(templateLanguage string)

SetTemplateLanguage adds the templateLanguage to the publish template params

func (*PublishTemplateParams) SetTemplateSlug

func (o *PublishTemplateParams) SetTemplateSlug(templateSlug string)

SetTemplateSlug adds the templateSlug to the publish template params

func (*PublishTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the publish template params

func (*PublishTemplateParams) WithContext

WithContext adds the context to the publish template params

func (*PublishTemplateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the publish template params

func (*PublishTemplateParams) WithNamespace

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

WithNamespace adds the namespace to the publish template params

func (*PublishTemplateParams) WithTemplateLanguage

func (o *PublishTemplateParams) WithTemplateLanguage(templateLanguage string) *PublishTemplateParams

WithTemplateLanguage adds the templateLanguage to the publish template params

func (*PublishTemplateParams) WithTemplateSlug

func (o *PublishTemplateParams) WithTemplateSlug(templateSlug string) *PublishTemplateParams

WithTemplateSlug adds the templateSlug to the publish template params

func (*PublishTemplateParams) WithTimeout

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

WithTimeout adds the timeout to the publish template params

func (*PublishTemplateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PublishTemplateReader

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

PublishTemplateReader is a Reader for the PublishTemplate structure.

func (*PublishTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublishTemplateUnauthorized

type PublishTemplateUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

PublishTemplateUnauthorized handles this case with default header values.

Unauthorized

func NewPublishTemplateUnauthorized

func NewPublishTemplateUnauthorized() *PublishTemplateUnauthorized

NewPublishTemplateUnauthorized creates a PublishTemplateUnauthorized with default headers values

func (*PublishTemplateUnauthorized) Error

func (*PublishTemplateUnauthorized) GetPayload

func (*PublishTemplateUnauthorized) ToJSONString

func (o *PublishTemplateUnauthorized) ToJSONString() string

type UpdateLocalizationTemplateBadRequest

type UpdateLocalizationTemplateBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

UpdateLocalizationTemplateBadRequest handles this case with default header values.

Bad Request

func NewUpdateLocalizationTemplateBadRequest

func NewUpdateLocalizationTemplateBadRequest() *UpdateLocalizationTemplateBadRequest

NewUpdateLocalizationTemplateBadRequest creates a UpdateLocalizationTemplateBadRequest with default headers values

func (*UpdateLocalizationTemplateBadRequest) Error

func (*UpdateLocalizationTemplateBadRequest) GetPayload

func (*UpdateLocalizationTemplateBadRequest) ToJSONString

func (o *UpdateLocalizationTemplateBadRequest) ToJSONString() string

type UpdateLocalizationTemplateForbidden

type UpdateLocalizationTemplateForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

UpdateLocalizationTemplateForbidden handles this case with default header values.

Forbidden

func NewUpdateLocalizationTemplateForbidden

func NewUpdateLocalizationTemplateForbidden() *UpdateLocalizationTemplateForbidden

NewUpdateLocalizationTemplateForbidden creates a UpdateLocalizationTemplateForbidden with default headers values

func (*UpdateLocalizationTemplateForbidden) Error

func (*UpdateLocalizationTemplateForbidden) GetPayload

func (*UpdateLocalizationTemplateForbidden) ToJSONString

func (o *UpdateLocalizationTemplateForbidden) ToJSONString() string

type UpdateLocalizationTemplateNoContent

type UpdateLocalizationTemplateNoContent struct {
}

UpdateLocalizationTemplateNoContent handles this case with default header values.

No Content

func NewUpdateLocalizationTemplateNoContent

func NewUpdateLocalizationTemplateNoContent() *UpdateLocalizationTemplateNoContent

NewUpdateLocalizationTemplateNoContent creates a UpdateLocalizationTemplateNoContent with default headers values

func (*UpdateLocalizationTemplateNoContent) Error

type UpdateLocalizationTemplateNotFound

type UpdateLocalizationTemplateNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

UpdateLocalizationTemplateNotFound handles this case with default header values.

Not Found

func NewUpdateLocalizationTemplateNotFound

func NewUpdateLocalizationTemplateNotFound() *UpdateLocalizationTemplateNotFound

NewUpdateLocalizationTemplateNotFound creates a UpdateLocalizationTemplateNotFound with default headers values

func (*UpdateLocalizationTemplateNotFound) Error

func (*UpdateLocalizationTemplateNotFound) GetPayload

func (*UpdateLocalizationTemplateNotFound) ToJSONString

func (o *UpdateLocalizationTemplateNotFound) ToJSONString() string

type UpdateLocalizationTemplateParams

type UpdateLocalizationTemplateParams struct {

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

	*/
	Namespace string
	/*TemplateLanguage
	  template language

	*/
	TemplateLanguage string
	/*TemplateSlug
	  template slug

	*/
	TemplateSlug string

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

UpdateLocalizationTemplateParams contains all the parameters to send to the API endpoint for the update localization template operation typically these are written to a http.Request

func NewUpdateLocalizationTemplateParams

func NewUpdateLocalizationTemplateParams() *UpdateLocalizationTemplateParams

NewUpdateLocalizationTemplateParams creates a new UpdateLocalizationTemplateParams object with the default values initialized.

func NewUpdateLocalizationTemplateParamsWithContext

func NewUpdateLocalizationTemplateParamsWithContext(ctx context.Context) *UpdateLocalizationTemplateParams

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

func NewUpdateLocalizationTemplateParamsWithHTTPClient

func NewUpdateLocalizationTemplateParamsWithHTTPClient(client *http.Client) *UpdateLocalizationTemplateParams

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

func NewUpdateLocalizationTemplateParamsWithTimeout

func NewUpdateLocalizationTemplateParamsWithTimeout(timeout time.Duration) *UpdateLocalizationTemplateParams

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

func (*UpdateLocalizationTemplateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update localization template params

func (*UpdateLocalizationTemplateParams) SetBody

SetBody adds the body to the update localization template params

func (*UpdateLocalizationTemplateParams) SetContext

SetContext adds the context to the update localization template params

func (*UpdateLocalizationTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update localization template params

func (*UpdateLocalizationTemplateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update localization template params

func (*UpdateLocalizationTemplateParams) SetNamespace

func (o *UpdateLocalizationTemplateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update localization template params

func (*UpdateLocalizationTemplateParams) SetTemplateLanguage

func (o *UpdateLocalizationTemplateParams) SetTemplateLanguage(templateLanguage string)

SetTemplateLanguage adds the templateLanguage to the update localization template params

func (*UpdateLocalizationTemplateParams) SetTemplateSlug

func (o *UpdateLocalizationTemplateParams) SetTemplateSlug(templateSlug string)

SetTemplateSlug adds the templateSlug to the update localization template params

func (*UpdateLocalizationTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the update localization template params

func (*UpdateLocalizationTemplateParams) WithBody

WithBody adds the body to the update localization template params

func (*UpdateLocalizationTemplateParams) WithContext

WithContext adds the context to the update localization template params

func (*UpdateLocalizationTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update localization template params

func (*UpdateLocalizationTemplateParams) WithNamespace

WithNamespace adds the namespace to the update localization template params

func (*UpdateLocalizationTemplateParams) WithTemplateLanguage

func (o *UpdateLocalizationTemplateParams) WithTemplateLanguage(templateLanguage string) *UpdateLocalizationTemplateParams

WithTemplateLanguage adds the templateLanguage to the update localization template params

func (*UpdateLocalizationTemplateParams) WithTemplateSlug

WithTemplateSlug adds the templateSlug to the update localization template params

func (*UpdateLocalizationTemplateParams) WithTimeout

WithTimeout adds the timeout to the update localization template params

func (*UpdateLocalizationTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLocalizationTemplateReader

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

UpdateLocalizationTemplateReader is a Reader for the UpdateLocalizationTemplate structure.

func (*UpdateLocalizationTemplateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateLocalizationTemplateUnauthorized

type UpdateLocalizationTemplateUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

UpdateLocalizationTemplateUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateLocalizationTemplateUnauthorized

func NewUpdateLocalizationTemplateUnauthorized() *UpdateLocalizationTemplateUnauthorized

NewUpdateLocalizationTemplateUnauthorized creates a UpdateLocalizationTemplateUnauthorized with default headers values

func (*UpdateLocalizationTemplateUnauthorized) Error

func (*UpdateLocalizationTemplateUnauthorized) GetPayload

func (*UpdateLocalizationTemplateUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

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