notification_subscription

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkSaveSubscriptionAppNotificationV2Forbidden

type BulkSaveSubscriptionAppNotificationV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

BulkSaveSubscriptionAppNotificationV2Forbidden handles this case with default header values.

Forbidden

func NewBulkSaveSubscriptionAppNotificationV2Forbidden

func NewBulkSaveSubscriptionAppNotificationV2Forbidden() *BulkSaveSubscriptionAppNotificationV2Forbidden

NewBulkSaveSubscriptionAppNotificationV2Forbidden creates a BulkSaveSubscriptionAppNotificationV2Forbidden with default headers values

func (*BulkSaveSubscriptionAppNotificationV2Forbidden) Error

func (*BulkSaveSubscriptionAppNotificationV2Forbidden) GetPayload

func (*BulkSaveSubscriptionAppNotificationV2Forbidden) ToJSONString

type BulkSaveSubscriptionAppNotificationV2InternalServerError

type BulkSaveSubscriptionAppNotificationV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

BulkSaveSubscriptionAppNotificationV2InternalServerError handles this case with default header values.

Internal Server Error

func NewBulkSaveSubscriptionAppNotificationV2InternalServerError

func NewBulkSaveSubscriptionAppNotificationV2InternalServerError() *BulkSaveSubscriptionAppNotificationV2InternalServerError

NewBulkSaveSubscriptionAppNotificationV2InternalServerError creates a BulkSaveSubscriptionAppNotificationV2InternalServerError with default headers values

func (*BulkSaveSubscriptionAppNotificationV2InternalServerError) Error

func (*BulkSaveSubscriptionAppNotificationV2InternalServerError) GetPayload

func (*BulkSaveSubscriptionAppNotificationV2InternalServerError) ToJSONString

type BulkSaveSubscriptionAppNotificationV2NotFound

type BulkSaveSubscriptionAppNotificationV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

BulkSaveSubscriptionAppNotificationV2NotFound handles this case with default header values.

Not Found

func NewBulkSaveSubscriptionAppNotificationV2NotFound

func NewBulkSaveSubscriptionAppNotificationV2NotFound() *BulkSaveSubscriptionAppNotificationV2NotFound

NewBulkSaveSubscriptionAppNotificationV2NotFound creates a BulkSaveSubscriptionAppNotificationV2NotFound with default headers values

func (*BulkSaveSubscriptionAppNotificationV2NotFound) Error

func (*BulkSaveSubscriptionAppNotificationV2NotFound) GetPayload

func (*BulkSaveSubscriptionAppNotificationV2NotFound) ToJSONString

type BulkSaveSubscriptionAppNotificationV2OK

type BulkSaveSubscriptionAppNotificationV2OK struct {
	Payload *csmclientmodels.ApimodelGetNotificationSubscriberListResponse
}

BulkSaveSubscriptionAppNotificationV2OK handles this case with default header values.

func NewBulkSaveSubscriptionAppNotificationV2OK

func NewBulkSaveSubscriptionAppNotificationV2OK() *BulkSaveSubscriptionAppNotificationV2OK

NewBulkSaveSubscriptionAppNotificationV2OK creates a BulkSaveSubscriptionAppNotificationV2OK with default headers values

func (*BulkSaveSubscriptionAppNotificationV2OK) Error

func (*BulkSaveSubscriptionAppNotificationV2OK) GetPayload

func (*BulkSaveSubscriptionAppNotificationV2OK) ToJSONString

type BulkSaveSubscriptionAppNotificationV2Params

type BulkSaveSubscriptionAppNotificationV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.ApimodelBulkSubscribeRequest
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

BulkSaveSubscriptionAppNotificationV2Params contains all the parameters to send to the API endpoint for the bulk save subscription app notification v2 operation typically these are written to a http.Request

func NewBulkSaveSubscriptionAppNotificationV2Params

func NewBulkSaveSubscriptionAppNotificationV2Params() *BulkSaveSubscriptionAppNotificationV2Params

NewBulkSaveSubscriptionAppNotificationV2Params creates a new BulkSaveSubscriptionAppNotificationV2Params object with the default values initialized.

func NewBulkSaveSubscriptionAppNotificationV2ParamsWithContext

func NewBulkSaveSubscriptionAppNotificationV2ParamsWithContext(ctx context.Context) *BulkSaveSubscriptionAppNotificationV2Params

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

func NewBulkSaveSubscriptionAppNotificationV2ParamsWithHTTPClient

func NewBulkSaveSubscriptionAppNotificationV2ParamsWithHTTPClient(client *http.Client) *BulkSaveSubscriptionAppNotificationV2Params

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

func NewBulkSaveSubscriptionAppNotificationV2ParamsWithTimeout

func NewBulkSaveSubscriptionAppNotificationV2ParamsWithTimeout(timeout time.Duration) *BulkSaveSubscriptionAppNotificationV2Params

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

func (*BulkSaveSubscriptionAppNotificationV2Params) SetApp

SetApp adds the app to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) SetBody

SetBody adds the body to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) SetContext

SetContext adds the context to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) SetFlightId

func (o *BulkSaveSubscriptionAppNotificationV2Params) SetFlightId(flightId string)

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

func (*BulkSaveSubscriptionAppNotificationV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) SetNamespace

func (o *BulkSaveSubscriptionAppNotificationV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) SetTimeout

SetTimeout adds the timeout to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) WithApp

WithApp adds the app to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) WithBody

WithBody adds the body to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) WithContext

WithContext adds the context to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) WithNamespace

WithNamespace adds the namespace to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) WithTimeout

WithTimeout adds the timeout to the bulk save subscription app notification v2 params

