notification_subscription_v3

package
v0.84.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 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 Client

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

Client for notification subscription v3 API

func (*Client) DeleteSubscriptionAppNotificationV3 deprecated

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

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

Remove a user from the notification subscription using either user ID or email address. Only one of them should be provided.

func (*Client) DeleteSubscriptionAppNotificationV3Short

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

Remove a user from the notification subscription using either user ID or email address. Only one of them should be provided.

func (*Client) GetNotificationSubscriberListV3 deprecated

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

GetNotificationSubscriberListV3 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) GetNotificationSubscriberListV3Short

func (a *Client) GetNotificationSubscriberListV3Short(params *GetNotificationSubscriberListV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetNotificationSubscriberListV3OK, error)

GetNotificationSubscriberListV3Short 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) SetTransport

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

SetTransport changes the transport on the client

type DeleteSubscriptionAppNotificationV3Forbidden

type DeleteSubscriptionAppNotificationV3Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationV3Forbidden handles this case with default header values.

Forbidden

func NewDeleteSubscriptionAppNotificationV3Forbidden

func NewDeleteSubscriptionAppNotificationV3Forbidden() *DeleteSubscriptionAppNotificationV3Forbidden

NewDeleteSubscriptionAppNotificationV3Forbidden creates a DeleteSubscriptionAppNotificationV3Forbidden with default headers values

func (*DeleteSubscriptionAppNotificationV3Forbidden) Error

func (*DeleteSubscriptionAppNotificationV3Forbidden) GetPayload

func (*DeleteSubscriptionAppNotificationV3Forbidden) ToJSONString

type DeleteSubscriptionAppNotificationV3InternalServerError

type DeleteSubscriptionAppNotificationV3InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationV3InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSubscriptionAppNotificationV3InternalServerError

func NewDeleteSubscriptionAppNotificationV3InternalServerError() *DeleteSubscriptionAppNotificationV3InternalServerError

NewDeleteSubscriptionAppNotificationV3InternalServerError creates a DeleteSubscriptionAppNotificationV3InternalServerError with default headers values

func (*DeleteSubscriptionAppNotificationV3InternalServerError) Error

func (*DeleteSubscriptionAppNotificationV3InternalServerError) GetPayload

func (*DeleteSubscriptionAppNotificationV3InternalServerError) ToJSONString

type DeleteSubscriptionAppNotificationV3NoContent

type DeleteSubscriptionAppNotificationV3NoContent struct {
}

DeleteSubscriptionAppNotificationV3NoContent handles this case with default header values.

func NewDeleteSubscriptionAppNotificationV3NoContent

func NewDeleteSubscriptionAppNotificationV3NoContent() *DeleteSubscriptionAppNotificationV3NoContent

NewDeleteSubscriptionAppNotificationV3NoContent creates a DeleteSubscriptionAppNotificationV3NoContent with default headers values

func (*DeleteSubscriptionAppNotificationV3NoContent) Error

type DeleteSubscriptionAppNotificationV3NotFound

type DeleteSubscriptionAppNotificationV3NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationV3NotFound handles this case with default header values.

Not Found

func NewDeleteSubscriptionAppNotificationV3NotFound

func NewDeleteSubscriptionAppNotificationV3NotFound() *DeleteSubscriptionAppNotificationV3NotFound

NewDeleteSubscriptionAppNotificationV3NotFound creates a DeleteSubscriptionAppNotificationV3NotFound with default headers values

func (*DeleteSubscriptionAppNotificationV3NotFound) Error

func (*DeleteSubscriptionAppNotificationV3NotFound) GetPayload

func (*DeleteSubscriptionAppNotificationV3NotFound) ToJSONString

type DeleteSubscriptionAppNotificationV3Params

