Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateTemplate(params *CreateTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTemplateNoContent, *CreateTemplateBadRequest, ...)deprecated
- func (a *Client) CreateTemplateShort(params *CreateTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTemplateNoContent, error)
- func (a *Client) DeleteTemplateLocalization(params *DeleteTemplateLocalizationParams, ...) (*DeleteTemplateLocalizationNoContent, *DeleteTemplateLocalizationBadRequest, ...)deprecated
- func (a *Client) DeleteTemplateLocalizationShort(params *DeleteTemplateLocalizationParams, ...) (*DeleteTemplateLocalizationNoContent, error)
- func (a *Client) DeleteTemplateSlug(params *DeleteTemplateSlugParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateSlugNoContent, *DeleteTemplateSlugBadRequest, ...)deprecated
- func (a *Client) DeleteTemplateSlugShort(params *DeleteTemplateSlugParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateSlugNoContent, error)
- func (a *Client) FreeFormNotification(params *FreeFormNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*FreeFormNotificationAccepted, *FreeFormNotificationBadRequest, ...)deprecated
- func (a *Client) FreeFormNotificationShort(params *FreeFormNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*FreeFormNotificationAccepted, error)
- func (a *Client) GetGameTemplate(params *GetGameTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameTemplateOK, *GetGameTemplateBadRequest, *GetGameTemplateUnauthorized, ...)deprecated
- func (a *Client) GetGameTemplateShort(params *GetGameTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameTemplateOK, error)
- func (a *Client) GetLocalizationTemplate(params *GetLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocalizationTemplateOK, *GetLocalizationTemplateBadRequest, ...)deprecated
- func (a *Client) GetLocalizationTemplateShort(params *GetLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocalizationTemplateOK, error)
- func (a *Client) GetSlugTemplate(params *GetSlugTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetSlugTemplateOK, *GetSlugTemplateBadRequest, *GetSlugTemplateUnauthorized, ...)deprecated
- func (a *Client) GetSlugTemplateShort(params *GetSlugTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetSlugTemplateOK, error)
- func (a *Client) NotificationWithTemplate(params *NotificationWithTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*NotificationWithTemplateAccepted, *NotificationWithTemplateBadRequest, ...)deprecated
- func (a *Client) NotificationWithTemplateShort(params *NotificationWithTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*NotificationWithTemplateAccepted, error)
- func (a *Client) PublishTemplate(params *PublishTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PublishTemplateNoContent, *PublishTemplateBadRequest, ...)deprecated
- func (a *Client) PublishTemplateShort(params *PublishTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PublishTemplateNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateLocalizationTemplate(params *UpdateLocalizationTemplateParams, ...) (*UpdateLocalizationTemplateNoContent, *UpdateLocalizationTemplateBadRequest, ...)deprecated
- func (a *Client) UpdateLocalizationTemplateShort(params *UpdateLocalizationTemplateParams, ...) (*UpdateLocalizationTemplateNoContent, error)
- type ClientService
- type CreateTemplateBadRequest
- type CreateTemplateForbidden
- type CreateTemplateNoContent
- type CreateTemplateNotFound
- type CreateTemplateParams
- func NewCreateTemplateParams() *CreateTemplateParams
- func NewCreateTemplateParamsWithContext(ctx context.Context) *CreateTemplateParams
- func NewCreateTemplateParamsWithHTTPClient(client *http.Client) *CreateTemplateParams
- func NewCreateTemplateParamsWithTimeout(timeout time.Duration) *CreateTemplateParams
- func (o *CreateTemplateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateTemplateParams) SetBody(body *lobbyclientmodels.ModelCreateTemplateRequest)
- func (o *CreateTemplateParams) SetContext(ctx context.Context)
- func (o *CreateTemplateParams) SetHTTPClient(client *http.Client)
- func (o *CreateTemplateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateTemplateParams) SetNamespace(namespace string)
- func (o *CreateTemplateParams) SetTimeout(timeout time.Duration)
- func (o *CreateTemplateParams) WithBody(body *lobbyclientmodels.ModelCreateTemplateRequest) *CreateTemplateParams
- func (o *CreateTemplateParams) WithContext(ctx context.Context) *CreateTemplateParams
- func (o *CreateTemplateParams) WithHTTPClient(client *http.Client) *CreateTemplateParams
- func (o *CreateTemplateParams) WithNamespace(namespace string) *CreateTemplateParams
- func (o *CreateTemplateParams) WithTimeout(timeout time.Duration) *CreateTemplateParams
- func (o *CreateTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTemplateReader
- type CreateTemplateUnauthorized
- type DeleteTemplateLocalizationBadRequest
- type DeleteTemplateLocalizationForbidden
- type DeleteTemplateLocalizationNoContent
- type DeleteTemplateLocalizationNotFound
- type DeleteTemplateLocalizationParams
- func NewDeleteTemplateLocalizationParams() *DeleteTemplateLocalizationParams
- func NewDeleteTemplateLocalizationParamsWithContext(ctx context.Context) *DeleteTemplateLocalizationParams
- func NewDeleteTemplateLocalizationParamsWithHTTPClient(client *http.Client) *DeleteTemplateLocalizationParams
- func NewDeleteTemplateLocalizationParamsWithTimeout(timeout time.Duration) *DeleteTemplateLocalizationParams
- func (o *DeleteTemplateLocalizationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteTemplateLocalizationParams) SetContext(ctx context.Context)
- func (o *DeleteTemplateLocalizationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTemplateLocalizationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteTemplateLocalizationParams) SetNamespace(namespace string)
- func (o *DeleteTemplateLocalizationParams) SetTemplateLanguage(templateLanguage string)
- func (o *DeleteTemplateLocalizationParams) SetTemplateSlug(templateSlug string)
- func (o *DeleteTemplateLocalizationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTemplateLocalizationParams) WithContext(ctx context.Context) *DeleteTemplateLocalizationParams
- func (o *DeleteTemplateLocalizationParams) WithHTTPClient(client *http.Client) *DeleteTemplateLocalizationParams
- func (o *DeleteTemplateLocalizationParams) WithNamespace(namespace string) *DeleteTemplateLocalizationParams
- func (o *DeleteTemplateLocalizationParams) WithTemplateLanguage(templateLanguage string) *DeleteTemplateLocalizationParams
- func (o *DeleteTemplateLocalizationParams) WithTemplateSlug(templateSlug string) *DeleteTemplateLocalizationParams
- func (o *DeleteTemplateLocalizationParams) WithTimeout(timeout time.Duration) *DeleteTemplateLocalizationParams
- func (o *DeleteTemplateLocalizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTemplateLocalizationReader
- type DeleteTemplateLocalizationUnauthorized
- type DeleteTemplateSlugBadRequest
- type DeleteTemplateSlugForbidden
- type DeleteTemplateSlugNoContent
- type DeleteTemplateSlugNotFound
- type DeleteTemplateSlugParams
- func NewDeleteTemplateSlugParams() *DeleteTemplateSlugParams
- func NewDeleteTemplateSlugParamsWithContext(ctx context.Context) *DeleteTemplateSlugParams
- func NewDeleteTemplateSlugParamsWithHTTPClient(client *http.Client) *DeleteTemplateSlugParams
- func NewDeleteTemplateSlugParamsWithTimeout(timeout time.Duration) *DeleteTemplateSlugParams
- func (o *DeleteTemplateSlugParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteTemplateSlugParams) SetContext(ctx context.Context)
- func (o *DeleteTemplateSlugParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTemplateSlugParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteTemplateSlugParams) SetNamespace(namespace string)
- func (o *DeleteTemplateSlugParams) SetTemplateSlug(templateSlug string)
- func (o *DeleteTemplateSlugParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTemplateSlugParams) WithContext(ctx context.Context) *DeleteTemplateSlugParams
- func (o *DeleteTemplateSlugParams) WithHTTPClient(client *http.Client) *DeleteTemplateSlugParams
- func (o *DeleteTemplateSlugParams) WithNamespace(namespace string) *DeleteTemplateSlugParams
- func (o *DeleteTemplateSlugParams) WithTemplateSlug(templateSlug string) *DeleteTemplateSlugParams
- func (o *DeleteTemplateSlugParams) WithTimeout(timeout time.Duration) *DeleteTemplateSlugParams
- func (o *DeleteTemplateSlugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTemplateSlugReader
- type DeleteTemplateSlugUnauthorized
- type FreeFormNotificationAccepted
- type FreeFormNotificationBadRequest
- type FreeFormNotificationForbidden
- type FreeFormNotificationNotFound
- type FreeFormNotificationParams
- func NewFreeFormNotificationParams() *FreeFormNotificationParams
- func NewFreeFormNotificationParamsWithContext(ctx context.Context) *FreeFormNotificationParams
- func NewFreeFormNotificationParamsWithHTTPClient(client *http.Client) *FreeFormNotificationParams
- func NewFreeFormNotificationParamsWithTimeout(timeout time.Duration) *FreeFormNotificationParams
- func (o *FreeFormNotificationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FreeFormNotificationParams) SetBody(body *lobbyclientmodels.ModelFreeFormNotificationRequest)
- func (o *FreeFormNotificationParams) SetContext(ctx context.Context)
- func (o *FreeFormNotificationParams) SetHTTPClient(client *http.Client)
- func (o *FreeFormNotificationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FreeFormNotificationParams) SetNamespace(namespace string)
- func (o *FreeFormNotificationParams) SetTimeout(timeout time.Duration)
- func (o *FreeFormNotificationParams) WithBody(body *lobbyclientmodels.ModelFreeFormNotificationRequest) *FreeFormNotificationParams
- func (o *FreeFormNotificationParams) WithContext(ctx context.Context) *FreeFormNotificationParams
- func (o *FreeFormNotificationParams) WithHTTPClient(client *http.Client) *FreeFormNotificationParams
- func (o *FreeFormNotificationParams) WithNamespace(namespace string) *FreeFormNotificationParams
- func (o *FreeFormNotificationParams) WithTimeout(timeout time.Duration) *FreeFormNotificationParams
- func (o *FreeFormNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FreeFormNotificationReader
- type FreeFormNotificationUnauthorized
- type GetGameTemplateBadRequest
- type GetGameTemplateForbidden
- type GetGameTemplateNotFound
- type GetGameTemplateOK
- type GetGameTemplateParams
- func NewGetGameTemplateParams() *GetGameTemplateParams
- func NewGetGameTemplateParamsWithContext(ctx context.Context) *GetGameTemplateParams
- func NewGetGameTemplateParamsWithHTTPClient(client *http.Client) *GetGameTemplateParams
- func NewGetGameTemplateParamsWithTimeout(timeout time.Duration) *GetGameTemplateParams
- func (o *GetGameTemplateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGameTemplateParams) SetContext(ctx context.Context)
- func (o *GetGameTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetGameTemplateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGameTemplateParams) SetNamespace(namespace string)
- func (o *GetGameTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetGameTemplateParams) WithContext(ctx context.Context) *GetGameTemplateParams
- func (o *GetGameTemplateParams) WithHTTPClient(client *http.Client) *GetGameTemplateParams
- func (o *GetGameTemplateParams) WithNamespace(namespace string) *GetGameTemplateParams
- func (o *GetGameTemplateParams) WithTimeout(timeout time.Duration) *GetGameTemplateParams
- func (o *GetGameTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGameTemplateReader
- type GetGameTemplateUnauthorized
- type GetLocalizationTemplateBadRequest
- type GetLocalizationTemplateForbidden
- type GetLocalizationTemplateNotFound
- type GetLocalizationTemplateOK
- type GetLocalizationTemplateParams
- func NewGetLocalizationTemplateParams() *GetLocalizationTemplateParams
- func NewGetLocalizationTemplateParamsWithContext(ctx context.Context) *GetLocalizationTemplateParams
- func NewGetLocalizationTemplateParamsWithHTTPClient(client *http.Client) *GetLocalizationTemplateParams
- func NewGetLocalizationTemplateParamsWithTimeout(timeout time.Duration) *GetLocalizationTemplateParams
- func (o *GetLocalizationTemplateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetLocalizationTemplateParams) SetContext(ctx context.Context)
- func (o *GetLocalizationTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetLocalizationTemplateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetLocalizationTemplateParams) SetNamespace(namespace string)
- func (o *GetLocalizationTemplateParams) SetTemplateLanguage(templateLanguage string)
- func (o *GetLocalizationTemplateParams) SetTemplateSlug(templateSlug string)
- func (o *GetLocalizationTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetLocalizationTemplateParams) WithContext(ctx context.Context) *GetLocalizationTemplateParams
- func (o *GetLocalizationTemplateParams) WithHTTPClient(client *http.Client) *GetLocalizationTemplateParams
- func (o *GetLocalizationTemplateParams) WithNamespace(namespace string) *GetLocalizationTemplateParams
- func (o *GetLocalizationTemplateParams) WithTemplateLanguage(templateLanguage string) *GetLocalizationTemplateParams
- func (o *GetLocalizationTemplateParams) WithTemplateSlug(templateSlug string) *GetLocalizationTemplateParams
- func (o *GetLocalizationTemplateParams) WithTimeout(timeout time.Duration) *GetLocalizationTemplateParams
- func (o *GetLocalizationTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLocalizationTemplateReader
- type GetLocalizationTemplateUnauthorized
- type GetSlugTemplateBadRequest
- type GetSlugTemplateForbidden
- type GetSlugTemplateNotFound
- type GetSlugTemplateOK
- type GetSlugTemplateParams
- func NewGetSlugTemplateParams() *GetSlugTemplateParams
- func NewGetSlugTemplateParamsWithContext(ctx context.Context) *GetSlugTemplateParams
- func NewGetSlugTemplateParamsWithHTTPClient(client *http.Client) *GetSlugTemplateParams
- func NewGetSlugTemplateParamsWithTimeout(timeout time.Duration) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) SetAfter(after *string)
- func (o *GetSlugTemplateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetSlugTemplateParams) SetBefore(before *string)
- func (o *GetSlugTemplateParams) SetContext(ctx context.Context)
- func (o *GetSlugTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetSlugTemplateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetSlugTemplateParams) SetLimit(limit *int64)
- func (o *GetSlugTemplateParams) SetNamespace(namespace string)
- func (o *GetSlugTemplateParams) SetTemplateSlug(templateSlug string)
- func (o *GetSlugTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetSlugTemplateParams) WithAfter(after *string) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) WithBefore(before *string) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) WithContext(ctx context.Context) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) WithHTTPClient(client *http.Client) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) WithLimit(limit *int64) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) WithNamespace(namespace string) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) WithTemplateSlug(templateSlug string) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) WithTimeout(timeout time.Duration) *GetSlugTemplateParams
- func (o *GetSlugTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSlugTemplateReader
- type GetSlugTemplateUnauthorized
- type NotificationWithTemplateAccepted
- type NotificationWithTemplateBadRequest
- type NotificationWithTemplateForbidden
- type NotificationWithTemplateNotFound
- type NotificationWithTemplateParams
- func NewNotificationWithTemplateParams() *NotificationWithTemplateParams
- func NewNotificationWithTemplateParamsWithContext(ctx context.Context) *NotificationWithTemplateParams
- func NewNotificationWithTemplateParamsWithHTTPClient(client *http.Client) *NotificationWithTemplateParams
- func NewNotificationWithTemplateParamsWithTimeout(timeout time.Duration) *NotificationWithTemplateParams
- func (o *NotificationWithTemplateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *NotificationWithTemplateParams) SetBody(body *lobbyclientmodels.ModelNotificationWithTemplateRequest)
- func (o *NotificationWithTemplateParams) SetContext(ctx context.Context)
- func (o *NotificationWithTemplateParams) SetHTTPClient(client *http.Client)
- func (o *NotificationWithTemplateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *NotificationWithTemplateParams) SetNamespace(namespace string)
- func (o *NotificationWithTemplateParams) SetTimeout(timeout time.Duration)
- func (o *NotificationWithTemplateParams) WithBody(body *lobbyclientmodels.ModelNotificationWithTemplateRequest) *NotificationWithTemplateParams
- func (o *NotificationWithTemplateParams) WithContext(ctx context.Context) *NotificationWithTemplateParams
- func (o *NotificationWithTemplateParams) WithHTTPClient(client *http.Client) *NotificationWithTemplateParams
- func (o *NotificationWithTemplateParams) WithNamespace(namespace string) *NotificationWithTemplateParams
- func (o *NotificationWithTemplateParams) WithTimeout(timeout time.Duration) *NotificationWithTemplateParams
- func (o *NotificationWithTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotificationWithTemplateReader
- type NotificationWithTemplateUnauthorized
- type PublishTemplateBadRequest
- type PublishTemplateForbidden
- type PublishTemplateNoContent
- type PublishTemplateNotFound
- type PublishTemplateParams
- func NewPublishTemplateParams() *PublishTemplateParams
- func NewPublishTemplateParamsWithContext(ctx context.Context) *PublishTemplateParams
- func NewPublishTemplateParamsWithHTTPClient(client *http.Client) *PublishTemplateParams
- func NewPublishTemplateParamsWithTimeout(timeout time.Duration) *PublishTemplateParams
- func (o *PublishTemplateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublishTemplateParams) SetContext(ctx context.Context)
- func (o *PublishTemplateParams) SetHTTPClient(client *http.Client)
- func (o *PublishTemplateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublishTemplateParams) SetNamespace(namespace string)
- func (o *PublishTemplateParams) SetTemplateLanguage(templateLanguage string)
- func (o *PublishTemplateParams) SetTemplateSlug(templateSlug string)
- func (o *PublishTemplateParams) SetTimeout(timeout time.Duration)
- func (o *PublishTemplateParams) WithContext(ctx context.Context) *PublishTemplateParams
- func (o *PublishTemplateParams) WithHTTPClient(client *http.Client) *PublishTemplateParams
- func (o *PublishTemplateParams) WithNamespace(namespace string) *PublishTemplateParams
- func (o *PublishTemplateParams) WithTemplateLanguage(templateLanguage string) *PublishTemplateParams
- func (o *PublishTemplateParams) WithTemplateSlug(templateSlug string) *PublishTemplateParams
- func (o *PublishTemplateParams) WithTimeout(timeout time.Duration) *PublishTemplateParams
- func (o *PublishTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublishTemplateReader
- type PublishTemplateUnauthorized
- type UpdateLocalizationTemplateBadRequest
- type UpdateLocalizationTemplateForbidden
- type UpdateLocalizationTemplateNoContent
- type UpdateLocalizationTemplateNotFound
- type UpdateLocalizationTemplateParams
- func NewUpdateLocalizationTemplateParams() *UpdateLocalizationTemplateParams
- func NewUpdateLocalizationTemplateParamsWithContext(ctx context.Context) *UpdateLocalizationTemplateParams
- func NewUpdateLocalizationTemplateParamsWithHTTPClient(client *http.Client) *UpdateLocalizationTemplateParams
- func NewUpdateLocalizationTemplateParamsWithTimeout(timeout time.Duration) *UpdateLocalizationTemplateParams
- func (o *UpdateLocalizationTemplateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateLocalizationTemplateParams) SetBody(body *lobbyclientmodels.ModelUpdateTemplateRequest)
- func (o *UpdateLocalizationTemplateParams) SetContext(ctx context.Context)
- func (o *UpdateLocalizationTemplateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateLocalizationTemplateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateLocalizationTemplateParams) SetNamespace(namespace string)
- func (o *UpdateLocalizationTemplateParams) SetTemplateLanguage(templateLanguage string)
- func (o *UpdateLocalizationTemplateParams) SetTemplateSlug(templateSlug string)
- func (o *UpdateLocalizationTemplateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateLocalizationTemplateParams) WithBody(body *lobbyclientmodels.ModelUpdateTemplateRequest) *UpdateLocalizationTemplateParams
- func (o *UpdateLocalizationTemplateParams) WithContext(ctx context.Context) *UpdateLocalizationTemplateParams
- func (o *UpdateLocalizationTemplateParams) WithHTTPClient(client *http.Client) *UpdateLocalizationTemplateParams
- func (o *UpdateLocalizationTemplateParams) WithNamespace(namespace string) *UpdateLocalizationTemplateParams
- func (o *UpdateLocalizationTemplateParams) WithTemplateLanguage(templateLanguage string) *UpdateLocalizationTemplateParams
- func (o *UpdateLocalizationTemplateParams) WithTemplateSlug(templateSlug string) *UpdateLocalizationTemplateParams
- func (o *UpdateLocalizationTemplateParams) WithTimeout(timeout time.Duration) *UpdateLocalizationTemplateParams
- func (o *UpdateLocalizationTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateLocalizationTemplateReader
- type UpdateLocalizationTemplateUnauthorized
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
func (a *Client) CreateTemplate(params *CreateTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTemplateNoContent, *CreateTemplateBadRequest, *CreateTemplateUnauthorized, *CreateTemplateForbidden, *CreateTemplateNotFound, error)
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
func (a *Client) DeleteTemplateLocalization(params *DeleteTemplateLocalizationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateLocalizationNoContent, *DeleteTemplateLocalizationBadRequest, *DeleteTemplateLocalizationUnauthorized, *DeleteTemplateLocalizationForbidden, *DeleteTemplateLocalizationNotFound, error)
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
func (a *Client) DeleteTemplateSlug(params *DeleteTemplateSlugParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTemplateSlugNoContent, *DeleteTemplateSlugBadRequest, *DeleteTemplateSlugUnauthorized, *DeleteTemplateSlugForbidden, *DeleteTemplateSlugNotFound, error)
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
func (a *Client) FreeFormNotification(params *FreeFormNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*FreeFormNotificationAccepted, *FreeFormNotificationBadRequest, *FreeFormNotificationUnauthorized, *FreeFormNotificationForbidden, *FreeFormNotificationNotFound, error)
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
func (a *Client) GetGameTemplate(params *GetGameTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameTemplateOK, *GetGameTemplateBadRequest, *GetGameTemplateUnauthorized, *GetGameTemplateForbidden, *GetGameTemplateNotFound, error)
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
func (a *Client) GetLocalizationTemplate(params *GetLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocalizationTemplateOK, *GetLocalizationTemplateBadRequest, *GetLocalizationTemplateUnauthorized, *GetLocalizationTemplateForbidden, *GetLocalizationTemplateNotFound, error)
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
func (a *Client) GetSlugTemplate(params *GetSlugTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetSlugTemplateOK, *GetSlugTemplateBadRequest, *GetSlugTemplateUnauthorized, *GetSlugTemplateForbidden, *GetSlugTemplateNotFound, error)
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
func (a *Client) NotificationWithTemplate(params *NotificationWithTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*NotificationWithTemplateAccepted, *NotificationWithTemplateBadRequest, *NotificationWithTemplateUnauthorized, *NotificationWithTemplateForbidden, *NotificationWithTemplateNotFound, error)
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
func (a *Client) PublishTemplate(params *PublishTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*PublishTemplateNoContent, *PublishTemplateBadRequest, *PublishTemplateUnauthorized, *PublishTemplateForbidden, *PublishTemplateNotFound, error)
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
func (a *Client) UpdateLocalizationTemplate(params *UpdateLocalizationTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateLocalizationTemplateNoContent, *UpdateLocalizationTemplateBadRequest, *UpdateLocalizationTemplateUnauthorized, *UpdateLocalizationTemplateForbidden, *UpdateLocalizationTemplateNotFound, error)
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 (o *CreateTemplateBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *CreateTemplateForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *CreateTemplateNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *CreateTemplateParams) SetBody(body *lobbyclientmodels.ModelCreateTemplateRequest)
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 ¶
func (o *CreateTemplateParams) WithBody(body *lobbyclientmodels.ModelCreateTemplateRequest) *CreateTemplateParams
WithBody adds the body to the create template params
func (*CreateTemplateParams) WithContext ¶
func (o *CreateTemplateParams) WithContext(ctx context.Context) *CreateTemplateParams
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 {
}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 (o *CreateTemplateUnauthorized) Error() string
func (*CreateTemplateUnauthorized) GetPayload ¶
func (o *CreateTemplateUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *DeleteTemplateLocalizationBadRequest) Error() string
func (*DeleteTemplateLocalizationBadRequest) GetPayload ¶
func (o *DeleteTemplateLocalizationBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *DeleteTemplateLocalizationForbidden) Error() string
func (*DeleteTemplateLocalizationForbidden) GetPayload ¶
func (o *DeleteTemplateLocalizationForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *DeleteTemplateLocalizationNoContent) Error() string
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 (o *DeleteTemplateLocalizationNotFound) Error() string
func (*DeleteTemplateLocalizationNotFound) GetPayload ¶
func (o *DeleteTemplateLocalizationNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *DeleteTemplateLocalizationParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteTemplateLocalizationParams) WithContext(ctx context.Context) *DeleteTemplateLocalizationParams
WithContext adds the context to the delete template localization params
func (*DeleteTemplateLocalizationParams) WithHTTPClient ¶
func (o *DeleteTemplateLocalizationParams) WithHTTPClient(client *http.Client) *DeleteTemplateLocalizationParams
WithHTTPClient adds the HTTPClient to the delete template localization params
func (*DeleteTemplateLocalizationParams) WithNamespace ¶
func (o *DeleteTemplateLocalizationParams) WithNamespace(namespace string) *DeleteTemplateLocalizationParams
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 ¶
func (o *DeleteTemplateLocalizationParams) WithTemplateSlug(templateSlug string) *DeleteTemplateLocalizationParams
WithTemplateSlug adds the templateSlug to the delete template localization params
func (*DeleteTemplateLocalizationParams) WithTimeout ¶
func (o *DeleteTemplateLocalizationParams) WithTimeout(timeout time.Duration) *DeleteTemplateLocalizationParams
WithTimeout adds the timeout to the delete template localization params
func (*DeleteTemplateLocalizationParams) WriteToRequest ¶
func (o *DeleteTemplateLocalizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteTemplateLocalizationUnauthorized) Error() string
func (*DeleteTemplateLocalizationUnauthorized) GetPayload ¶
func (o *DeleteTemplateLocalizationUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
func (*DeleteTemplateLocalizationUnauthorized) ToJSONString ¶
func (o *DeleteTemplateLocalizationUnauthorized) ToJSONString() string
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 (o *DeleteTemplateSlugBadRequest) Error() string
func (*DeleteTemplateSlugBadRequest) GetPayload ¶
func (o *DeleteTemplateSlugBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *DeleteTemplateSlugForbidden) Error() string
func (*DeleteTemplateSlugForbidden) GetPayload ¶
func (o *DeleteTemplateSlugForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *DeleteTemplateSlugNoContent) Error() string
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 (o *DeleteTemplateSlugNotFound) Error() string
func (*DeleteTemplateSlugNotFound) GetPayload ¶
func (o *DeleteTemplateSlugNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *DeleteTemplateSlugParams) WithContext(ctx context.Context) *DeleteTemplateSlugParams
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 ¶
func (o *DeleteTemplateSlugParams) WithTimeout(timeout time.Duration) *DeleteTemplateSlugParams
WithTimeout adds the timeout to the delete template slug params
func (*DeleteTemplateSlugParams) WriteToRequest ¶
func (o *DeleteTemplateSlugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteTemplateSlugUnauthorized) Error() string
func (*DeleteTemplateSlugUnauthorized) GetPayload ¶
func (o *DeleteTemplateSlugUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *FreeFormNotificationAccepted) Error() string
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 (o *FreeFormNotificationBadRequest) Error() string
func (*FreeFormNotificationBadRequest) GetPayload ¶
func (o *FreeFormNotificationBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *FreeFormNotificationForbidden) Error() string
func (*FreeFormNotificationForbidden) GetPayload ¶
func (o *FreeFormNotificationForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *FreeFormNotificationNotFound) Error() string
func (*FreeFormNotificationNotFound) GetPayload ¶
func (o *FreeFormNotificationNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *FreeFormNotificationParams) SetBody(body *lobbyclientmodels.ModelFreeFormNotificationRequest)
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 ¶
func (o *FreeFormNotificationParams) WithBody(body *lobbyclientmodels.ModelFreeFormNotificationRequest) *FreeFormNotificationParams
WithBody adds the body to the free form notification params
func (*FreeFormNotificationParams) WithContext ¶
func (o *FreeFormNotificationParams) WithContext(ctx context.Context) *FreeFormNotificationParams
WithContext adds the context to the free form notification params
func (*FreeFormNotificationParams) WithHTTPClient ¶
func (o *FreeFormNotificationParams) WithHTTPClient(client *http.Client) *FreeFormNotificationParams
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 ¶
func (o *FreeFormNotificationParams) WithTimeout(timeout time.Duration) *FreeFormNotificationParams
WithTimeout adds the timeout to the free form notification params
func (*FreeFormNotificationParams) WriteToRequest ¶
func (o *FreeFormNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *FreeFormNotificationUnauthorized) Error() string
func (*FreeFormNotificationUnauthorized) GetPayload ¶
func (o *FreeFormNotificationUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetGameTemplateBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetGameTemplateForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetGameTemplateNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetGameTemplateOK) GetPayload() []*lobbyclientmodels.ModelTemplateResponse
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 ¶
func (o *GetGameTemplateParams) WithContext(ctx context.Context) *GetGameTemplateParams
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 {
}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 (o *GetGameTemplateUnauthorized) Error() string
func (*GetGameTemplateUnauthorized) GetPayload ¶
func (o *GetGameTemplateUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetLocalizationTemplateBadRequest) Error() string
func (*GetLocalizationTemplateBadRequest) GetPayload ¶
func (o *GetLocalizationTemplateBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetLocalizationTemplateForbidden) Error() string
func (*GetLocalizationTemplateForbidden) GetPayload ¶
func (o *GetLocalizationTemplateForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetLocalizationTemplateNotFound) Error() string
func (*GetLocalizationTemplateNotFound) GetPayload ¶
func (o *GetLocalizationTemplateNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetLocalizationTemplateOK) GetPayload() *lobbyclientmodels.ModelTemplateLocalization
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 ¶
func (o *GetLocalizationTemplateParams) WithContext(ctx context.Context) *GetLocalizationTemplateParams
WithContext adds the context to the get localization template params
func (*GetLocalizationTemplateParams) WithHTTPClient ¶
func (o *GetLocalizationTemplateParams) WithHTTPClient(client *http.Client) *GetLocalizationTemplateParams
WithHTTPClient adds the HTTPClient to the get localization template params
func (*GetLocalizationTemplateParams) WithNamespace ¶
func (o *GetLocalizationTemplateParams) WithNamespace(namespace string) *GetLocalizationTemplateParams
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 ¶
func (o *GetLocalizationTemplateParams) WithTimeout(timeout time.Duration) *GetLocalizationTemplateParams
WithTimeout adds the timeout to the get localization template params
func (*GetLocalizationTemplateParams) WriteToRequest ¶
func (o *GetLocalizationTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetLocalizationTemplateUnauthorized) Error() string
func (*GetLocalizationTemplateUnauthorized) GetPayload ¶
func (o *GetLocalizationTemplateUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetSlugTemplateBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetSlugTemplateForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetSlugTemplateNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetSlugTemplateOK) GetPayload() *lobbyclientmodels.ModelTemplateLocalizationResponse
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 ¶
func (o *GetSlugTemplateParams) WithContext(ctx context.Context) *GetSlugTemplateParams
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 {
}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 (o *GetSlugTemplateUnauthorized) Error() string
func (*GetSlugTemplateUnauthorized) GetPayload ¶
func (o *GetSlugTemplateUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *NotificationWithTemplateAccepted) Error() string
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 (o *NotificationWithTemplateBadRequest) Error() string
func (*NotificationWithTemplateBadRequest) GetPayload ¶
func (o *NotificationWithTemplateBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *NotificationWithTemplateForbidden) Error() string
func (*NotificationWithTemplateForbidden) GetPayload ¶
func (o *NotificationWithTemplateForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *NotificationWithTemplateNotFound) Error() string
func (*NotificationWithTemplateNotFound) GetPayload ¶
func (o *NotificationWithTemplateNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *NotificationWithTemplateParams) SetBody(body *lobbyclientmodels.ModelNotificationWithTemplateRequest)
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 ¶
func (o *NotificationWithTemplateParams) WithBody(body *lobbyclientmodels.ModelNotificationWithTemplateRequest) *NotificationWithTemplateParams
WithBody adds the body to the notification with template params
func (*NotificationWithTemplateParams) WithContext ¶
func (o *NotificationWithTemplateParams) WithContext(ctx context.Context) *NotificationWithTemplateParams
WithContext adds the context to the notification with template params
func (*NotificationWithTemplateParams) WithHTTPClient ¶
func (o *NotificationWithTemplateParams) WithHTTPClient(client *http.Client) *NotificationWithTemplateParams
WithHTTPClient adds the HTTPClient to the notification with template params
func (*NotificationWithTemplateParams) WithNamespace ¶
func (o *NotificationWithTemplateParams) WithNamespace(namespace string) *NotificationWithTemplateParams
WithNamespace adds the namespace to the notification with template params
func (*NotificationWithTemplateParams) WithTimeout ¶
func (o *NotificationWithTemplateParams) WithTimeout(timeout time.Duration) *NotificationWithTemplateParams
WithTimeout adds the timeout to the notification with template params
func (*NotificationWithTemplateParams) WriteToRequest ¶
func (o *NotificationWithTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *NotificationWithTemplateUnauthorized) Error() string
func (*NotificationWithTemplateUnauthorized) GetPayload ¶
func (o *NotificationWithTemplateUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *PublishTemplateBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *PublishTemplateForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *PublishTemplateNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *PublishTemplateParams) WithContext(ctx context.Context) *PublishTemplateParams
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 {
}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 (o *PublishTemplateUnauthorized) Error() string
func (*PublishTemplateUnauthorized) GetPayload ¶
func (o *PublishTemplateUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *UpdateLocalizationTemplateBadRequest) Error() string
func (*UpdateLocalizationTemplateBadRequest) GetPayload ¶
func (o *UpdateLocalizationTemplateBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *UpdateLocalizationTemplateForbidden) Error() string
func (*UpdateLocalizationTemplateForbidden) GetPayload ¶
func (o *UpdateLocalizationTemplateForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *UpdateLocalizationTemplateNoContent) Error() string
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 (o *UpdateLocalizationTemplateNotFound) Error() string
func (*UpdateLocalizationTemplateNotFound) GetPayload ¶
func (o *UpdateLocalizationTemplateNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 ¶
func (o *UpdateLocalizationTemplateParams) SetBody(body *lobbyclientmodels.ModelUpdateTemplateRequest)
SetBody adds the body to the update localization template params
func (*UpdateLocalizationTemplateParams) SetContext ¶
func (o *UpdateLocalizationTemplateParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateLocalizationTemplateParams) WithBody(body *lobbyclientmodels.ModelUpdateTemplateRequest) *UpdateLocalizationTemplateParams
WithBody adds the body to the update localization template params
func (*UpdateLocalizationTemplateParams) WithContext ¶
func (o *UpdateLocalizationTemplateParams) WithContext(ctx context.Context) *UpdateLocalizationTemplateParams
WithContext adds the context to the update localization template params
func (*UpdateLocalizationTemplateParams) WithHTTPClient ¶
func (o *UpdateLocalizationTemplateParams) WithHTTPClient(client *http.Client) *UpdateLocalizationTemplateParams
WithHTTPClient adds the HTTPClient to the update localization template params
func (*UpdateLocalizationTemplateParams) WithNamespace ¶
func (o *UpdateLocalizationTemplateParams) WithNamespace(namespace string) *UpdateLocalizationTemplateParams
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 ¶
func (o *UpdateLocalizationTemplateParams) WithTemplateSlug(templateSlug string) *UpdateLocalizationTemplateParams
WithTemplateSlug adds the templateSlug to the update localization template params
func (*UpdateLocalizationTemplateParams) WithTimeout ¶
func (o *UpdateLocalizationTemplateParams) WithTimeout(timeout time.Duration) *UpdateLocalizationTemplateParams
WithTimeout adds the timeout to the update localization template params
func (*UpdateLocalizationTemplateParams) WriteToRequest ¶
func (o *UpdateLocalizationTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *UpdateLocalizationTemplateUnauthorized) Error() string
func (*UpdateLocalizationTemplateUnauthorized) GetPayload ¶
func (o *UpdateLocalizationTemplateUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
func (*UpdateLocalizationTemplateUnauthorized) ToJSONString ¶
func (o *UpdateLocalizationTemplateUnauthorized) ToJSONString() string
Source Files
¶
- admin_client.go
- create_template_parameters.go
- create_template_responses.go
- delete_template_localization_parameters.go
- delete_template_localization_responses.go
- delete_template_slug_parameters.go
- delete_template_slug_responses.go
- free_form_notification_parameters.go
- free_form_notification_responses.go
- get_game_template_parameters.go
- get_game_template_responses.go
- get_localization_template_parameters.go
- get_localization_template_responses.go
- get_slug_template_parameters.go
- get_slug_template_responses.go
- notification_with_template_parameters.go
- notification_with_template_responses.go
- publish_template_parameters.go
- publish_template_responses.go
- update_localization_template_parameters.go
- update_localization_template_responses.go