func (*BulkSaveSubscriptionAppNotificationV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkSaveSubscriptionAppNotificationV2Reader

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

BulkSaveSubscriptionAppNotificationV2Reader is a Reader for the BulkSaveSubscriptionAppNotificationV2 structure.

func (*BulkSaveSubscriptionAppNotificationV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkSaveSubscriptionAppNotificationV2Unauthorized

type BulkSaveSubscriptionAppNotificationV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

BulkSaveSubscriptionAppNotificationV2Unauthorized handles this case with default header values.

Unauthorized

func NewBulkSaveSubscriptionAppNotificationV2Unauthorized

func NewBulkSaveSubscriptionAppNotificationV2Unauthorized() *BulkSaveSubscriptionAppNotificationV2Unauthorized

NewBulkSaveSubscriptionAppNotificationV2Unauthorized creates a BulkSaveSubscriptionAppNotificationV2Unauthorized with default headers values

func (*BulkSaveSubscriptionAppNotificationV2Unauthorized) Error

func (*BulkSaveSubscriptionAppNotificationV2Unauthorized) GetPayload

func (*BulkSaveSubscriptionAppNotificationV2Unauthorized) ToJSONString

type Client

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

Client for notification subscription API

func (*Client) BulkSaveSubscriptionAppNotificationV2 deprecated

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

BulkSaveSubscriptionAppNotificationV2 bulk update the subscription of the users Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [UPDATE]`

Update the subscription the user(s) is an app notification.

Request body: - notificationType : type of the app notification to be subscribed - Required. - values: - "all" - "app-down" - "critical-vulnerability" - subscribers : user(s) notification subscription to be updated - Required.

func (*Client) BulkSaveSubscriptionAppNotificationV2Short

func (a *Client) BulkSaveSubscriptionAppNotificationV2Short(params *BulkSaveSubscriptionAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*BulkSaveSubscriptionAppNotificationV2OK, error)

BulkSaveSubscriptionAppNotificationV2Short bulk update the subscription of the users Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [UPDATE]`

Update the subscription the user(s) is an app notification.

Request body: - notificationType : type of the app notification to be subscribed - Required. - values: - "all" - "app-down" - "critical-vulnerability" - subscribers : user(s) notification subscription to be updated - Required.

func (*Client) DeleteSubscriptionAppNotificationByUserIDV2 deprecated

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

DeleteSubscriptionAppNotificationByUserIDV2 remove other person subscription by user id Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [DELETE]`

Remove a user from the notification subscription by user ID.

func (*Client) DeleteSubscriptionAppNotificationByUserIDV2Short

func (a *Client) DeleteSubscriptionAppNotificationByUserIDV2Short(params *DeleteSubscriptionAppNotificationByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionAppNotificationByUserIDV2OK, error)

DeleteSubscriptionAppNotificationByUserIDV2Short remove other person subscription by user id Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [DELETE]`

Remove a user from the notification subscription by user ID.

func (*Client) DeleteSubscriptionAppNotificationV2 deprecated

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

DeleteSubscriptionAppNotificationV2 remove other person subscription Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [DELETE]`

Remove a user from the notification subscription.

func (*Client) DeleteSubscriptionAppNotificationV2Short

func (a *Client) DeleteSubscriptionAppNotificationV2Short(params *DeleteSubscriptionAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionAppNotificationV2OK, error)

DeleteSubscriptionAppNotificationV2Short remove other person subscription Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [DELETE]`

Remove a user from the notification subscription.

func (*Client) GetNotificationSubscriberListV2 deprecated

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

GetNotificationSubscriberListV2 get a list of the app notification subscriber Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [READ]`

Request param: - notificationType : type of the subscribed app notification - values: - all - app-down - critical-vulnerability

Get a list of the app notification subscriber

func (*Client) GetNotificationSubscriberListV2Short

func (a *Client) GetNotificationSubscriberListV2Short(params *GetNotificationSubscriberListV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetNotificationSubscriberListV2OK, error)

GetNotificationSubscriberListV2Short get a list of the app notification subscriber Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [READ]`

Request param: - notificationType : type of the subscribed app notification - values: - all - app-down - critical-vulnerability

Get a list of the app notification subscriber

func (*Client) GetSubscriptionV2Handler deprecated

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

GetSubscriptionV2Handler get subscription status of a user Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SELF:SUBSCRIPTION [READ]`

Get Subscription status of a user

func (*Client) GetSubscriptionV2HandlerShort

func (a *Client) GetSubscriptionV2HandlerShort(params *GetSubscriptionV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionV2HandlerOK, error)

GetSubscriptionV2HandlerShort get subscription status of a user Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SELF:SUBSCRIPTION [READ]`

Get Subscription status of a user

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SubscribeAppNotificationV2 deprecated

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

SubscribeAppNotificationV2 subscribe the user(s) an app notification Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [CREATE]`

Subscribe the user(s) an app notification.

Request body: - notificationType : type of the app notification to be subscribed - Required. - values: -"all" - "app-down" - "critical-vulnerability" - subscribers : user(s) to subscribe the app notification - Required.

func (*Client) SubscribeAppNotificationV2Short

func (a *Client) SubscribeAppNotificationV2Short(params *SubscribeAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*SubscribeAppNotificationV2OK, error)

SubscribeAppNotificationV2Short subscribe the user(s) an app notification Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SUBSCRIPTION [CREATE]`

Subscribe the user(s) an app notification.

Request body: - notificationType : type of the app notification to be subscribed - Required. - values: -"all" - "app-down" - "critical-vulnerability" - subscribers : user(s) to subscribe the app notification - Required.

func (*Client) SubscribeV2Handler deprecated

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

SubscribeV2Handler subscribe to app down notification Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SELF:SUBSCRIPTION [CREATE]`

Subscribe to app down notification Request body: - notificationType : type of the app notification to be subscribed - Required. - values: - "all" - "app-down" - "critical-vulnerability"

func (*Client) SubscribeV2HandlerShort

func (a *Client) SubscribeV2HandlerShort(params *SubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeV2HandlerNoContent, error)

SubscribeV2HandlerShort subscribe to app down notification Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SELF:SUBSCRIPTION [CREATE]`

Subscribe to app down notification Request body: - notificationType : type of the app notification to be subscribed - Required. - values: - "all" - "app-down" - "critical-vulnerability"

func (*Client) UnsubscribeV2Handler deprecated

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

UnsubscribeV2Handler unsubscribe to app down notification Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SELF:SUBSCRIPTION [DELETE]`

Unsubscribe to app down notification

func (*Client) UnsubscribeV2HandlerShort

func (a *Client) UnsubscribeV2HandlerShort(params *UnsubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeV2HandlerNoContent, error)

UnsubscribeV2HandlerShort unsubscribe to app down notification Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP:ALERT:SELF:SUBSCRIPTION [DELETE]`

Unsubscribe to app down notification

type ClientService

type ClientService interface {
	GetNotificationSubscriberListV2(params *GetNotificationSubscriberListV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetNotificationSubscriberListV2OK, *GetNotificationSubscriberListV2Unauthorized, *GetNotificationSubscriberListV2Forbidden, *GetNotificationSubscriberListV2NotFound, *GetNotificationSubscriberListV2InternalServerError, error)
	GetNotificationSubscriberListV2Short(params *GetNotificationSubscriberListV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetNotificationSubscriberListV2OK, error)
	BulkSaveSubscriptionAppNotificationV2(params *BulkSaveSubscriptionAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*BulkSaveSubscriptionAppNotificationV2OK, *BulkSaveSubscriptionAppNotificationV2Unauthorized, *BulkSaveSubscriptionAppNotificationV2Forbidden, *BulkSaveSubscriptionAppNotificationV2NotFound, *BulkSaveSubscriptionAppNotificationV2InternalServerError, error)
	BulkSaveSubscriptionAppNotificationV2Short(params *BulkSaveSubscriptionAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*BulkSaveSubscriptionAppNotificationV2OK, error)
	SubscribeAppNotificationV2(params *SubscribeAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*SubscribeAppNotificationV2OK, *SubscribeAppNotificationV2Unauthorized, *SubscribeAppNotificationV2Forbidden, *SubscribeAppNotificationV2NotFound, *SubscribeAppNotificationV2InternalServerError, error)
	SubscribeAppNotificationV2Short(params *SubscribeAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*SubscribeAppNotificationV2OK, error)
	GetSubscriptionV2Handler(params *GetSubscriptionV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionV2HandlerOK, *GetSubscriptionV2HandlerUnauthorized, *GetSubscriptionV2HandlerForbidden, *GetSubscriptionV2HandlerNotFound, *GetSubscriptionV2HandlerInternalServerError, error)
	GetSubscriptionV2HandlerShort(params *GetSubscriptionV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionV2HandlerOK, error)
	SubscribeV2Handler(params *SubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeV2HandlerNoContent, *SubscribeV2HandlerUnauthorized, *SubscribeV2HandlerForbidden, *SubscribeV2HandlerNotFound, *SubscribeV2HandlerInternalServerError, error)
	SubscribeV2HandlerShort(params *SubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeV2HandlerNoContent, error)
	UnsubscribeV2Handler(params *UnsubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeV2HandlerNoContent, *UnsubscribeV2HandlerUnauthorized, *UnsubscribeV2HandlerForbidden, *UnsubscribeV2HandlerNotFound, *UnsubscribeV2HandlerInternalServerError, error)
	UnsubscribeV2HandlerShort(params *UnsubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeV2HandlerNoContent, error)
	DeleteSubscriptionAppNotificationByUserIDV2(params *DeleteSubscriptionAppNotificationByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionAppNotificationByUserIDV2OK, *DeleteSubscriptionAppNotificationByUserIDV2Unauthorized, *DeleteSubscriptionAppNotificationByUserIDV2Forbidden, *DeleteSubscriptionAppNotificationByUserIDV2NotFound, *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError, error)
	DeleteSubscriptionAppNotificationByUserIDV2Short(params *DeleteSubscriptionAppNotificationByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionAppNotificationByUserIDV2OK, error)
	DeleteSubscriptionAppNotificationV2(params *DeleteSubscriptionAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionAppNotificationV2OK, *DeleteSubscriptionAppNotificationV2Unauthorized, *DeleteSubscriptionAppNotificationV2Forbidden, *DeleteSubscriptionAppNotificationV2NotFound, *DeleteSubscriptionAppNotificationV2InternalServerError, error)
	DeleteSubscriptionAppNotificationV2Short(params *DeleteSubscriptionAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionAppNotificationV2OK, 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 notification subscription API client.

type DeleteSubscriptionAppNotificationByUserIDV2Forbidden

type DeleteSubscriptionAppNotificationByUserIDV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationByUserIDV2Forbidden handles this case with default header values.

Forbidden

func NewDeleteSubscriptionAppNotificationByUserIDV2Forbidden

func NewDeleteSubscriptionAppNotificationByUserIDV2Forbidden() *DeleteSubscriptionAppNotificationByUserIDV2Forbidden

NewDeleteSubscriptionAppNotificationByUserIDV2Forbidden creates a DeleteSubscriptionAppNotificationByUserIDV2Forbidden with default headers values

func (*DeleteSubscriptionAppNotificationByUserIDV2Forbidden) Error

func (*DeleteSubscriptionAppNotificationByUserIDV2Forbidden) GetPayload

func (*DeleteSubscriptionAppNotificationByUserIDV2Forbidden) ToJSONString

type DeleteSubscriptionAppNotificationByUserIDV2InternalServerError

type DeleteSubscriptionAppNotificationByUserIDV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationByUserIDV2InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSubscriptionAppNotificationByUserIDV2InternalServerError

func NewDeleteSubscriptionAppNotificationByUserIDV2InternalServerError() *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError

NewDeleteSubscriptionAppNotificationByUserIDV2InternalServerError creates a DeleteSubscriptionAppNotificationByUserIDV2InternalServerError with default headers values

func (*DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) Error

func (*DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) GetPayload

func (*DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) ToJSONString

type DeleteSubscriptionAppNotificationByUserIDV2NotFound

type DeleteSubscriptionAppNotificationByUserIDV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationByUserIDV2NotFound handles this case with default header values.

Not Found

func NewDeleteSubscriptionAppNotificationByUserIDV2NotFound

func NewDeleteSubscriptionAppNotificationByUserIDV2NotFound() *DeleteSubscriptionAppNotificationByUserIDV2NotFound

NewDeleteSubscriptionAppNotificationByUserIDV2NotFound creates a DeleteSubscriptionAppNotificationByUserIDV2NotFound with default headers values

func (*DeleteSubscriptionAppNotificationByUserIDV2NotFound) Error

func (*DeleteSubscriptionAppNotificationByUserIDV2NotFound) GetPayload

func (*DeleteSubscriptionAppNotificationByUserIDV2NotFound) ToJSONString

type DeleteSubscriptionAppNotificationByUserIDV2OK

type DeleteSubscriptionAppNotificationByUserIDV2OK struct {
}

DeleteSubscriptionAppNotificationByUserIDV2OK handles this case with default header values.

func NewDeleteSubscriptionAppNotificationByUserIDV2OK

func NewDeleteSubscriptionAppNotificationByUserIDV2OK() *DeleteSubscriptionAppNotificationByUserIDV2OK

NewDeleteSubscriptionAppNotificationByUserIDV2OK creates a DeleteSubscriptionAppNotificationByUserIDV2OK with default headers values

func (*DeleteSubscriptionAppNotificationByUserIDV2OK) Error

type DeleteSubscriptionAppNotificationByUserIDV2Params

type DeleteSubscriptionAppNotificationByUserIDV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

DeleteSubscriptionAppNotificationByUserIDV2Params contains all the parameters to send to the API endpoint for the delete subscription app notification by user idv2 operation typically these are written to a http.Request

func NewDeleteSubscriptionAppNotificationByUserIDV2Params

func NewDeleteSubscriptionAppNotificationByUserIDV2Params() *DeleteSubscriptionAppNotificationByUserIDV2Params

NewDeleteSubscriptionAppNotificationByUserIDV2Params creates a new DeleteSubscriptionAppNotificationByUserIDV2Params object with the default values initialized.

func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithContext

func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithContext(ctx context.Context) *DeleteSubscriptionAppNotificationByUserIDV2Params

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

func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithHTTPClient

func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationByUserIDV2Params

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

func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithTimeout

func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationByUserIDV2Params

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

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetApp

SetApp adds the app to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetAuthInfoWriter

SetAuthInfoWriter adds the authInfoWriter to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetContext

SetContext adds the context to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetFlightId

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

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetNamespace

func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetTimeout

SetTimeout adds the timeout to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetUserID

SetUserID adds the userId to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithApp

WithApp adds the app to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithContext

WithContext adds the context to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithNamespace

WithNamespace adds the namespace to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithTimeout

WithTimeout adds the timeout to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithUserID

WithUserID adds the userID to the delete subscription app notification by user idv2 params

func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSubscriptionAppNotificationByUserIDV2Reader

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

DeleteSubscriptionAppNotificationByUserIDV2Reader is a Reader for the DeleteSubscriptionAppNotificationByUserIDV2 structure.

func (*DeleteSubscriptionAppNotificationByUserIDV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSubscriptionAppNotificationByUserIDV2Unauthorized

type DeleteSubscriptionAppNotificationByUserIDV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationByUserIDV2Unauthorized handles this case with default header values.

Unauthorized

func NewDeleteSubscriptionAppNotificationByUserIDV2Unauthorized

func NewDeleteSubscriptionAppNotificationByUserIDV2Unauthorized() *DeleteSubscriptionAppNotificationByUserIDV2Unauthorized

NewDeleteSubscriptionAppNotificationByUserIDV2Unauthorized creates a DeleteSubscriptionAppNotificationByUserIDV2Unauthorized with default headers values

func (*DeleteSubscriptionAppNotificationByUserIDV2Unauthorized) Error

func (*DeleteSubscriptionAppNotificationByUserIDV2Unauthorized) GetPayload

func (*DeleteSubscriptionAppNotificationByUserIDV2Unauthorized) ToJSONString

type DeleteSubscriptionAppNotificationV2Forbidden

type DeleteSubscriptionAppNotificationV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationV2Forbidden handles this case with default header values.

Forbidden

func NewDeleteSubscriptionAppNotificationV2Forbidden

func NewDeleteSubscriptionAppNotificationV2Forbidden() *DeleteSubscriptionAppNotificationV2Forbidden

NewDeleteSubscriptionAppNotificationV2Forbidden creates a DeleteSubscriptionAppNotificationV2Forbidden with default headers values

func (*DeleteSubscriptionAppNotificationV2Forbidden) Error

func (*DeleteSubscriptionAppNotificationV2Forbidden) GetPayload

func (*DeleteSubscriptionAppNotificationV2Forbidden) ToJSONString

type DeleteSubscriptionAppNotificationV2InternalServerError

type DeleteSubscriptionAppNotificationV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationV2InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSubscriptionAppNotificationV2InternalServerError

func NewDeleteSubscriptionAppNotificationV2InternalServerError() *DeleteSubscriptionAppNotificationV2InternalServerError

NewDeleteSubscriptionAppNotificationV2InternalServerError creates a DeleteSubscriptionAppNotificationV2InternalServerError with default headers values

func (*DeleteSubscriptionAppNotificationV2InternalServerError) Error

func (*DeleteSubscriptionAppNotificationV2InternalServerError) GetPayload

func (*DeleteSubscriptionAppNotificationV2InternalServerError) ToJSONString

type DeleteSubscriptionAppNotificationV2NotFound

type DeleteSubscriptionAppNotificationV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationV2NotFound handles this case with default header values.

Not Found

func NewDeleteSubscriptionAppNotificationV2NotFound

func NewDeleteSubscriptionAppNotificationV2NotFound() *DeleteSubscriptionAppNotificationV2NotFound

NewDeleteSubscriptionAppNotificationV2NotFound creates a DeleteSubscriptionAppNotificationV2NotFound with default headers values

func (*DeleteSubscriptionAppNotificationV2NotFound) Error

func (*DeleteSubscriptionAppNotificationV2NotFound) GetPayload

func (*DeleteSubscriptionAppNotificationV2NotFound) ToJSONString

type DeleteSubscriptionAppNotificationV2OK

type DeleteSubscriptionAppNotificationV2OK struct {
}

DeleteSubscriptionAppNotificationV2OK handles this case with default header values.

func NewDeleteSubscriptionAppNotificationV2OK

func NewDeleteSubscriptionAppNotificationV2OK() *DeleteSubscriptionAppNotificationV2OK

NewDeleteSubscriptionAppNotificationV2OK creates a DeleteSubscriptionAppNotificationV2OK with default headers values

func (*DeleteSubscriptionAppNotificationV2OK) Error

type DeleteSubscriptionAppNotificationV2Params

type DeleteSubscriptionAppNotificationV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string
	/*SubscriptionID
	  Subscription ID

	*/
	SubscriptionID string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

DeleteSubscriptionAppNotificationV2Params contains all the parameters to send to the API endpoint for the delete subscription app notification v2 operation typically these are written to a http.Request

func NewDeleteSubscriptionAppNotificationV2Params

func NewDeleteSubscriptionAppNotificationV2Params() *DeleteSubscriptionAppNotificationV2Params

NewDeleteSubscriptionAppNotificationV2Params creates a new DeleteSubscriptionAppNotificationV2Params object with the default values initialized.

func NewDeleteSubscriptionAppNotificationV2ParamsWithContext

func NewDeleteSubscriptionAppNotificationV2ParamsWithContext(ctx context.Context) *DeleteSubscriptionAppNotificationV2Params

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

func NewDeleteSubscriptionAppNotificationV2ParamsWithHTTPClient

func NewDeleteSubscriptionAppNotificationV2ParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationV2Params

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

func NewDeleteSubscriptionAppNotificationV2ParamsWithTimeout

func NewDeleteSubscriptionAppNotificationV2ParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationV2Params

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

func (*DeleteSubscriptionAppNotificationV2Params) SetApp

SetApp adds the app to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) SetContext

SetContext adds the context to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) SetFlightId

func (o *DeleteSubscriptionAppNotificationV2Params) SetFlightId(flightId string)

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

func (*DeleteSubscriptionAppNotificationV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) SetNamespace

func (o *DeleteSubscriptionAppNotificationV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) SetSubscriptionID

func (o *DeleteSubscriptionAppNotificationV2Params) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) SetTimeout

SetTimeout adds the timeout to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) WithApp

WithApp adds the app to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) WithContext