type DeleteSubscriptionAppNotificationV3Params struct {

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

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string
	/*EmailAddress
	  emailAddress

	*/
	EmailAddress *string
	/*UserID
	  userID

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

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

func NewDeleteSubscriptionAppNotificationV3Params

func NewDeleteSubscriptionAppNotificationV3Params() *DeleteSubscriptionAppNotificationV3Params

NewDeleteSubscriptionAppNotificationV3Params creates a new DeleteSubscriptionAppNotificationV3Params object with the default values initialized.

func NewDeleteSubscriptionAppNotificationV3ParamsWithContext

func NewDeleteSubscriptionAppNotificationV3ParamsWithContext(ctx context.Context) *DeleteSubscriptionAppNotificationV3Params

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

func NewDeleteSubscriptionAppNotificationV3ParamsWithHTTPClient

func NewDeleteSubscriptionAppNotificationV3ParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationV3Params

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

func NewDeleteSubscriptionAppNotificationV3ParamsWithTimeout

func NewDeleteSubscriptionAppNotificationV3ParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationV3Params

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

func (*DeleteSubscriptionAppNotificationV3Params) SetApp

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

func (*DeleteSubscriptionAppNotificationV3Params) SetAuthInfoWriter

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

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

func (*DeleteSubscriptionAppNotificationV3Params) SetContext

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

func (*DeleteSubscriptionAppNotificationV3Params) SetEmailAddress

func (o *DeleteSubscriptionAppNotificationV3Params) SetEmailAddress(emailAddress *string)

SetEmailAddress adds the emailAddress to the delete subscription app notification v3 params

func (*DeleteSubscriptionAppNotificationV3Params) SetFlightId

func (o *DeleteSubscriptionAppNotificationV3Params) SetFlightId(flightId string)

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

func (*DeleteSubscriptionAppNotificationV3Params) SetHTTPClient

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

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

func (*DeleteSubscriptionAppNotificationV3Params) SetHTTPClientTransport

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

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

func (*DeleteSubscriptionAppNotificationV3Params) SetNamespace

func (o *DeleteSubscriptionAppNotificationV3Params) SetNamespace(namespace string)

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

func (*DeleteSubscriptionAppNotificationV3Params) SetTimeout

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

func (*DeleteSubscriptionAppNotificationV3Params) SetUserID

func (o *DeleteSubscriptionAppNotificationV3Params) SetUserID(userID *string)

SetUserID adds the userId to the delete subscription app notification v3 params

func (*DeleteSubscriptionAppNotificationV3Params) WithApp

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

func (*DeleteSubscriptionAppNotificationV3Params) WithContext

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

func (*DeleteSubscriptionAppNotificationV3Params) WithEmailAddress

WithEmailAddress adds the emailAddress to the delete subscription app notification v3 params

func (*DeleteSubscriptionAppNotificationV3Params) WithHTTPClient

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

func (*DeleteSubscriptionAppNotificationV3Params) WithNamespace

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

func (*DeleteSubscriptionAppNotificationV3Params) WithTimeout

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

func (*DeleteSubscriptionAppNotificationV3Params) WithUserID

WithUserID adds the userID to the delete subscription app notification v3 params

func (*DeleteSubscriptionAppNotificationV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSubscriptionAppNotificationV3Reader

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

DeleteSubscriptionAppNotificationV3Reader is a Reader for the DeleteSubscriptionAppNotificationV3 structure.

func (*DeleteSubscriptionAppNotificationV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSubscriptionAppNotificationV3Unauthorized

type DeleteSubscriptionAppNotificationV3Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteSubscriptionAppNotificationV3Unauthorized handles this case with default header values.

Unauthorized

func NewDeleteSubscriptionAppNotificationV3Unauthorized

func NewDeleteSubscriptionAppNotificationV3Unauthorized() *DeleteSubscriptionAppNotificationV3Unauthorized

NewDeleteSubscriptionAppNotificationV3Unauthorized creates a DeleteSubscriptionAppNotificationV3Unauthorized with default headers values

func (*DeleteSubscriptionAppNotificationV3Unauthorized) Error

func (*DeleteSubscriptionAppNotificationV3Unauthorized) GetPayload

func (*DeleteSubscriptionAppNotificationV3Unauthorized) ToJSONString

type GetNotificationSubscriberListV3Forbidden

type GetNotificationSubscriberListV3Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetNotificationSubscriberListV3Forbidden handles this case with default header values.

Forbidden

func NewGetNotificationSubscriberListV3Forbidden

func NewGetNotificationSubscriberListV3Forbidden() *GetNotificationSubscriberListV3Forbidden

NewGetNotificationSubscriberListV3Forbidden creates a GetNotificationSubscriberListV3Forbidden with default headers values

func (*GetNotificationSubscriberListV3Forbidden) Error

func (*GetNotificationSubscriberListV3Forbidden) GetPayload

func (*GetNotificationSubscriberListV3Forbidden) ToJSONString

type GetNotificationSubscriberListV3InternalServerError

type GetNotificationSubscriberListV3InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetNotificationSubscriberListV3InternalServerError handles this case with default header values.

Internal Server Error

func NewGetNotificationSubscriberListV3InternalServerError

func NewGetNotificationSubscriberListV3InternalServerError() *GetNotificationSubscriberListV3InternalServerError

NewGetNotificationSubscriberListV3InternalServerError creates a GetNotificationSubscriberListV3InternalServerError with default headers values

func (*GetNotificationSubscriberListV3InternalServerError) Error

func (*GetNotificationSubscriberListV3InternalServerError) GetPayload

func (*GetNotificationSubscriberListV3InternalServerError) ToJSONString

type GetNotificationSubscriberListV3NotFound

type GetNotificationSubscriberListV3NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetNotificationSubscriberListV3NotFound handles this case with default header values.

Not Found

func NewGetNotificationSubscriberListV3NotFound

func NewGetNotificationSubscriberListV3NotFound() *GetNotificationSubscriberListV3NotFound

NewGetNotificationSubscriberListV3NotFound creates a GetNotificationSubscriberListV3NotFound with default headers values

func (*GetNotificationSubscriberListV3NotFound) Error

func (*GetNotificationSubscriberListV3NotFound) GetPayload

func (*GetNotificationSubscriberListV3NotFound) ToJSONString

type GetNotificationSubscriberListV3OK

type GetNotificationSubscriberListV3OK struct {
	Payload *csmclientmodels.ApimodelGetNotificationSubscriberListResponseV2
}

GetNotificationSubscriberListV3OK handles this case with default header values.

func NewGetNotificationSubscriberListV3OK

func NewGetNotificationSubscriberListV3OK() *GetNotificationSubscriberListV3OK

NewGetNotificationSubscriberListV3OK creates a GetNotificationSubscriberListV3OK with default headers values

func (*GetNotificationSubscriberListV3OK) Error

func (*GetNotificationSubscriberListV3OK) GetPayload

func (*GetNotificationSubscriberListV3OK) ToJSONString

func (o *GetNotificationSubscriberListV3OK) ToJSONString() string

type GetNotificationSubscriberListV3Params

type GetNotificationSubscriberListV3Params 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
}

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

func NewGetNotificationSubscriberListV3Params

func NewGetNotificationSubscriberListV3Params() *GetNotificationSubscriberListV3Params

NewGetNotificationSubscriberListV3Params creates a new GetNotificationSubscriberListV3Params object with the default values initialized.

func NewGetNotificationSubscriberListV3ParamsWithContext

func NewGetNotificationSubscriberListV3ParamsWithContext(ctx context.Context) *GetNotificationSubscriberListV3Params

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

func NewGetNotificationSubscriberListV3ParamsWithHTTPClient

func NewGetNotificationSubscriberListV3ParamsWithHTTPClient(client *http.Client) *GetNotificationSubscriberListV3Params

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

func NewGetNotificationSubscriberListV3ParamsWithTimeout

func NewGetNotificationSubscriberListV3ParamsWithTimeout(timeout time.Duration) *GetNotificationSubscriberListV3Params

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

func (*GetNotificationSubscriberListV3Params) SetApp

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

func (*GetNotificationSubscriberListV3Params) SetAuthInfoWriter

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

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

func (*GetNotificationSubscriberListV3Params) SetContext

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

func (*GetNotificationSubscriberListV3Params) SetFlightId

func (o *GetNotificationSubscriberListV3Params) SetFlightId(flightId string)

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

func (*GetNotificationSubscriberListV3Params) SetHTTPClient

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

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

func (*GetNotificationSubscriberListV3Params) SetHTTPClientTransport

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

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

func (*GetNotificationSubscriberListV3Params) SetNamespace

func (o *GetNotificationSubscriberListV3Params) SetNamespace(namespace string)

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

func (*GetNotificationSubscriberListV3Params) SetNotificationType

func (o *GetNotificationSubscriberListV3Params) SetNotificationType(notificationType string)

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

func (*GetNotificationSubscriberListV3Params) SetTimeout

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

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

func (*GetNotificationSubscriberListV3Params) WithApp

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

func (*GetNotificationSubscriberListV3Params) WithContext

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

func (*GetNotificationSubscriberListV3Params) WithHTTPClient

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

func (*GetNotificationSubscriberListV3Params) WithNamespace

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

func (*GetNotificationSubscriberListV3Params) WithNotificationType

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

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

func (*GetNotificationSubscriberListV3Params) WithTimeout

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

func (*GetNotificationSubscriberListV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNotificationSubscriberListV3Reader

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

GetNotificationSubscriberListV3Reader is a Reader for the GetNotificationSubscriberListV3 structure.

func (*GetNotificationSubscriberListV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNotificationSubscriberListV3Unauthorized

type GetNotificationSubscriberListV3Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetNotificationSubscriberListV3Unauthorized handles this case with default header values.

Unauthorized

func NewGetNotificationSubscriberListV3Unauthorized

func NewGetNotificationSubscriberListV3Unauthorized() *GetNotificationSubscriberListV3Unauthorized

NewGetNotificationSubscriberListV3Unauthorized creates a GetNotificationSubscriberListV3Unauthorized with default headers values

func (*GetNotificationSubscriberListV3Unauthorized) Error

func (*GetNotificationSubscriberListV3Unauthorized) GetPayload

func (*GetNotificationSubscriberListV3Unauthorized) ToJSONString

Jump to

Keyboard shortcuts

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