Documentation
¶
Index ¶
- type BulkSaveSubscriptionAppNotificationV2Forbidden
- type BulkSaveSubscriptionAppNotificationV2InternalServerError
- type BulkSaveSubscriptionAppNotificationV2NotFound
- type BulkSaveSubscriptionAppNotificationV2OK
- type BulkSaveSubscriptionAppNotificationV2Params
- func NewBulkSaveSubscriptionAppNotificationV2Params() *BulkSaveSubscriptionAppNotificationV2Params
- func NewBulkSaveSubscriptionAppNotificationV2ParamsWithContext(ctx context.Context) *BulkSaveSubscriptionAppNotificationV2Params
- func NewBulkSaveSubscriptionAppNotificationV2ParamsWithHTTPClient(client *http.Client) *BulkSaveSubscriptionAppNotificationV2Params
- func NewBulkSaveSubscriptionAppNotificationV2ParamsWithTimeout(timeout time.Duration) *BulkSaveSubscriptionAppNotificationV2Params
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetApp(app string)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetBody(body *csmclientmodels.ApimodelBulkSubscribeRequest)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetContext(ctx context.Context)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetFlightId(flightId string)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetHTTPClient(client *http.Client)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetNamespace(namespace string)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) SetTimeout(timeout time.Duration)
- func (o *BulkSaveSubscriptionAppNotificationV2Params) WithApp(app string) *BulkSaveSubscriptionAppNotificationV2Params
- func (o *BulkSaveSubscriptionAppNotificationV2Params) WithBody(body *csmclientmodels.ApimodelBulkSubscribeRequest) *BulkSaveSubscriptionAppNotificationV2Params
- func (o *BulkSaveSubscriptionAppNotificationV2Params) WithContext(ctx context.Context) *BulkSaveSubscriptionAppNotificationV2Params
- func (o *BulkSaveSubscriptionAppNotificationV2Params) WithHTTPClient(client *http.Client) *BulkSaveSubscriptionAppNotificationV2Params
- func (o *BulkSaveSubscriptionAppNotificationV2Params) WithNamespace(namespace string) *BulkSaveSubscriptionAppNotificationV2Params
- func (o *BulkSaveSubscriptionAppNotificationV2Params) WithTimeout(timeout time.Duration) *BulkSaveSubscriptionAppNotificationV2Params
- func (o *BulkSaveSubscriptionAppNotificationV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkSaveSubscriptionAppNotificationV2Reader
- type BulkSaveSubscriptionAppNotificationV2Unauthorized
- type Client
- func (a *Client) BulkSaveSubscriptionAppNotificationV2(params *BulkSaveSubscriptionAppNotificationV2Params, ...) (*BulkSaveSubscriptionAppNotificationV2OK, ...)deprecated
- func (a *Client) BulkSaveSubscriptionAppNotificationV2Short(params *BulkSaveSubscriptionAppNotificationV2Params, ...) (*BulkSaveSubscriptionAppNotificationV2OK, error)
- func (a *Client) DeleteSubscriptionAppNotificationByUserIDV2(params *DeleteSubscriptionAppNotificationByUserIDV2Params, ...) (*DeleteSubscriptionAppNotificationByUserIDV2OK, ...)deprecated
- func (a *Client) DeleteSubscriptionAppNotificationByUserIDV2Short(params *DeleteSubscriptionAppNotificationByUserIDV2Params, ...) (*DeleteSubscriptionAppNotificationByUserIDV2OK, error)
- func (a *Client) DeleteSubscriptionAppNotificationV2(params *DeleteSubscriptionAppNotificationV2Params, ...) (*DeleteSubscriptionAppNotificationV2OK, ...)deprecated
- func (a *Client) DeleteSubscriptionAppNotificationV2Short(params *DeleteSubscriptionAppNotificationV2Params, ...) (*DeleteSubscriptionAppNotificationV2OK, error)
- func (a *Client) GetNotificationSubscriberListV2(params *GetNotificationSubscriberListV2Params, ...) (*GetNotificationSubscriberListV2OK, ...)deprecated
- func (a *Client) GetNotificationSubscriberListV2Short(params *GetNotificationSubscriberListV2Params, ...) (*GetNotificationSubscriberListV2OK, error)
- func (a *Client) GetSubscriptionV2Handler(params *GetSubscriptionV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionV2HandlerOK, *GetSubscriptionV2HandlerUnauthorized, ...)deprecated
- func (a *Client) GetSubscriptionV2HandlerShort(params *GetSubscriptionV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionV2HandlerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SubscribeAppNotificationV2(params *SubscribeAppNotificationV2Params, ...) (*SubscribeAppNotificationV2OK, *SubscribeAppNotificationV2Unauthorized, ...)deprecated
- func (a *Client) SubscribeAppNotificationV2Short(params *SubscribeAppNotificationV2Params, ...) (*SubscribeAppNotificationV2OK, error)
- func (a *Client) SubscribeV2Handler(params *SubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeV2HandlerNoContent, *SubscribeV2HandlerUnauthorized, ...)deprecated
- func (a *Client) SubscribeV2HandlerShort(params *SubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeV2HandlerNoContent, error)
- func (a *Client) UnsubscribeV2Handler(params *UnsubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeV2HandlerNoContent, *UnsubscribeV2HandlerUnauthorized, ...)deprecated
- func (a *Client) UnsubscribeV2HandlerShort(params *UnsubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeV2HandlerNoContent, error)
- type ClientService
- type DeleteSubscriptionAppNotificationByUserIDV2Forbidden
- type DeleteSubscriptionAppNotificationByUserIDV2InternalServerError
- func (o *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) Error() string
- func (o *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
- func (o *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) ToJSONString() string
- type DeleteSubscriptionAppNotificationByUserIDV2NotFound
- type DeleteSubscriptionAppNotificationByUserIDV2OK
- type DeleteSubscriptionAppNotificationByUserIDV2Params
- func NewDeleteSubscriptionAppNotificationByUserIDV2Params() *DeleteSubscriptionAppNotificationByUserIDV2Params
- func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithContext(ctx context.Context) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func NewDeleteSubscriptionAppNotificationByUserIDV2ParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetApp(app string)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetFlightId(flightId string)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetNamespace(namespace string)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetUserID(userID string)
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithApp(app string) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithContext(ctx context.Context) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithNamespace(namespace string) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithUserID(userID string) *DeleteSubscriptionAppNotificationByUserIDV2Params
- func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionAppNotificationByUserIDV2Reader
- type DeleteSubscriptionAppNotificationByUserIDV2Unauthorized
- type DeleteSubscriptionAppNotificationV2Forbidden
- type DeleteSubscriptionAppNotificationV2InternalServerError
- type DeleteSubscriptionAppNotificationV2NotFound
- type DeleteSubscriptionAppNotificationV2OK
- type DeleteSubscriptionAppNotificationV2Params
- func NewDeleteSubscriptionAppNotificationV2Params() *DeleteSubscriptionAppNotificationV2Params
- func NewDeleteSubscriptionAppNotificationV2ParamsWithContext(ctx context.Context) *DeleteSubscriptionAppNotificationV2Params
- func NewDeleteSubscriptionAppNotificationV2ParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationV2Params
- func NewDeleteSubscriptionAppNotificationV2ParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationV2Params
- func (o *DeleteSubscriptionAppNotificationV2Params) SetApp(app string)
- func (o *DeleteSubscriptionAppNotificationV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteSubscriptionAppNotificationV2Params) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionAppNotificationV2Params) SetFlightId(flightId string)
- func (o *DeleteSubscriptionAppNotificationV2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionAppNotificationV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteSubscriptionAppNotificationV2Params) SetNamespace(namespace string)
- func (o *DeleteSubscriptionAppNotificationV2Params) SetSubscriptionID(subscriptionID string)
- func (o *DeleteSubscriptionAppNotificationV2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionAppNotificationV2Params) WithApp(app string) *DeleteSubscriptionAppNotificationV2Params
- func (o *DeleteSubscriptionAppNotificationV2Params) WithContext(ctx context.Context) *DeleteSubscriptionAppNotificationV2Params
- func (o *DeleteSubscriptionAppNotificationV2Params) WithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationV2Params
- func (o *DeleteSubscriptionAppNotificationV2Params) WithNamespace(namespace string) *DeleteSubscriptionAppNotificationV2Params
- func (o *DeleteSubscriptionAppNotificationV2Params) WithSubscriptionID(subscriptionID string) *DeleteSubscriptionAppNotificationV2Params
- func (o *DeleteSubscriptionAppNotificationV2Params) WithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationV2Params
- func (o *DeleteSubscriptionAppNotificationV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionAppNotificationV2Reader
- type DeleteSubscriptionAppNotificationV2Unauthorized
- type GetNotificationSubscriberListV2Forbidden
- type GetNotificationSubscriberListV2InternalServerError
- type GetNotificationSubscriberListV2NotFound
- type GetNotificationSubscriberListV2OK
- type GetNotificationSubscriberListV2Params
- func NewGetNotificationSubscriberListV2Params() *GetNotificationSubscriberListV2Params
- func NewGetNotificationSubscriberListV2ParamsWithContext(ctx context.Context) *GetNotificationSubscriberListV2Params
- func NewGetNotificationSubscriberListV2ParamsWithHTTPClient(client *http.Client) *GetNotificationSubscriberListV2Params
- func NewGetNotificationSubscriberListV2ParamsWithTimeout(timeout time.Duration) *GetNotificationSubscriberListV2Params
- func (o *GetNotificationSubscriberListV2Params) SetApp(app string)
- func (o *GetNotificationSubscriberListV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetNotificationSubscriberListV2Params) SetContext(ctx context.Context)
- func (o *GetNotificationSubscriberListV2Params) SetFlightId(flightId string)
- func (o *GetNotificationSubscriberListV2Params) SetHTTPClient(client *http.Client)
- func (o *GetNotificationSubscriberListV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetNotificationSubscriberListV2Params) SetNamespace(namespace string)
- func (o *GetNotificationSubscriberListV2Params) SetNotificationType(notificationType *string)
- func (o *GetNotificationSubscriberListV2Params) SetTimeout(timeout time.Duration)
- func (o *GetNotificationSubscriberListV2Params) WithApp(app string) *GetNotificationSubscriberListV2Params
- func (o *GetNotificationSubscriberListV2Params) WithContext(ctx context.Context) *GetNotificationSubscriberListV2Params
- func (o *GetNotificationSubscriberListV2Params) WithHTTPClient(client *http.Client) *GetNotificationSubscriberListV2Params
- func (o *GetNotificationSubscriberListV2Params) WithNamespace(namespace string) *GetNotificationSubscriberListV2Params
- func (o *GetNotificationSubscriberListV2Params) WithNotificationType(notificationType *string) *GetNotificationSubscriberListV2Params
- func (o *GetNotificationSubscriberListV2Params) WithTimeout(timeout time.Duration) *GetNotificationSubscriberListV2Params
- func (o *GetNotificationSubscriberListV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNotificationSubscriberListV2Reader
- type GetNotificationSubscriberListV2Unauthorized
- type GetSubscriptionV2HandlerForbidden
- type GetSubscriptionV2HandlerInternalServerError
- type GetSubscriptionV2HandlerNotFound
- type GetSubscriptionV2HandlerOK
- type GetSubscriptionV2HandlerParams
- func NewGetSubscriptionV2HandlerParams() *GetSubscriptionV2HandlerParams
- func NewGetSubscriptionV2HandlerParamsWithContext(ctx context.Context) *GetSubscriptionV2HandlerParams
- func NewGetSubscriptionV2HandlerParamsWithHTTPClient(client *http.Client) *GetSubscriptionV2HandlerParams
- func NewGetSubscriptionV2HandlerParamsWithTimeout(timeout time.Duration) *GetSubscriptionV2HandlerParams
- func (o *GetSubscriptionV2HandlerParams) SetApp(app string)
- func (o *GetSubscriptionV2HandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetSubscriptionV2HandlerParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionV2HandlerParams) SetFlightId(flightId string)
- func (o *GetSubscriptionV2HandlerParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionV2HandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetSubscriptionV2HandlerParams) SetNamespace(namespace string)
- func (o *GetSubscriptionV2HandlerParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionV2HandlerParams) WithApp(app string) *GetSubscriptionV2HandlerParams
- func (o *GetSubscriptionV2HandlerParams) WithContext(ctx context.Context) *GetSubscriptionV2HandlerParams
- func (o *GetSubscriptionV2HandlerParams) WithHTTPClient(client *http.Client) *GetSubscriptionV2HandlerParams
- func (o *GetSubscriptionV2HandlerParams) WithNamespace(namespace string) *GetSubscriptionV2HandlerParams
- func (o *GetSubscriptionV2HandlerParams) WithTimeout(timeout time.Duration) *GetSubscriptionV2HandlerParams
- func (o *GetSubscriptionV2HandlerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionV2HandlerReader
- type GetSubscriptionV2HandlerUnauthorized
- type SubscribeAppNotificationV2Forbidden
- type SubscribeAppNotificationV2InternalServerError
- type SubscribeAppNotificationV2NotFound
- type SubscribeAppNotificationV2OK
- type SubscribeAppNotificationV2Params
- func NewSubscribeAppNotificationV2Params() *SubscribeAppNotificationV2Params
- func NewSubscribeAppNotificationV2ParamsWithContext(ctx context.Context) *SubscribeAppNotificationV2Params
- func NewSubscribeAppNotificationV2ParamsWithHTTPClient(client *http.Client) *SubscribeAppNotificationV2Params
- func NewSubscribeAppNotificationV2ParamsWithTimeout(timeout time.Duration) *SubscribeAppNotificationV2Params
- func (o *SubscribeAppNotificationV2Params) SetApp(app string)
- func (o *SubscribeAppNotificationV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SubscribeAppNotificationV2Params) SetBody(body *csmclientmodels.ApimodelSubscribeNotificationRequest)
- func (o *SubscribeAppNotificationV2Params) SetContext(ctx context.Context)
- func (o *SubscribeAppNotificationV2Params) SetFlightId(flightId string)
- func (o *SubscribeAppNotificationV2Params) SetHTTPClient(client *http.Client)
- func (o *SubscribeAppNotificationV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SubscribeAppNotificationV2Params) SetNamespace(namespace string)
- func (o *SubscribeAppNotificationV2Params) SetTimeout(timeout time.Duration)
- func (o *SubscribeAppNotificationV2Params) WithApp(app string) *SubscribeAppNotificationV2Params
- func (o *SubscribeAppNotificationV2Params) WithBody(body *csmclientmodels.ApimodelSubscribeNotificationRequest) *SubscribeAppNotificationV2Params
- func (o *SubscribeAppNotificationV2Params) WithContext(ctx context.Context) *SubscribeAppNotificationV2Params
- func (o *SubscribeAppNotificationV2Params) WithHTTPClient(client *http.Client) *SubscribeAppNotificationV2Params
- func (o *SubscribeAppNotificationV2Params) WithNamespace(namespace string) *SubscribeAppNotificationV2Params
- func (o *SubscribeAppNotificationV2Params) WithTimeout(timeout time.Duration) *SubscribeAppNotificationV2Params
- func (o *SubscribeAppNotificationV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubscribeAppNotificationV2Reader
- type SubscribeAppNotificationV2Unauthorized
- type SubscribeV2HandlerForbidden
- type SubscribeV2HandlerInternalServerError
- type SubscribeV2HandlerNoContent
- type SubscribeV2HandlerNotFound
- type SubscribeV2HandlerParams
- func NewSubscribeV2HandlerParams() *SubscribeV2HandlerParams
- func NewSubscribeV2HandlerParamsWithContext(ctx context.Context) *SubscribeV2HandlerParams
- func NewSubscribeV2HandlerParamsWithHTTPClient(client *http.Client) *SubscribeV2HandlerParams
- func NewSubscribeV2HandlerParamsWithTimeout(timeout time.Duration) *SubscribeV2HandlerParams
- func (o *SubscribeV2HandlerParams) SetApp(app string)
- func (o *SubscribeV2HandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SubscribeV2HandlerParams) SetBody(body *csmclientmodels.ApimodelSelfSubscribeNotificationRequest)
- func (o *SubscribeV2HandlerParams) SetContext(ctx context.Context)
- func (o *SubscribeV2HandlerParams) SetFlightId(flightId string)
- func (o *SubscribeV2HandlerParams) SetHTTPClient(client *http.Client)
- func (o *SubscribeV2HandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SubscribeV2HandlerParams) SetNamespace(namespace string)
- func (o *SubscribeV2HandlerParams) SetTimeout(timeout time.Duration)
- func (o *SubscribeV2HandlerParams) WithApp(app string) *SubscribeV2HandlerParams
- func (o *SubscribeV2HandlerParams) WithBody(body *csmclientmodels.ApimodelSelfSubscribeNotificationRequest) *SubscribeV2HandlerParams
- func (o *SubscribeV2HandlerParams) WithContext(ctx context.Context) *SubscribeV2HandlerParams
- func (o *SubscribeV2HandlerParams) WithHTTPClient(client *http.Client) *SubscribeV2HandlerParams
- func (o *SubscribeV2HandlerParams) WithNamespace(namespace string) *SubscribeV2HandlerParams
- func (o *SubscribeV2HandlerParams) WithTimeout(timeout time.Duration) *SubscribeV2HandlerParams
- func (o *SubscribeV2HandlerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubscribeV2HandlerReader
- type SubscribeV2HandlerUnauthorized
- type UnsubscribeV2HandlerForbidden
- type UnsubscribeV2HandlerInternalServerError
- type UnsubscribeV2HandlerNoContent
- type UnsubscribeV2HandlerNotFound
- type UnsubscribeV2HandlerParams
- func NewUnsubscribeV2HandlerParams() *UnsubscribeV2HandlerParams
- func NewUnsubscribeV2HandlerParamsWithContext(ctx context.Context) *UnsubscribeV2HandlerParams
- func NewUnsubscribeV2HandlerParamsWithHTTPClient(client *http.Client) *UnsubscribeV2HandlerParams
- func NewUnsubscribeV2HandlerParamsWithTimeout(timeout time.Duration) *UnsubscribeV2HandlerParams
- func (o *UnsubscribeV2HandlerParams) SetApp(app string)
- func (o *UnsubscribeV2HandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UnsubscribeV2HandlerParams) SetContext(ctx context.Context)
- func (o *UnsubscribeV2HandlerParams) SetFlightId(flightId string)
- func (o *UnsubscribeV2HandlerParams) SetHTTPClient(client *http.Client)
- func (o *UnsubscribeV2HandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UnsubscribeV2HandlerParams) SetNamespace(namespace string)
- func (o *UnsubscribeV2HandlerParams) SetTimeout(timeout time.Duration)
- func (o *UnsubscribeV2HandlerParams) WithApp(app string) *UnsubscribeV2HandlerParams
- func (o *UnsubscribeV2HandlerParams) WithContext(ctx context.Context) *UnsubscribeV2HandlerParams
- func (o *UnsubscribeV2HandlerParams) WithHTTPClient(client *http.Client) *UnsubscribeV2HandlerParams
- func (o *UnsubscribeV2HandlerParams) WithNamespace(namespace string) *UnsubscribeV2HandlerParams
- func (o *UnsubscribeV2HandlerParams) WithTimeout(timeout time.Duration) *UnsubscribeV2HandlerParams
- func (o *UnsubscribeV2HandlerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnsubscribeV2HandlerReader
- type UnsubscribeV2HandlerUnauthorized
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 (o *BulkSaveSubscriptionAppNotificationV2Forbidden) Error() string
func (*BulkSaveSubscriptionAppNotificationV2Forbidden) GetPayload ¶
func (o *BulkSaveSubscriptionAppNotificationV2Forbidden) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*BulkSaveSubscriptionAppNotificationV2Forbidden) ToJSONString ¶
func (o *BulkSaveSubscriptionAppNotificationV2Forbidden) ToJSONString() string
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 (o *BulkSaveSubscriptionAppNotificationV2InternalServerError) Error() string
func (*BulkSaveSubscriptionAppNotificationV2InternalServerError) GetPayload ¶
func (o *BulkSaveSubscriptionAppNotificationV2InternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*BulkSaveSubscriptionAppNotificationV2InternalServerError) ToJSONString ¶
func (o *BulkSaveSubscriptionAppNotificationV2InternalServerError) ToJSONString() string
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 (o *BulkSaveSubscriptionAppNotificationV2NotFound) Error() string
func (*BulkSaveSubscriptionAppNotificationV2NotFound) GetPayload ¶
func (o *BulkSaveSubscriptionAppNotificationV2NotFound) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*BulkSaveSubscriptionAppNotificationV2NotFound) ToJSONString ¶
func (o *BulkSaveSubscriptionAppNotificationV2NotFound) ToJSONString() string
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 (o *BulkSaveSubscriptionAppNotificationV2OK) Error() string
func (*BulkSaveSubscriptionAppNotificationV2OK) GetPayload ¶
func (o *BulkSaveSubscriptionAppNotificationV2OK) GetPayload() *csmclientmodels.ApimodelGetNotificationSubscriberListResponse
func (*BulkSaveSubscriptionAppNotificationV2OK) ToJSONString ¶
func (o *BulkSaveSubscriptionAppNotificationV2OK) ToJSONString() string
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 ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) SetApp(app string)
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 ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) SetBody(body *csmclientmodels.ApimodelBulkSubscribeRequest)
SetBody adds the body to the bulk save subscription app notification v2 params
func (*BulkSaveSubscriptionAppNotificationV2Params) SetContext ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) SetContext(ctx context.Context)
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 ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk save subscription app notification v2 params
func (*BulkSaveSubscriptionAppNotificationV2Params) WithApp ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) WithApp(app string) *BulkSaveSubscriptionAppNotificationV2Params
WithApp adds the app to the bulk save subscription app notification v2 params
func (*BulkSaveSubscriptionAppNotificationV2Params) WithBody ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) WithBody(body *csmclientmodels.ApimodelBulkSubscribeRequest) *BulkSaveSubscriptionAppNotificationV2Params
WithBody adds the body to the bulk save subscription app notification v2 params
func (*BulkSaveSubscriptionAppNotificationV2Params) WithContext ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) WithContext(ctx context.Context) *BulkSaveSubscriptionAppNotificationV2Params
WithContext adds the context to the bulk save subscription app notification v2 params
func (*BulkSaveSubscriptionAppNotificationV2Params) WithHTTPClient ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) WithHTTPClient(client *http.Client) *BulkSaveSubscriptionAppNotificationV2Params
WithHTTPClient adds the HTTPClient to the bulk save subscription app notification v2 params
func (*BulkSaveSubscriptionAppNotificationV2Params) WithNamespace ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) WithNamespace(namespace string) *BulkSaveSubscriptionAppNotificationV2Params
WithNamespace adds the namespace to the bulk save subscription app notification v2 params
func (*BulkSaveSubscriptionAppNotificationV2Params) WithTimeout ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) WithTimeout(timeout time.Duration) *BulkSaveSubscriptionAppNotificationV2Params
WithTimeout adds the timeout to the bulk save subscription app notification v2 params
func (*BulkSaveSubscriptionAppNotificationV2Params) WriteToRequest ¶
func (o *BulkSaveSubscriptionAppNotificationV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *BulkSaveSubscriptionAppNotificationV2Unauthorized) Error() string
func (*BulkSaveSubscriptionAppNotificationV2Unauthorized) GetPayload ¶
func (o *BulkSaveSubscriptionAppNotificationV2Unauthorized) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*BulkSaveSubscriptionAppNotificationV2Unauthorized) ToJSONString ¶
func (o *BulkSaveSubscriptionAppNotificationV2Unauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for notification subscription API
func (*Client) BulkSaveSubscriptionAppNotificationV2
deprecated
func (a *Client) BulkSaveSubscriptionAppNotificationV2(params *BulkSaveSubscriptionAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*BulkSaveSubscriptionAppNotificationV2OK, *BulkSaveSubscriptionAppNotificationV2Unauthorized, *BulkSaveSubscriptionAppNotificationV2Forbidden, *BulkSaveSubscriptionAppNotificationV2NotFound, *BulkSaveSubscriptionAppNotificationV2InternalServerError, error)
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
func (a *Client) DeleteSubscriptionAppNotificationByUserIDV2(params *DeleteSubscriptionAppNotificationByUserIDV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionAppNotificationByUserIDV2OK, *DeleteSubscriptionAppNotificationByUserIDV2Unauthorized, *DeleteSubscriptionAppNotificationByUserIDV2Forbidden, *DeleteSubscriptionAppNotificationByUserIDV2NotFound, *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError, error)
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
func (a *Client) DeleteSubscriptionAppNotificationV2(params *DeleteSubscriptionAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteSubscriptionAppNotificationV2OK, *DeleteSubscriptionAppNotificationV2Unauthorized, *DeleteSubscriptionAppNotificationV2Forbidden, *DeleteSubscriptionAppNotificationV2NotFound, *DeleteSubscriptionAppNotificationV2InternalServerError, error)
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
func (a *Client) GetNotificationSubscriberListV2(params *GetNotificationSubscriberListV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetNotificationSubscriberListV2OK, *GetNotificationSubscriberListV2Unauthorized, *GetNotificationSubscriberListV2Forbidden, *GetNotificationSubscriberListV2NotFound, *GetNotificationSubscriberListV2InternalServerError, error)
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
func (a *Client) GetSubscriptionV2Handler(params *GetSubscriptionV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*GetSubscriptionV2HandlerOK, *GetSubscriptionV2HandlerUnauthorized, *GetSubscriptionV2HandlerForbidden, *GetSubscriptionV2HandlerNotFound, *GetSubscriptionV2HandlerInternalServerError, error)
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
func (a *Client) SubscribeAppNotificationV2(params *SubscribeAppNotificationV2Params, authInfo runtime.ClientAuthInfoWriter) (*SubscribeAppNotificationV2OK, *SubscribeAppNotificationV2Unauthorized, *SubscribeAppNotificationV2Forbidden, *SubscribeAppNotificationV2NotFound, *SubscribeAppNotificationV2InternalServerError, error)
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
func (a *Client) SubscribeV2Handler(params *SubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeV2HandlerNoContent, *SubscribeV2HandlerUnauthorized, *SubscribeV2HandlerForbidden, *SubscribeV2HandlerNotFound, *SubscribeV2HandlerInternalServerError, error)
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
func (a *Client) UnsubscribeV2Handler(params *UnsubscribeV2HandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeV2HandlerNoContent, *UnsubscribeV2HandlerUnauthorized, *UnsubscribeV2HandlerForbidden, *UnsubscribeV2HandlerNotFound, *UnsubscribeV2HandlerInternalServerError, error)
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 (o *DeleteSubscriptionAppNotificationByUserIDV2Forbidden) Error() string
func (*DeleteSubscriptionAppNotificationByUserIDV2Forbidden) GetPayload ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Forbidden) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*DeleteSubscriptionAppNotificationByUserIDV2Forbidden) ToJSONString ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Forbidden) ToJSONString() string
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 (o *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) Error() string
func (*DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) GetPayload ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) ToJSONString ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2InternalServerError) ToJSONString() string
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 (o *DeleteSubscriptionAppNotificationByUserIDV2NotFound) Error() string
func (*DeleteSubscriptionAppNotificationByUserIDV2NotFound) GetPayload ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2NotFound) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*DeleteSubscriptionAppNotificationByUserIDV2NotFound) ToJSONString ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2NotFound) ToJSONString() string
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 ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2OK) Error() string
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 ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetApp(app string)
SetApp adds the app to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetAuthInfoWriter ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetContext ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetContext(ctx context.Context)
SetContext adds the context to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetFlightId ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetHTTPClient ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetHTTPClient(client *http.Client)
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 ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) SetUserID ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) SetUserID(userID string)
SetUserID adds the userId to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithApp ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithApp(app string) *DeleteSubscriptionAppNotificationByUserIDV2Params
WithApp adds the app to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithContext ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithContext(ctx context.Context) *DeleteSubscriptionAppNotificationByUserIDV2Params
WithContext adds the context to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithHTTPClient ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationByUserIDV2Params
WithHTTPClient adds the HTTPClient to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithNamespace ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithNamespace(namespace string) *DeleteSubscriptionAppNotificationByUserIDV2Params
WithNamespace adds the namespace to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithTimeout ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationByUserIDV2Params
WithTimeout adds the timeout to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WithUserID ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WithUserID(userID string) *DeleteSubscriptionAppNotificationByUserIDV2Params
WithUserID adds the userID to the delete subscription app notification by user idv2 params
func (*DeleteSubscriptionAppNotificationByUserIDV2Params) WriteToRequest ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteSubscriptionAppNotificationByUserIDV2Unauthorized) Error() string
func (*DeleteSubscriptionAppNotificationByUserIDV2Unauthorized) GetPayload ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Unauthorized) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*DeleteSubscriptionAppNotificationByUserIDV2Unauthorized) ToJSONString ¶
func (o *DeleteSubscriptionAppNotificationByUserIDV2Unauthorized) ToJSONString() string
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 (o *DeleteSubscriptionAppNotificationV2Forbidden) Error() string
func (*DeleteSubscriptionAppNotificationV2Forbidden) GetPayload ¶
func (o *DeleteSubscriptionAppNotificationV2Forbidden) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*DeleteSubscriptionAppNotificationV2Forbidden) ToJSONString ¶
func (o *DeleteSubscriptionAppNotificationV2Forbidden) ToJSONString() string
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 (o *DeleteSubscriptionAppNotificationV2InternalServerError) Error() string
func (*DeleteSubscriptionAppNotificationV2InternalServerError) GetPayload ¶
func (o *DeleteSubscriptionAppNotificationV2InternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*DeleteSubscriptionAppNotificationV2InternalServerError) ToJSONString ¶
func (o *DeleteSubscriptionAppNotificationV2InternalServerError) ToJSONString() string
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 (o *DeleteSubscriptionAppNotificationV2NotFound) Error() string
func (*DeleteSubscriptionAppNotificationV2NotFound) GetPayload ¶
func (o *DeleteSubscriptionAppNotificationV2NotFound) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*DeleteSubscriptionAppNotificationV2NotFound) ToJSONString ¶
func (o *DeleteSubscriptionAppNotificationV2NotFound) ToJSONString() string
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 ¶
func (o *DeleteSubscriptionAppNotificationV2OK) Error() string
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 ¶
func (o *DeleteSubscriptionAppNotificationV2Params) SetApp(app string)
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 ¶
func (o *DeleteSubscriptionAppNotificationV2Params) SetContext(ctx context.Context)
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 ¶
func (o *DeleteSubscriptionAppNotificationV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete subscription app notification v2 params
func (*DeleteSubscriptionAppNotificationV2Params) WithApp ¶
func (o *DeleteSubscriptionAppNotificationV2Params) WithApp(app string) *DeleteSubscriptionAppNotificationV2Params
WithApp adds the app to the delete subscription app notification v2 params
func (*DeleteSubscriptionAppNotificationV2Params) WithContext ¶
func (o *DeleteSubscriptionAppNotificationV2Params) WithContext(ctx context.Context) *DeleteSubscriptionAppNotificationV2Params
WithContext adds the context to the delete subscription app notification v2 params
func (*DeleteSubscriptionAppNotificationV2Params) WithHTTPClient ¶
func (o *DeleteSubscriptionAppNotificationV2Params) WithHTTPClient(client *http.Client) *DeleteSubscriptionAppNotificationV2Params
WithHTTPClient adds the HTTPClient to the delete subscription app notification v2 params
func (*DeleteSubscriptionAppNotificationV2Params) WithNamespace ¶
func (o *DeleteSubscriptionAppNotificationV2Params) WithNamespace(namespace string) *DeleteSubscriptionAppNotificationV2Params
WithNamespace adds the namespace to the delete subscription app notification v2 params
func (*DeleteSubscriptionAppNotificationV2Params) WithSubscriptionID ¶
func (o *DeleteSubscriptionAppNotificationV2Params) WithSubscriptionID(subscriptionID string) *DeleteSubscriptionAppNotificationV2Params
WithSubscriptionID adds the subscriptionID to the delete subscription app notification v2 params
func (*DeleteSubscriptionAppNotificationV2Params) WithTimeout ¶
func (o *DeleteSubscriptionAppNotificationV2Params) WithTimeout(timeout time.Duration) *DeleteSubscriptionAppNotificationV2Params
WithTimeout adds the timeout to the delete subscription app notification v2 params
func (*DeleteSubscriptionAppNotificationV2Params) WriteToRequest ¶
func (o *DeleteSubscriptionAppNotificationV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteSubscriptionAppNotificationV2Unauthorized) Error() string
func (*DeleteSubscriptionAppNotificationV2Unauthorized) GetPayload ¶
func (o *DeleteSubscriptionAppNotificationV2Unauthorized) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*DeleteSubscriptionAppNotificationV2Unauthorized) ToJSONString ¶
func (o *DeleteSubscriptionAppNotificationV2Unauthorized) ToJSONString() string
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 (o *GetNotificationSubscriberListV2Forbidden) Error() string
func (*GetNotificationSubscriberListV2Forbidden) GetPayload ¶
func (o *GetNotificationSubscriberListV2Forbidden) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*GetNotificationSubscriberListV2Forbidden) ToJSONString ¶
func (o *GetNotificationSubscriberListV2Forbidden) ToJSONString() string
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 (o *GetNotificationSubscriberListV2InternalServerError) Error() string
func (*GetNotificationSubscriberListV2InternalServerError) GetPayload ¶
func (o *GetNotificationSubscriberListV2InternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*GetNotificationSubscriberListV2InternalServerError) ToJSONString ¶
func (o *GetNotificationSubscriberListV2InternalServerError) ToJSONString() string
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 (o *GetNotificationSubscriberListV2NotFound) Error() string
func (*GetNotificationSubscriberListV2NotFound) GetPayload ¶
func (o *GetNotificationSubscriberListV2NotFound) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*GetNotificationSubscriberListV2NotFound) ToJSONString ¶
func (o *GetNotificationSubscriberListV2NotFound) ToJSONString() string
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 (o *GetNotificationSubscriberListV2OK) Error() string
func (*GetNotificationSubscriberListV2OK) GetPayload ¶
func (o *GetNotificationSubscriberListV2OK) GetPayload() *csmclientmodels.ApimodelGetNotificationSubscriberListResponse
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 ¶
func (o *GetNotificationSubscriberListV2Params) SetApp(app string)
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 ¶
func (o *GetNotificationSubscriberListV2Params) SetContext(ctx context.Context)
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 ¶
func (o *GetNotificationSubscriberListV2Params) WithApp(app string) *GetNotificationSubscriberListV2Params
WithApp adds the app to the get notification subscriber list v2 params
func (*GetNotificationSubscriberListV2Params) WithContext ¶
func (o *GetNotificationSubscriberListV2Params) WithContext(ctx context.Context) *GetNotificationSubscriberListV2Params
WithContext adds the context to the get notification subscriber list v2 params
func (*GetNotificationSubscriberListV2Params) WithHTTPClient ¶
func (o *GetNotificationSubscriberListV2Params) WithHTTPClient(client *http.Client) *GetNotificationSubscriberListV2Params
WithHTTPClient adds the HTTPClient to the get notification subscriber list v2 params
func (*GetNotificationSubscriberListV2Params) WithNamespace ¶
func (o *GetNotificationSubscriberListV2Params) WithNamespace(namespace string) *GetNotificationSubscriberListV2Params
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 ¶
func (o *GetNotificationSubscriberListV2Params) WithTimeout(timeout time.Duration) *GetNotificationSubscriberListV2Params
WithTimeout adds the timeout to the get notification subscriber list v2 params
func (*GetNotificationSubscriberListV2Params) WriteToRequest ¶
func (o *GetNotificationSubscriberListV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetNotificationSubscriberListV2Unauthorized) Error() string
func (*GetNotificationSubscriberListV2Unauthorized) GetPayload ¶
func (o *GetNotificationSubscriberListV2Unauthorized) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*GetNotificationSubscriberListV2Unauthorized) ToJSONString ¶
func (o *GetNotificationSubscriberListV2Unauthorized) ToJSONString() string
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 (o *GetSubscriptionV2HandlerForbidden) Error() string
func (*GetSubscriptionV2HandlerForbidden) GetPayload ¶
func (o *GetSubscriptionV2HandlerForbidden) GetPayload() *csmclientmodels.ResponseErrorResponse
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 (o *GetSubscriptionV2HandlerInternalServerError) Error() string
func (*GetSubscriptionV2HandlerInternalServerError) GetPayload ¶
func (o *GetSubscriptionV2HandlerInternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*GetSubscriptionV2HandlerInternalServerError) ToJSONString ¶
func (o *GetSubscriptionV2HandlerInternalServerError) ToJSONString() string
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 (o *GetSubscriptionV2HandlerNotFound) Error() string
func (*GetSubscriptionV2HandlerNotFound) GetPayload ¶
func (o *GetSubscriptionV2HandlerNotFound) GetPayload() *csmclientmodels.ResponseErrorResponse
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 (o *GetSubscriptionV2HandlerOK) Error() string
func (*GetSubscriptionV2HandlerOK) GetPayload ¶
func (o *GetSubscriptionV2HandlerOK) GetPayload() *csmclientmodels.ApimodelGetNotificationSubscriberStatusResponse
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 ¶
func (o *GetSubscriptionV2HandlerParams) WithApp(app string) *GetSubscriptionV2HandlerParams
WithApp adds the app to the get subscription v2 handler params
func (*GetSubscriptionV2HandlerParams) WithContext ¶
func (o *GetSubscriptionV2HandlerParams) WithContext(ctx context.Context) *GetSubscriptionV2HandlerParams
WithContext adds the context to the get subscription v2 handler params
func (*GetSubscriptionV2HandlerParams) WithHTTPClient ¶
func (o *GetSubscriptionV2HandlerParams) WithHTTPClient(client *http.Client) *GetSubscriptionV2HandlerParams
WithHTTPClient adds the HTTPClient to the get subscription v2 handler params
func (*GetSubscriptionV2HandlerParams) WithNamespace ¶
func (o *GetSubscriptionV2HandlerParams) WithNamespace(namespace string) *GetSubscriptionV2HandlerParams
WithNamespace adds the namespace to the get subscription v2 handler params
func (*GetSubscriptionV2HandlerParams) WithTimeout ¶
func (o *GetSubscriptionV2HandlerParams) WithTimeout(timeout time.Duration) *GetSubscriptionV2HandlerParams
WithTimeout adds the timeout to the get subscription v2 handler params
func (*GetSubscriptionV2HandlerParams) WriteToRequest ¶
func (o *GetSubscriptionV2HandlerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetSubscriptionV2HandlerUnauthorized) Error() string
func (*GetSubscriptionV2HandlerUnauthorized) GetPayload ¶
func (o *GetSubscriptionV2HandlerUnauthorized) GetPayload() *csmclientmodels.ResponseErrorResponse
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 (o *SubscribeAppNotificationV2Forbidden) Error() string
func (*SubscribeAppNotificationV2Forbidden) GetPayload ¶
func (o *SubscribeAppNotificationV2Forbidden) GetPayload() *csmclientmodels.ResponseErrorResponse
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 (o *SubscribeAppNotificationV2InternalServerError) Error() string
func (*SubscribeAppNotificationV2InternalServerError) GetPayload ¶
func (o *SubscribeAppNotificationV2InternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*SubscribeAppNotificationV2InternalServerError) ToJSONString ¶
func (o *SubscribeAppNotificationV2InternalServerError) ToJSONString() string
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 (o *SubscribeAppNotificationV2NotFound) Error() string
func (*SubscribeAppNotificationV2NotFound) GetPayload ¶
func (o *SubscribeAppNotificationV2NotFound) GetPayload() *csmclientmodels.ResponseErrorResponse
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 (o *SubscribeAppNotificationV2OK) Error() string
func (*SubscribeAppNotificationV2OK) GetPayload ¶
func (o *SubscribeAppNotificationV2OK) GetPayload() *csmclientmodels.ApimodelSubscribeNotificationResponse
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 ¶
func (o *SubscribeAppNotificationV2Params) SetApp(app string)
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 ¶
func (o *SubscribeAppNotificationV2Params) SetBody(body *csmclientmodels.ApimodelSubscribeNotificationRequest)
SetBody adds the body to the subscribe app notification v2 params
func (*SubscribeAppNotificationV2Params) SetContext ¶
func (o *SubscribeAppNotificationV2Params) SetContext(ctx context.Context)
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 ¶
func (o *SubscribeAppNotificationV2Params) WithApp(app string) *SubscribeAppNotificationV2Params
WithApp adds the app to the subscribe app notification v2 params
func (*SubscribeAppNotificationV2Params) WithBody ¶
func (o *SubscribeAppNotificationV2Params) WithBody(body *csmclientmodels.ApimodelSubscribeNotificationRequest) *SubscribeAppNotificationV2Params
WithBody adds the body to the subscribe app notification v2 params
func (*SubscribeAppNotificationV2Params) WithContext ¶
func (o *SubscribeAppNotificationV2Params) WithContext(ctx context.Context) *SubscribeAppNotificationV2Params
WithContext adds the context to the subscribe app notification v2 params
func (*SubscribeAppNotificationV2Params) WithHTTPClient ¶
func (o *SubscribeAppNotificationV2Params) WithHTTPClient(client *http.Client) *SubscribeAppNotificationV2Params
WithHTTPClient adds the HTTPClient to the subscribe app notification v2 params
func (*SubscribeAppNotificationV2Params) WithNamespace ¶
func (o *SubscribeAppNotificationV2Params) WithNamespace(namespace string) *SubscribeAppNotificationV2Params
WithNamespace adds the namespace to the subscribe app notification v2 params
func (*SubscribeAppNotificationV2Params) WithTimeout ¶
func (o *SubscribeAppNotificationV2Params) WithTimeout(timeout time.Duration) *SubscribeAppNotificationV2Params
WithTimeout adds the timeout to the subscribe app notification v2 params
func (*SubscribeAppNotificationV2Params) WriteToRequest ¶
func (o *SubscribeAppNotificationV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *SubscribeAppNotificationV2Unauthorized) Error() string
func (*SubscribeAppNotificationV2Unauthorized) GetPayload ¶
func (o *SubscribeAppNotificationV2Unauthorized) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*SubscribeAppNotificationV2Unauthorized) ToJSONString ¶
func (o *SubscribeAppNotificationV2Unauthorized) ToJSONString() string
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 (o *SubscribeV2HandlerForbidden) Error() string
func (*SubscribeV2HandlerForbidden) GetPayload ¶
func (o *SubscribeV2HandlerForbidden) GetPayload() *csmclientmodels.ResponseErrorResponse
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 (o *SubscribeV2HandlerInternalServerError) Error() string
func (*SubscribeV2HandlerInternalServerError) GetPayload ¶
func (o *SubscribeV2HandlerInternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*SubscribeV2HandlerInternalServerError) ToJSONString ¶
func (o *SubscribeV2HandlerInternalServerError) ToJSONString() string
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 ¶
func (o *SubscribeV2HandlerNoContent) Error() string
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 (o *SubscribeV2HandlerNotFound) Error() string
func (*SubscribeV2HandlerNotFound) GetPayload ¶
func (o *SubscribeV2HandlerNotFound) GetPayload() *csmclientmodels.ResponseErrorResponse
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 ¶
func (o *SubscribeV2HandlerParams) SetBody(body *csmclientmodels.ApimodelSelfSubscribeNotificationRequest)
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 ¶
func (o *SubscribeV2HandlerParams) WithApp(app string) *SubscribeV2HandlerParams
WithApp adds the app to the subscribe v2 handler params
func (*SubscribeV2HandlerParams) WithBody ¶
func (o *SubscribeV2HandlerParams) WithBody(body *csmclientmodels.ApimodelSelfSubscribeNotificationRequest) *SubscribeV2HandlerParams
WithBody adds the body to the subscribe v2 handler params
func (*SubscribeV2HandlerParams) WithContext ¶
func (o *SubscribeV2HandlerParams) WithContext(ctx context.Context) *SubscribeV2HandlerParams
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 ¶
func (o *SubscribeV2HandlerParams) WithTimeout(timeout time.Duration) *SubscribeV2HandlerParams
WithTimeout adds the timeout to the subscribe v2 handler params
func (*SubscribeV2HandlerParams) WriteToRequest ¶
func (o *SubscribeV2HandlerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *SubscribeV2HandlerUnauthorized) Error() string
func (*SubscribeV2HandlerUnauthorized) GetPayload ¶
func (o *SubscribeV2HandlerUnauthorized) GetPayload() *csmclientmodels.ResponseErrorResponse
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 (o *UnsubscribeV2HandlerForbidden) Error() string
func (*UnsubscribeV2HandlerForbidden) GetPayload ¶
func (o *UnsubscribeV2HandlerForbidden) GetPayload() *csmclientmodels.ResponseErrorResponse
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 (o *UnsubscribeV2HandlerInternalServerError) Error() string
func (*UnsubscribeV2HandlerInternalServerError) GetPayload ¶
func (o *UnsubscribeV2HandlerInternalServerError) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*UnsubscribeV2HandlerInternalServerError) ToJSONString ¶
func (o *UnsubscribeV2HandlerInternalServerError) ToJSONString() string
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 ¶
func (o *UnsubscribeV2HandlerNoContent) Error() string
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 (o *UnsubscribeV2HandlerNotFound) Error() string
func (*UnsubscribeV2HandlerNotFound) GetPayload ¶
func (o *UnsubscribeV2HandlerNotFound) GetPayload() *csmclientmodels.ResponseErrorResponse
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 ¶
func (o *UnsubscribeV2HandlerParams) WithApp(app string) *UnsubscribeV2HandlerParams
WithApp adds the app to the unsubscribe v2 handler params
func (*UnsubscribeV2HandlerParams) WithContext ¶
func (o *UnsubscribeV2HandlerParams) WithContext(ctx context.Context) *UnsubscribeV2HandlerParams
WithContext adds the context to the unsubscribe v2 handler params
func (*UnsubscribeV2HandlerParams) WithHTTPClient ¶
func (o *UnsubscribeV2HandlerParams) WithHTTPClient(client *http.Client) *UnsubscribeV2HandlerParams
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 ¶
func (o *UnsubscribeV2HandlerParams) WithTimeout(timeout time.Duration) *UnsubscribeV2HandlerParams
WithTimeout adds the timeout to the unsubscribe v2 handler params
func (*UnsubscribeV2HandlerParams) WriteToRequest ¶
func (o *UnsubscribeV2HandlerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *UnsubscribeV2HandlerUnauthorized) Error() string
func (*UnsubscribeV2HandlerUnauthorized) GetPayload ¶
func (o *UnsubscribeV2HandlerUnauthorized) GetPayload() *csmclientmodels.ResponseErrorResponse
func (*UnsubscribeV2HandlerUnauthorized) ToJSONString ¶
func (o *UnsubscribeV2HandlerUnauthorized) ToJSONString() string
Source Files
¶
- bulk_save_subscription_app_notification_v2_parameters.go
- bulk_save_subscription_app_notification_v2_responses.go
- delete_subscription_app_notification_by_user_id_v2_parameters.go
- delete_subscription_app_notification_by_user_id_v2_responses.go
- delete_subscription_app_notification_v2_parameters.go
- delete_subscription_app_notification_v2_responses.go
- get_notification_subscriber_list_v2_parameters.go
- get_notification_subscriber_list_v2_responses.go
- get_subscription_v2_handler_parameters.go
- get_subscription_v2_handler_responses.go
- notification_subscription_client.go
- subscribe_app_notification_v2_parameters.go
- subscribe_app_notification_v2_responses.go
- subscribe_v2_handler_parameters.go
- subscribe_v2_handler_responses.go
- unsubscribe_v2_handler_parameters.go
- unsubscribe_v2_handler_responses.go