WithContext adds the context to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) WithNamespace

WithNamespace adds the namespace to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) WithTimeout

WithTimeout adds the timeout to the delete subscription app notification v2 params

func (*DeleteSubscriptionAppNotificationV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSubscriptionAppNotificationV2Reader

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

DeleteSubscriptionAppNotificationV2Reader is a Reader for the DeleteSubscriptionAppNotificationV2 structure.

func (*DeleteSubscriptionAppNotificationV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSubscriptionAppNotificationV2Unauthorized

type DeleteSubscriptionAppNotificationV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationV2Unauthorized handles this case with default header values.

Unauthorized

func NewDeleteSubscriptionAppNotificationV2Unauthorized

func NewDeleteSubscriptionAppNotificationV2Unauthorized() *DeleteSubscriptionAppNotificationV2Unauthorized

NewDeleteSubscriptionAppNotificationV2Unauthorized creates a DeleteSubscriptionAppNotificationV2Unauthorized with default headers values

func (*DeleteSubscriptionAppNotificationV2Unauthorized) Error

func (*DeleteSubscriptionAppNotificationV2Unauthorized) GetPayload

func (*DeleteSubscriptionAppNotificationV2Unauthorized) ToJSONString

type GetNotificationSubscriberListV2Forbidden

type GetNotificationSubscriberListV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetNotificationSubscriberListV2Forbidden handles this case with default header values.

Forbidden

func NewGetNotificationSubscriberListV2Forbidden

func NewGetNotificationSubscriberListV2Forbidden() *GetNotificationSubscriberListV2Forbidden

NewGetNotificationSubscriberListV2Forbidden creates a GetNotificationSubscriberListV2Forbidden with default headers values

func (*GetNotificationSubscriberListV2Forbidden) Error

func (*GetNotificationSubscriberListV2Forbidden) GetPayload

func (*GetNotificationSubscriberListV2Forbidden) ToJSONString

type GetNotificationSubscriberListV2InternalServerError

type GetNotificationSubscriberListV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetNotificationSubscriberListV2InternalServerError handles this case with default header values.

Internal Server Error

func NewGetNotificationSubscriberListV2InternalServerError

func NewGetNotificationSubscriberListV2InternalServerError() *GetNotificationSubscriberListV2InternalServerError

NewGetNotificationSubscriberListV2InternalServerError creates a GetNotificationSubscriberListV2InternalServerError with default headers values

func (*GetNotificationSubscriberListV2InternalServerError) Error

func (*GetNotificationSubscriberListV2InternalServerError) GetPayload

func (*GetNotificationSubscriberListV2InternalServerError) ToJSONString

type GetNotificationSubscriberListV2NotFound

type GetNotificationSubscriberListV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetNotificationSubscriberListV2NotFound handles this case with default header values.

Not Found

func NewGetNotificationSubscriberListV2NotFound

func NewGetNotificationSubscriberListV2NotFound() *GetNotificationSubscriberListV2NotFound

NewGetNotificationSubscriberListV2NotFound creates a GetNotificationSubscriberListV2NotFound with default headers values

func (*GetNotificationSubscriberListV2NotFound) Error

func (*GetNotificationSubscriberListV2NotFound) GetPayload

func (*GetNotificationSubscriberListV2NotFound) ToJSONString

type GetNotificationSubscriberListV2OK

type GetNotificationSubscriberListV2OK struct {
	Payload *csmclientmodels.ApimodelGetNotificationSubscriberListResponse
}

GetNotificationSubscriberListV2OK handles this case with default header values.

func NewGetNotificationSubscriberListV2OK

func NewGetNotificationSubscriberListV2OK() *GetNotificationSubscriberListV2OK

NewGetNotificationSubscriberListV2OK creates a GetNotificationSubscriberListV2OK with default headers values

func (*GetNotificationSubscriberListV2OK) Error

func (*GetNotificationSubscriberListV2OK) GetPayload

func (*GetNotificationSubscriberListV2OK) ToJSONString

func (o *GetNotificationSubscriberListV2OK) ToJSONString() string

type GetNotificationSubscriberListV2Params

type GetNotificationSubscriberListV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string
	/*NotificationType
	  Notification Type

	*/
	NotificationType *string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetNotificationSubscriberListV2Params contains all the parameters to send to the API endpoint for the get notification subscriber list v2 operation typically these are written to a http.Request

func NewGetNotificationSubscriberListV2Params

func NewGetNotificationSubscriberListV2Params() *GetNotificationSubscriberListV2Params

NewGetNotificationSubscriberListV2Params creates a new GetNotificationSubscriberListV2Params object with the default values initialized.

func NewGetNotificationSubscriberListV2ParamsWithContext

func NewGetNotificationSubscriberListV2ParamsWithContext(ctx context.Context) *GetNotificationSubscriberListV2Params

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

func NewGetNotificationSubscriberListV2ParamsWithHTTPClient

func NewGetNotificationSubscriberListV2ParamsWithHTTPClient(client *http.Client) *GetNotificationSubscriberListV2Params

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

func NewGetNotificationSubscriberListV2ParamsWithTimeout

func NewGetNotificationSubscriberListV2ParamsWithTimeout(timeout time.Duration) *GetNotificationSubscriberListV2Params

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

func (*GetNotificationSubscriberListV2Params) SetApp

SetApp adds the app to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) SetContext

SetContext adds the context to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) SetFlightId

func (o *GetNotificationSubscriberListV2Params) SetFlightId(flightId string)

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

func (*GetNotificationSubscriberListV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) SetNamespace

func (o *GetNotificationSubscriberListV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) SetNotificationType

func (o *GetNotificationSubscriberListV2Params) SetNotificationType(notificationType *string)

SetNotificationType adds the notificationType to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) SetTimeout

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

SetTimeout adds the timeout to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) WithApp

WithApp adds the app to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) WithContext

WithContext adds the context to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) WithNamespace

WithNamespace adds the namespace to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) WithNotificationType

func (o *GetNotificationSubscriberListV2Params) WithNotificationType(notificationType *string) *GetNotificationSubscriberListV2Params

WithNotificationType adds the notificationType to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) WithTimeout

WithTimeout adds the timeout to the get notification subscriber list v2 params

func (*GetNotificationSubscriberListV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNotificationSubscriberListV2Reader

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

GetNotificationSubscriberListV2Reader is a Reader for the GetNotificationSubscriberListV2 structure.

func (*GetNotificationSubscriberListV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNotificationSubscriberListV2Unauthorized

type GetNotificationSubscriberListV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetNotificationSubscriberListV2Unauthorized handles this case with default header values.

Unauthorized

func NewGetNotificationSubscriberListV2Unauthorized

func NewGetNotificationSubscriberListV2Unauthorized() *GetNotificationSubscriberListV2Unauthorized

NewGetNotificationSubscriberListV2Unauthorized creates a GetNotificationSubscriberListV2Unauthorized with default headers values

func (*GetNotificationSubscriberListV2Unauthorized) Error

func (*GetNotificationSubscriberListV2Unauthorized) GetPayload

func (*GetNotificationSubscriberListV2Unauthorized) ToJSONString

type GetSubscriptionV2HandlerForbidden

type GetSubscriptionV2HandlerForbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetSubscriptionV2HandlerForbidden handles this case with default header values.

Forbidden

func NewGetSubscriptionV2HandlerForbidden

func NewGetSubscriptionV2HandlerForbidden() *GetSubscriptionV2HandlerForbidden

NewGetSubscriptionV2HandlerForbidden creates a GetSubscriptionV2HandlerForbidden with default headers values

func (*GetSubscriptionV2HandlerForbidden) Error

func (*GetSubscriptionV2HandlerForbidden) GetPayload

func (*GetSubscriptionV2HandlerForbidden) ToJSONString

func (o *GetSubscriptionV2HandlerForbidden) ToJSONString() string

type GetSubscriptionV2HandlerInternalServerError

type GetSubscriptionV2HandlerInternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetSubscriptionV2HandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewGetSubscriptionV2HandlerInternalServerError

func NewGetSubscriptionV2HandlerInternalServerError() *GetSubscriptionV2HandlerInternalServerError

NewGetSubscriptionV2HandlerInternalServerError creates a GetSubscriptionV2HandlerInternalServerError with default headers values

func (*GetSubscriptionV2HandlerInternalServerError) Error

func (*GetSubscriptionV2HandlerInternalServerError) GetPayload

func (*GetSubscriptionV2HandlerInternalServerError) ToJSONString

type GetSubscriptionV2HandlerNotFound

type GetSubscriptionV2HandlerNotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetSubscriptionV2HandlerNotFound handles this case with default header values.

Not Found

func NewGetSubscriptionV2HandlerNotFound

func NewGetSubscriptionV2HandlerNotFound() *GetSubscriptionV2HandlerNotFound

NewGetSubscriptionV2HandlerNotFound creates a GetSubscriptionV2HandlerNotFound with default headers values

func (*GetSubscriptionV2HandlerNotFound) Error

func (*GetSubscriptionV2HandlerNotFound) GetPayload

func (*GetSubscriptionV2HandlerNotFound) ToJSONString

func (o *GetSubscriptionV2HandlerNotFound) ToJSONString() string

type GetSubscriptionV2HandlerOK

type GetSubscriptionV2HandlerOK struct {
	Payload *csmclientmodels.ApimodelGetNotificationSubscriberStatusResponse
}

GetSubscriptionV2HandlerOK handles this case with default header values.

func NewGetSubscriptionV2HandlerOK

func NewGetSubscriptionV2HandlerOK() *GetSubscriptionV2HandlerOK

NewGetSubscriptionV2HandlerOK creates a GetSubscriptionV2HandlerOK with default headers values

func (*GetSubscriptionV2HandlerOK) Error

func (*GetSubscriptionV2HandlerOK) ToJSONString

func (o *GetSubscriptionV2HandlerOK) ToJSONString() string

type GetSubscriptionV2HandlerParams

type GetSubscriptionV2HandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetSubscriptionV2HandlerParams contains all the parameters to send to the API endpoint for the get subscription v2 handler operation typically these are written to a http.Request

func NewGetSubscriptionV2HandlerParams

func NewGetSubscriptionV2HandlerParams() *GetSubscriptionV2HandlerParams

NewGetSubscriptionV2HandlerParams creates a new GetSubscriptionV2HandlerParams object with the default values initialized.

func NewGetSubscriptionV2HandlerParamsWithContext

func NewGetSubscriptionV2HandlerParamsWithContext(ctx context.Context) *GetSubscriptionV2HandlerParams

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

func NewGetSubscriptionV2HandlerParamsWithHTTPClient

func NewGetSubscriptionV2HandlerParamsWithHTTPClient(client *http.Client) *GetSubscriptionV2HandlerParams

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

func NewGetSubscriptionV2HandlerParamsWithTimeout

func NewGetSubscriptionV2HandlerParamsWithTimeout(timeout time.Duration) *GetSubscriptionV2HandlerParams

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

func (*GetSubscriptionV2HandlerParams) SetApp

func (o *GetSubscriptionV2HandlerParams) SetApp(app string)

SetApp adds the app to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) SetContext

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

SetContext adds the context to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) SetFlightId

func (o *GetSubscriptionV2HandlerParams) SetFlightId(flightId string)

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

func (*GetSubscriptionV2HandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) SetNamespace

func (o *GetSubscriptionV2HandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) SetTimeout

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

SetTimeout adds the timeout to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) WithApp

WithApp adds the app to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) WithContext

WithContext adds the context to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) WithNamespace

WithNamespace adds the namespace to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) WithTimeout

WithTimeout adds the timeout to the get subscription v2 handler params

func (*GetSubscriptionV2HandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSubscriptionV2HandlerReader

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

GetSubscriptionV2HandlerReader is a Reader for the GetSubscriptionV2Handler structure.

func (*GetSubscriptionV2HandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubscriptionV2HandlerUnauthorized

type GetSubscriptionV2HandlerUnauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetSubscriptionV2HandlerUnauthorized handles this case with default header values.

Unauthorized

func NewGetSubscriptionV2HandlerUnauthorized

func NewGetSubscriptionV2HandlerUnauthorized() *GetSubscriptionV2HandlerUnauthorized

NewGetSubscriptionV2HandlerUnauthorized creates a GetSubscriptionV2HandlerUnauthorized with default headers values

func (*GetSubscriptionV2HandlerUnauthorized) Error

func (*GetSubscriptionV2HandlerUnauthorized) GetPayload

func (*GetSubscriptionV2HandlerUnauthorized) ToJSONString

func (o *GetSubscriptionV2HandlerUnauthorized) ToJSONString() string

type SubscribeAppNotificationV2Forbidden

type SubscribeAppNotificationV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

SubscribeAppNotificationV2Forbidden handles this case with default header values.

Forbidden

func NewSubscribeAppNotificationV2Forbidden

func NewSubscribeAppNotificationV2Forbidden() *SubscribeAppNotificationV2Forbidden

NewSubscribeAppNotificationV2Forbidden creates a SubscribeAppNotificationV2Forbidden with default headers values

func (*SubscribeAppNotificationV2Forbidden) Error

func (*SubscribeAppNotificationV2Forbidden) GetPayload

func (*SubscribeAppNotificationV2Forbidden) ToJSONString

func (o *SubscribeAppNotificationV2Forbidden) ToJSONString() string

type SubscribeAppNotificationV2InternalServerError

type SubscribeAppNotificationV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

SubscribeAppNotificationV2InternalServerError handles this case with default header values.

Internal Server Error

func NewSubscribeAppNotificationV2InternalServerError

func NewSubscribeAppNotificationV2InternalServerError() *SubscribeAppNotificationV2InternalServerError

NewSubscribeAppNotificationV2InternalServerError creates a SubscribeAppNotificationV2InternalServerError with default headers values

func (*SubscribeAppNotificationV2InternalServerError) Error

func (*SubscribeAppNotificationV2InternalServerError) GetPayload

func (*SubscribeAppNotificationV2InternalServerError) ToJSONString

type SubscribeAppNotificationV2NotFound

type SubscribeAppNotificationV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

SubscribeAppNotificationV2NotFound handles this case with default header values.

Not Found

func NewSubscribeAppNotificationV2NotFound

func NewSubscribeAppNotificationV2NotFound() *SubscribeAppNotificationV2NotFound

NewSubscribeAppNotificationV2NotFound creates a SubscribeAppNotificationV2NotFound with default headers values

func (*SubscribeAppNotificationV2NotFound) Error

func (*SubscribeAppNotificationV2NotFound) GetPayload

func (*SubscribeAppNotificationV2NotFound) ToJSONString

func (o *SubscribeAppNotificationV2NotFound) ToJSONString() string

type SubscribeAppNotificationV2OK

type SubscribeAppNotificationV2OK struct {
	Payload *csmclientmodels.ApimodelSubscribeNotificationResponse
}

SubscribeAppNotificationV2OK handles this case with default header values.

func NewSubscribeAppNotificationV2OK

func NewSubscribeAppNotificationV2OK() *SubscribeAppNotificationV2OK

NewSubscribeAppNotificationV2OK creates a SubscribeAppNotificationV2OK with default headers values

func (*SubscribeAppNotificationV2OK) Error

func (*SubscribeAppNotificationV2OK) GetPayload

func (*SubscribeAppNotificationV2OK) ToJSONString

func (o *SubscribeAppNotificationV2OK) ToJSONString() string

type SubscribeAppNotificationV2Params

type SubscribeAppNotificationV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.ApimodelSubscribeNotificationRequest
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

SubscribeAppNotificationV2Params contains all the parameters to send to the API endpoint for the subscribe app notification v2 operation typically these are written to a http.Request

func NewSubscribeAppNotificationV2Params

func NewSubscribeAppNotificationV2Params() *SubscribeAppNotificationV2Params

NewSubscribeAppNotificationV2Params creates a new SubscribeAppNotificationV2Params object with the default values initialized.

func NewSubscribeAppNotificationV2ParamsWithContext

func NewSubscribeAppNotificationV2ParamsWithContext(ctx context.Context) *SubscribeAppNotificationV2Params

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

func NewSubscribeAppNotificationV2ParamsWithHTTPClient

func NewSubscribeAppNotificationV2ParamsWithHTTPClient(client *http.Client) *SubscribeAppNotificationV2Params

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

func NewSubscribeAppNotificationV2ParamsWithTimeout

func NewSubscribeAppNotificationV2ParamsWithTimeout(timeout time.Duration) *SubscribeAppNotificationV2Params

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

func (*SubscribeAppNotificationV2Params) SetApp

SetApp adds the app to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) SetBody

SetBody adds the body to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) SetContext

SetContext adds the context to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) SetFlightId

func (o *SubscribeAppNotificationV2Params) SetFlightId(flightId string)

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

func (*SubscribeAppNotificationV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) SetNamespace

func (o *SubscribeAppNotificationV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) SetTimeout

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

SetTimeout adds the timeout to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) WithApp

WithApp adds the app to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) WithBody

WithBody adds the body to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) WithContext

WithContext adds the context to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) WithNamespace

WithNamespace adds the namespace to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) WithTimeout

WithTimeout adds the timeout to the subscribe app notification v2 params

func (*SubscribeAppNotificationV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type SubscribeAppNotificationV2Reader

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

SubscribeAppNotificationV2Reader is a Reader for the SubscribeAppNotificationV2 structure.

func (*SubscribeAppNotificationV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SubscribeAppNotificationV2Unauthorized

type SubscribeAppNotificationV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

SubscribeAppNotificationV2Unauthorized handles this case with default header values.

Unauthorized

func NewSubscribeAppNotificationV2Unauthorized

func NewSubscribeAppNotificationV2Unauthorized() *SubscribeAppNotificationV2Unauthorized

NewSubscribeAppNotificationV2Unauthorized creates a SubscribeAppNotificationV2Unauthorized with default headers values

func (*SubscribeAppNotificationV2Unauthorized) Error

func (*SubscribeAppNotificationV2Unauthorized) GetPayload

func (*SubscribeAppNotificationV2Unauthorized) ToJSONString

type SubscribeV2HandlerForbidden

type SubscribeV2HandlerForbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

SubscribeV2HandlerForbidden handles this case with default header values.

Forbidden

func NewSubscribeV2HandlerForbidden

func NewSubscribeV2HandlerForbidden() *SubscribeV2HandlerForbidden

NewSubscribeV2HandlerForbidden creates a SubscribeV2HandlerForbidden with default headers values

func (*SubscribeV2HandlerForbidden) Error

func (*SubscribeV2HandlerForbidden) GetPayload

func (*SubscribeV2HandlerForbidden) ToJSONString

func (o *SubscribeV2HandlerForbidden) ToJSONString() string

type SubscribeV2HandlerInternalServerError

type SubscribeV2HandlerInternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

SubscribeV2HandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewSubscribeV2HandlerInternalServerError

func NewSubscribeV2HandlerInternalServerError() *SubscribeV2HandlerInternalServerError

NewSubscribeV2HandlerInternalServerError creates a SubscribeV2HandlerInternalServerError with default headers values

func (*SubscribeV2HandlerInternalServerError) Error

func (*SubscribeV2HandlerInternalServerError) GetPayload

func (*SubscribeV2HandlerInternalServerError) ToJSONString

type SubscribeV2HandlerNoContent

type SubscribeV2HandlerNoContent struct {
}

SubscribeV2HandlerNoContent handles this case with default header values.

successfully submitted request to subcribe from app down notification

func NewSubscribeV2HandlerNoContent

func NewSubscribeV2HandlerNoContent() *SubscribeV2HandlerNoContent

NewSubscribeV2HandlerNoContent creates a SubscribeV2HandlerNoContent with default headers values

func (*SubscribeV2HandlerNoContent) Error

type SubscribeV2HandlerNotFound

type SubscribeV2HandlerNotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

SubscribeV2HandlerNotFound handles this case with default header values.

Not Found

func NewSubscribeV2HandlerNotFound

func NewSubscribeV2HandlerNotFound() *SubscribeV2HandlerNotFound

NewSubscribeV2HandlerNotFound creates a SubscribeV2HandlerNotFound with default headers values

func (*SubscribeV2HandlerNotFound) Error

func (*SubscribeV2HandlerNotFound) GetPayload

func (*SubscribeV2HandlerNotFound) ToJSONString

func (o *SubscribeV2HandlerNotFound) ToJSONString() string

type SubscribeV2HandlerParams

type SubscribeV2HandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.ApimodelSelfSubscribeNotificationRequest
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

SubscribeV2HandlerParams contains all the parameters to send to the API endpoint for the subscribe v2 handler operation typically these are written to a http.Request

func NewSubscribeV2HandlerParams

func NewSubscribeV2HandlerParams() *SubscribeV2HandlerParams

NewSubscribeV2HandlerParams creates a new SubscribeV2HandlerParams object with the default values initialized.

func NewSubscribeV2HandlerParamsWithContext

func NewSubscribeV2HandlerParamsWithContext(ctx context.Context) *SubscribeV2HandlerParams

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

func NewSubscribeV2HandlerParamsWithHTTPClient

func NewSubscribeV2HandlerParamsWithHTTPClient(client *http.Client) *SubscribeV2HandlerParams

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

func NewSubscribeV2HandlerParamsWithTimeout

func NewSubscribeV2HandlerParamsWithTimeout(timeout time.Duration) *SubscribeV2HandlerParams

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

func (*SubscribeV2HandlerParams) SetApp

func (o *SubscribeV2HandlerParams) SetApp(app string)

SetApp adds the app to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) SetBody

SetBody adds the body to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) SetContext

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

SetContext adds the context to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) SetFlightId

func (o *SubscribeV2HandlerParams) SetFlightId(flightId string)

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

func (*SubscribeV2HandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) SetNamespace

func (o *SubscribeV2HandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) SetTimeout

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

SetTimeout adds the timeout to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) WithApp

WithApp adds the app to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) WithBody

WithBody adds the body to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) WithContext

WithContext adds the context to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) WithNamespace

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

WithNamespace adds the namespace to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) WithTimeout

WithTimeout adds the timeout to the subscribe v2 handler params

func (*SubscribeV2HandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SubscribeV2HandlerReader

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

SubscribeV2HandlerReader is a Reader for the SubscribeV2Handler structure.

func (*SubscribeV2HandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SubscribeV2HandlerUnauthorized

type SubscribeV2HandlerUnauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

SubscribeV2HandlerUnauthorized handles this case with default header values.

Unauthorized

func NewSubscribeV2HandlerUnauthorized

func NewSubscribeV2HandlerUnauthorized() *SubscribeV2HandlerUnauthorized

NewSubscribeV2HandlerUnauthorized creates a SubscribeV2HandlerUnauthorized with default headers values

func (*SubscribeV2HandlerUnauthorized) Error

func (*SubscribeV2HandlerUnauthorized) GetPayload

func (*SubscribeV2HandlerUnauthorized) ToJSONString

func (o *SubscribeV2HandlerUnauthorized) ToJSONString() string

type UnsubscribeV2HandlerForbidden

type UnsubscribeV2HandlerForbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UnsubscribeV2HandlerForbidden handles this case with default header values.

Forbidden

func NewUnsubscribeV2HandlerForbidden

func NewUnsubscribeV2HandlerForbidden() *UnsubscribeV2HandlerForbidden

NewUnsubscribeV2HandlerForbidden creates a UnsubscribeV2HandlerForbidden with default headers values

func (*UnsubscribeV2HandlerForbidden) Error

func (*UnsubscribeV2HandlerForbidden) GetPayload

func (*UnsubscribeV2HandlerForbidden) ToJSONString

func (o *UnsubscribeV2HandlerForbidden) ToJSONString() string

type UnsubscribeV2HandlerInternalServerError

type UnsubscribeV2HandlerInternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UnsubscribeV2HandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewUnsubscribeV2HandlerInternalServerError

func NewUnsubscribeV2HandlerInternalServerError() *UnsubscribeV2HandlerInternalServerError

NewUnsubscribeV2HandlerInternalServerError creates a UnsubscribeV2HandlerInternalServerError with default headers values

func (*UnsubscribeV2HandlerInternalServerError) Error

func (*UnsubscribeV2HandlerInternalServerError) GetPayload

func (*UnsubscribeV2HandlerInternalServerError) ToJSONString

type UnsubscribeV2HandlerNoContent

type UnsubscribeV2HandlerNoContent struct {
}

UnsubscribeV2HandlerNoContent handles this case with default header values.

successfully submitted request to unsubcribe from app down notification

func NewUnsubscribeV2HandlerNoContent

func NewUnsubscribeV2HandlerNoContent() *UnsubscribeV2HandlerNoContent

NewUnsubscribeV2HandlerNoContent creates a UnsubscribeV2HandlerNoContent with default headers values

func (*UnsubscribeV2HandlerNoContent) Error

type UnsubscribeV2HandlerNotFound

type UnsubscribeV2HandlerNotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UnsubscribeV2HandlerNotFound handles this case with default header values.

Not Found

func NewUnsubscribeV2HandlerNotFound

func NewUnsubscribeV2HandlerNotFound() *UnsubscribeV2HandlerNotFound

NewUnsubscribeV2HandlerNotFound creates a UnsubscribeV2HandlerNotFound with default headers values

func (*UnsubscribeV2HandlerNotFound) Error

func (*UnsubscribeV2HandlerNotFound) GetPayload

func (*UnsubscribeV2HandlerNotFound) ToJSONString

func (o *UnsubscribeV2HandlerNotFound) ToJSONString() string

type UnsubscribeV2HandlerParams

type UnsubscribeV2HandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UnsubscribeV2HandlerParams contains all the parameters to send to the API endpoint for the unsubscribe v2 handler operation typically these are written to a http.Request

func NewUnsubscribeV2HandlerParams

func NewUnsubscribeV2HandlerParams() *UnsubscribeV2HandlerParams

NewUnsubscribeV2HandlerParams creates a new UnsubscribeV2HandlerParams object with the default values initialized.

func NewUnsubscribeV2HandlerParamsWithContext

func NewUnsubscribeV2HandlerParamsWithContext(ctx context.Context) *UnsubscribeV2HandlerParams

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

func NewUnsubscribeV2HandlerParamsWithHTTPClient

func NewUnsubscribeV2HandlerParamsWithHTTPClient(client *http.Client) *UnsubscribeV2HandlerParams

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

func NewUnsubscribeV2HandlerParamsWithTimeout

func NewUnsubscribeV2HandlerParamsWithTimeout(timeout time.Duration) *UnsubscribeV2HandlerParams

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

func (*UnsubscribeV2HandlerParams) SetApp

func (o *UnsubscribeV2HandlerParams) SetApp(app string)

SetApp adds the app to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) SetContext

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

SetContext adds the context to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) SetFlightId

func (o *UnsubscribeV2HandlerParams) SetFlightId(flightId string)

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

func (*UnsubscribeV2HandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) SetNamespace

func (o *UnsubscribeV2HandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) SetTimeout

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

SetTimeout adds the timeout to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) WithApp

WithApp adds the app to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) WithContext

WithContext adds the context to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) WithNamespace

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

WithNamespace adds the namespace to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) WithTimeout

WithTimeout adds the timeout to the unsubscribe v2 handler params

func (*UnsubscribeV2HandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnsubscribeV2HandlerReader

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

UnsubscribeV2HandlerReader is a Reader for the UnsubscribeV2Handler structure.

func (*UnsubscribeV2HandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnsubscribeV2HandlerUnauthorized

type UnsubscribeV2HandlerUnauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UnsubscribeV2HandlerUnauthorized handles this case with default header values.

Unauthorized

func NewUnsubscribeV2HandlerUnauthorized

func NewUnsubscribeV2HandlerUnauthorized() *UnsubscribeV2HandlerUnauthorized

NewUnsubscribeV2HandlerUnauthorized creates a UnsubscribeV2HandlerUnauthorized with default headers values

func (*UnsubscribeV2HandlerUnauthorized) Error

func (*UnsubscribeV2HandlerUnauthorized) GetPayload

func (*UnsubscribeV2HandlerUnauthorized) ToJSONString

func (o *UnsubscribeV2HandlerUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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