Documentation ¶
Index ¶
- Constants
- type CancelSubscriptionConflict
- type CancelSubscriptionNotFound
- type CancelSubscriptionOK
- type CancelSubscriptionParams
- func NewCancelSubscriptionParams() *CancelSubscriptionParams
- func NewCancelSubscriptionParamsWithContext(ctx context.Context) *CancelSubscriptionParams
- func NewCancelSubscriptionParamsWithHTTPClient(client *http.Client) *CancelSubscriptionParams
- func NewCancelSubscriptionParamsWithTimeout(timeout time.Duration) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CancelSubscriptionParams) SetBody(body *platformclientmodels.CancelRequest)
- func (o *CancelSubscriptionParams) SetContext(ctx context.Context)
- func (o *CancelSubscriptionParams) SetForce(force *bool)
- func (o *CancelSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CancelSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CancelSubscriptionParams) SetNamespace(namespace string)
- func (o *CancelSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *CancelSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CancelSubscriptionParams) SetUserID(userID string)
- func (o *CancelSubscriptionParams) WithBody(body *platformclientmodels.CancelRequest) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithContext(ctx context.Context) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithForce(force *bool) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithHTTPClient(client *http.Client) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithNamespace(namespace string) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithSubscriptionID(subscriptionID string) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithTimeout(timeout time.Duration) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WithUserID(userID string) *CancelSubscriptionParams
- func (o *CancelSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelSubscriptionReader
- type CheckUserSubscriptionSubscribableByItemIDOK
- type CheckUserSubscriptionSubscribableByItemIDParams
- func NewCheckUserSubscriptionSubscribableByItemIDParams() *CheckUserSubscriptionSubscribableByItemIDParams
- func NewCheckUserSubscriptionSubscribableByItemIDParamsWithContext(ctx context.Context) *CheckUserSubscriptionSubscribableByItemIDParams
- func NewCheckUserSubscriptionSubscribableByItemIDParamsWithHTTPClient(client *http.Client) *CheckUserSubscriptionSubscribableByItemIDParams
- func NewCheckUserSubscriptionSubscribableByItemIDParamsWithTimeout(timeout time.Duration) *CheckUserSubscriptionSubscribableByItemIDParams
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetContext(ctx context.Context)
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClient(client *http.Client)
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetItemID(itemID string)
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetNamespace(namespace string)
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetTimeout(timeout time.Duration)
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetUserID(userID string)
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithContext(ctx context.Context) *CheckUserSubscriptionSubscribableByItemIDParams
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithHTTPClient(client *http.Client) *CheckUserSubscriptionSubscribableByItemIDParams
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithItemID(itemID string) *CheckUserSubscriptionSubscribableByItemIDParams
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithNamespace(namespace string) *CheckUserSubscriptionSubscribableByItemIDParams
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithTimeout(timeout time.Duration) *CheckUserSubscriptionSubscribableByItemIDParams
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithUserID(userID string) *CheckUserSubscriptionSubscribableByItemIDParams
- func (o *CheckUserSubscriptionSubscribableByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckUserSubscriptionSubscribableByItemIDReader
- type Client
- func (a *Client) CancelSubscription(params *CancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*CancelSubscriptionOK, *CancelSubscriptionNotFound, ...)deprecated
- func (a *Client) CancelSubscriptionShort(params *CancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*CancelSubscriptionOK, error)
- func (a *Client) CheckUserSubscriptionSubscribableByItemID(params *CheckUserSubscriptionSubscribableByItemIDParams, ...) (*CheckUserSubscriptionSubscribableByItemIDOK, error)deprecated
- func (a *Client) CheckUserSubscriptionSubscribableByItemIDShort(params *CheckUserSubscriptionSubscribableByItemIDParams, ...) (*CheckUserSubscriptionSubscribableByItemIDOK, error)
- func (a *Client) DeleteUserSubscription(params *DeleteUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSubscriptionNoContent, error)deprecated
- func (a *Client) DeleteUserSubscriptionShort(params *DeleteUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSubscriptionNoContent, error)
- func (a *Client) GetUserSubscription(params *GetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionOK, *GetUserSubscriptionNotFound, error)deprecated
- func (a *Client) GetUserSubscriptionActivities(params *GetUserSubscriptionActivitiesParams, ...) (*GetUserSubscriptionActivitiesOK, error)deprecated
- func (a *Client) GetUserSubscriptionActivitiesShort(params *GetUserSubscriptionActivitiesParams, ...) (*GetUserSubscriptionActivitiesOK, error)
- func (a *Client) GetUserSubscriptionBillingHistories(params *GetUserSubscriptionBillingHistoriesParams, ...) (*GetUserSubscriptionBillingHistoriesOK, error)deprecated
- func (a *Client) GetUserSubscriptionBillingHistoriesShort(params *GetUserSubscriptionBillingHistoriesParams, ...) (*GetUserSubscriptionBillingHistoriesOK, error)
- func (a *Client) GetUserSubscriptionShort(params *GetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionOK, error)
- func (a *Client) GrantDaysToSubscription(params *GrantDaysToSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GrantDaysToSubscriptionOK, *GrantDaysToSubscriptionNotFound, error)deprecated
- func (a *Client) GrantDaysToSubscriptionShort(params *GrantDaysToSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GrantDaysToSubscriptionOK, error)
- func (a *Client) PlatformSubscribeSubscription(params *PlatformSubscribeSubscriptionParams, ...) (*PlatformSubscribeSubscriptionOK, *PlatformSubscribeSubscriptionCreated, ...)deprecated
- func (a *Client) PlatformSubscribeSubscriptionShort(params *PlatformSubscribeSubscriptionParams, ...) (*PlatformSubscribeSubscriptionOK, error)
- func (a *Client) ProcessUserSubscriptionNotification(params *ProcessUserSubscriptionNotificationParams, ...) (*ProcessUserSubscriptionNotificationNoContent, ...)deprecated
- func (a *Client) ProcessUserSubscriptionNotificationShort(params *ProcessUserSubscriptionNotificationParams, ...) (*ProcessUserSubscriptionNotificationNoContent, error)
- func (a *Client) PublicCancelSubscription(params *PublicCancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelSubscriptionOK, *PublicCancelSubscriptionNotFound, ...)deprecated
- func (a *Client) PublicCancelSubscriptionShort(params *PublicCancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelSubscriptionOK, error)
- func (a *Client) PublicChangeSubscriptionBillingAccount(params *PublicChangeSubscriptionBillingAccountParams, ...) (*PublicChangeSubscriptionBillingAccountOK, ...)deprecated
- func (a *Client) PublicChangeSubscriptionBillingAccountShort(params *PublicChangeSubscriptionBillingAccountParams, ...) (*PublicChangeSubscriptionBillingAccountOK, error)
- func (a *Client) PublicCheckUserSubscriptionSubscribableByItemID(params *PublicCheckUserSubscriptionSubscribableByItemIDParams, ...) (*PublicCheckUserSubscriptionSubscribableByItemIDOK, error)deprecated
- func (a *Client) PublicCheckUserSubscriptionSubscribableByItemIDShort(params *PublicCheckUserSubscriptionSubscribableByItemIDParams, ...) (*PublicCheckUserSubscriptionSubscribableByItemIDOK, error)
- func (a *Client) PublicGetUserSubscription(params *PublicGetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionOK, *PublicGetUserSubscriptionNotFound, error)deprecated
- func (a *Client) PublicGetUserSubscriptionBillingHistories(params *PublicGetUserSubscriptionBillingHistoriesParams, ...) (*PublicGetUserSubscriptionBillingHistoriesOK, error)deprecated
- func (a *Client) PublicGetUserSubscriptionBillingHistoriesShort(params *PublicGetUserSubscriptionBillingHistoriesParams, ...) (*PublicGetUserSubscriptionBillingHistoriesOK, error)
- func (a *Client) PublicGetUserSubscriptionShort(params *PublicGetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionOK, error)
- func (a *Client) PublicQueryUserSubscriptions(params *PublicQueryUserSubscriptionsParams, ...) (*PublicQueryUserSubscriptionsOK, error)deprecated
- func (a *Client) PublicQueryUserSubscriptionsShort(params *PublicQueryUserSubscriptionsParams, ...) (*PublicQueryUserSubscriptionsOK, error)
- func (a *Client) PublicSubscribeSubscription(params *PublicSubscribeSubscriptionParams, ...) (*PublicSubscribeSubscriptionCreated, *PublicSubscribeSubscriptionBadRequest, ...)deprecated
- func (a *Client) PublicSubscribeSubscriptionShort(params *PublicSubscribeSubscriptionParams, ...) (*PublicSubscribeSubscriptionCreated, error)
- func (a *Client) QuerySubscriptions(params *QuerySubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySubscriptionsOK, error)deprecated
- func (a *Client) QuerySubscriptionsShort(params *QuerySubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySubscriptionsOK, error)
- func (a *Client) QueryUserSubscriptions(params *QueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserSubscriptionsOK, error)deprecated
- func (a *Client) QueryUserSubscriptionsShort(params *QueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserSubscriptionsOK, error)
- func (a *Client) RecurringChargeSubscription(params *RecurringChargeSubscriptionParams, ...) (*RecurringChargeSubscriptionOK, error)deprecated
- func (a *Client) RecurringChargeSubscriptionShort(params *RecurringChargeSubscriptionParams, ...) (*RecurringChargeSubscriptionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteUserSubscriptionNoContent
- type DeleteUserSubscriptionParams
- func NewDeleteUserSubscriptionParams() *DeleteUserSubscriptionParams
- func NewDeleteUserSubscriptionParamsWithContext(ctx context.Context) *DeleteUserSubscriptionParams
- func NewDeleteUserSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteUserSubscriptionParams
- func NewDeleteUserSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteUserSubscriptionParams
- func (o *DeleteUserSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteUserSubscriptionParams) SetContext(ctx context.Context)
- func (o *DeleteUserSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteUserSubscriptionParams) SetNamespace(namespace string)
- func (o *DeleteUserSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *DeleteUserSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserSubscriptionParams) SetUserID(userID string)
- func (o *DeleteUserSubscriptionParams) WithContext(ctx context.Context) *DeleteUserSubscriptionParams
- func (o *DeleteUserSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteUserSubscriptionParams
- func (o *DeleteUserSubscriptionParams) WithNamespace(namespace string) *DeleteUserSubscriptionParams
- func (o *DeleteUserSubscriptionParams) WithSubscriptionID(subscriptionID string) *DeleteUserSubscriptionParams
- func (o *DeleteUserSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteUserSubscriptionParams
- func (o *DeleteUserSubscriptionParams) WithUserID(userID string) *DeleteUserSubscriptionParams
- func (o *DeleteUserSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserSubscriptionReader
- type GetUserSubscriptionActivitiesOK
- type GetUserSubscriptionActivitiesParams
- func NewGetUserSubscriptionActivitiesParams() *GetUserSubscriptionActivitiesParams
- func NewGetUserSubscriptionActivitiesParamsWithContext(ctx context.Context) *GetUserSubscriptionActivitiesParams
- func NewGetUserSubscriptionActivitiesParamsWithHTTPClient(client *http.Client) *GetUserSubscriptionActivitiesParams
- func NewGetUserSubscriptionActivitiesParamsWithTimeout(timeout time.Duration) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserSubscriptionActivitiesParams) SetContext(ctx context.Context)
- func (o *GetUserSubscriptionActivitiesParams) SetExcludeSystem(excludeSystem *bool)
- func (o *GetUserSubscriptionActivitiesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserSubscriptionActivitiesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserSubscriptionActivitiesParams) SetLimit(limit *int32)
- func (o *GetUserSubscriptionActivitiesParams) SetNamespace(namespace string)
- func (o *GetUserSubscriptionActivitiesParams) SetOffset(offset *int32)
- func (o *GetUserSubscriptionActivitiesParams) SetSubscriptionID(subscriptionID *string)
- func (o *GetUserSubscriptionActivitiesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserSubscriptionActivitiesParams) SetUserID(userID string)
- func (o *GetUserSubscriptionActivitiesParams) WithContext(ctx context.Context) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WithExcludeSystem(excludeSystem *bool) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WithHTTPClient(client *http.Client) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WithLimit(limit *int32) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WithNamespace(namespace string) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WithOffset(offset *int32) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WithSubscriptionID(subscriptionID *string) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WithTimeout(timeout time.Duration) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WithUserID(userID string) *GetUserSubscriptionActivitiesParams
- func (o *GetUserSubscriptionActivitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserSubscriptionActivitiesReader
- type GetUserSubscriptionBillingHistoriesOK
- type GetUserSubscriptionBillingHistoriesParams
- func NewGetUserSubscriptionBillingHistoriesParams() *GetUserSubscriptionBillingHistoriesParams
- func NewGetUserSubscriptionBillingHistoriesParamsWithContext(ctx context.Context) *GetUserSubscriptionBillingHistoriesParams
- func NewGetUserSubscriptionBillingHistoriesParamsWithHTTPClient(client *http.Client) *GetUserSubscriptionBillingHistoriesParams
- func NewGetUserSubscriptionBillingHistoriesParamsWithTimeout(timeout time.Duration) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetContext(ctx context.Context)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetExcludeFree(excludeFree *bool)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetLimit(limit *int32)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetNamespace(namespace string)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetOffset(offset *int32)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetSubscriptionID(subscriptionID string)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserSubscriptionBillingHistoriesParams) SetUserID(userID string)
- func (o *GetUserSubscriptionBillingHistoriesParams) WithContext(ctx context.Context) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WithExcludeFree(excludeFree *bool) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WithHTTPClient(client *http.Client) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WithLimit(limit *int32) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WithNamespace(namespace string) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WithOffset(offset *int32) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WithSubscriptionID(subscriptionID string) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WithTimeout(timeout time.Duration) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WithUserID(userID string) *GetUserSubscriptionBillingHistoriesParams
- func (o *GetUserSubscriptionBillingHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserSubscriptionBillingHistoriesReader
- type GetUserSubscriptionNotFound
- type GetUserSubscriptionOK
- type GetUserSubscriptionParams
- func NewGetUserSubscriptionParams() *GetUserSubscriptionParams
- func NewGetUserSubscriptionParamsWithContext(ctx context.Context) *GetUserSubscriptionParams
- func NewGetUserSubscriptionParamsWithHTTPClient(client *http.Client) *GetUserSubscriptionParams
- func NewGetUserSubscriptionParamsWithTimeout(timeout time.Duration) *GetUserSubscriptionParams
- func (o *GetUserSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserSubscriptionParams) SetContext(ctx context.Context)
- func (o *GetUserSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetUserSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserSubscriptionParams) SetNamespace(namespace string)
- func (o *GetUserSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *GetUserSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetUserSubscriptionParams) SetUserID(userID string)
- func (o *GetUserSubscriptionParams) WithContext(ctx context.Context) *GetUserSubscriptionParams
- func (o *GetUserSubscriptionParams) WithHTTPClient(client *http.Client) *GetUserSubscriptionParams
- func (o *GetUserSubscriptionParams) WithNamespace(namespace string) *GetUserSubscriptionParams
- func (o *GetUserSubscriptionParams) WithSubscriptionID(subscriptionID string) *GetUserSubscriptionParams
- func (o *GetUserSubscriptionParams) WithTimeout(timeout time.Duration) *GetUserSubscriptionParams
- func (o *GetUserSubscriptionParams) WithUserID(userID string) *GetUserSubscriptionParams
- func (o *GetUserSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserSubscriptionReader
- type GrantDaysToSubscriptionNotFound
- type GrantDaysToSubscriptionOK
- type GrantDaysToSubscriptionParams
- func NewGrantDaysToSubscriptionParams() *GrantDaysToSubscriptionParams
- func NewGrantDaysToSubscriptionParamsWithContext(ctx context.Context) *GrantDaysToSubscriptionParams
- func NewGrantDaysToSubscriptionParamsWithHTTPClient(client *http.Client) *GrantDaysToSubscriptionParams
- func NewGrantDaysToSubscriptionParamsWithTimeout(timeout time.Duration) *GrantDaysToSubscriptionParams
- func (o *GrantDaysToSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GrantDaysToSubscriptionParams) SetBody(body *platformclientmodels.GrantSubscriptionDaysRequest)
- func (o *GrantDaysToSubscriptionParams) SetContext(ctx context.Context)
- func (o *GrantDaysToSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GrantDaysToSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GrantDaysToSubscriptionParams) SetNamespace(namespace string)
- func (o *GrantDaysToSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *GrantDaysToSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GrantDaysToSubscriptionParams) SetUserID(userID string)
- func (o *GrantDaysToSubscriptionParams) WithBody(body *platformclientmodels.GrantSubscriptionDaysRequest) *GrantDaysToSubscriptionParams
- func (o *GrantDaysToSubscriptionParams) WithContext(ctx context.Context) *GrantDaysToSubscriptionParams
- func (o *GrantDaysToSubscriptionParams) WithHTTPClient(client *http.Client) *GrantDaysToSubscriptionParams
- func (o *GrantDaysToSubscriptionParams) WithNamespace(namespace string) *GrantDaysToSubscriptionParams
- func (o *GrantDaysToSubscriptionParams) WithSubscriptionID(subscriptionID string) *GrantDaysToSubscriptionParams
- func (o *GrantDaysToSubscriptionParams) WithTimeout(timeout time.Duration) *GrantDaysToSubscriptionParams
- func (o *GrantDaysToSubscriptionParams) WithUserID(userID string) *GrantDaysToSubscriptionParams
- func (o *GrantDaysToSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GrantDaysToSubscriptionReader
- type PlatformSubscribeSubscriptionBadRequest
- type PlatformSubscribeSubscriptionCreated
- type PlatformSubscribeSubscriptionNotFound
- type PlatformSubscribeSubscriptionOK
- type PlatformSubscribeSubscriptionParams
- func NewPlatformSubscribeSubscriptionParams() *PlatformSubscribeSubscriptionParams
- func NewPlatformSubscribeSubscriptionParamsWithContext(ctx context.Context) *PlatformSubscribeSubscriptionParams
- func NewPlatformSubscribeSubscriptionParamsWithHTTPClient(client *http.Client) *PlatformSubscribeSubscriptionParams
- func NewPlatformSubscribeSubscriptionParamsWithTimeout(timeout time.Duration) *PlatformSubscribeSubscriptionParams
- func (o *PlatformSubscribeSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PlatformSubscribeSubscriptionParams) SetBody(body *platformclientmodels.PlatformSubscribeRequest)
- func (o *PlatformSubscribeSubscriptionParams) SetContext(ctx context.Context)
- func (o *PlatformSubscribeSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *PlatformSubscribeSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PlatformSubscribeSubscriptionParams) SetNamespace(namespace string)
- func (o *PlatformSubscribeSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *PlatformSubscribeSubscriptionParams) SetUserID(userID string)
- func (o *PlatformSubscribeSubscriptionParams) WithBody(body *platformclientmodels.PlatformSubscribeRequest) *PlatformSubscribeSubscriptionParams
- func (o *PlatformSubscribeSubscriptionParams) WithContext(ctx context.Context) *PlatformSubscribeSubscriptionParams
- func (o *PlatformSubscribeSubscriptionParams) WithHTTPClient(client *http.Client) *PlatformSubscribeSubscriptionParams
- func (o *PlatformSubscribeSubscriptionParams) WithNamespace(namespace string) *PlatformSubscribeSubscriptionParams
- func (o *PlatformSubscribeSubscriptionParams) WithTimeout(timeout time.Duration) *PlatformSubscribeSubscriptionParams
- func (o *PlatformSubscribeSubscriptionParams) WithUserID(userID string) *PlatformSubscribeSubscriptionParams
- func (o *PlatformSubscribeSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlatformSubscribeSubscriptionReader
- type PlatformSubscribeSubscriptionUnprocessableEntity
- type ProcessUserSubscriptionNotificationBadRequest
- type ProcessUserSubscriptionNotificationNoContent
- type ProcessUserSubscriptionNotificationParams
- func NewProcessUserSubscriptionNotificationParams() *ProcessUserSubscriptionNotificationParams
- func NewProcessUserSubscriptionNotificationParamsWithContext(ctx context.Context) *ProcessUserSubscriptionNotificationParams
- func NewProcessUserSubscriptionNotificationParamsWithHTTPClient(client *http.Client) *ProcessUserSubscriptionNotificationParams
- func NewProcessUserSubscriptionNotificationParamsWithTimeout(timeout time.Duration) *ProcessUserSubscriptionNotificationParams
- func (o *ProcessUserSubscriptionNotificationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ProcessUserSubscriptionNotificationParams) SetBody(body *platformclientmodels.TradeNotification)
- func (o *ProcessUserSubscriptionNotificationParams) SetContext(ctx context.Context)
- func (o *ProcessUserSubscriptionNotificationParams) SetHTTPClient(client *http.Client)
- func (o *ProcessUserSubscriptionNotificationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ProcessUserSubscriptionNotificationParams) SetNamespace(namespace string)
- func (o *ProcessUserSubscriptionNotificationParams) SetSubscriptionID(subscriptionID string)
- func (o *ProcessUserSubscriptionNotificationParams) SetTimeout(timeout time.Duration)
- func (o *ProcessUserSubscriptionNotificationParams) SetUserID(userID string)
- func (o *ProcessUserSubscriptionNotificationParams) WithBody(body *platformclientmodels.TradeNotification) *ProcessUserSubscriptionNotificationParams
- func (o *ProcessUserSubscriptionNotificationParams) WithContext(ctx context.Context) *ProcessUserSubscriptionNotificationParams
- func (o *ProcessUserSubscriptionNotificationParams) WithHTTPClient(client *http.Client) *ProcessUserSubscriptionNotificationParams
- func (o *ProcessUserSubscriptionNotificationParams) WithNamespace(namespace string) *ProcessUserSubscriptionNotificationParams
- func (o *ProcessUserSubscriptionNotificationParams) WithSubscriptionID(subscriptionID string) *ProcessUserSubscriptionNotificationParams
- func (o *ProcessUserSubscriptionNotificationParams) WithTimeout(timeout time.Duration) *ProcessUserSubscriptionNotificationParams
- func (o *ProcessUserSubscriptionNotificationParams) WithUserID(userID string) *ProcessUserSubscriptionNotificationParams
- func (o *ProcessUserSubscriptionNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProcessUserSubscriptionNotificationReader
- type PublicCancelSubscriptionConflict
- type PublicCancelSubscriptionNotFound
- type PublicCancelSubscriptionOK
- type PublicCancelSubscriptionParams
- func NewPublicCancelSubscriptionParams() *PublicCancelSubscriptionParams
- func NewPublicCancelSubscriptionParamsWithContext(ctx context.Context) *PublicCancelSubscriptionParams
- func NewPublicCancelSubscriptionParamsWithHTTPClient(client *http.Client) *PublicCancelSubscriptionParams
- func NewPublicCancelSubscriptionParamsWithTimeout(timeout time.Duration) *PublicCancelSubscriptionParams
- func (o *PublicCancelSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicCancelSubscriptionParams) SetBody(body *platformclientmodels.CancelRequest)
- func (o *PublicCancelSubscriptionParams) SetContext(ctx context.Context)
- func (o *PublicCancelSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *PublicCancelSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicCancelSubscriptionParams) SetNamespace(namespace string)
- func (o *PublicCancelSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *PublicCancelSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *PublicCancelSubscriptionParams) SetUserID(userID string)
- func (o *PublicCancelSubscriptionParams) WithBody(body *platformclientmodels.CancelRequest) *PublicCancelSubscriptionParams
- func (o *PublicCancelSubscriptionParams) WithContext(ctx context.Context) *PublicCancelSubscriptionParams
- func (o *PublicCancelSubscriptionParams) WithHTTPClient(client *http.Client) *PublicCancelSubscriptionParams
- func (o *PublicCancelSubscriptionParams) WithNamespace(namespace string) *PublicCancelSubscriptionParams
- func (o *PublicCancelSubscriptionParams) WithSubscriptionID(subscriptionID string) *PublicCancelSubscriptionParams
- func (o *PublicCancelSubscriptionParams) WithTimeout(timeout time.Duration) *PublicCancelSubscriptionParams
- func (o *PublicCancelSubscriptionParams) WithUserID(userID string) *PublicCancelSubscriptionParams
- func (o *PublicCancelSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCancelSubscriptionReader
- type PublicChangeSubscriptionBillingAccountBadRequest
- type PublicChangeSubscriptionBillingAccountConflict
- type PublicChangeSubscriptionBillingAccountNotFound
- type PublicChangeSubscriptionBillingAccountOK
- type PublicChangeSubscriptionBillingAccountParams
- func NewPublicChangeSubscriptionBillingAccountParams() *PublicChangeSubscriptionBillingAccountParams
- func NewPublicChangeSubscriptionBillingAccountParamsWithContext(ctx context.Context) *PublicChangeSubscriptionBillingAccountParams
- func NewPublicChangeSubscriptionBillingAccountParamsWithHTTPClient(client *http.Client) *PublicChangeSubscriptionBillingAccountParams
- func NewPublicChangeSubscriptionBillingAccountParamsWithTimeout(timeout time.Duration) *PublicChangeSubscriptionBillingAccountParams
- func (o *PublicChangeSubscriptionBillingAccountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicChangeSubscriptionBillingAccountParams) SetContext(ctx context.Context)
- func (o *PublicChangeSubscriptionBillingAccountParams) SetHTTPClient(client *http.Client)
- func (o *PublicChangeSubscriptionBillingAccountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicChangeSubscriptionBillingAccountParams) SetNamespace(namespace string)
- func (o *PublicChangeSubscriptionBillingAccountParams) SetSubscriptionID(subscriptionID string)
- func (o *PublicChangeSubscriptionBillingAccountParams) SetTimeout(timeout time.Duration)
- func (o *PublicChangeSubscriptionBillingAccountParams) SetUserID(userID string)
- func (o *PublicChangeSubscriptionBillingAccountParams) WithContext(ctx context.Context) *PublicChangeSubscriptionBillingAccountParams
- func (o *PublicChangeSubscriptionBillingAccountParams) WithHTTPClient(client *http.Client) *PublicChangeSubscriptionBillingAccountParams
- func (o *PublicChangeSubscriptionBillingAccountParams) WithNamespace(namespace string) *PublicChangeSubscriptionBillingAccountParams
- func (o *PublicChangeSubscriptionBillingAccountParams) WithSubscriptionID(subscriptionID string) *PublicChangeSubscriptionBillingAccountParams
- func (o *PublicChangeSubscriptionBillingAccountParams) WithTimeout(timeout time.Duration) *PublicChangeSubscriptionBillingAccountParams
- func (o *PublicChangeSubscriptionBillingAccountParams) WithUserID(userID string) *PublicChangeSubscriptionBillingAccountParams
- func (o *PublicChangeSubscriptionBillingAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicChangeSubscriptionBillingAccountReader
- type PublicCheckUserSubscriptionSubscribableByItemIDOK
- type PublicCheckUserSubscriptionSubscribableByItemIDParams
- func NewPublicCheckUserSubscriptionSubscribableByItemIDParams() *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithContext(ctx context.Context) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithHTTPClient(client *http.Client) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithTimeout(timeout time.Duration) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetContext(ctx context.Context)
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClient(client *http.Client)
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetItemID(itemID string)
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetNamespace(namespace string)
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetTimeout(timeout time.Duration)
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetUserID(userID string)
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithContext(ctx context.Context) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithHTTPClient(client *http.Client) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithItemID(itemID string) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithNamespace(namespace string) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithTimeout(timeout time.Duration) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithUserID(userID string) *PublicCheckUserSubscriptionSubscribableByItemIDParams
- func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCheckUserSubscriptionSubscribableByItemIDReader
- type PublicGetUserSubscriptionBillingHistoriesOK
- type PublicGetUserSubscriptionBillingHistoriesParams
- func NewPublicGetUserSubscriptionBillingHistoriesParams() *PublicGetUserSubscriptionBillingHistoriesParams
- func NewPublicGetUserSubscriptionBillingHistoriesParamsWithContext(ctx context.Context) *PublicGetUserSubscriptionBillingHistoriesParams
- func NewPublicGetUserSubscriptionBillingHistoriesParamsWithHTTPClient(client *http.Client) *PublicGetUserSubscriptionBillingHistoriesParams
- func NewPublicGetUserSubscriptionBillingHistoriesParamsWithTimeout(timeout time.Duration) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetContext(ctx context.Context)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetExcludeFree(excludeFree *bool)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetLimit(limit *int32)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetNamespace(namespace string)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetOffset(offset *int32)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetSubscriptionID(subscriptionID string)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetUserID(userID string)
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithContext(ctx context.Context) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithExcludeFree(excludeFree *bool) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithHTTPClient(client *http.Client) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithLimit(limit *int32) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithNamespace(namespace string) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithOffset(offset *int32) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithSubscriptionID(subscriptionID string) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithTimeout(timeout time.Duration) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithUserID(userID string) *PublicGetUserSubscriptionBillingHistoriesParams
- func (o *PublicGetUserSubscriptionBillingHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserSubscriptionBillingHistoriesReader
- type PublicGetUserSubscriptionNotFound
- type PublicGetUserSubscriptionOK
- type PublicGetUserSubscriptionParams
- func NewPublicGetUserSubscriptionParams() *PublicGetUserSubscriptionParams
- func NewPublicGetUserSubscriptionParamsWithContext(ctx context.Context) *PublicGetUserSubscriptionParams
- func NewPublicGetUserSubscriptionParamsWithHTTPClient(client *http.Client) *PublicGetUserSubscriptionParams
- func NewPublicGetUserSubscriptionParamsWithTimeout(timeout time.Duration) *PublicGetUserSubscriptionParams
- func (o *PublicGetUserSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserSubscriptionParams) SetContext(ctx context.Context)
- func (o *PublicGetUserSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserSubscriptionParams) SetNamespace(namespace string)
- func (o *PublicGetUserSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *PublicGetUserSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserSubscriptionParams) SetUserID(userID string)
- func (o *PublicGetUserSubscriptionParams) WithContext(ctx context.Context) *PublicGetUserSubscriptionParams
- func (o *PublicGetUserSubscriptionParams) WithHTTPClient(client *http.Client) *PublicGetUserSubscriptionParams
- func (o *PublicGetUserSubscriptionParams) WithNamespace(namespace string) *PublicGetUserSubscriptionParams
- func (o *PublicGetUserSubscriptionParams) WithSubscriptionID(subscriptionID string) *PublicGetUserSubscriptionParams
- func (o *PublicGetUserSubscriptionParams) WithTimeout(timeout time.Duration) *PublicGetUserSubscriptionParams
- func (o *PublicGetUserSubscriptionParams) WithUserID(userID string) *PublicGetUserSubscriptionParams
- func (o *PublicGetUserSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserSubscriptionReader
- type PublicQueryUserSubscriptionsOK
- type PublicQueryUserSubscriptionsParams
- func NewPublicQueryUserSubscriptionsParams() *PublicQueryUserSubscriptionsParams
- func NewPublicQueryUserSubscriptionsParamsWithContext(ctx context.Context) *PublicQueryUserSubscriptionsParams
- func NewPublicQueryUserSubscriptionsParamsWithHTTPClient(client *http.Client) *PublicQueryUserSubscriptionsParams
- func NewPublicQueryUserSubscriptionsParamsWithTimeout(timeout time.Duration) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicQueryUserSubscriptionsParams) SetChargeStatus(chargeStatus *string)
- func (o *PublicQueryUserSubscriptionsParams) SetContext(ctx context.Context)
- func (o *PublicQueryUserSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *PublicQueryUserSubscriptionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicQueryUserSubscriptionsParams) SetItemID(itemID *string)
- func (o *PublicQueryUserSubscriptionsParams) SetLimit(limit *int32)
- func (o *PublicQueryUserSubscriptionsParams) SetNamespace(namespace string)
- func (o *PublicQueryUserSubscriptionsParams) SetOffset(offset *int32)
- func (o *PublicQueryUserSubscriptionsParams) SetSku(sku *string)
- func (o *PublicQueryUserSubscriptionsParams) SetStatus(status *string)
- func (o *PublicQueryUserSubscriptionsParams) SetSubscribedBy(subscribedBy *string)
- func (o *PublicQueryUserSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *PublicQueryUserSubscriptionsParams) SetUserID(userID string)
- func (o *PublicQueryUserSubscriptionsParams) WithChargeStatus(chargeStatus *string) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithContext(ctx context.Context) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithHTTPClient(client *http.Client) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithItemID(itemID *string) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithLimit(limit *int32) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithNamespace(namespace string) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithOffset(offset *int32) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithSku(sku *string) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithStatus(status *string) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithSubscribedBy(subscribedBy *string) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithTimeout(timeout time.Duration) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WithUserID(userID string) *PublicQueryUserSubscriptionsParams
- func (o *PublicQueryUserSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicQueryUserSubscriptionsReader
- type PublicSubscribeSubscriptionBadRequest
- type PublicSubscribeSubscriptionConflict
- type PublicSubscribeSubscriptionCreated
- type PublicSubscribeSubscriptionForbidden
- type PublicSubscribeSubscriptionNotFound
- type PublicSubscribeSubscriptionParams
- func NewPublicSubscribeSubscriptionParams() *PublicSubscribeSubscriptionParams
- func NewPublicSubscribeSubscriptionParamsWithContext(ctx context.Context) *PublicSubscribeSubscriptionParams
- func NewPublicSubscribeSubscriptionParamsWithHTTPClient(client *http.Client) *PublicSubscribeSubscriptionParams
- func NewPublicSubscribeSubscriptionParamsWithTimeout(timeout time.Duration) *PublicSubscribeSubscriptionParams
- func (o *PublicSubscribeSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicSubscribeSubscriptionParams) SetBody(body *platformclientmodels.SubscribeRequest)
- func (o *PublicSubscribeSubscriptionParams) SetContext(ctx context.Context)
- func (o *PublicSubscribeSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *PublicSubscribeSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicSubscribeSubscriptionParams) SetNamespace(namespace string)
- func (o *PublicSubscribeSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *PublicSubscribeSubscriptionParams) SetUserID(userID string)
- func (o *PublicSubscribeSubscriptionParams) WithBody(body *platformclientmodels.SubscribeRequest) *PublicSubscribeSubscriptionParams
- func (o *PublicSubscribeSubscriptionParams) WithContext(ctx context.Context) *PublicSubscribeSubscriptionParams
- func (o *PublicSubscribeSubscriptionParams) WithHTTPClient(client *http.Client) *PublicSubscribeSubscriptionParams
- func (o *PublicSubscribeSubscriptionParams) WithNamespace(namespace string) *PublicSubscribeSubscriptionParams
- func (o *PublicSubscribeSubscriptionParams) WithTimeout(timeout time.Duration) *PublicSubscribeSubscriptionParams
- func (o *PublicSubscribeSubscriptionParams) WithUserID(userID string) *PublicSubscribeSubscriptionParams
- func (o *PublicSubscribeSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicSubscribeSubscriptionReader
- type PublicSubscribeSubscriptionUnprocessableEntity
- type QuerySubscriptionsOK
- type QuerySubscriptionsParams
- func NewQuerySubscriptionsParams() *QuerySubscriptionsParams
- func NewQuerySubscriptionsParamsWithContext(ctx context.Context) *QuerySubscriptionsParams
- func NewQuerySubscriptionsParamsWithHTTPClient(client *http.Client) *QuerySubscriptionsParams
- func NewQuerySubscriptionsParamsWithTimeout(timeout time.Duration) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QuerySubscriptionsParams) SetChargeStatus(chargeStatus *string)
- func (o *QuerySubscriptionsParams) SetContext(ctx context.Context)
- func (o *QuerySubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *QuerySubscriptionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QuerySubscriptionsParams) SetItemID(itemID *string)
- func (o *QuerySubscriptionsParams) SetLimit(limit *int32)
- func (o *QuerySubscriptionsParams) SetNamespace(namespace string)
- func (o *QuerySubscriptionsParams) SetOffset(offset *int32)
- func (o *QuerySubscriptionsParams) SetSku(sku *string)
- func (o *QuerySubscriptionsParams) SetStatus(status *string)
- func (o *QuerySubscriptionsParams) SetSubscribedBy(subscribedBy *string)
- func (o *QuerySubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *QuerySubscriptionsParams) SetUserID(userID *string)
- func (o *QuerySubscriptionsParams) WithChargeStatus(chargeStatus *string) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithContext(ctx context.Context) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithHTTPClient(client *http.Client) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithItemID(itemID *string) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithLimit(limit *int32) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithNamespace(namespace string) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithOffset(offset *int32) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithSku(sku *string) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithStatus(status *string) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithSubscribedBy(subscribedBy *string) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithTimeout(timeout time.Duration) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WithUserID(userID *string) *QuerySubscriptionsParams
- func (o *QuerySubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuerySubscriptionsReader
- type QueryUserSubscriptionsOK
- type QueryUserSubscriptionsParams
- func NewQueryUserSubscriptionsParams() *QueryUserSubscriptionsParams
- func NewQueryUserSubscriptionsParamsWithContext(ctx context.Context) *QueryUserSubscriptionsParams
- func NewQueryUserSubscriptionsParamsWithHTTPClient(client *http.Client) *QueryUserSubscriptionsParams
- func NewQueryUserSubscriptionsParamsWithTimeout(timeout time.Duration) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryUserSubscriptionsParams) SetChargeStatus(chargeStatus *string)
- func (o *QueryUserSubscriptionsParams) SetContext(ctx context.Context)
- func (o *QueryUserSubscriptionsParams) SetHTTPClient(client *http.Client)
- func (o *QueryUserSubscriptionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryUserSubscriptionsParams) SetItemID(itemID *string)
- func (o *QueryUserSubscriptionsParams) SetLimit(limit *int32)
- func (o *QueryUserSubscriptionsParams) SetNamespace(namespace string)
- func (o *QueryUserSubscriptionsParams) SetOffset(offset *int32)
- func (o *QueryUserSubscriptionsParams) SetSku(sku *string)
- func (o *QueryUserSubscriptionsParams) SetStatus(status *string)
- func (o *QueryUserSubscriptionsParams) SetSubscribedBy(subscribedBy *string)
- func (o *QueryUserSubscriptionsParams) SetTimeout(timeout time.Duration)
- func (o *QueryUserSubscriptionsParams) SetUserID(userID string)
- func (o *QueryUserSubscriptionsParams) WithChargeStatus(chargeStatus *string) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithContext(ctx context.Context) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithHTTPClient(client *http.Client) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithItemID(itemID *string) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithLimit(limit *int32) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithNamespace(namespace string) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithOffset(offset *int32) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithSku(sku *string) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithStatus(status *string) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithSubscribedBy(subscribedBy *string) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithTimeout(timeout time.Duration) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WithUserID(userID string) *QueryUserSubscriptionsParams
- func (o *QueryUserSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryUserSubscriptionsReader
- type RecurringChargeSubscriptionOK
- type RecurringChargeSubscriptionParams
- func NewRecurringChargeSubscriptionParams() *RecurringChargeSubscriptionParams
- func NewRecurringChargeSubscriptionParamsWithContext(ctx context.Context) *RecurringChargeSubscriptionParams
- func NewRecurringChargeSubscriptionParamsWithHTTPClient(client *http.Client) *RecurringChargeSubscriptionParams
- func NewRecurringChargeSubscriptionParamsWithTimeout(timeout time.Duration) *RecurringChargeSubscriptionParams
- func (o *RecurringChargeSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RecurringChargeSubscriptionParams) SetContext(ctx context.Context)
- func (o *RecurringChargeSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *RecurringChargeSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RecurringChargeSubscriptionParams) SetNamespace(namespace string)
- func (o *RecurringChargeSubscriptionParams) SetSubscriptionID(subscriptionID string)
- func (o *RecurringChargeSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *RecurringChargeSubscriptionParams) WithContext(ctx context.Context) *RecurringChargeSubscriptionParams
- func (o *RecurringChargeSubscriptionParams) WithHTTPClient(client *http.Client) *RecurringChargeSubscriptionParams
- func (o *RecurringChargeSubscriptionParams) WithNamespace(namespace string) *RecurringChargeSubscriptionParams
- func (o *RecurringChargeSubscriptionParams) WithSubscriptionID(subscriptionID string) *RecurringChargeSubscriptionParams
- func (o *RecurringChargeSubscriptionParams) WithTimeout(timeout time.Duration) *RecurringChargeSubscriptionParams
- func (o *RecurringChargeSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RecurringChargeSubscriptionReader
Constants ¶
const ( PublicQueryUserSubscriptionsCHARGEDConstant = "CHARGED" PublicQueryUserSubscriptionsCHARGEFAILEDConstant = "CHARGE_FAILED" PublicQueryUserSubscriptionsNEVERConstant = "NEVER" PublicQueryUserSubscriptionsRECURRINGCHARGINGConstant = "RECURRING_CHARGING" PublicQueryUserSubscriptionsSETUPConstant = "SETUP" )
Get the enum in PublicQueryUserSubscriptionsParams
const ( PublicQueryUserSubscriptionsACTIVEConstant = "ACTIVE" PublicQueryUserSubscriptionsCANCELLEDConstant = "CANCELLED" PublicQueryUserSubscriptionsEXPIREDConstant = "EXPIRED" PublicQueryUserSubscriptionsINITConstant = "INIT" )
Get the enum in PublicQueryUserSubscriptionsParams
const ( PublicQueryUserSubscriptionsPLATFORMConstant = "PLATFORM" PublicQueryUserSubscriptionsUSERConstant = "USER" )
Get the enum in PublicQueryUserSubscriptionsParams
const ( QuerySubscriptionsCHARGEDConstant = "CHARGED" QuerySubscriptionsCHARGEFAILEDConstant = "CHARGE_FAILED" QuerySubscriptionsNEVERConstant = "NEVER" QuerySubscriptionsRECURRINGCHARGINGConstant = "RECURRING_CHARGING" QuerySubscriptionsSETUPConstant = "SETUP" )
Get the enum in QuerySubscriptionsParams
const ( QuerySubscriptionsACTIVEConstant = "ACTIVE" QuerySubscriptionsCANCELLEDConstant = "CANCELLED" QuerySubscriptionsEXPIREDConstant = "EXPIRED" QuerySubscriptionsINITConstant = "INIT" )
Get the enum in QuerySubscriptionsParams
const ( QuerySubscriptionsPLATFORMConstant = "PLATFORM" QuerySubscriptionsUSERConstant = "USER" )
Get the enum in QuerySubscriptionsParams
const ( QueryUserSubscriptionsCHARGEDConstant = "CHARGED" QueryUserSubscriptionsCHARGEFAILEDConstant = "CHARGE_FAILED" QueryUserSubscriptionsNEVERConstant = "NEVER" QueryUserSubscriptionsRECURRINGCHARGINGConstant = "RECURRING_CHARGING" QueryUserSubscriptionsSETUPConstant = "SETUP" )
Get the enum in QueryUserSubscriptionsParams
const ( QueryUserSubscriptionsACTIVEConstant = "ACTIVE" QueryUserSubscriptionsCANCELLEDConstant = "CANCELLED" QueryUserSubscriptionsEXPIREDConstant = "EXPIRED" QueryUserSubscriptionsINITConstant = "INIT" )
Get the enum in QueryUserSubscriptionsParams
const ( QueryUserSubscriptionsPLATFORMConstant = "PLATFORM" QueryUserSubscriptionsUSERConstant = "USER" )
Get the enum in QueryUserSubscriptionsParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelSubscriptionConflict ¶
type CancelSubscriptionConflict struct {
Payload *platformclientmodels.ErrorEntity
}
CancelSubscriptionConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40171</td><td>Subscription [{subscriptionId}] is not active</td></tr><tr><td>40172</td><td>Subscription [{subscriptionId}] is charging, waiting for payment notification</td></tr></table>
func NewCancelSubscriptionConflict ¶
func NewCancelSubscriptionConflict() *CancelSubscriptionConflict
NewCancelSubscriptionConflict creates a CancelSubscriptionConflict with default headers values
func (*CancelSubscriptionConflict) Error ¶
func (o *CancelSubscriptionConflict) Error() string
func (*CancelSubscriptionConflict) GetPayload ¶
func (o *CancelSubscriptionConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*CancelSubscriptionConflict) ToJSONString ¶ added in v0.25.0
func (o *CancelSubscriptionConflict) ToJSONString() string
type CancelSubscriptionNotFound ¶
type CancelSubscriptionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
CancelSubscriptionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40141</td><td>Subscription [{subscriptionId}] does not exist</td></tr></table>
func NewCancelSubscriptionNotFound ¶
func NewCancelSubscriptionNotFound() *CancelSubscriptionNotFound
NewCancelSubscriptionNotFound creates a CancelSubscriptionNotFound with default headers values
func (*CancelSubscriptionNotFound) Error ¶
func (o *CancelSubscriptionNotFound) Error() string
func (*CancelSubscriptionNotFound) GetPayload ¶
func (o *CancelSubscriptionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*CancelSubscriptionNotFound) ToJSONString ¶ added in v0.25.0
func (o *CancelSubscriptionNotFound) ToJSONString() string
type CancelSubscriptionOK ¶
type CancelSubscriptionOK struct {
Payload *platformclientmodels.SubscriptionInfo
}
CancelSubscriptionOK handles this case with default header values.
successful operation
func NewCancelSubscriptionOK ¶
func NewCancelSubscriptionOK() *CancelSubscriptionOK
NewCancelSubscriptionOK creates a CancelSubscriptionOK with default headers values
func (*CancelSubscriptionOK) Error ¶
func (o *CancelSubscriptionOK) Error() string
func (*CancelSubscriptionOK) GetPayload ¶
func (o *CancelSubscriptionOK) GetPayload() *platformclientmodels.SubscriptionInfo
func (*CancelSubscriptionOK) ToJSONString ¶ added in v0.25.0
func (o *CancelSubscriptionOK) ToJSONString() string
type CancelSubscriptionParams ¶
type CancelSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.CancelRequest /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string /*Force*/ Force *bool AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelSubscriptionParams contains all the parameters to send to the API endpoint for the cancel subscription operation typically these are written to a http.Request
func NewCancelSubscriptionParams ¶
func NewCancelSubscriptionParams() *CancelSubscriptionParams
NewCancelSubscriptionParams creates a new CancelSubscriptionParams object with the default values initialized.
func NewCancelSubscriptionParamsWithContext ¶
func NewCancelSubscriptionParamsWithContext(ctx context.Context) *CancelSubscriptionParams
NewCancelSubscriptionParamsWithContext creates a new CancelSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewCancelSubscriptionParamsWithHTTPClient ¶
func NewCancelSubscriptionParamsWithHTTPClient(client *http.Client) *CancelSubscriptionParams
NewCancelSubscriptionParamsWithHTTPClient creates a new CancelSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCancelSubscriptionParamsWithTimeout ¶
func NewCancelSubscriptionParamsWithTimeout(timeout time.Duration) *CancelSubscriptionParams
NewCancelSubscriptionParamsWithTimeout creates a new CancelSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CancelSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CancelSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the cancel subscription params
func (*CancelSubscriptionParams) SetBody ¶
func (o *CancelSubscriptionParams) SetBody(body *platformclientmodels.CancelRequest)
SetBody adds the body to the cancel subscription params
func (*CancelSubscriptionParams) SetContext ¶
func (o *CancelSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel subscription params
func (*CancelSubscriptionParams) SetForce ¶
func (o *CancelSubscriptionParams) SetForce(force *bool)
SetForce adds the force to the cancel subscription params
func (*CancelSubscriptionParams) SetHTTPClient ¶
func (o *CancelSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel subscription params
func (*CancelSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CancelSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the cancel subscription params
func (*CancelSubscriptionParams) SetNamespace ¶
func (o *CancelSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the cancel subscription params
func (*CancelSubscriptionParams) SetSubscriptionID ¶
func (o *CancelSubscriptionParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the cancel subscription params
func (*CancelSubscriptionParams) SetTimeout ¶
func (o *CancelSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel subscription params
func (*CancelSubscriptionParams) SetUserID ¶
func (o *CancelSubscriptionParams) SetUserID(userID string)
SetUserID adds the userId to the cancel subscription params
func (*CancelSubscriptionParams) WithBody ¶
func (o *CancelSubscriptionParams) WithBody(body *platformclientmodels.CancelRequest) *CancelSubscriptionParams
WithBody adds the body to the cancel subscription params
func (*CancelSubscriptionParams) WithContext ¶
func (o *CancelSubscriptionParams) WithContext(ctx context.Context) *CancelSubscriptionParams
WithContext adds the context to the cancel subscription params
func (*CancelSubscriptionParams) WithForce ¶
func (o *CancelSubscriptionParams) WithForce(force *bool) *CancelSubscriptionParams
WithForce adds the force to the cancel subscription params
func (*CancelSubscriptionParams) WithHTTPClient ¶
func (o *CancelSubscriptionParams) WithHTTPClient(client *http.Client) *CancelSubscriptionParams
WithHTTPClient adds the HTTPClient to the cancel subscription params
func (*CancelSubscriptionParams) WithNamespace ¶
func (o *CancelSubscriptionParams) WithNamespace(namespace string) *CancelSubscriptionParams
WithNamespace adds the namespace to the cancel subscription params
func (*CancelSubscriptionParams) WithSubscriptionID ¶
func (o *CancelSubscriptionParams) WithSubscriptionID(subscriptionID string) *CancelSubscriptionParams
WithSubscriptionID adds the subscriptionID to the cancel subscription params
func (*CancelSubscriptionParams) WithTimeout ¶
func (o *CancelSubscriptionParams) WithTimeout(timeout time.Duration) *CancelSubscriptionParams
WithTimeout adds the timeout to the cancel subscription params
func (*CancelSubscriptionParams) WithUserID ¶
func (o *CancelSubscriptionParams) WithUserID(userID string) *CancelSubscriptionParams
WithUserID adds the userID to the cancel subscription params
func (*CancelSubscriptionParams) WriteToRequest ¶
func (o *CancelSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelSubscriptionReader ¶
type CancelSubscriptionReader struct {
// contains filtered or unexported fields
}
CancelSubscriptionReader is a Reader for the CancelSubscription structure.
func (*CancelSubscriptionReader) ReadResponse ¶
func (o *CancelSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CheckUserSubscriptionSubscribableByItemIDOK ¶
type CheckUserSubscriptionSubscribableByItemIDOK struct {
Payload *platformclientmodels.Subscribable
}
CheckUserSubscriptionSubscribableByItemIDOK handles this case with default header values.
successful operation
func NewCheckUserSubscriptionSubscribableByItemIDOK ¶
func NewCheckUserSubscriptionSubscribableByItemIDOK() *CheckUserSubscriptionSubscribableByItemIDOK
NewCheckUserSubscriptionSubscribableByItemIDOK creates a CheckUserSubscriptionSubscribableByItemIDOK with default headers values
func (*CheckUserSubscriptionSubscribableByItemIDOK) Error ¶
func (o *CheckUserSubscriptionSubscribableByItemIDOK) Error() string
func (*CheckUserSubscriptionSubscribableByItemIDOK) GetPayload ¶
func (o *CheckUserSubscriptionSubscribableByItemIDOK) GetPayload() *platformclientmodels.Subscribable
func (*CheckUserSubscriptionSubscribableByItemIDOK) ToJSONString ¶ added in v0.25.0
func (o *CheckUserSubscriptionSubscribableByItemIDOK) ToJSONString() string
type CheckUserSubscriptionSubscribableByItemIDParams ¶
type CheckUserSubscriptionSubscribableByItemIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ItemID*/ ItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckUserSubscriptionSubscribableByItemIDParams contains all the parameters to send to the API endpoint for the check user subscription subscribable by item id operation typically these are written to a http.Request
func NewCheckUserSubscriptionSubscribableByItemIDParams ¶
func NewCheckUserSubscriptionSubscribableByItemIDParams() *CheckUserSubscriptionSubscribableByItemIDParams
NewCheckUserSubscriptionSubscribableByItemIDParams creates a new CheckUserSubscriptionSubscribableByItemIDParams object with the default values initialized.
func NewCheckUserSubscriptionSubscribableByItemIDParamsWithContext ¶
func NewCheckUserSubscriptionSubscribableByItemIDParamsWithContext(ctx context.Context) *CheckUserSubscriptionSubscribableByItemIDParams
NewCheckUserSubscriptionSubscribableByItemIDParamsWithContext creates a new CheckUserSubscriptionSubscribableByItemIDParams object with the default values initialized, and the ability to set a context for a request
func NewCheckUserSubscriptionSubscribableByItemIDParamsWithHTTPClient ¶
func NewCheckUserSubscriptionSubscribableByItemIDParamsWithHTTPClient(client *http.Client) *CheckUserSubscriptionSubscribableByItemIDParams
NewCheckUserSubscriptionSubscribableByItemIDParamsWithHTTPClient creates a new CheckUserSubscriptionSubscribableByItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCheckUserSubscriptionSubscribableByItemIDParamsWithTimeout ¶
func NewCheckUserSubscriptionSubscribableByItemIDParamsWithTimeout(timeout time.Duration) *CheckUserSubscriptionSubscribableByItemIDParams
NewCheckUserSubscriptionSubscribableByItemIDParamsWithTimeout creates a new CheckUserSubscriptionSubscribableByItemIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*CheckUserSubscriptionSubscribableByItemIDParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) SetContext ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClient ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) SetItemID ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetItemID(itemID string)
SetItemID adds the itemId to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) SetNamespace ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) SetTimeout ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) SetUserID ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) SetUserID(userID string)
SetUserID adds the userId to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) WithContext ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithContext(ctx context.Context) *CheckUserSubscriptionSubscribableByItemIDParams
WithContext adds the context to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) WithHTTPClient ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithHTTPClient(client *http.Client) *CheckUserSubscriptionSubscribableByItemIDParams
WithHTTPClient adds the HTTPClient to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) WithItemID ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithItemID(itemID string) *CheckUserSubscriptionSubscribableByItemIDParams
WithItemID adds the itemID to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) WithNamespace ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithNamespace(namespace string) *CheckUserSubscriptionSubscribableByItemIDParams
WithNamespace adds the namespace to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) WithTimeout ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithTimeout(timeout time.Duration) *CheckUserSubscriptionSubscribableByItemIDParams
WithTimeout adds the timeout to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) WithUserID ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) WithUserID(userID string) *CheckUserSubscriptionSubscribableByItemIDParams
WithUserID adds the userID to the check user subscription subscribable by item id params
func (*CheckUserSubscriptionSubscribableByItemIDParams) WriteToRequest ¶
func (o *CheckUserSubscriptionSubscribableByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckUserSubscriptionSubscribableByItemIDReader ¶
type CheckUserSubscriptionSubscribableByItemIDReader struct {
// contains filtered or unexported fields
}
CheckUserSubscriptionSubscribableByItemIDReader is a Reader for the CheckUserSubscriptionSubscribableByItemID structure.
func (*CheckUserSubscriptionSubscribableByItemIDReader) ReadResponse ¶
func (o *CheckUserSubscriptionSubscribableByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for subscription API
func (*Client) CancelSubscription
deprecated
func (a *Client) CancelSubscription(params *CancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*CancelSubscriptionOK, *CancelSubscriptionNotFound, *CancelSubscriptionConflict, error)
Deprecated: 2022-08-10 - Use CancelSubscriptionShort instead.
CancelSubscription cancel a subscription Cancel a subscription, only ACTIVE subscription can be cancelled. Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged. Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle. Set force true, will ignore the error if subscription is during recurring charging. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : cancelled subscription
func (*Client) CancelSubscriptionShort ¶ added in v0.8.0
func (a *Client) CancelSubscriptionShort(params *CancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*CancelSubscriptionOK, error)
CancelSubscriptionShort cancel a subscription Cancel a subscription, only ACTIVE subscription can be cancelled. Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged. Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle. Set force true, will ignore the error if subscription is during recurring charging. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : cancelled subscription
func (*Client) CheckUserSubscriptionSubscribableByItemID
deprecated
func (a *Client) CheckUserSubscriptionSubscribableByItemID(params *CheckUserSubscriptionSubscribableByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*CheckUserSubscriptionSubscribableByItemIDOK, error)
Deprecated: 2022-08-10 - Use CheckUserSubscriptionSubscribableByItemIDShort instead.
CheckUserSubscriptionSubscribableByItemID check user subscription subscribable Check user subscription subscribable by itemId, ACTIVE USER subscription can't do subscribe again.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : subscribable info
func (*Client) CheckUserSubscriptionSubscribableByItemIDShort ¶ added in v0.8.0
func (a *Client) CheckUserSubscriptionSubscribableByItemIDShort(params *CheckUserSubscriptionSubscribableByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*CheckUserSubscriptionSubscribableByItemIDOK, error)
CheckUserSubscriptionSubscribableByItemIDShort check user subscription subscribable Check user subscription subscribable by itemId, ACTIVE USER subscription can't do subscribe again.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : subscribable info
func (*Client) DeleteUserSubscription
deprecated
func (a *Client) DeleteUserSubscription(params *DeleteUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSubscriptionNoContent, error)
Deprecated: 2022-08-10 - Use DeleteUserSubscriptionShort instead.
DeleteUserSubscription delete user subscription
[TEST FACILITY ONLY] Forbidden in live environment. Delete user subscription.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=8 (DELETE)
func (*Client) DeleteUserSubscriptionShort ¶ added in v0.8.0
func (a *Client) DeleteUserSubscriptionShort(params *DeleteUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSubscriptionNoContent, error)
DeleteUserSubscriptionShort delete user subscription
[TEST FACILITY ONLY] Forbidden in live environment. Delete user subscription.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=8 (DELETE)
func (*Client) GetUserSubscription
deprecated
func (a *Client) GetUserSubscription(params *GetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionOK, *GetUserSubscriptionNotFound, error)
Deprecated: 2022-08-10 - Use GetUserSubscriptionShort instead.
GetUserSubscription get user subscription Get user subscription. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : subscription
func (*Client) GetUserSubscriptionActivities
deprecated
func (a *Client) GetUserSubscriptionActivities(params *GetUserSubscriptionActivitiesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionActivitiesOK, error)
Deprecated: 2022-08-10 - Use GetUserSubscriptionActivitiesShort instead.
GetUserSubscriptionActivities get user subscription activity Get user subscription activity. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription activity
func (*Client) GetUserSubscriptionActivitiesShort ¶ added in v0.8.0
func (a *Client) GetUserSubscriptionActivitiesShort(params *GetUserSubscriptionActivitiesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionActivitiesOK, error)
GetUserSubscriptionActivitiesShort get user subscription activity Get user subscription activity. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription activity
func (*Client) GetUserSubscriptionBillingHistories
deprecated
func (a *Client) GetUserSubscriptionBillingHistories(params *GetUserSubscriptionBillingHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionBillingHistoriesOK, error)
Deprecated: 2022-08-10 - Use GetUserSubscriptionBillingHistoriesShort instead.
GetUserSubscriptionBillingHistories get user subscription billing histories Get user subscription billing histories. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription billing history
func (*Client) GetUserSubscriptionBillingHistoriesShort ¶ added in v0.8.0
func (a *Client) GetUserSubscriptionBillingHistoriesShort(params *GetUserSubscriptionBillingHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionBillingHistoriesOK, error)
GetUserSubscriptionBillingHistoriesShort get user subscription billing histories Get user subscription billing histories. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription billing history
func (*Client) GetUserSubscriptionShort ¶ added in v0.8.0
func (a *Client) GetUserSubscriptionShort(params *GetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionOK, error)
GetUserSubscriptionShort get user subscription Get user subscription. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : subscription
func (*Client) GrantDaysToSubscription
deprecated
func (a *Client) GrantDaysToSubscription(params *GrantDaysToSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GrantDaysToSubscriptionOK, *GrantDaysToSubscriptionNotFound, error)
Deprecated: 2022-08-10 - Use GrantDaysToSubscriptionShort instead.
GrantDaysToSubscription grant days to a subscription Grant days to a subscription, if grantDays is positive, it will add free days and push the next billing date by the amount of day. if the grantDays is negative or zero, it only apply to active/cancelled subscription, remove days will decrease current period end, and move the next billing date closer. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : updated subscription
func (*Client) GrantDaysToSubscriptionShort ¶ added in v0.8.0
func (a *Client) GrantDaysToSubscriptionShort(params *GrantDaysToSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GrantDaysToSubscriptionOK, error)
GrantDaysToSubscriptionShort grant days to a subscription Grant days to a subscription, if grantDays is positive, it will add free days and push the next billing date by the amount of day. if the grantDays is negative or zero, it only apply to active/cancelled subscription, remove days will decrease current period end, and move the next billing date closer. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : updated subscription
func (*Client) PlatformSubscribeSubscription
deprecated
func (a *Client) PlatformSubscribeSubscription(params *PlatformSubscribeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PlatformSubscribeSubscriptionOK, *PlatformSubscribeSubscriptionCreated, *PlatformSubscribeSubscriptionBadRequest, *PlatformSubscribeSubscriptionNotFound, *PlatformSubscribeSubscriptionUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use PlatformSubscribeSubscriptionShort instead.
PlatformSubscribeSubscription free subscribe by platform Free subscribe by platform, can used by other justice service to redeem/reward the subscription. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=1 (CREATE)
- Returns : result subscription
func (*Client) PlatformSubscribeSubscriptionShort ¶ added in v0.8.0
func (a *Client) PlatformSubscribeSubscriptionShort(params *PlatformSubscribeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PlatformSubscribeSubscriptionOK, error)
PlatformSubscribeSubscriptionShort free subscribe by platform Free subscribe by platform, can used by other justice service to redeem/reward the subscription. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=1 (CREATE)
- Returns : result subscription
func (*Client) ProcessUserSubscriptionNotification
deprecated
func (a *Client) ProcessUserSubscriptionNotification(params *ProcessUserSubscriptionNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessUserSubscriptionNotificationNoContent, *ProcessUserSubscriptionNotificationBadRequest, error)
Deprecated: 2022-08-10 - Use ProcessUserSubscriptionNotificationShort instead.
ProcessUserSubscriptionNotification web hook for payment notification
[SERVICE COMMUNICATION ONLY] This API is used as a web hook for payment notification from justice payment service.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : Process result
func (*Client) ProcessUserSubscriptionNotificationShort ¶ added in v0.8.0
func (a *Client) ProcessUserSubscriptionNotificationShort(params *ProcessUserSubscriptionNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessUserSubscriptionNotificationNoContent, error)
ProcessUserSubscriptionNotificationShort web hook for payment notification
[SERVICE COMMUNICATION ONLY] This API is used as a web hook for payment notification from justice payment service.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : Process result
func (*Client) PublicCancelSubscription
deprecated
func (a *Client) PublicCancelSubscription(params *PublicCancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelSubscriptionOK, *PublicCancelSubscriptionNotFound, *PublicCancelSubscriptionConflict, error)
Deprecated: 2022-08-10 - Use PublicCancelSubscriptionShort instead.
PublicCancelSubscription cancel a subscription Cancel a subscription, only ACTIVE subscription can be cancelled. Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged. Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : cancelled subscription
func (*Client) PublicCancelSubscriptionShort ¶ added in v0.8.0
func (a *Client) PublicCancelSubscriptionShort(params *PublicCancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelSubscriptionOK, error)
PublicCancelSubscriptionShort cancel a subscription Cancel a subscription, only ACTIVE subscription can be cancelled. Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged. Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : cancelled subscription
func (*Client) PublicChangeSubscriptionBillingAccount
deprecated
func (a *Client) PublicChangeSubscriptionBillingAccount(params *PublicChangeSubscriptionBillingAccountParams, authInfo runtime.ClientAuthInfoWriter) (*PublicChangeSubscriptionBillingAccountOK, *PublicChangeSubscriptionBillingAccountBadRequest, *PublicChangeSubscriptionBillingAccountNotFound, *PublicChangeSubscriptionBillingAccountConflict, error)
Deprecated: 2022-08-10 - Use PublicChangeSubscriptionBillingAccountShort instead.
PublicChangeSubscriptionBillingAccount request to change a subscription billing account Request to change a subscription billing account, this will guide user to payment station. The actual change will happen at the 0 payment notification successfully handled. Only ACTIVE USER subscription with real currency billing account can be changed. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : updated subscription
func (*Client) PublicChangeSubscriptionBillingAccountShort ¶ added in v0.8.0
func (a *Client) PublicChangeSubscriptionBillingAccountShort(params *PublicChangeSubscriptionBillingAccountParams, authInfo runtime.ClientAuthInfoWriter) (*PublicChangeSubscriptionBillingAccountOK, error)
PublicChangeSubscriptionBillingAccountShort request to change a subscription billing account Request to change a subscription billing account, this will guide user to payment station. The actual change will happen at the 0 payment notification successfully handled. Only ACTIVE USER subscription with real currency billing account can be changed. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : updated subscription
func (*Client) PublicCheckUserSubscriptionSubscribableByItemID
deprecated
func (a *Client) PublicCheckUserSubscriptionSubscribableByItemID(params *PublicCheckUserSubscriptionSubscribableByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCheckUserSubscriptionSubscribableByItemIDOK, error)
Deprecated: 2022-08-10 - Use PublicCheckUserSubscriptionSubscribableByItemIDShort instead.
PublicCheckUserSubscriptionSubscribableByItemID check user subscription subscribable Check user subscription subscribable by itemId, ACTIVE USER subscription can't do subscribe again.
Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : subscribable info
func (*Client) PublicCheckUserSubscriptionSubscribableByItemIDShort ¶ added in v0.8.0
func (a *Client) PublicCheckUserSubscriptionSubscribableByItemIDShort(params *PublicCheckUserSubscriptionSubscribableByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCheckUserSubscriptionSubscribableByItemIDOK, error)
PublicCheckUserSubscriptionSubscribableByItemIDShort check user subscription subscribable Check user subscription subscribable by itemId, ACTIVE USER subscription can't do subscribe again.
Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : subscribable info
func (*Client) PublicGetUserSubscription
deprecated
func (a *Client) PublicGetUserSubscription(params *PublicGetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionOK, *PublicGetUserSubscriptionNotFound, error)
Deprecated: 2022-08-10 - Use PublicGetUserSubscriptionShort instead.
PublicGetUserSubscription get user subscription Get user subscription. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : subscription
func (*Client) PublicGetUserSubscriptionBillingHistories
deprecated
func (a *Client) PublicGetUserSubscriptionBillingHistories(params *PublicGetUserSubscriptionBillingHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionBillingHistoriesOK, error)
Deprecated: 2022-08-10 - Use PublicGetUserSubscriptionBillingHistoriesShort instead.
PublicGetUserSubscriptionBillingHistories get user subscription billing histories Get user subscription billing histories. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription history
func (*Client) PublicGetUserSubscriptionBillingHistoriesShort ¶ added in v0.8.0
func (a *Client) PublicGetUserSubscriptionBillingHistoriesShort(params *PublicGetUserSubscriptionBillingHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionBillingHistoriesOK, error)
PublicGetUserSubscriptionBillingHistoriesShort get user subscription billing histories Get user subscription billing histories. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription history
func (*Client) PublicGetUserSubscriptionShort ¶ added in v0.8.0
func (a *Client) PublicGetUserSubscriptionShort(params *PublicGetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionOK, error)
PublicGetUserSubscriptionShort get user subscription Get user subscription. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : subscription
func (*Client) PublicQueryUserSubscriptions
deprecated
func (a *Client) PublicQueryUserSubscriptions(params *PublicQueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserSubscriptionsOK, error)
Deprecated: 2022-08-10 - Use PublicQueryUserSubscriptionsShort instead.
PublicQueryUserSubscriptions query user subscriptions Query user subscriptions. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription
func (*Client) PublicQueryUserSubscriptionsShort ¶ added in v0.8.0
func (a *Client) PublicQueryUserSubscriptionsShort(params *PublicQueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserSubscriptionsOK, error)
PublicQueryUserSubscriptionsShort query user subscriptions Query user subscriptions. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription
func (*Client) PublicSubscribeSubscription
deprecated
func (a *Client) PublicSubscribeSubscription(params *PublicSubscribeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSubscribeSubscriptionCreated, *PublicSubscribeSubscriptionBadRequest, *PublicSubscribeSubscriptionForbidden, *PublicSubscribeSubscriptionNotFound, *PublicSubscribeSubscriptionConflict, *PublicSubscribeSubscriptionUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use PublicSubscribeSubscriptionShort instead.
PublicSubscribeSubscription subscribe a subscription Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.
ACTIVE USER subscription can't do subscribe again. The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.
User with permission SANDBOX will create sandbox subscription that not real paid. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=1 (CREATE)
- Optional permission(user with this permission will create sandbox subscription) : resource="SANDBOX", action=1 (CREATE)
- It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT
- Returns : created subscription
func (*Client) PublicSubscribeSubscriptionShort ¶ added in v0.8.0
func (a *Client) PublicSubscribeSubscriptionShort(params *PublicSubscribeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSubscribeSubscriptionCreated, error)
PublicSubscribeSubscriptionShort subscribe a subscription Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.
ACTIVE USER subscription can't do subscribe again. The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.
User with permission SANDBOX will create sandbox subscription that not real paid. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=1 (CREATE)
- Optional permission(user with this permission will create sandbox subscription) : resource="SANDBOX", action=1 (CREATE)
- It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT
- Returns : created subscription
func (*Client) QuerySubscriptions
deprecated
func (a *Client) QuerySubscriptions(params *QuerySubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySubscriptionsOK, error)
Deprecated: 2022-08-10 - Use QuerySubscriptionsShort instead.
QuerySubscriptions query subscriptions Query subscriptions. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscriptions
func (*Client) QuerySubscriptionsShort ¶ added in v0.8.0
func (a *Client) QuerySubscriptionsShort(params *QuerySubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySubscriptionsOK, error)
QuerySubscriptionsShort query subscriptions Query subscriptions. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscriptions
func (*Client) QueryUserSubscriptions
deprecated
func (a *Client) QueryUserSubscriptions(params *QueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserSubscriptionsOK, error)
Deprecated: 2022-08-10 - Use QueryUserSubscriptionsShort instead.
QueryUserSubscriptions query user subscriptions Query user subscriptions. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription
func (*Client) QueryUserSubscriptionsShort ¶ added in v0.8.0
func (a *Client) QueryUserSubscriptionsShort(params *QueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserSubscriptionsOK, error)
QueryUserSubscriptionsShort query user subscriptions Query user subscriptions. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)
- Returns : paginated subscription
func (*Client) RecurringChargeSubscription
deprecated
func (a *Client) RecurringChargeSubscription(params *RecurringChargeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*RecurringChargeSubscriptionOK, error)
Deprecated: 2022-08-10 - Use RecurringChargeSubscriptionShort instead.
RecurringChargeSubscription recurring charge subscription
[TEST FACILITY ONLY] Forbidden in live environment. Recurring charge subscription, it will trigger recurring charge if the USER subscription status is ACTIVE, nextBillingDate is before now and no fail recurring charge within X(default 12) hours.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : recurring charge result
func (*Client) RecurringChargeSubscriptionShort ¶ added in v0.8.0
func (a *Client) RecurringChargeSubscriptionShort(params *RecurringChargeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*RecurringChargeSubscriptionOK, error)
RecurringChargeSubscriptionShort recurring charge subscription
[TEST FACILITY ONLY] Forbidden in live environment. Recurring charge subscription, it will trigger recurring charge if the USER subscription status is ACTIVE, nextBillingDate is before now and no fail recurring charge within X(default 12) hours.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:SUBSCRIPTION", action=4 (UPDATE)
- Returns : recurring charge result
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { QuerySubscriptions(params *QuerySubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySubscriptionsOK, error) QuerySubscriptionsShort(params *QuerySubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySubscriptionsOK, error) RecurringChargeSubscription(params *RecurringChargeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*RecurringChargeSubscriptionOK, error) RecurringChargeSubscriptionShort(params *RecurringChargeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*RecurringChargeSubscriptionOK, error) QueryUserSubscriptions(params *QueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserSubscriptionsOK, error) QueryUserSubscriptionsShort(params *QueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserSubscriptionsOK, error) GetUserSubscriptionActivities(params *GetUserSubscriptionActivitiesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionActivitiesOK, error) GetUserSubscriptionActivitiesShort(params *GetUserSubscriptionActivitiesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionActivitiesOK, error) PlatformSubscribeSubscription(params *PlatformSubscribeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PlatformSubscribeSubscriptionOK, *PlatformSubscribeSubscriptionCreated, *PlatformSubscribeSubscriptionBadRequest, *PlatformSubscribeSubscriptionNotFound, *PlatformSubscribeSubscriptionUnprocessableEntity, error) PlatformSubscribeSubscriptionShort(params *PlatformSubscribeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PlatformSubscribeSubscriptionOK, error) CheckUserSubscriptionSubscribableByItemID(params *CheckUserSubscriptionSubscribableByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*CheckUserSubscriptionSubscribableByItemIDOK, error) CheckUserSubscriptionSubscribableByItemIDShort(params *CheckUserSubscriptionSubscribableByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*CheckUserSubscriptionSubscribableByItemIDOK, error) GetUserSubscription(params *GetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionOK, *GetUserSubscriptionNotFound, error) GetUserSubscriptionShort(params *GetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionOK, error) DeleteUserSubscription(params *DeleteUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSubscriptionNoContent, error) DeleteUserSubscriptionShort(params *DeleteUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSubscriptionNoContent, error) CancelSubscription(params *CancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*CancelSubscriptionOK, *CancelSubscriptionNotFound, *CancelSubscriptionConflict, error) CancelSubscriptionShort(params *CancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*CancelSubscriptionOK, error) GrantDaysToSubscription(params *GrantDaysToSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GrantDaysToSubscriptionOK, *GrantDaysToSubscriptionNotFound, error) GrantDaysToSubscriptionShort(params *GrantDaysToSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*GrantDaysToSubscriptionOK, error) GetUserSubscriptionBillingHistories(params *GetUserSubscriptionBillingHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionBillingHistoriesOK, error) GetUserSubscriptionBillingHistoriesShort(params *GetUserSubscriptionBillingHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSubscriptionBillingHistoriesOK, error) ProcessUserSubscriptionNotification(params *ProcessUserSubscriptionNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessUserSubscriptionNotificationNoContent, *ProcessUserSubscriptionNotificationBadRequest, error) ProcessUserSubscriptionNotificationShort(params *ProcessUserSubscriptionNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*ProcessUserSubscriptionNotificationNoContent, error) PublicQueryUserSubscriptions(params *PublicQueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserSubscriptionsOK, error) PublicQueryUserSubscriptionsShort(params *PublicQueryUserSubscriptionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserSubscriptionsOK, error) PublicSubscribeSubscription(params *PublicSubscribeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSubscribeSubscriptionCreated, *PublicSubscribeSubscriptionBadRequest, *PublicSubscribeSubscriptionForbidden, *PublicSubscribeSubscriptionNotFound, *PublicSubscribeSubscriptionConflict, *PublicSubscribeSubscriptionUnprocessableEntity, error) PublicSubscribeSubscriptionShort(params *PublicSubscribeSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSubscribeSubscriptionCreated, error) PublicCheckUserSubscriptionSubscribableByItemID(params *PublicCheckUserSubscriptionSubscribableByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCheckUserSubscriptionSubscribableByItemIDOK, error) PublicCheckUserSubscriptionSubscribableByItemIDShort(params *PublicCheckUserSubscriptionSubscribableByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCheckUserSubscriptionSubscribableByItemIDOK, error) PublicGetUserSubscription(params *PublicGetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionOK, *PublicGetUserSubscriptionNotFound, error) PublicGetUserSubscriptionShort(params *PublicGetUserSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionOK, error) PublicChangeSubscriptionBillingAccount(params *PublicChangeSubscriptionBillingAccountParams, authInfo runtime.ClientAuthInfoWriter) (*PublicChangeSubscriptionBillingAccountOK, *PublicChangeSubscriptionBillingAccountBadRequest, *PublicChangeSubscriptionBillingAccountNotFound, *PublicChangeSubscriptionBillingAccountConflict, error) PublicChangeSubscriptionBillingAccountShort(params *PublicChangeSubscriptionBillingAccountParams, authInfo runtime.ClientAuthInfoWriter) (*PublicChangeSubscriptionBillingAccountOK, error) PublicCancelSubscription(params *PublicCancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelSubscriptionOK, *PublicCancelSubscriptionNotFound, *PublicCancelSubscriptionConflict, error) PublicCancelSubscriptionShort(params *PublicCancelSubscriptionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCancelSubscriptionOK, error) PublicGetUserSubscriptionBillingHistories(params *PublicGetUserSubscriptionBillingHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionBillingHistoriesOK, error) PublicGetUserSubscriptionBillingHistoriesShort(params *PublicGetUserSubscriptionBillingHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserSubscriptionBillingHistoriesOK, 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 subscription API client.
type DeleteUserSubscriptionNoContent ¶
type DeleteUserSubscriptionNoContent struct { }
DeleteUserSubscriptionNoContent handles this case with default header values.
delete user subscription successfully
func NewDeleteUserSubscriptionNoContent ¶
func NewDeleteUserSubscriptionNoContent() *DeleteUserSubscriptionNoContent
NewDeleteUserSubscriptionNoContent creates a DeleteUserSubscriptionNoContent with default headers values
func (*DeleteUserSubscriptionNoContent) Error ¶
func (o *DeleteUserSubscriptionNoContent) Error() string
type DeleteUserSubscriptionParams ¶
type DeleteUserSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserSubscriptionParams contains all the parameters to send to the API endpoint for the delete user subscription operation typically these are written to a http.Request
func NewDeleteUserSubscriptionParams ¶
func NewDeleteUserSubscriptionParams() *DeleteUserSubscriptionParams
NewDeleteUserSubscriptionParams creates a new DeleteUserSubscriptionParams object with the default values initialized.
func NewDeleteUserSubscriptionParamsWithContext ¶
func NewDeleteUserSubscriptionParamsWithContext(ctx context.Context) *DeleteUserSubscriptionParams
NewDeleteUserSubscriptionParamsWithContext creates a new DeleteUserSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUserSubscriptionParamsWithHTTPClient ¶
func NewDeleteUserSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteUserSubscriptionParams
NewDeleteUserSubscriptionParamsWithHTTPClient creates a new DeleteUserSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUserSubscriptionParamsWithTimeout ¶
func NewDeleteUserSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteUserSubscriptionParams
NewDeleteUserSubscriptionParamsWithTimeout creates a new DeleteUserSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUserSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteUserSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete user subscription params
func (*DeleteUserSubscriptionParams) SetContext ¶
func (o *DeleteUserSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user subscription params
func (*DeleteUserSubscriptionParams) SetHTTPClient ¶
func (o *DeleteUserSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user subscription params
func (*DeleteUserSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteUserSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete user subscription params
func (*DeleteUserSubscriptionParams) SetNamespace ¶
func (o *DeleteUserSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete user subscription params
func (*DeleteUserSubscriptionParams) SetSubscriptionID ¶
func (o *DeleteUserSubscriptionParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the delete user subscription params
func (*DeleteUserSubscriptionParams) SetTimeout ¶
func (o *DeleteUserSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user subscription params
func (*DeleteUserSubscriptionParams) SetUserID ¶
func (o *DeleteUserSubscriptionParams) SetUserID(userID string)
SetUserID adds the userId to the delete user subscription params
func (*DeleteUserSubscriptionParams) WithContext ¶
func (o *DeleteUserSubscriptionParams) WithContext(ctx context.Context) *DeleteUserSubscriptionParams
WithContext adds the context to the delete user subscription params
func (*DeleteUserSubscriptionParams) WithHTTPClient ¶
func (o *DeleteUserSubscriptionParams) WithHTTPClient(client *http.Client) *DeleteUserSubscriptionParams
WithHTTPClient adds the HTTPClient to the delete user subscription params
func (*DeleteUserSubscriptionParams) WithNamespace ¶
func (o *DeleteUserSubscriptionParams) WithNamespace(namespace string) *DeleteUserSubscriptionParams
WithNamespace adds the namespace to the delete user subscription params
func (*DeleteUserSubscriptionParams) WithSubscriptionID ¶
func (o *DeleteUserSubscriptionParams) WithSubscriptionID(subscriptionID string) *DeleteUserSubscriptionParams
WithSubscriptionID adds the subscriptionID to the delete user subscription params
func (*DeleteUserSubscriptionParams) WithTimeout ¶
func (o *DeleteUserSubscriptionParams) WithTimeout(timeout time.Duration) *DeleteUserSubscriptionParams
WithTimeout adds the timeout to the delete user subscription params
func (*DeleteUserSubscriptionParams) WithUserID ¶
func (o *DeleteUserSubscriptionParams) WithUserID(userID string) *DeleteUserSubscriptionParams
WithUserID adds the userID to the delete user subscription params
func (*DeleteUserSubscriptionParams) WriteToRequest ¶
func (o *DeleteUserSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserSubscriptionReader ¶
type DeleteUserSubscriptionReader struct {
// contains filtered or unexported fields
}
DeleteUserSubscriptionReader is a Reader for the DeleteUserSubscription structure.
func (*DeleteUserSubscriptionReader) ReadResponse ¶
func (o *DeleteUserSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserSubscriptionActivitiesOK ¶
type GetUserSubscriptionActivitiesOK struct {
Payload *platformclientmodels.SubscriptionActivityPagingSlicedResult
}
GetUserSubscriptionActivitiesOK handles this case with default header values.
successful operation
func NewGetUserSubscriptionActivitiesOK ¶
func NewGetUserSubscriptionActivitiesOK() *GetUserSubscriptionActivitiesOK
NewGetUserSubscriptionActivitiesOK creates a GetUserSubscriptionActivitiesOK with default headers values
func (*GetUserSubscriptionActivitiesOK) Error ¶
func (o *GetUserSubscriptionActivitiesOK) Error() string
func (*GetUserSubscriptionActivitiesOK) GetPayload ¶
func (o *GetUserSubscriptionActivitiesOK) GetPayload() *platformclientmodels.SubscriptionActivityPagingSlicedResult
func (*GetUserSubscriptionActivitiesOK) ToJSONString ¶ added in v0.25.0
func (o *GetUserSubscriptionActivitiesOK) ToJSONString() string
type GetUserSubscriptionActivitiesParams ¶
type GetUserSubscriptionActivitiesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ExcludeSystem*/ ExcludeSystem *bool /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*SubscriptionID*/ SubscriptionID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserSubscriptionActivitiesParams contains all the parameters to send to the API endpoint for the get user subscription activities operation typically these are written to a http.Request
func NewGetUserSubscriptionActivitiesParams ¶
func NewGetUserSubscriptionActivitiesParams() *GetUserSubscriptionActivitiesParams
NewGetUserSubscriptionActivitiesParams creates a new GetUserSubscriptionActivitiesParams object with the default values initialized.
func NewGetUserSubscriptionActivitiesParamsWithContext ¶
func NewGetUserSubscriptionActivitiesParamsWithContext(ctx context.Context) *GetUserSubscriptionActivitiesParams
NewGetUserSubscriptionActivitiesParamsWithContext creates a new GetUserSubscriptionActivitiesParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserSubscriptionActivitiesParamsWithHTTPClient ¶
func NewGetUserSubscriptionActivitiesParamsWithHTTPClient(client *http.Client) *GetUserSubscriptionActivitiesParams
NewGetUserSubscriptionActivitiesParamsWithHTTPClient creates a new GetUserSubscriptionActivitiesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserSubscriptionActivitiesParamsWithTimeout ¶
func NewGetUserSubscriptionActivitiesParamsWithTimeout(timeout time.Duration) *GetUserSubscriptionActivitiesParams
NewGetUserSubscriptionActivitiesParamsWithTimeout creates a new GetUserSubscriptionActivitiesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserSubscriptionActivitiesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserSubscriptionActivitiesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetContext ¶
func (o *GetUserSubscriptionActivitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetExcludeSystem ¶
func (o *GetUserSubscriptionActivitiesParams) SetExcludeSystem(excludeSystem *bool)
SetExcludeSystem adds the excludeSystem to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetHTTPClient ¶
func (o *GetUserSubscriptionActivitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserSubscriptionActivitiesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetLimit ¶
func (o *GetUserSubscriptionActivitiesParams) SetLimit(limit *int32)
SetLimit adds the limit to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetNamespace ¶
func (o *GetUserSubscriptionActivitiesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetOffset ¶
func (o *GetUserSubscriptionActivitiesParams) SetOffset(offset *int32)
SetOffset adds the offset to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetSubscriptionID ¶
func (o *GetUserSubscriptionActivitiesParams) SetSubscriptionID(subscriptionID *string)
SetSubscriptionID adds the subscriptionId to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetTimeout ¶
func (o *GetUserSubscriptionActivitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) SetUserID ¶
func (o *GetUserSubscriptionActivitiesParams) SetUserID(userID string)
SetUserID adds the userId to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithContext ¶
func (o *GetUserSubscriptionActivitiesParams) WithContext(ctx context.Context) *GetUserSubscriptionActivitiesParams
WithContext adds the context to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithExcludeSystem ¶
func (o *GetUserSubscriptionActivitiesParams) WithExcludeSystem(excludeSystem *bool) *GetUserSubscriptionActivitiesParams
WithExcludeSystem adds the excludeSystem to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithHTTPClient ¶
func (o *GetUserSubscriptionActivitiesParams) WithHTTPClient(client *http.Client) *GetUserSubscriptionActivitiesParams
WithHTTPClient adds the HTTPClient to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithLimit ¶
func (o *GetUserSubscriptionActivitiesParams) WithLimit(limit *int32) *GetUserSubscriptionActivitiesParams
WithLimit adds the limit to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithNamespace ¶
func (o *GetUserSubscriptionActivitiesParams) WithNamespace(namespace string) *GetUserSubscriptionActivitiesParams
WithNamespace adds the namespace to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithOffset ¶
func (o *GetUserSubscriptionActivitiesParams) WithOffset(offset *int32) *GetUserSubscriptionActivitiesParams
WithOffset adds the offset to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithSubscriptionID ¶
func (o *GetUserSubscriptionActivitiesParams) WithSubscriptionID(subscriptionID *string) *GetUserSubscriptionActivitiesParams
WithSubscriptionID adds the subscriptionID to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithTimeout ¶
func (o *GetUserSubscriptionActivitiesParams) WithTimeout(timeout time.Duration) *GetUserSubscriptionActivitiesParams
WithTimeout adds the timeout to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WithUserID ¶
func (o *GetUserSubscriptionActivitiesParams) WithUserID(userID string) *GetUserSubscriptionActivitiesParams
WithUserID adds the userID to the get user subscription activities params
func (*GetUserSubscriptionActivitiesParams) WriteToRequest ¶
func (o *GetUserSubscriptionActivitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserSubscriptionActivitiesReader ¶
type GetUserSubscriptionActivitiesReader struct {
// contains filtered or unexported fields
}
GetUserSubscriptionActivitiesReader is a Reader for the GetUserSubscriptionActivities structure.
func (*GetUserSubscriptionActivitiesReader) ReadResponse ¶
func (o *GetUserSubscriptionActivitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserSubscriptionBillingHistoriesOK ¶
type GetUserSubscriptionBillingHistoriesOK struct {
Payload *platformclientmodels.BillingHistoryPagingSlicedResult
}
GetUserSubscriptionBillingHistoriesOK handles this case with default header values.
successful operation
func NewGetUserSubscriptionBillingHistoriesOK ¶
func NewGetUserSubscriptionBillingHistoriesOK() *GetUserSubscriptionBillingHistoriesOK
NewGetUserSubscriptionBillingHistoriesOK creates a GetUserSubscriptionBillingHistoriesOK with default headers values
func (*GetUserSubscriptionBillingHistoriesOK) Error ¶
func (o *GetUserSubscriptionBillingHistoriesOK) Error() string
func (*GetUserSubscriptionBillingHistoriesOK) GetPayload ¶
func (o *GetUserSubscriptionBillingHistoriesOK) GetPayload() *platformclientmodels.BillingHistoryPagingSlicedResult
func (*GetUserSubscriptionBillingHistoriesOK) ToJSONString ¶ added in v0.25.0
func (o *GetUserSubscriptionBillingHistoriesOK) ToJSONString() string
type GetUserSubscriptionBillingHistoriesParams ¶
type GetUserSubscriptionBillingHistoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string /*ExcludeFree*/ ExcludeFree *bool /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserSubscriptionBillingHistoriesParams contains all the parameters to send to the API endpoint for the get user subscription billing histories operation typically these are written to a http.Request
func NewGetUserSubscriptionBillingHistoriesParams ¶
func NewGetUserSubscriptionBillingHistoriesParams() *GetUserSubscriptionBillingHistoriesParams
NewGetUserSubscriptionBillingHistoriesParams creates a new GetUserSubscriptionBillingHistoriesParams object with the default values initialized.
func NewGetUserSubscriptionBillingHistoriesParamsWithContext ¶
func NewGetUserSubscriptionBillingHistoriesParamsWithContext(ctx context.Context) *GetUserSubscriptionBillingHistoriesParams
NewGetUserSubscriptionBillingHistoriesParamsWithContext creates a new GetUserSubscriptionBillingHistoriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserSubscriptionBillingHistoriesParamsWithHTTPClient ¶
func NewGetUserSubscriptionBillingHistoriesParamsWithHTTPClient(client *http.Client) *GetUserSubscriptionBillingHistoriesParams
NewGetUserSubscriptionBillingHistoriesParamsWithHTTPClient creates a new GetUserSubscriptionBillingHistoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserSubscriptionBillingHistoriesParamsWithTimeout ¶
func NewGetUserSubscriptionBillingHistoriesParamsWithTimeout(timeout time.Duration) *GetUserSubscriptionBillingHistoriesParams
NewGetUserSubscriptionBillingHistoriesParamsWithTimeout creates a new GetUserSubscriptionBillingHistoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserSubscriptionBillingHistoriesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserSubscriptionBillingHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetContext ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetExcludeFree ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetExcludeFree(excludeFree *bool)
SetExcludeFree adds the excludeFree to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetHTTPClient ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserSubscriptionBillingHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetLimit ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetLimit(limit *int32)
SetLimit adds the limit to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetNamespace ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetOffset ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetOffset(offset *int32)
SetOffset adds the offset to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetSubscriptionID ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetTimeout ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) SetUserID ¶
func (o *GetUserSubscriptionBillingHistoriesParams) SetUserID(userID string)
SetUserID adds the userId to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithContext ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithContext(ctx context.Context) *GetUserSubscriptionBillingHistoriesParams
WithContext adds the context to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithExcludeFree ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithExcludeFree(excludeFree *bool) *GetUserSubscriptionBillingHistoriesParams
WithExcludeFree adds the excludeFree to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithHTTPClient ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithHTTPClient(client *http.Client) *GetUserSubscriptionBillingHistoriesParams
WithHTTPClient adds the HTTPClient to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithLimit ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithLimit(limit *int32) *GetUserSubscriptionBillingHistoriesParams
WithLimit adds the limit to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithNamespace ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithNamespace(namespace string) *GetUserSubscriptionBillingHistoriesParams
WithNamespace adds the namespace to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithOffset ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithOffset(offset *int32) *GetUserSubscriptionBillingHistoriesParams
WithOffset adds the offset to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithSubscriptionID ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithSubscriptionID(subscriptionID string) *GetUserSubscriptionBillingHistoriesParams
WithSubscriptionID adds the subscriptionID to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithTimeout ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithTimeout(timeout time.Duration) *GetUserSubscriptionBillingHistoriesParams
WithTimeout adds the timeout to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WithUserID ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WithUserID(userID string) *GetUserSubscriptionBillingHistoriesParams
WithUserID adds the userID to the get user subscription billing histories params
func (*GetUserSubscriptionBillingHistoriesParams) WriteToRequest ¶
func (o *GetUserSubscriptionBillingHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserSubscriptionBillingHistoriesReader ¶
type GetUserSubscriptionBillingHistoriesReader struct {
// contains filtered or unexported fields
}
GetUserSubscriptionBillingHistoriesReader is a Reader for the GetUserSubscriptionBillingHistories structure.
func (*GetUserSubscriptionBillingHistoriesReader) ReadResponse ¶
func (o *GetUserSubscriptionBillingHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserSubscriptionNotFound ¶
type GetUserSubscriptionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetUserSubscriptionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40141</td><td>Subscription [{subscriptionId}] does not exist</td></tr></table>
func NewGetUserSubscriptionNotFound ¶
func NewGetUserSubscriptionNotFound() *GetUserSubscriptionNotFound
NewGetUserSubscriptionNotFound creates a GetUserSubscriptionNotFound with default headers values
func (*GetUserSubscriptionNotFound) Error ¶
func (o *GetUserSubscriptionNotFound) Error() string
func (*GetUserSubscriptionNotFound) GetPayload ¶
func (o *GetUserSubscriptionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetUserSubscriptionNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetUserSubscriptionNotFound) ToJSONString() string
type GetUserSubscriptionOK ¶
type GetUserSubscriptionOK struct {
Payload *platformclientmodels.SubscriptionInfo
}
GetUserSubscriptionOK handles this case with default header values.
successful operation
func NewGetUserSubscriptionOK ¶
func NewGetUserSubscriptionOK() *GetUserSubscriptionOK
NewGetUserSubscriptionOK creates a GetUserSubscriptionOK with default headers values
func (*GetUserSubscriptionOK) Error ¶
func (o *GetUserSubscriptionOK) Error() string
func (*GetUserSubscriptionOK) GetPayload ¶
func (o *GetUserSubscriptionOK) GetPayload() *platformclientmodels.SubscriptionInfo
func (*GetUserSubscriptionOK) ToJSONString ¶ added in v0.25.0
func (o *GetUserSubscriptionOK) ToJSONString() string
type GetUserSubscriptionParams ¶
type GetUserSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserSubscriptionParams contains all the parameters to send to the API endpoint for the get user subscription operation typically these are written to a http.Request
func NewGetUserSubscriptionParams ¶
func NewGetUserSubscriptionParams() *GetUserSubscriptionParams
NewGetUserSubscriptionParams creates a new GetUserSubscriptionParams object with the default values initialized.
func NewGetUserSubscriptionParamsWithContext ¶
func NewGetUserSubscriptionParamsWithContext(ctx context.Context) *GetUserSubscriptionParams
NewGetUserSubscriptionParamsWithContext creates a new GetUserSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserSubscriptionParamsWithHTTPClient ¶
func NewGetUserSubscriptionParamsWithHTTPClient(client *http.Client) *GetUserSubscriptionParams
NewGetUserSubscriptionParamsWithHTTPClient creates a new GetUserSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserSubscriptionParamsWithTimeout ¶
func NewGetUserSubscriptionParamsWithTimeout(timeout time.Duration) *GetUserSubscriptionParams
NewGetUserSubscriptionParamsWithTimeout creates a new GetUserSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user subscription params
func (*GetUserSubscriptionParams) SetContext ¶
func (o *GetUserSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the get user subscription params
func (*GetUserSubscriptionParams) SetHTTPClient ¶
func (o *GetUserSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user subscription params
func (*GetUserSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user subscription params
func (*GetUserSubscriptionParams) SetNamespace ¶
func (o *GetUserSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user subscription params
func (*GetUserSubscriptionParams) SetSubscriptionID ¶
func (o *GetUserSubscriptionParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the get user subscription params
func (*GetUserSubscriptionParams) SetTimeout ¶
func (o *GetUserSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user subscription params
func (*GetUserSubscriptionParams) SetUserID ¶
func (o *GetUserSubscriptionParams) SetUserID(userID string)
SetUserID adds the userId to the get user subscription params
func (*GetUserSubscriptionParams) WithContext ¶
func (o *GetUserSubscriptionParams) WithContext(ctx context.Context) *GetUserSubscriptionParams
WithContext adds the context to the get user subscription params
func (*GetUserSubscriptionParams) WithHTTPClient ¶
func (o *GetUserSubscriptionParams) WithHTTPClient(client *http.Client) *GetUserSubscriptionParams
WithHTTPClient adds the HTTPClient to the get user subscription params
func (*GetUserSubscriptionParams) WithNamespace ¶
func (o *GetUserSubscriptionParams) WithNamespace(namespace string) *GetUserSubscriptionParams
WithNamespace adds the namespace to the get user subscription params
func (*GetUserSubscriptionParams) WithSubscriptionID ¶
func (o *GetUserSubscriptionParams) WithSubscriptionID(subscriptionID string) *GetUserSubscriptionParams
WithSubscriptionID adds the subscriptionID to the get user subscription params
func (*GetUserSubscriptionParams) WithTimeout ¶
func (o *GetUserSubscriptionParams) WithTimeout(timeout time.Duration) *GetUserSubscriptionParams
WithTimeout adds the timeout to the get user subscription params
func (*GetUserSubscriptionParams) WithUserID ¶
func (o *GetUserSubscriptionParams) WithUserID(userID string) *GetUserSubscriptionParams
WithUserID adds the userID to the get user subscription params
func (*GetUserSubscriptionParams) WriteToRequest ¶
func (o *GetUserSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserSubscriptionReader ¶
type GetUserSubscriptionReader struct {
// contains filtered or unexported fields
}
GetUserSubscriptionReader is a Reader for the GetUserSubscription structure.
func (*GetUserSubscriptionReader) ReadResponse ¶
func (o *GetUserSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GrantDaysToSubscriptionNotFound ¶
type GrantDaysToSubscriptionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GrantDaysToSubscriptionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40141</td><td>Subscription [{subscriptionId}] does not exist</td></tr></table>
func NewGrantDaysToSubscriptionNotFound ¶
func NewGrantDaysToSubscriptionNotFound() *GrantDaysToSubscriptionNotFound
NewGrantDaysToSubscriptionNotFound creates a GrantDaysToSubscriptionNotFound with default headers values
func (*GrantDaysToSubscriptionNotFound) Error ¶
func (o *GrantDaysToSubscriptionNotFound) Error() string
func (*GrantDaysToSubscriptionNotFound) GetPayload ¶
func (o *GrantDaysToSubscriptionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GrantDaysToSubscriptionNotFound) ToJSONString ¶ added in v0.25.0
func (o *GrantDaysToSubscriptionNotFound) ToJSONString() string
type GrantDaysToSubscriptionOK ¶
type GrantDaysToSubscriptionOK struct {
Payload *platformclientmodels.SubscriptionInfo
}
GrantDaysToSubscriptionOK handles this case with default header values.
successful operation
func NewGrantDaysToSubscriptionOK ¶
func NewGrantDaysToSubscriptionOK() *GrantDaysToSubscriptionOK
NewGrantDaysToSubscriptionOK creates a GrantDaysToSubscriptionOK with default headers values
func (*GrantDaysToSubscriptionOK) Error ¶
func (o *GrantDaysToSubscriptionOK) Error() string
func (*GrantDaysToSubscriptionOK) GetPayload ¶
func (o *GrantDaysToSubscriptionOK) GetPayload() *platformclientmodels.SubscriptionInfo
func (*GrantDaysToSubscriptionOK) ToJSONString ¶ added in v0.25.0
func (o *GrantDaysToSubscriptionOK) ToJSONString() string
type GrantDaysToSubscriptionParams ¶
type GrantDaysToSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.GrantSubscriptionDaysRequest /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GrantDaysToSubscriptionParams contains all the parameters to send to the API endpoint for the grant days to subscription operation typically these are written to a http.Request
func NewGrantDaysToSubscriptionParams ¶
func NewGrantDaysToSubscriptionParams() *GrantDaysToSubscriptionParams
NewGrantDaysToSubscriptionParams creates a new GrantDaysToSubscriptionParams object with the default values initialized.
func NewGrantDaysToSubscriptionParamsWithContext ¶
func NewGrantDaysToSubscriptionParamsWithContext(ctx context.Context) *GrantDaysToSubscriptionParams
NewGrantDaysToSubscriptionParamsWithContext creates a new GrantDaysToSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewGrantDaysToSubscriptionParamsWithHTTPClient ¶
func NewGrantDaysToSubscriptionParamsWithHTTPClient(client *http.Client) *GrantDaysToSubscriptionParams
NewGrantDaysToSubscriptionParamsWithHTTPClient creates a new GrantDaysToSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGrantDaysToSubscriptionParamsWithTimeout ¶
func NewGrantDaysToSubscriptionParamsWithTimeout(timeout time.Duration) *GrantDaysToSubscriptionParams
NewGrantDaysToSubscriptionParamsWithTimeout creates a new GrantDaysToSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GrantDaysToSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GrantDaysToSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) SetBody ¶
func (o *GrantDaysToSubscriptionParams) SetBody(body *platformclientmodels.GrantSubscriptionDaysRequest)
SetBody adds the body to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) SetContext ¶
func (o *GrantDaysToSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) SetHTTPClient ¶
func (o *GrantDaysToSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GrantDaysToSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) SetNamespace ¶
func (o *GrantDaysToSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) SetSubscriptionID ¶
func (o *GrantDaysToSubscriptionParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) SetTimeout ¶
func (o *GrantDaysToSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) SetUserID ¶
func (o *GrantDaysToSubscriptionParams) SetUserID(userID string)
SetUserID adds the userId to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) WithBody ¶
func (o *GrantDaysToSubscriptionParams) WithBody(body *platformclientmodels.GrantSubscriptionDaysRequest) *GrantDaysToSubscriptionParams
WithBody adds the body to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) WithContext ¶
func (o *GrantDaysToSubscriptionParams) WithContext(ctx context.Context) *GrantDaysToSubscriptionParams
WithContext adds the context to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) WithHTTPClient ¶
func (o *GrantDaysToSubscriptionParams) WithHTTPClient(client *http.Client) *GrantDaysToSubscriptionParams
WithHTTPClient adds the HTTPClient to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) WithNamespace ¶
func (o *GrantDaysToSubscriptionParams) WithNamespace(namespace string) *GrantDaysToSubscriptionParams
WithNamespace adds the namespace to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) WithSubscriptionID ¶
func (o *GrantDaysToSubscriptionParams) WithSubscriptionID(subscriptionID string) *GrantDaysToSubscriptionParams
WithSubscriptionID adds the subscriptionID to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) WithTimeout ¶
func (o *GrantDaysToSubscriptionParams) WithTimeout(timeout time.Duration) *GrantDaysToSubscriptionParams
WithTimeout adds the timeout to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) WithUserID ¶
func (o *GrantDaysToSubscriptionParams) WithUserID(userID string) *GrantDaysToSubscriptionParams
WithUserID adds the userID to the grant days to subscription params
func (*GrantDaysToSubscriptionParams) WriteToRequest ¶
func (o *GrantDaysToSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GrantDaysToSubscriptionReader ¶
type GrantDaysToSubscriptionReader struct {
// contains filtered or unexported fields
}
GrantDaysToSubscriptionReader is a Reader for the GrantDaysToSubscription structure.
func (*GrantDaysToSubscriptionReader) ReadResponse ¶
func (o *GrantDaysToSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlatformSubscribeSubscriptionBadRequest ¶
type PlatformSubscribeSubscriptionBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PlatformSubscribeSubscriptionBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40121</td><td>Item type [{itemType}] does not support</td></tr></table>
func NewPlatformSubscribeSubscriptionBadRequest ¶
func NewPlatformSubscribeSubscriptionBadRequest() *PlatformSubscribeSubscriptionBadRequest
NewPlatformSubscribeSubscriptionBadRequest creates a PlatformSubscribeSubscriptionBadRequest with default headers values
func (*PlatformSubscribeSubscriptionBadRequest) Error ¶
func (o *PlatformSubscribeSubscriptionBadRequest) Error() string
func (*PlatformSubscribeSubscriptionBadRequest) GetPayload ¶
func (o *PlatformSubscribeSubscriptionBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*PlatformSubscribeSubscriptionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PlatformSubscribeSubscriptionBadRequest) ToJSONString() string
type PlatformSubscribeSubscriptionCreated ¶
type PlatformSubscribeSubscriptionCreated struct { }
PlatformSubscribeSubscriptionCreated handles this case with default header values.
platform subscribe request processed
func NewPlatformSubscribeSubscriptionCreated ¶
func NewPlatformSubscribeSubscriptionCreated() *PlatformSubscribeSubscriptionCreated
NewPlatformSubscribeSubscriptionCreated creates a PlatformSubscribeSubscriptionCreated with default headers values
func (*PlatformSubscribeSubscriptionCreated) Error ¶
func (o *PlatformSubscribeSubscriptionCreated) Error() string
type PlatformSubscribeSubscriptionNotFound ¶
type PlatformSubscribeSubscriptionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PlatformSubscribeSubscriptionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>20008</td><td>user [{userId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPlatformSubscribeSubscriptionNotFound ¶
func NewPlatformSubscribeSubscriptionNotFound() *PlatformSubscribeSubscriptionNotFound
NewPlatformSubscribeSubscriptionNotFound creates a PlatformSubscribeSubscriptionNotFound with default headers values
func (*PlatformSubscribeSubscriptionNotFound) Error ¶
func (o *PlatformSubscribeSubscriptionNotFound) Error() string
func (*PlatformSubscribeSubscriptionNotFound) GetPayload ¶
func (o *PlatformSubscribeSubscriptionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PlatformSubscribeSubscriptionNotFound) ToJSONString ¶ added in v0.25.0
func (o *PlatformSubscribeSubscriptionNotFound) ToJSONString() string
type PlatformSubscribeSubscriptionOK ¶
type PlatformSubscribeSubscriptionOK struct {
Payload *platformclientmodels.SubscriptionInfo
}
PlatformSubscribeSubscriptionOK handles this case with default header values.
successful operation
func NewPlatformSubscribeSubscriptionOK ¶
func NewPlatformSubscribeSubscriptionOK() *PlatformSubscribeSubscriptionOK
NewPlatformSubscribeSubscriptionOK creates a PlatformSubscribeSubscriptionOK with default headers values
func (*PlatformSubscribeSubscriptionOK) Error ¶
func (o *PlatformSubscribeSubscriptionOK) Error() string
func (*PlatformSubscribeSubscriptionOK) GetPayload ¶
func (o *PlatformSubscribeSubscriptionOK) GetPayload() *platformclientmodels.SubscriptionInfo
func (*PlatformSubscribeSubscriptionOK) ToJSONString ¶ added in v0.25.0
func (o *PlatformSubscribeSubscriptionOK) ToJSONString() string
type PlatformSubscribeSubscriptionParams ¶
type PlatformSubscribeSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PlatformSubscribeRequest /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlatformSubscribeSubscriptionParams contains all the parameters to send to the API endpoint for the platform subscribe subscription operation typically these are written to a http.Request
func NewPlatformSubscribeSubscriptionParams ¶
func NewPlatformSubscribeSubscriptionParams() *PlatformSubscribeSubscriptionParams
NewPlatformSubscribeSubscriptionParams creates a new PlatformSubscribeSubscriptionParams object with the default values initialized.
func NewPlatformSubscribeSubscriptionParamsWithContext ¶
func NewPlatformSubscribeSubscriptionParamsWithContext(ctx context.Context) *PlatformSubscribeSubscriptionParams
NewPlatformSubscribeSubscriptionParamsWithContext creates a new PlatformSubscribeSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewPlatformSubscribeSubscriptionParamsWithHTTPClient ¶
func NewPlatformSubscribeSubscriptionParamsWithHTTPClient(client *http.Client) *PlatformSubscribeSubscriptionParams
NewPlatformSubscribeSubscriptionParamsWithHTTPClient creates a new PlatformSubscribeSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPlatformSubscribeSubscriptionParamsWithTimeout ¶
func NewPlatformSubscribeSubscriptionParamsWithTimeout(timeout time.Duration) *PlatformSubscribeSubscriptionParams
NewPlatformSubscribeSubscriptionParamsWithTimeout creates a new PlatformSubscribeSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PlatformSubscribeSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PlatformSubscribeSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) SetBody ¶
func (o *PlatformSubscribeSubscriptionParams) SetBody(body *platformclientmodels.PlatformSubscribeRequest)
SetBody adds the body to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) SetContext ¶
func (o *PlatformSubscribeSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) SetHTTPClient ¶
func (o *PlatformSubscribeSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PlatformSubscribeSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) SetNamespace ¶
func (o *PlatformSubscribeSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) SetTimeout ¶
func (o *PlatformSubscribeSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) SetUserID ¶
func (o *PlatformSubscribeSubscriptionParams) SetUserID(userID string)
SetUserID adds the userId to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) WithBody ¶
func (o *PlatformSubscribeSubscriptionParams) WithBody(body *platformclientmodels.PlatformSubscribeRequest) *PlatformSubscribeSubscriptionParams
WithBody adds the body to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) WithContext ¶
func (o *PlatformSubscribeSubscriptionParams) WithContext(ctx context.Context) *PlatformSubscribeSubscriptionParams
WithContext adds the context to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) WithHTTPClient ¶
func (o *PlatformSubscribeSubscriptionParams) WithHTTPClient(client *http.Client) *PlatformSubscribeSubscriptionParams
WithHTTPClient adds the HTTPClient to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) WithNamespace ¶
func (o *PlatformSubscribeSubscriptionParams) WithNamespace(namespace string) *PlatformSubscribeSubscriptionParams
WithNamespace adds the namespace to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) WithTimeout ¶
func (o *PlatformSubscribeSubscriptionParams) WithTimeout(timeout time.Duration) *PlatformSubscribeSubscriptionParams
WithTimeout adds the timeout to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) WithUserID ¶
func (o *PlatformSubscribeSubscriptionParams) WithUserID(userID string) *PlatformSubscribeSubscriptionParams
WithUserID adds the userID to the platform subscribe subscription params
func (*PlatformSubscribeSubscriptionParams) WriteToRequest ¶
func (o *PlatformSubscribeSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlatformSubscribeSubscriptionReader ¶
type PlatformSubscribeSubscriptionReader struct {
// contains filtered or unexported fields
}
PlatformSubscribeSubscriptionReader is a Reader for the PlatformSubscribeSubscription structure.
func (*PlatformSubscribeSubscriptionReader) ReadResponse ¶
func (o *PlatformSubscribeSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlatformSubscribeSubscriptionUnprocessableEntity ¶
type PlatformSubscribeSubscriptionUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
PlatformSubscribeSubscriptionUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewPlatformSubscribeSubscriptionUnprocessableEntity ¶
func NewPlatformSubscribeSubscriptionUnprocessableEntity() *PlatformSubscribeSubscriptionUnprocessableEntity
NewPlatformSubscribeSubscriptionUnprocessableEntity creates a PlatformSubscribeSubscriptionUnprocessableEntity with default headers values
func (*PlatformSubscribeSubscriptionUnprocessableEntity) Error ¶
func (o *PlatformSubscribeSubscriptionUnprocessableEntity) Error() string
func (*PlatformSubscribeSubscriptionUnprocessableEntity) GetPayload ¶
func (o *PlatformSubscribeSubscriptionUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*PlatformSubscribeSubscriptionUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *PlatformSubscribeSubscriptionUnprocessableEntity) ToJSONString() string
type ProcessUserSubscriptionNotificationBadRequest ¶
type ProcessUserSubscriptionNotificationBadRequest struct { }
ProcessUserSubscriptionNotificationBadRequest handles this case with default header values.
process failed
func NewProcessUserSubscriptionNotificationBadRequest ¶
func NewProcessUserSubscriptionNotificationBadRequest() *ProcessUserSubscriptionNotificationBadRequest
NewProcessUserSubscriptionNotificationBadRequest creates a ProcessUserSubscriptionNotificationBadRequest with default headers values
func (*ProcessUserSubscriptionNotificationBadRequest) Error ¶
func (o *ProcessUserSubscriptionNotificationBadRequest) Error() string
type ProcessUserSubscriptionNotificationNoContent ¶
type ProcessUserSubscriptionNotificationNoContent struct { }
ProcessUserSubscriptionNotificationNoContent handles this case with default header values.
process successfully
func NewProcessUserSubscriptionNotificationNoContent ¶
func NewProcessUserSubscriptionNotificationNoContent() *ProcessUserSubscriptionNotificationNoContent
NewProcessUserSubscriptionNotificationNoContent creates a ProcessUserSubscriptionNotificationNoContent with default headers values
func (*ProcessUserSubscriptionNotificationNoContent) Error ¶
func (o *ProcessUserSubscriptionNotificationNoContent) Error() string
type ProcessUserSubscriptionNotificationParams ¶
type ProcessUserSubscriptionNotificationParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.TradeNotification /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProcessUserSubscriptionNotificationParams contains all the parameters to send to the API endpoint for the process user subscription notification operation typically these are written to a http.Request
func NewProcessUserSubscriptionNotificationParams ¶
func NewProcessUserSubscriptionNotificationParams() *ProcessUserSubscriptionNotificationParams
NewProcessUserSubscriptionNotificationParams creates a new ProcessUserSubscriptionNotificationParams object with the default values initialized.
func NewProcessUserSubscriptionNotificationParamsWithContext ¶
func NewProcessUserSubscriptionNotificationParamsWithContext(ctx context.Context) *ProcessUserSubscriptionNotificationParams
NewProcessUserSubscriptionNotificationParamsWithContext creates a new ProcessUserSubscriptionNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewProcessUserSubscriptionNotificationParamsWithHTTPClient ¶
func NewProcessUserSubscriptionNotificationParamsWithHTTPClient(client *http.Client) *ProcessUserSubscriptionNotificationParams
NewProcessUserSubscriptionNotificationParamsWithHTTPClient creates a new ProcessUserSubscriptionNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProcessUserSubscriptionNotificationParamsWithTimeout ¶
func NewProcessUserSubscriptionNotificationParamsWithTimeout(timeout time.Duration) *ProcessUserSubscriptionNotificationParams
NewProcessUserSubscriptionNotificationParamsWithTimeout creates a new ProcessUserSubscriptionNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProcessUserSubscriptionNotificationParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ProcessUserSubscriptionNotificationParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) SetBody ¶
func (o *ProcessUserSubscriptionNotificationParams) SetBody(body *platformclientmodels.TradeNotification)
SetBody adds the body to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) SetContext ¶
func (o *ProcessUserSubscriptionNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) SetHTTPClient ¶
func (o *ProcessUserSubscriptionNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ProcessUserSubscriptionNotificationParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) SetNamespace ¶
func (o *ProcessUserSubscriptionNotificationParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) SetSubscriptionID ¶
func (o *ProcessUserSubscriptionNotificationParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) SetTimeout ¶
func (o *ProcessUserSubscriptionNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) SetUserID ¶
func (o *ProcessUserSubscriptionNotificationParams) SetUserID(userID string)
SetUserID adds the userId to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) WithBody ¶
func (o *ProcessUserSubscriptionNotificationParams) WithBody(body *platformclientmodels.TradeNotification) *ProcessUserSubscriptionNotificationParams
WithBody adds the body to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) WithContext ¶
func (o *ProcessUserSubscriptionNotificationParams) WithContext(ctx context.Context) *ProcessUserSubscriptionNotificationParams
WithContext adds the context to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) WithHTTPClient ¶
func (o *ProcessUserSubscriptionNotificationParams) WithHTTPClient(client *http.Client) *ProcessUserSubscriptionNotificationParams
WithHTTPClient adds the HTTPClient to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) WithNamespace ¶
func (o *ProcessUserSubscriptionNotificationParams) WithNamespace(namespace string) *ProcessUserSubscriptionNotificationParams
WithNamespace adds the namespace to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) WithSubscriptionID ¶
func (o *ProcessUserSubscriptionNotificationParams) WithSubscriptionID(subscriptionID string) *ProcessUserSubscriptionNotificationParams
WithSubscriptionID adds the subscriptionID to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) WithTimeout ¶
func (o *ProcessUserSubscriptionNotificationParams) WithTimeout(timeout time.Duration) *ProcessUserSubscriptionNotificationParams
WithTimeout adds the timeout to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) WithUserID ¶
func (o *ProcessUserSubscriptionNotificationParams) WithUserID(userID string) *ProcessUserSubscriptionNotificationParams
WithUserID adds the userID to the process user subscription notification params
func (*ProcessUserSubscriptionNotificationParams) WriteToRequest ¶
func (o *ProcessUserSubscriptionNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProcessUserSubscriptionNotificationReader ¶
type ProcessUserSubscriptionNotificationReader struct {
// contains filtered or unexported fields
}
ProcessUserSubscriptionNotificationReader is a Reader for the ProcessUserSubscriptionNotification structure.
func (*ProcessUserSubscriptionNotificationReader) ReadResponse ¶
func (o *ProcessUserSubscriptionNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicCancelSubscriptionConflict ¶
type PublicCancelSubscriptionConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCancelSubscriptionConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40171</td><td>Subscription [{subscriptionId}] is not active</td></tr><tr><td>40172</td><td>Subscription [{subscriptionId}] is charging, waiting for payment notification</td></tr></table>
func NewPublicCancelSubscriptionConflict ¶
func NewPublicCancelSubscriptionConflict() *PublicCancelSubscriptionConflict
NewPublicCancelSubscriptionConflict creates a PublicCancelSubscriptionConflict with default headers values
func (*PublicCancelSubscriptionConflict) Error ¶
func (o *PublicCancelSubscriptionConflict) Error() string
func (*PublicCancelSubscriptionConflict) GetPayload ¶
func (o *PublicCancelSubscriptionConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicCancelSubscriptionConflict) ToJSONString ¶ added in v0.25.0
func (o *PublicCancelSubscriptionConflict) ToJSONString() string
type PublicCancelSubscriptionNotFound ¶
type PublicCancelSubscriptionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicCancelSubscriptionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40141</td><td>Subscription [{subscriptionId}] does not exist</td></tr></table>
func NewPublicCancelSubscriptionNotFound ¶
func NewPublicCancelSubscriptionNotFound() *PublicCancelSubscriptionNotFound
NewPublicCancelSubscriptionNotFound creates a PublicCancelSubscriptionNotFound with default headers values
func (*PublicCancelSubscriptionNotFound) Error ¶
func (o *PublicCancelSubscriptionNotFound) Error() string
func (*PublicCancelSubscriptionNotFound) GetPayload ¶
func (o *PublicCancelSubscriptionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicCancelSubscriptionNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicCancelSubscriptionNotFound) ToJSONString() string
type PublicCancelSubscriptionOK ¶
type PublicCancelSubscriptionOK struct {
Payload *platformclientmodels.SubscriptionInfo
}
PublicCancelSubscriptionOK handles this case with default header values.
successful operation
func NewPublicCancelSubscriptionOK ¶
func NewPublicCancelSubscriptionOK() *PublicCancelSubscriptionOK
NewPublicCancelSubscriptionOK creates a PublicCancelSubscriptionOK with default headers values
func (*PublicCancelSubscriptionOK) Error ¶
func (o *PublicCancelSubscriptionOK) Error() string
func (*PublicCancelSubscriptionOK) GetPayload ¶
func (o *PublicCancelSubscriptionOK) GetPayload() *platformclientmodels.SubscriptionInfo
func (*PublicCancelSubscriptionOK) ToJSONString ¶ added in v0.25.0
func (o *PublicCancelSubscriptionOK) ToJSONString() string
type PublicCancelSubscriptionParams ¶
type PublicCancelSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.CancelRequest /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicCancelSubscriptionParams contains all the parameters to send to the API endpoint for the public cancel subscription operation typically these are written to a http.Request
func NewPublicCancelSubscriptionParams ¶
func NewPublicCancelSubscriptionParams() *PublicCancelSubscriptionParams
NewPublicCancelSubscriptionParams creates a new PublicCancelSubscriptionParams object with the default values initialized.
func NewPublicCancelSubscriptionParamsWithContext ¶
func NewPublicCancelSubscriptionParamsWithContext(ctx context.Context) *PublicCancelSubscriptionParams
NewPublicCancelSubscriptionParamsWithContext creates a new PublicCancelSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewPublicCancelSubscriptionParamsWithHTTPClient ¶
func NewPublicCancelSubscriptionParamsWithHTTPClient(client *http.Client) *PublicCancelSubscriptionParams
NewPublicCancelSubscriptionParamsWithHTTPClient creates a new PublicCancelSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicCancelSubscriptionParamsWithTimeout ¶
func NewPublicCancelSubscriptionParamsWithTimeout(timeout time.Duration) *PublicCancelSubscriptionParams
NewPublicCancelSubscriptionParamsWithTimeout creates a new PublicCancelSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicCancelSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicCancelSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public cancel subscription params
func (*PublicCancelSubscriptionParams) SetBody ¶
func (o *PublicCancelSubscriptionParams) SetBody(body *platformclientmodels.CancelRequest)
SetBody adds the body to the public cancel subscription params
func (*PublicCancelSubscriptionParams) SetContext ¶
func (o *PublicCancelSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the public cancel subscription params
func (*PublicCancelSubscriptionParams) SetHTTPClient ¶
func (o *PublicCancelSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public cancel subscription params
func (*PublicCancelSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicCancelSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public cancel subscription params
func (*PublicCancelSubscriptionParams) SetNamespace ¶
func (o *PublicCancelSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public cancel subscription params
func (*PublicCancelSubscriptionParams) SetSubscriptionID ¶
func (o *PublicCancelSubscriptionParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the public cancel subscription params
func (*PublicCancelSubscriptionParams) SetTimeout ¶
func (o *PublicCancelSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public cancel subscription params
func (*PublicCancelSubscriptionParams) SetUserID ¶
func (o *PublicCancelSubscriptionParams) SetUserID(userID string)
SetUserID adds the userId to the public cancel subscription params
func (*PublicCancelSubscriptionParams) WithBody ¶
func (o *PublicCancelSubscriptionParams) WithBody(body *platformclientmodels.CancelRequest) *PublicCancelSubscriptionParams
WithBody adds the body to the public cancel subscription params
func (*PublicCancelSubscriptionParams) WithContext ¶
func (o *PublicCancelSubscriptionParams) WithContext(ctx context.Context) *PublicCancelSubscriptionParams
WithContext adds the context to the public cancel subscription params
func (*PublicCancelSubscriptionParams) WithHTTPClient ¶
func (o *PublicCancelSubscriptionParams) WithHTTPClient(client *http.Client) *PublicCancelSubscriptionParams
WithHTTPClient adds the HTTPClient to the public cancel subscription params
func (*PublicCancelSubscriptionParams) WithNamespace ¶
func (o *PublicCancelSubscriptionParams) WithNamespace(namespace string) *PublicCancelSubscriptionParams
WithNamespace adds the namespace to the public cancel subscription params
func (*PublicCancelSubscriptionParams) WithSubscriptionID ¶
func (o *PublicCancelSubscriptionParams) WithSubscriptionID(subscriptionID string) *PublicCancelSubscriptionParams
WithSubscriptionID adds the subscriptionID to the public cancel subscription params
func (*PublicCancelSubscriptionParams) WithTimeout ¶
func (o *PublicCancelSubscriptionParams) WithTimeout(timeout time.Duration) *PublicCancelSubscriptionParams
WithTimeout adds the timeout to the public cancel subscription params
func (*PublicCancelSubscriptionParams) WithUserID ¶
func (o *PublicCancelSubscriptionParams) WithUserID(userID string) *PublicCancelSubscriptionParams
WithUserID adds the userID to the public cancel subscription params
func (*PublicCancelSubscriptionParams) WriteToRequest ¶
func (o *PublicCancelSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicCancelSubscriptionReader ¶
type PublicCancelSubscriptionReader struct {
// contains filtered or unexported fields
}
PublicCancelSubscriptionReader is a Reader for the PublicCancelSubscription structure.
func (*PublicCancelSubscriptionReader) ReadResponse ¶
func (o *PublicCancelSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicChangeSubscriptionBillingAccountBadRequest ¶
type PublicChangeSubscriptionBillingAccountBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PublicChangeSubscriptionBillingAccountBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40125</td><td>Subscription [{subscriptionId}] has no real currency billing account</td></tr></table>
func NewPublicChangeSubscriptionBillingAccountBadRequest ¶
func NewPublicChangeSubscriptionBillingAccountBadRequest() *PublicChangeSubscriptionBillingAccountBadRequest
NewPublicChangeSubscriptionBillingAccountBadRequest creates a PublicChangeSubscriptionBillingAccountBadRequest with default headers values
func (*PublicChangeSubscriptionBillingAccountBadRequest) Error ¶
func (o *PublicChangeSubscriptionBillingAccountBadRequest) Error() string
func (*PublicChangeSubscriptionBillingAccountBadRequest) GetPayload ¶
func (o *PublicChangeSubscriptionBillingAccountBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicChangeSubscriptionBillingAccountBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublicChangeSubscriptionBillingAccountBadRequest) ToJSONString() string
type PublicChangeSubscriptionBillingAccountConflict ¶
type PublicChangeSubscriptionBillingAccountConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicChangeSubscriptionBillingAccountConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40171</td><td>Subscription [{subscriptionId}] is not active</td></tr><tr><td>40172</td><td>Subscription [{subscriptionId}] is charging, waiting for payment notification</td></tr></table>
func NewPublicChangeSubscriptionBillingAccountConflict ¶
func NewPublicChangeSubscriptionBillingAccountConflict() *PublicChangeSubscriptionBillingAccountConflict
NewPublicChangeSubscriptionBillingAccountConflict creates a PublicChangeSubscriptionBillingAccountConflict with default headers values
func (*PublicChangeSubscriptionBillingAccountConflict) Error ¶
func (o *PublicChangeSubscriptionBillingAccountConflict) Error() string
func (*PublicChangeSubscriptionBillingAccountConflict) GetPayload ¶
func (o *PublicChangeSubscriptionBillingAccountConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicChangeSubscriptionBillingAccountConflict) ToJSONString ¶ added in v0.25.0
func (o *PublicChangeSubscriptionBillingAccountConflict) ToJSONString() string
type PublicChangeSubscriptionBillingAccountNotFound ¶
type PublicChangeSubscriptionBillingAccountNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicChangeSubscriptionBillingAccountNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40141</td><td>Subscription [{subscriptionId}] does not exist</td></tr></table>
func NewPublicChangeSubscriptionBillingAccountNotFound ¶
func NewPublicChangeSubscriptionBillingAccountNotFound() *PublicChangeSubscriptionBillingAccountNotFound
NewPublicChangeSubscriptionBillingAccountNotFound creates a PublicChangeSubscriptionBillingAccountNotFound with default headers values
func (*PublicChangeSubscriptionBillingAccountNotFound) Error ¶
func (o *PublicChangeSubscriptionBillingAccountNotFound) Error() string
func (*PublicChangeSubscriptionBillingAccountNotFound) GetPayload ¶
func (o *PublicChangeSubscriptionBillingAccountNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicChangeSubscriptionBillingAccountNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicChangeSubscriptionBillingAccountNotFound) ToJSONString() string
type PublicChangeSubscriptionBillingAccountOK ¶
type PublicChangeSubscriptionBillingAccountOK struct {
Payload *platformclientmodels.SubscriptionInfo
}
PublicChangeSubscriptionBillingAccountOK handles this case with default header values.
successful operation
func NewPublicChangeSubscriptionBillingAccountOK ¶
func NewPublicChangeSubscriptionBillingAccountOK() *PublicChangeSubscriptionBillingAccountOK
NewPublicChangeSubscriptionBillingAccountOK creates a PublicChangeSubscriptionBillingAccountOK with default headers values
func (*PublicChangeSubscriptionBillingAccountOK) Error ¶
func (o *PublicChangeSubscriptionBillingAccountOK) Error() string
func (*PublicChangeSubscriptionBillingAccountOK) GetPayload ¶
func (o *PublicChangeSubscriptionBillingAccountOK) GetPayload() *platformclientmodels.SubscriptionInfo
func (*PublicChangeSubscriptionBillingAccountOK) ToJSONString ¶ added in v0.25.0
func (o *PublicChangeSubscriptionBillingAccountOK) ToJSONString() string
type PublicChangeSubscriptionBillingAccountParams ¶
type PublicChangeSubscriptionBillingAccountParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicChangeSubscriptionBillingAccountParams contains all the parameters to send to the API endpoint for the public change subscription billing account operation typically these are written to a http.Request
func NewPublicChangeSubscriptionBillingAccountParams ¶
func NewPublicChangeSubscriptionBillingAccountParams() *PublicChangeSubscriptionBillingAccountParams
NewPublicChangeSubscriptionBillingAccountParams creates a new PublicChangeSubscriptionBillingAccountParams object with the default values initialized.
func NewPublicChangeSubscriptionBillingAccountParamsWithContext ¶
func NewPublicChangeSubscriptionBillingAccountParamsWithContext(ctx context.Context) *PublicChangeSubscriptionBillingAccountParams
NewPublicChangeSubscriptionBillingAccountParamsWithContext creates a new PublicChangeSubscriptionBillingAccountParams object with the default values initialized, and the ability to set a context for a request
func NewPublicChangeSubscriptionBillingAccountParamsWithHTTPClient ¶
func NewPublicChangeSubscriptionBillingAccountParamsWithHTTPClient(client *http.Client) *PublicChangeSubscriptionBillingAccountParams
NewPublicChangeSubscriptionBillingAccountParamsWithHTTPClient creates a new PublicChangeSubscriptionBillingAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicChangeSubscriptionBillingAccountParamsWithTimeout ¶
func NewPublicChangeSubscriptionBillingAccountParamsWithTimeout(timeout time.Duration) *PublicChangeSubscriptionBillingAccountParams
NewPublicChangeSubscriptionBillingAccountParamsWithTimeout creates a new PublicChangeSubscriptionBillingAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicChangeSubscriptionBillingAccountParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicChangeSubscriptionBillingAccountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) SetContext ¶
func (o *PublicChangeSubscriptionBillingAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) SetHTTPClient ¶
func (o *PublicChangeSubscriptionBillingAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicChangeSubscriptionBillingAccountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) SetNamespace ¶
func (o *PublicChangeSubscriptionBillingAccountParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) SetSubscriptionID ¶
func (o *PublicChangeSubscriptionBillingAccountParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) SetTimeout ¶
func (o *PublicChangeSubscriptionBillingAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) SetUserID ¶
func (o *PublicChangeSubscriptionBillingAccountParams) SetUserID(userID string)
SetUserID adds the userId to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) WithContext ¶
func (o *PublicChangeSubscriptionBillingAccountParams) WithContext(ctx context.Context) *PublicChangeSubscriptionBillingAccountParams
WithContext adds the context to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) WithHTTPClient ¶
func (o *PublicChangeSubscriptionBillingAccountParams) WithHTTPClient(client *http.Client) *PublicChangeSubscriptionBillingAccountParams
WithHTTPClient adds the HTTPClient to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) WithNamespace ¶
func (o *PublicChangeSubscriptionBillingAccountParams) WithNamespace(namespace string) *PublicChangeSubscriptionBillingAccountParams
WithNamespace adds the namespace to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) WithSubscriptionID ¶
func (o *PublicChangeSubscriptionBillingAccountParams) WithSubscriptionID(subscriptionID string) *PublicChangeSubscriptionBillingAccountParams
WithSubscriptionID adds the subscriptionID to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) WithTimeout ¶
func (o *PublicChangeSubscriptionBillingAccountParams) WithTimeout(timeout time.Duration) *PublicChangeSubscriptionBillingAccountParams
WithTimeout adds the timeout to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) WithUserID ¶
func (o *PublicChangeSubscriptionBillingAccountParams) WithUserID(userID string) *PublicChangeSubscriptionBillingAccountParams
WithUserID adds the userID to the public change subscription billing account params
func (*PublicChangeSubscriptionBillingAccountParams) WriteToRequest ¶
func (o *PublicChangeSubscriptionBillingAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicChangeSubscriptionBillingAccountReader ¶
type PublicChangeSubscriptionBillingAccountReader struct {
// contains filtered or unexported fields
}
PublicChangeSubscriptionBillingAccountReader is a Reader for the PublicChangeSubscriptionBillingAccount structure.
func (*PublicChangeSubscriptionBillingAccountReader) ReadResponse ¶
func (o *PublicChangeSubscriptionBillingAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicCheckUserSubscriptionSubscribableByItemIDOK ¶
type PublicCheckUserSubscriptionSubscribableByItemIDOK struct {
Payload *platformclientmodels.Subscribable
}
PublicCheckUserSubscriptionSubscribableByItemIDOK handles this case with default header values.
successful operation
func NewPublicCheckUserSubscriptionSubscribableByItemIDOK ¶
func NewPublicCheckUserSubscriptionSubscribableByItemIDOK() *PublicCheckUserSubscriptionSubscribableByItemIDOK
NewPublicCheckUserSubscriptionSubscribableByItemIDOK creates a PublicCheckUserSubscriptionSubscribableByItemIDOK with default headers values
func (*PublicCheckUserSubscriptionSubscribableByItemIDOK) Error ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDOK) Error() string
func (*PublicCheckUserSubscriptionSubscribableByItemIDOK) GetPayload ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDOK) GetPayload() *platformclientmodels.Subscribable
func (*PublicCheckUserSubscriptionSubscribableByItemIDOK) ToJSONString ¶ added in v0.25.0
func (o *PublicCheckUserSubscriptionSubscribableByItemIDOK) ToJSONString() string
type PublicCheckUserSubscriptionSubscribableByItemIDParams ¶
type PublicCheckUserSubscriptionSubscribableByItemIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ItemID*/ ItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicCheckUserSubscriptionSubscribableByItemIDParams contains all the parameters to send to the API endpoint for the public check user subscription subscribable by item id operation typically these are written to a http.Request
func NewPublicCheckUserSubscriptionSubscribableByItemIDParams ¶
func NewPublicCheckUserSubscriptionSubscribableByItemIDParams() *PublicCheckUserSubscriptionSubscribableByItemIDParams
NewPublicCheckUserSubscriptionSubscribableByItemIDParams creates a new PublicCheckUserSubscriptionSubscribableByItemIDParams object with the default values initialized.
func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithContext ¶
func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithContext(ctx context.Context) *PublicCheckUserSubscriptionSubscribableByItemIDParams
NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithContext creates a new PublicCheckUserSubscriptionSubscribableByItemIDParams object with the default values initialized, and the ability to set a context for a request
func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithHTTPClient ¶
func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithHTTPClient(client *http.Client) *PublicCheckUserSubscriptionSubscribableByItemIDParams
NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithHTTPClient creates a new PublicCheckUserSubscriptionSubscribableByItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithTimeout ¶
func NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithTimeout(timeout time.Duration) *PublicCheckUserSubscriptionSubscribableByItemIDParams
NewPublicCheckUserSubscriptionSubscribableByItemIDParamsWithTimeout creates a new PublicCheckUserSubscriptionSubscribableByItemIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) SetContext ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClient ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) SetItemID ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetItemID(itemID string)
SetItemID adds the itemId to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) SetNamespace ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) SetTimeout ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) SetUserID ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) SetUserID(userID string)
SetUserID adds the userId to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) WithContext ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithContext(ctx context.Context) *PublicCheckUserSubscriptionSubscribableByItemIDParams
WithContext adds the context to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) WithHTTPClient ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithHTTPClient(client *http.Client) *PublicCheckUserSubscriptionSubscribableByItemIDParams
WithHTTPClient adds the HTTPClient to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) WithItemID ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithItemID(itemID string) *PublicCheckUserSubscriptionSubscribableByItemIDParams
WithItemID adds the itemID to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) WithNamespace ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithNamespace(namespace string) *PublicCheckUserSubscriptionSubscribableByItemIDParams
WithNamespace adds the namespace to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) WithTimeout ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithTimeout(timeout time.Duration) *PublicCheckUserSubscriptionSubscribableByItemIDParams
WithTimeout adds the timeout to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) WithUserID ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WithUserID(userID string) *PublicCheckUserSubscriptionSubscribableByItemIDParams
WithUserID adds the userID to the public check user subscription subscribable by item id params
func (*PublicCheckUserSubscriptionSubscribableByItemIDParams) WriteToRequest ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicCheckUserSubscriptionSubscribableByItemIDReader ¶
type PublicCheckUserSubscriptionSubscribableByItemIDReader struct {
// contains filtered or unexported fields
}
PublicCheckUserSubscriptionSubscribableByItemIDReader is a Reader for the PublicCheckUserSubscriptionSubscribableByItemID structure.
func (*PublicCheckUserSubscriptionSubscribableByItemIDReader) ReadResponse ¶
func (o *PublicCheckUserSubscriptionSubscribableByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserSubscriptionBillingHistoriesOK ¶
type PublicGetUserSubscriptionBillingHistoriesOK struct {
Payload *platformclientmodels.BillingHistoryPagingSlicedResult
}
PublicGetUserSubscriptionBillingHistoriesOK handles this case with default header values.
successful operation
func NewPublicGetUserSubscriptionBillingHistoriesOK ¶
func NewPublicGetUserSubscriptionBillingHistoriesOK() *PublicGetUserSubscriptionBillingHistoriesOK
NewPublicGetUserSubscriptionBillingHistoriesOK creates a PublicGetUserSubscriptionBillingHistoriesOK with default headers values
func (*PublicGetUserSubscriptionBillingHistoriesOK) Error ¶
func (o *PublicGetUserSubscriptionBillingHistoriesOK) Error() string
func (*PublicGetUserSubscriptionBillingHistoriesOK) GetPayload ¶
func (o *PublicGetUserSubscriptionBillingHistoriesOK) GetPayload() *platformclientmodels.BillingHistoryPagingSlicedResult
func (*PublicGetUserSubscriptionBillingHistoriesOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetUserSubscriptionBillingHistoriesOK) ToJSONString() string
type PublicGetUserSubscriptionBillingHistoriesParams ¶
type PublicGetUserSubscriptionBillingHistoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string /*ExcludeFree*/ ExcludeFree *bool /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetUserSubscriptionBillingHistoriesParams contains all the parameters to send to the API endpoint for the public get user subscription billing histories operation typically these are written to a http.Request
func NewPublicGetUserSubscriptionBillingHistoriesParams ¶
func NewPublicGetUserSubscriptionBillingHistoriesParams() *PublicGetUserSubscriptionBillingHistoriesParams
NewPublicGetUserSubscriptionBillingHistoriesParams creates a new PublicGetUserSubscriptionBillingHistoriesParams object with the default values initialized.
func NewPublicGetUserSubscriptionBillingHistoriesParamsWithContext ¶
func NewPublicGetUserSubscriptionBillingHistoriesParamsWithContext(ctx context.Context) *PublicGetUserSubscriptionBillingHistoriesParams
NewPublicGetUserSubscriptionBillingHistoriesParamsWithContext creates a new PublicGetUserSubscriptionBillingHistoriesParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserSubscriptionBillingHistoriesParamsWithHTTPClient ¶
func NewPublicGetUserSubscriptionBillingHistoriesParamsWithHTTPClient(client *http.Client) *PublicGetUserSubscriptionBillingHistoriesParams
NewPublicGetUserSubscriptionBillingHistoriesParamsWithHTTPClient creates a new PublicGetUserSubscriptionBillingHistoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserSubscriptionBillingHistoriesParamsWithTimeout ¶
func NewPublicGetUserSubscriptionBillingHistoriesParamsWithTimeout(timeout time.Duration) *PublicGetUserSubscriptionBillingHistoriesParams
NewPublicGetUserSubscriptionBillingHistoriesParamsWithTimeout creates a new PublicGetUserSubscriptionBillingHistoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetContext ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetExcludeFree ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetExcludeFree(excludeFree *bool)
SetExcludeFree adds the excludeFree to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetHTTPClient ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetLimit ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetLimit(limit *int32)
SetLimit adds the limit to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetNamespace ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetOffset ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetOffset(offset *int32)
SetOffset adds the offset to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetSubscriptionID ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetTimeout ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) SetUserID ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) SetUserID(userID string)
SetUserID adds the userId to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithContext ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithContext(ctx context.Context) *PublicGetUserSubscriptionBillingHistoriesParams
WithContext adds the context to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithExcludeFree ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithExcludeFree(excludeFree *bool) *PublicGetUserSubscriptionBillingHistoriesParams
WithExcludeFree adds the excludeFree to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithHTTPClient ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithHTTPClient(client *http.Client) *PublicGetUserSubscriptionBillingHistoriesParams
WithHTTPClient adds the HTTPClient to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithLimit ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithLimit(limit *int32) *PublicGetUserSubscriptionBillingHistoriesParams
WithLimit adds the limit to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithNamespace ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithNamespace(namespace string) *PublicGetUserSubscriptionBillingHistoriesParams
WithNamespace adds the namespace to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithOffset ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithOffset(offset *int32) *PublicGetUserSubscriptionBillingHistoriesParams
WithOffset adds the offset to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithSubscriptionID ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithSubscriptionID(subscriptionID string) *PublicGetUserSubscriptionBillingHistoriesParams
WithSubscriptionID adds the subscriptionID to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithTimeout ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithTimeout(timeout time.Duration) *PublicGetUserSubscriptionBillingHistoriesParams
WithTimeout adds the timeout to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WithUserID ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WithUserID(userID string) *PublicGetUserSubscriptionBillingHistoriesParams
WithUserID adds the userID to the public get user subscription billing histories params
func (*PublicGetUserSubscriptionBillingHistoriesParams) WriteToRequest ¶
func (o *PublicGetUserSubscriptionBillingHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserSubscriptionBillingHistoriesReader ¶
type PublicGetUserSubscriptionBillingHistoriesReader struct {
// contains filtered or unexported fields
}
PublicGetUserSubscriptionBillingHistoriesReader is a Reader for the PublicGetUserSubscriptionBillingHistories structure.
func (*PublicGetUserSubscriptionBillingHistoriesReader) ReadResponse ¶
func (o *PublicGetUserSubscriptionBillingHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserSubscriptionNotFound ¶
type PublicGetUserSubscriptionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetUserSubscriptionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40141</td><td>Subscription [{subscriptionId}] does not exist</td></tr></table>
func NewPublicGetUserSubscriptionNotFound ¶
func NewPublicGetUserSubscriptionNotFound() *PublicGetUserSubscriptionNotFound
NewPublicGetUserSubscriptionNotFound creates a PublicGetUserSubscriptionNotFound with default headers values
func (*PublicGetUserSubscriptionNotFound) Error ¶
func (o *PublicGetUserSubscriptionNotFound) Error() string
func (*PublicGetUserSubscriptionNotFound) GetPayload ¶
func (o *PublicGetUserSubscriptionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicGetUserSubscriptionNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicGetUserSubscriptionNotFound) ToJSONString() string
type PublicGetUserSubscriptionOK ¶
type PublicGetUserSubscriptionOK struct {
Payload *platformclientmodels.SubscriptionInfo
}
PublicGetUserSubscriptionOK handles this case with default header values.
successful operation
func NewPublicGetUserSubscriptionOK ¶
func NewPublicGetUserSubscriptionOK() *PublicGetUserSubscriptionOK
NewPublicGetUserSubscriptionOK creates a PublicGetUserSubscriptionOK with default headers values
func (*PublicGetUserSubscriptionOK) Error ¶
func (o *PublicGetUserSubscriptionOK) Error() string
func (*PublicGetUserSubscriptionOK) GetPayload ¶
func (o *PublicGetUserSubscriptionOK) GetPayload() *platformclientmodels.SubscriptionInfo
func (*PublicGetUserSubscriptionOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetUserSubscriptionOK) ToJSONString() string
type PublicGetUserSubscriptionParams ¶
type PublicGetUserSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetUserSubscriptionParams contains all the parameters to send to the API endpoint for the public get user subscription operation typically these are written to a http.Request
func NewPublicGetUserSubscriptionParams ¶
func NewPublicGetUserSubscriptionParams() *PublicGetUserSubscriptionParams
NewPublicGetUserSubscriptionParams creates a new PublicGetUserSubscriptionParams object with the default values initialized.
func NewPublicGetUserSubscriptionParamsWithContext ¶
func NewPublicGetUserSubscriptionParamsWithContext(ctx context.Context) *PublicGetUserSubscriptionParams
NewPublicGetUserSubscriptionParamsWithContext creates a new PublicGetUserSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserSubscriptionParamsWithHTTPClient ¶
func NewPublicGetUserSubscriptionParamsWithHTTPClient(client *http.Client) *PublicGetUserSubscriptionParams
NewPublicGetUserSubscriptionParamsWithHTTPClient creates a new PublicGetUserSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserSubscriptionParamsWithTimeout ¶
func NewPublicGetUserSubscriptionParamsWithTimeout(timeout time.Duration) *PublicGetUserSubscriptionParams
NewPublicGetUserSubscriptionParamsWithTimeout creates a new PublicGetUserSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetUserSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user subscription params
func (*PublicGetUserSubscriptionParams) SetContext ¶
func (o *PublicGetUserSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user subscription params
func (*PublicGetUserSubscriptionParams) SetHTTPClient ¶
func (o *PublicGetUserSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user subscription params
func (*PublicGetUserSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetUserSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user subscription params
func (*PublicGetUserSubscriptionParams) SetNamespace ¶
func (o *PublicGetUserSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user subscription params
func (*PublicGetUserSubscriptionParams) SetSubscriptionID ¶
func (o *PublicGetUserSubscriptionParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the public get user subscription params
func (*PublicGetUserSubscriptionParams) SetTimeout ¶
func (o *PublicGetUserSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user subscription params
func (*PublicGetUserSubscriptionParams) SetUserID ¶
func (o *PublicGetUserSubscriptionParams) SetUserID(userID string)
SetUserID adds the userId to the public get user subscription params
func (*PublicGetUserSubscriptionParams) WithContext ¶
func (o *PublicGetUserSubscriptionParams) WithContext(ctx context.Context) *PublicGetUserSubscriptionParams
WithContext adds the context to the public get user subscription params
func (*PublicGetUserSubscriptionParams) WithHTTPClient ¶
func (o *PublicGetUserSubscriptionParams) WithHTTPClient(client *http.Client) *PublicGetUserSubscriptionParams
WithHTTPClient adds the HTTPClient to the public get user subscription params
func (*PublicGetUserSubscriptionParams) WithNamespace ¶
func (o *PublicGetUserSubscriptionParams) WithNamespace(namespace string) *PublicGetUserSubscriptionParams
WithNamespace adds the namespace to the public get user subscription params
func (*PublicGetUserSubscriptionParams) WithSubscriptionID ¶
func (o *PublicGetUserSubscriptionParams) WithSubscriptionID(subscriptionID string) *PublicGetUserSubscriptionParams
WithSubscriptionID adds the subscriptionID to the public get user subscription params
func (*PublicGetUserSubscriptionParams) WithTimeout ¶
func (o *PublicGetUserSubscriptionParams) WithTimeout(timeout time.Duration) *PublicGetUserSubscriptionParams
WithTimeout adds the timeout to the public get user subscription params
func (*PublicGetUserSubscriptionParams) WithUserID ¶
func (o *PublicGetUserSubscriptionParams) WithUserID(userID string) *PublicGetUserSubscriptionParams
WithUserID adds the userID to the public get user subscription params
func (*PublicGetUserSubscriptionParams) WriteToRequest ¶
func (o *PublicGetUserSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserSubscriptionReader ¶
type PublicGetUserSubscriptionReader struct {
// contains filtered or unexported fields
}
PublicGetUserSubscriptionReader is a Reader for the PublicGetUserSubscription structure.
func (*PublicGetUserSubscriptionReader) ReadResponse ¶
func (o *PublicGetUserSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicQueryUserSubscriptionsOK ¶
type PublicQueryUserSubscriptionsOK struct {
Payload *platformclientmodels.SubscriptionPagingSlicedResult
}
PublicQueryUserSubscriptionsOK handles this case with default header values.
successful operation
func NewPublicQueryUserSubscriptionsOK ¶
func NewPublicQueryUserSubscriptionsOK() *PublicQueryUserSubscriptionsOK
NewPublicQueryUserSubscriptionsOK creates a PublicQueryUserSubscriptionsOK with default headers values
func (*PublicQueryUserSubscriptionsOK) Error ¶
func (o *PublicQueryUserSubscriptionsOK) Error() string
func (*PublicQueryUserSubscriptionsOK) GetPayload ¶
func (o *PublicQueryUserSubscriptionsOK) GetPayload() *platformclientmodels.SubscriptionPagingSlicedResult
func (*PublicQueryUserSubscriptionsOK) ToJSONString ¶ added in v0.25.0
func (o *PublicQueryUserSubscriptionsOK) ToJSONString() string
type PublicQueryUserSubscriptionsParams ¶
type PublicQueryUserSubscriptionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ChargeStatus*/ ChargeStatus *string /*ItemID*/ ItemID *string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*Sku*/ Sku *string /*Status*/ Status *string /*SubscribedBy*/ SubscribedBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicQueryUserSubscriptionsParams contains all the parameters to send to the API endpoint for the public query user subscriptions operation typically these are written to a http.Request
func NewPublicQueryUserSubscriptionsParams ¶
func NewPublicQueryUserSubscriptionsParams() *PublicQueryUserSubscriptionsParams
NewPublicQueryUserSubscriptionsParams creates a new PublicQueryUserSubscriptionsParams object with the default values initialized.
func NewPublicQueryUserSubscriptionsParamsWithContext ¶
func NewPublicQueryUserSubscriptionsParamsWithContext(ctx context.Context) *PublicQueryUserSubscriptionsParams
NewPublicQueryUserSubscriptionsParamsWithContext creates a new PublicQueryUserSubscriptionsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicQueryUserSubscriptionsParamsWithHTTPClient ¶
func NewPublicQueryUserSubscriptionsParamsWithHTTPClient(client *http.Client) *PublicQueryUserSubscriptionsParams
NewPublicQueryUserSubscriptionsParamsWithHTTPClient creates a new PublicQueryUserSubscriptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicQueryUserSubscriptionsParamsWithTimeout ¶
func NewPublicQueryUserSubscriptionsParamsWithTimeout(timeout time.Duration) *PublicQueryUserSubscriptionsParams
NewPublicQueryUserSubscriptionsParamsWithTimeout creates a new PublicQueryUserSubscriptionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicQueryUserSubscriptionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicQueryUserSubscriptionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetChargeStatus ¶
func (o *PublicQueryUserSubscriptionsParams) SetChargeStatus(chargeStatus *string)
SetChargeStatus adds the chargeStatus to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetContext ¶
func (o *PublicQueryUserSubscriptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetHTTPClient ¶
func (o *PublicQueryUserSubscriptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicQueryUserSubscriptionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetItemID ¶
func (o *PublicQueryUserSubscriptionsParams) SetItemID(itemID *string)
SetItemID adds the itemId to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetLimit ¶
func (o *PublicQueryUserSubscriptionsParams) SetLimit(limit *int32)
SetLimit adds the limit to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetNamespace ¶
func (o *PublicQueryUserSubscriptionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetOffset ¶
func (o *PublicQueryUserSubscriptionsParams) SetOffset(offset *int32)
SetOffset adds the offset to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetSku ¶
func (o *PublicQueryUserSubscriptionsParams) SetSku(sku *string)
SetSku adds the sku to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetStatus ¶
func (o *PublicQueryUserSubscriptionsParams) SetStatus(status *string)
SetStatus adds the status to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetSubscribedBy ¶
func (o *PublicQueryUserSubscriptionsParams) SetSubscribedBy(subscribedBy *string)
SetSubscribedBy adds the subscribedBy to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetTimeout ¶
func (o *PublicQueryUserSubscriptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) SetUserID ¶
func (o *PublicQueryUserSubscriptionsParams) SetUserID(userID string)
SetUserID adds the userId to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithChargeStatus ¶
func (o *PublicQueryUserSubscriptionsParams) WithChargeStatus(chargeStatus *string) *PublicQueryUserSubscriptionsParams
WithChargeStatus adds the chargeStatus to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithContext ¶
func (o *PublicQueryUserSubscriptionsParams) WithContext(ctx context.Context) *PublicQueryUserSubscriptionsParams
WithContext adds the context to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithHTTPClient ¶
func (o *PublicQueryUserSubscriptionsParams) WithHTTPClient(client *http.Client) *PublicQueryUserSubscriptionsParams
WithHTTPClient adds the HTTPClient to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithItemID ¶
func (o *PublicQueryUserSubscriptionsParams) WithItemID(itemID *string) *PublicQueryUserSubscriptionsParams
WithItemID adds the itemID to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithLimit ¶
func (o *PublicQueryUserSubscriptionsParams) WithLimit(limit *int32) *PublicQueryUserSubscriptionsParams
WithLimit adds the limit to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithNamespace ¶
func (o *PublicQueryUserSubscriptionsParams) WithNamespace(namespace string) *PublicQueryUserSubscriptionsParams
WithNamespace adds the namespace to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithOffset ¶
func (o *PublicQueryUserSubscriptionsParams) WithOffset(offset *int32) *PublicQueryUserSubscriptionsParams
WithOffset adds the offset to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithSku ¶
func (o *PublicQueryUserSubscriptionsParams) WithSku(sku *string) *PublicQueryUserSubscriptionsParams
WithSku adds the sku to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithStatus ¶
func (o *PublicQueryUserSubscriptionsParams) WithStatus(status *string) *PublicQueryUserSubscriptionsParams
WithStatus adds the status to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithSubscribedBy ¶
func (o *PublicQueryUserSubscriptionsParams) WithSubscribedBy(subscribedBy *string) *PublicQueryUserSubscriptionsParams
WithSubscribedBy adds the subscribedBy to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithTimeout ¶
func (o *PublicQueryUserSubscriptionsParams) WithTimeout(timeout time.Duration) *PublicQueryUserSubscriptionsParams
WithTimeout adds the timeout to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WithUserID ¶
func (o *PublicQueryUserSubscriptionsParams) WithUserID(userID string) *PublicQueryUserSubscriptionsParams
WithUserID adds the userID to the public query user subscriptions params
func (*PublicQueryUserSubscriptionsParams) WriteToRequest ¶
func (o *PublicQueryUserSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicQueryUserSubscriptionsReader ¶
type PublicQueryUserSubscriptionsReader struct {
// contains filtered or unexported fields
}
PublicQueryUserSubscriptionsReader is a Reader for the PublicQueryUserSubscriptions structure.
func (*PublicQueryUserSubscriptionsReader) ReadResponse ¶
func (o *PublicQueryUserSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicSubscribeSubscriptionBadRequest ¶
type PublicSubscribeSubscriptionBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PublicSubscribeSubscriptionBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>40121</td><td>Item type [{itemType}] does not support</td></tr><tr><td>40122</td><td>Subscription already been subscribed by user</td></tr><tr><td>40123</td><td>Currency [{currencyCode}] does not support</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>35124</td><td>Wallet [{currencyCode}] has insufficient balance</td></tr></table>
func NewPublicSubscribeSubscriptionBadRequest ¶
func NewPublicSubscribeSubscriptionBadRequest() *PublicSubscribeSubscriptionBadRequest
NewPublicSubscribeSubscriptionBadRequest creates a PublicSubscribeSubscriptionBadRequest with default headers values
func (*PublicSubscribeSubscriptionBadRequest) Error ¶
func (o *PublicSubscribeSubscriptionBadRequest) Error() string
func (*PublicSubscribeSubscriptionBadRequest) GetPayload ¶
func (o *PublicSubscribeSubscriptionBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicSubscribeSubscriptionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublicSubscribeSubscriptionBadRequest) ToJSONString() string
type PublicSubscribeSubscriptionConflict ¶
type PublicSubscribeSubscriptionConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicSubscribeSubscriptionConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>40172</td><td>Subscription [{subscriptionId}] is charging, waiting for payment notification</td></tr><tr><td>40173</td><td>Subscription [{subscriptionId}] current currency [{currentCurrency}] not match request currency [{requestCurrency}]</td></tr></table>
func NewPublicSubscribeSubscriptionConflict ¶
func NewPublicSubscribeSubscriptionConflict() *PublicSubscribeSubscriptionConflict
NewPublicSubscribeSubscriptionConflict creates a PublicSubscribeSubscriptionConflict with default headers values
func (*PublicSubscribeSubscriptionConflict) Error ¶
func (o *PublicSubscribeSubscriptionConflict) Error() string
func (*PublicSubscribeSubscriptionConflict) GetPayload ¶
func (o *PublicSubscribeSubscriptionConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicSubscribeSubscriptionConflict) ToJSONString ¶ added in v0.25.0
func (o *PublicSubscribeSubscriptionConflict) ToJSONString() string
type PublicSubscribeSubscriptionCreated ¶
type PublicSubscribeSubscriptionCreated struct { }
PublicSubscribeSubscriptionCreated handles this case with default header values.
subscribe request processed
func NewPublicSubscribeSubscriptionCreated ¶
func NewPublicSubscribeSubscriptionCreated() *PublicSubscribeSubscriptionCreated
NewPublicSubscribeSubscriptionCreated creates a PublicSubscribeSubscriptionCreated with default headers values
func (*PublicSubscribeSubscriptionCreated) Error ¶
func (o *PublicSubscribeSubscriptionCreated) Error() string
type PublicSubscribeSubscriptionForbidden ¶
type PublicSubscribeSubscriptionForbidden struct {
Payload *platformclientmodels.ErrorEntity
}
PublicSubscribeSubscriptionForbidden handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20016</td><td>action is banned</td></tr></table>
func NewPublicSubscribeSubscriptionForbidden ¶
func NewPublicSubscribeSubscriptionForbidden() *PublicSubscribeSubscriptionForbidden
NewPublicSubscribeSubscriptionForbidden creates a PublicSubscribeSubscriptionForbidden with default headers values
func (*PublicSubscribeSubscriptionForbidden) Error ¶
func (o *PublicSubscribeSubscriptionForbidden) Error() string
func (*PublicSubscribeSubscriptionForbidden) GetPayload ¶
func (o *PublicSubscribeSubscriptionForbidden) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicSubscribeSubscriptionForbidden) ToJSONString ¶ added in v0.25.0
func (o *PublicSubscribeSubscriptionForbidden) ToJSONString() string
type PublicSubscribeSubscriptionNotFound ¶
type PublicSubscribeSubscriptionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicSubscribeSubscriptionNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicSubscribeSubscriptionNotFound ¶
func NewPublicSubscribeSubscriptionNotFound() *PublicSubscribeSubscriptionNotFound
NewPublicSubscribeSubscriptionNotFound creates a PublicSubscribeSubscriptionNotFound with default headers values
func (*PublicSubscribeSubscriptionNotFound) Error ¶
func (o *PublicSubscribeSubscriptionNotFound) Error() string
func (*PublicSubscribeSubscriptionNotFound) GetPayload ¶
func (o *PublicSubscribeSubscriptionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicSubscribeSubscriptionNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicSubscribeSubscriptionNotFound) ToJSONString() string
type PublicSubscribeSubscriptionParams ¶
type PublicSubscribeSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.SubscribeRequest /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicSubscribeSubscriptionParams contains all the parameters to send to the API endpoint for the public subscribe subscription operation typically these are written to a http.Request
func NewPublicSubscribeSubscriptionParams ¶
func NewPublicSubscribeSubscriptionParams() *PublicSubscribeSubscriptionParams
NewPublicSubscribeSubscriptionParams creates a new PublicSubscribeSubscriptionParams object with the default values initialized.
func NewPublicSubscribeSubscriptionParamsWithContext ¶
func NewPublicSubscribeSubscriptionParamsWithContext(ctx context.Context) *PublicSubscribeSubscriptionParams
NewPublicSubscribeSubscriptionParamsWithContext creates a new PublicSubscribeSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewPublicSubscribeSubscriptionParamsWithHTTPClient ¶
func NewPublicSubscribeSubscriptionParamsWithHTTPClient(client *http.Client) *PublicSubscribeSubscriptionParams
NewPublicSubscribeSubscriptionParamsWithHTTPClient creates a new PublicSubscribeSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicSubscribeSubscriptionParamsWithTimeout ¶
func NewPublicSubscribeSubscriptionParamsWithTimeout(timeout time.Duration) *PublicSubscribeSubscriptionParams
NewPublicSubscribeSubscriptionParamsWithTimeout creates a new PublicSubscribeSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicSubscribeSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicSubscribeSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) SetBody ¶
func (o *PublicSubscribeSubscriptionParams) SetBody(body *platformclientmodels.SubscribeRequest)
SetBody adds the body to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) SetContext ¶
func (o *PublicSubscribeSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) SetHTTPClient ¶
func (o *PublicSubscribeSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicSubscribeSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) SetNamespace ¶
func (o *PublicSubscribeSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) SetTimeout ¶
func (o *PublicSubscribeSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) SetUserID ¶
func (o *PublicSubscribeSubscriptionParams) SetUserID(userID string)
SetUserID adds the userId to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) WithBody ¶
func (o *PublicSubscribeSubscriptionParams) WithBody(body *platformclientmodels.SubscribeRequest) *PublicSubscribeSubscriptionParams
WithBody adds the body to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) WithContext ¶
func (o *PublicSubscribeSubscriptionParams) WithContext(ctx context.Context) *PublicSubscribeSubscriptionParams
WithContext adds the context to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) WithHTTPClient ¶
func (o *PublicSubscribeSubscriptionParams) WithHTTPClient(client *http.Client) *PublicSubscribeSubscriptionParams
WithHTTPClient adds the HTTPClient to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) WithNamespace ¶
func (o *PublicSubscribeSubscriptionParams) WithNamespace(namespace string) *PublicSubscribeSubscriptionParams
WithNamespace adds the namespace to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) WithTimeout ¶
func (o *PublicSubscribeSubscriptionParams) WithTimeout(timeout time.Duration) *PublicSubscribeSubscriptionParams
WithTimeout adds the timeout to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) WithUserID ¶
func (o *PublicSubscribeSubscriptionParams) WithUserID(userID string) *PublicSubscribeSubscriptionParams
WithUserID adds the userID to the public subscribe subscription params
func (*PublicSubscribeSubscriptionParams) WriteToRequest ¶
func (o *PublicSubscribeSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicSubscribeSubscriptionReader ¶
type PublicSubscribeSubscriptionReader struct {
// contains filtered or unexported fields
}
PublicSubscribeSubscriptionReader is a Reader for the PublicSubscribeSubscription structure.
func (*PublicSubscribeSubscriptionReader) ReadResponse ¶
func (o *PublicSubscribeSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicSubscribeSubscriptionUnprocessableEntity ¶
type PublicSubscribeSubscriptionUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
PublicSubscribeSubscriptionUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewPublicSubscribeSubscriptionUnprocessableEntity ¶
func NewPublicSubscribeSubscriptionUnprocessableEntity() *PublicSubscribeSubscriptionUnprocessableEntity
NewPublicSubscribeSubscriptionUnprocessableEntity creates a PublicSubscribeSubscriptionUnprocessableEntity with default headers values
func (*PublicSubscribeSubscriptionUnprocessableEntity) Error ¶
func (o *PublicSubscribeSubscriptionUnprocessableEntity) Error() string
func (*PublicSubscribeSubscriptionUnprocessableEntity) GetPayload ¶
func (o *PublicSubscribeSubscriptionUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*PublicSubscribeSubscriptionUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *PublicSubscribeSubscriptionUnprocessableEntity) ToJSONString() string
type QuerySubscriptionsOK ¶
type QuerySubscriptionsOK struct {
Payload *platformclientmodels.SubscriptionPagingSlicedResult
}
QuerySubscriptionsOK handles this case with default header values.
successful operation
func NewQuerySubscriptionsOK ¶
func NewQuerySubscriptionsOK() *QuerySubscriptionsOK
NewQuerySubscriptionsOK creates a QuerySubscriptionsOK with default headers values
func (*QuerySubscriptionsOK) Error ¶
func (o *QuerySubscriptionsOK) Error() string
func (*QuerySubscriptionsOK) GetPayload ¶
func (o *QuerySubscriptionsOK) GetPayload() *platformclientmodels.SubscriptionPagingSlicedResult
func (*QuerySubscriptionsOK) ToJSONString ¶ added in v0.25.0
func (o *QuerySubscriptionsOK) ToJSONString() string
type QuerySubscriptionsParams ¶
type QuerySubscriptionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*ChargeStatus*/ ChargeStatus *string /*ItemID*/ ItemID *string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*Sku*/ Sku *string /*Status*/ Status *string /*SubscribedBy*/ SubscribedBy *string /*UserID*/ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuerySubscriptionsParams contains all the parameters to send to the API endpoint for the query subscriptions operation typically these are written to a http.Request
func NewQuerySubscriptionsParams ¶
func NewQuerySubscriptionsParams() *QuerySubscriptionsParams
NewQuerySubscriptionsParams creates a new QuerySubscriptionsParams object with the default values initialized.
func NewQuerySubscriptionsParamsWithContext ¶
func NewQuerySubscriptionsParamsWithContext(ctx context.Context) *QuerySubscriptionsParams
NewQuerySubscriptionsParamsWithContext creates a new QuerySubscriptionsParams object with the default values initialized, and the ability to set a context for a request
func NewQuerySubscriptionsParamsWithHTTPClient ¶
func NewQuerySubscriptionsParamsWithHTTPClient(client *http.Client) *QuerySubscriptionsParams
NewQuerySubscriptionsParamsWithHTTPClient creates a new QuerySubscriptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQuerySubscriptionsParamsWithTimeout ¶
func NewQuerySubscriptionsParamsWithTimeout(timeout time.Duration) *QuerySubscriptionsParams
NewQuerySubscriptionsParamsWithTimeout creates a new QuerySubscriptionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QuerySubscriptionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QuerySubscriptionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query subscriptions params
func (*QuerySubscriptionsParams) SetChargeStatus ¶
func (o *QuerySubscriptionsParams) SetChargeStatus(chargeStatus *string)
SetChargeStatus adds the chargeStatus to the query subscriptions params
func (*QuerySubscriptionsParams) SetContext ¶
func (o *QuerySubscriptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the query subscriptions params
func (*QuerySubscriptionsParams) SetHTTPClient ¶
func (o *QuerySubscriptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query subscriptions params
func (*QuerySubscriptionsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QuerySubscriptionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query subscriptions params
func (*QuerySubscriptionsParams) SetItemID ¶
func (o *QuerySubscriptionsParams) SetItemID(itemID *string)
SetItemID adds the itemId to the query subscriptions params
func (*QuerySubscriptionsParams) SetLimit ¶
func (o *QuerySubscriptionsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query subscriptions params
func (*QuerySubscriptionsParams) SetNamespace ¶
func (o *QuerySubscriptionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query subscriptions params
func (*QuerySubscriptionsParams) SetOffset ¶
func (o *QuerySubscriptionsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query subscriptions params
func (*QuerySubscriptionsParams) SetSku ¶
func (o *QuerySubscriptionsParams) SetSku(sku *string)
SetSku adds the sku to the query subscriptions params
func (*QuerySubscriptionsParams) SetStatus ¶
func (o *QuerySubscriptionsParams) SetStatus(status *string)
SetStatus adds the status to the query subscriptions params
func (*QuerySubscriptionsParams) SetSubscribedBy ¶
func (o *QuerySubscriptionsParams) SetSubscribedBy(subscribedBy *string)
SetSubscribedBy adds the subscribedBy to the query subscriptions params
func (*QuerySubscriptionsParams) SetTimeout ¶
func (o *QuerySubscriptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query subscriptions params
func (*QuerySubscriptionsParams) SetUserID ¶
func (o *QuerySubscriptionsParams) SetUserID(userID *string)
SetUserID adds the userId to the query subscriptions params
func (*QuerySubscriptionsParams) WithChargeStatus ¶
func (o *QuerySubscriptionsParams) WithChargeStatus(chargeStatus *string) *QuerySubscriptionsParams
WithChargeStatus adds the chargeStatus to the query subscriptions params
func (*QuerySubscriptionsParams) WithContext ¶
func (o *QuerySubscriptionsParams) WithContext(ctx context.Context) *QuerySubscriptionsParams
WithContext adds the context to the query subscriptions params
func (*QuerySubscriptionsParams) WithHTTPClient ¶
func (o *QuerySubscriptionsParams) WithHTTPClient(client *http.Client) *QuerySubscriptionsParams
WithHTTPClient adds the HTTPClient to the query subscriptions params
func (*QuerySubscriptionsParams) WithItemID ¶
func (o *QuerySubscriptionsParams) WithItemID(itemID *string) *QuerySubscriptionsParams
WithItemID adds the itemID to the query subscriptions params
func (*QuerySubscriptionsParams) WithLimit ¶
func (o *QuerySubscriptionsParams) WithLimit(limit *int32) *QuerySubscriptionsParams
WithLimit adds the limit to the query subscriptions params
func (*QuerySubscriptionsParams) WithNamespace ¶
func (o *QuerySubscriptionsParams) WithNamespace(namespace string) *QuerySubscriptionsParams
WithNamespace adds the namespace to the query subscriptions params
func (*QuerySubscriptionsParams) WithOffset ¶
func (o *QuerySubscriptionsParams) WithOffset(offset *int32) *QuerySubscriptionsParams
WithOffset adds the offset to the query subscriptions params
func (*QuerySubscriptionsParams) WithSku ¶
func (o *QuerySubscriptionsParams) WithSku(sku *string) *QuerySubscriptionsParams
WithSku adds the sku to the query subscriptions params
func (*QuerySubscriptionsParams) WithStatus ¶
func (o *QuerySubscriptionsParams) WithStatus(status *string) *QuerySubscriptionsParams
WithStatus adds the status to the query subscriptions params
func (*QuerySubscriptionsParams) WithSubscribedBy ¶
func (o *QuerySubscriptionsParams) WithSubscribedBy(subscribedBy *string) *QuerySubscriptionsParams
WithSubscribedBy adds the subscribedBy to the query subscriptions params
func (*QuerySubscriptionsParams) WithTimeout ¶
func (o *QuerySubscriptionsParams) WithTimeout(timeout time.Duration) *QuerySubscriptionsParams
WithTimeout adds the timeout to the query subscriptions params
func (*QuerySubscriptionsParams) WithUserID ¶
func (o *QuerySubscriptionsParams) WithUserID(userID *string) *QuerySubscriptionsParams
WithUserID adds the userID to the query subscriptions params
func (*QuerySubscriptionsParams) WriteToRequest ¶
func (o *QuerySubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuerySubscriptionsReader ¶
type QuerySubscriptionsReader struct {
// contains filtered or unexported fields
}
QuerySubscriptionsReader is a Reader for the QuerySubscriptions structure.
func (*QuerySubscriptionsReader) ReadResponse ¶
func (o *QuerySubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryUserSubscriptionsOK ¶
type QueryUserSubscriptionsOK struct {
Payload *platformclientmodels.SubscriptionPagingSlicedResult
}
QueryUserSubscriptionsOK handles this case with default header values.
successful operation
func NewQueryUserSubscriptionsOK ¶
func NewQueryUserSubscriptionsOK() *QueryUserSubscriptionsOK
NewQueryUserSubscriptionsOK creates a QueryUserSubscriptionsOK with default headers values
func (*QueryUserSubscriptionsOK) Error ¶
func (o *QueryUserSubscriptionsOK) Error() string
func (*QueryUserSubscriptionsOK) GetPayload ¶
func (o *QueryUserSubscriptionsOK) GetPayload() *platformclientmodels.SubscriptionPagingSlicedResult
func (*QueryUserSubscriptionsOK) ToJSONString ¶ added in v0.25.0
func (o *QueryUserSubscriptionsOK) ToJSONString() string
type QueryUserSubscriptionsParams ¶
type QueryUserSubscriptionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ChargeStatus*/ ChargeStatus *string /*ItemID*/ ItemID *string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*Sku*/ Sku *string /*Status*/ Status *string /*SubscribedBy*/ SubscribedBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryUserSubscriptionsParams contains all the parameters to send to the API endpoint for the query user subscriptions operation typically these are written to a http.Request
func NewQueryUserSubscriptionsParams ¶
func NewQueryUserSubscriptionsParams() *QueryUserSubscriptionsParams
NewQueryUserSubscriptionsParams creates a new QueryUserSubscriptionsParams object with the default values initialized.
func NewQueryUserSubscriptionsParamsWithContext ¶
func NewQueryUserSubscriptionsParamsWithContext(ctx context.Context) *QueryUserSubscriptionsParams
NewQueryUserSubscriptionsParamsWithContext creates a new QueryUserSubscriptionsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryUserSubscriptionsParamsWithHTTPClient ¶
func NewQueryUserSubscriptionsParamsWithHTTPClient(client *http.Client) *QueryUserSubscriptionsParams
NewQueryUserSubscriptionsParamsWithHTTPClient creates a new QueryUserSubscriptionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryUserSubscriptionsParamsWithTimeout ¶
func NewQueryUserSubscriptionsParamsWithTimeout(timeout time.Duration) *QueryUserSubscriptionsParams
NewQueryUserSubscriptionsParamsWithTimeout creates a new QueryUserSubscriptionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryUserSubscriptionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QueryUserSubscriptionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetChargeStatus ¶
func (o *QueryUserSubscriptionsParams) SetChargeStatus(chargeStatus *string)
SetChargeStatus adds the chargeStatus to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetContext ¶
func (o *QueryUserSubscriptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetHTTPClient ¶
func (o *QueryUserSubscriptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryUserSubscriptionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetItemID ¶
func (o *QueryUserSubscriptionsParams) SetItemID(itemID *string)
SetItemID adds the itemId to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetLimit ¶
func (o *QueryUserSubscriptionsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetNamespace ¶
func (o *QueryUserSubscriptionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetOffset ¶
func (o *QueryUserSubscriptionsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetSku ¶
func (o *QueryUserSubscriptionsParams) SetSku(sku *string)
SetSku adds the sku to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetStatus ¶
func (o *QueryUserSubscriptionsParams) SetStatus(status *string)
SetStatus adds the status to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetSubscribedBy ¶
func (o *QueryUserSubscriptionsParams) SetSubscribedBy(subscribedBy *string)
SetSubscribedBy adds the subscribedBy to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetTimeout ¶
func (o *QueryUserSubscriptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query user subscriptions params
func (*QueryUserSubscriptionsParams) SetUserID ¶
func (o *QueryUserSubscriptionsParams) SetUserID(userID string)
SetUserID adds the userId to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithChargeStatus ¶
func (o *QueryUserSubscriptionsParams) WithChargeStatus(chargeStatus *string) *QueryUserSubscriptionsParams
WithChargeStatus adds the chargeStatus to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithContext ¶
func (o *QueryUserSubscriptionsParams) WithContext(ctx context.Context) *QueryUserSubscriptionsParams
WithContext adds the context to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithHTTPClient ¶
func (o *QueryUserSubscriptionsParams) WithHTTPClient(client *http.Client) *QueryUserSubscriptionsParams
WithHTTPClient adds the HTTPClient to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithItemID ¶
func (o *QueryUserSubscriptionsParams) WithItemID(itemID *string) *QueryUserSubscriptionsParams
WithItemID adds the itemID to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithLimit ¶
func (o *QueryUserSubscriptionsParams) WithLimit(limit *int32) *QueryUserSubscriptionsParams
WithLimit adds the limit to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithNamespace ¶
func (o *QueryUserSubscriptionsParams) WithNamespace(namespace string) *QueryUserSubscriptionsParams
WithNamespace adds the namespace to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithOffset ¶
func (o *QueryUserSubscriptionsParams) WithOffset(offset *int32) *QueryUserSubscriptionsParams
WithOffset adds the offset to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithSku ¶
func (o *QueryUserSubscriptionsParams) WithSku(sku *string) *QueryUserSubscriptionsParams
WithSku adds the sku to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithStatus ¶
func (o *QueryUserSubscriptionsParams) WithStatus(status *string) *QueryUserSubscriptionsParams
WithStatus adds the status to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithSubscribedBy ¶
func (o *QueryUserSubscriptionsParams) WithSubscribedBy(subscribedBy *string) *QueryUserSubscriptionsParams
WithSubscribedBy adds the subscribedBy to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithTimeout ¶
func (o *QueryUserSubscriptionsParams) WithTimeout(timeout time.Duration) *QueryUserSubscriptionsParams
WithTimeout adds the timeout to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WithUserID ¶
func (o *QueryUserSubscriptionsParams) WithUserID(userID string) *QueryUserSubscriptionsParams
WithUserID adds the userID to the query user subscriptions params
func (*QueryUserSubscriptionsParams) WriteToRequest ¶
func (o *QueryUserSubscriptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryUserSubscriptionsReader ¶
type QueryUserSubscriptionsReader struct {
// contains filtered or unexported fields
}
QueryUserSubscriptionsReader is a Reader for the QueryUserSubscriptions structure.
func (*QueryUserSubscriptionsReader) ReadResponse ¶
func (o *QueryUserSubscriptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RecurringChargeSubscriptionOK ¶
type RecurringChargeSubscriptionOK struct {
Payload *platformclientmodels.RecurringChargeResult
}
RecurringChargeSubscriptionOK handles this case with default header values.
successful operation
func NewRecurringChargeSubscriptionOK ¶
func NewRecurringChargeSubscriptionOK() *RecurringChargeSubscriptionOK
NewRecurringChargeSubscriptionOK creates a RecurringChargeSubscriptionOK with default headers values
func (*RecurringChargeSubscriptionOK) Error ¶
func (o *RecurringChargeSubscriptionOK) Error() string
func (*RecurringChargeSubscriptionOK) GetPayload ¶
func (o *RecurringChargeSubscriptionOK) GetPayload() *platformclientmodels.RecurringChargeResult
func (*RecurringChargeSubscriptionOK) ToJSONString ¶ added in v0.25.0
func (o *RecurringChargeSubscriptionOK) ToJSONString() string
type RecurringChargeSubscriptionParams ¶
type RecurringChargeSubscriptionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*SubscriptionID*/ SubscriptionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RecurringChargeSubscriptionParams contains all the parameters to send to the API endpoint for the recurring charge subscription operation typically these are written to a http.Request
func NewRecurringChargeSubscriptionParams ¶
func NewRecurringChargeSubscriptionParams() *RecurringChargeSubscriptionParams
NewRecurringChargeSubscriptionParams creates a new RecurringChargeSubscriptionParams object with the default values initialized.
func NewRecurringChargeSubscriptionParamsWithContext ¶
func NewRecurringChargeSubscriptionParamsWithContext(ctx context.Context) *RecurringChargeSubscriptionParams
NewRecurringChargeSubscriptionParamsWithContext creates a new RecurringChargeSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewRecurringChargeSubscriptionParamsWithHTTPClient ¶
func NewRecurringChargeSubscriptionParamsWithHTTPClient(client *http.Client) *RecurringChargeSubscriptionParams
NewRecurringChargeSubscriptionParamsWithHTTPClient creates a new RecurringChargeSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRecurringChargeSubscriptionParamsWithTimeout ¶
func NewRecurringChargeSubscriptionParamsWithTimeout(timeout time.Duration) *RecurringChargeSubscriptionParams
NewRecurringChargeSubscriptionParamsWithTimeout creates a new RecurringChargeSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*RecurringChargeSubscriptionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RecurringChargeSubscriptionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) SetContext ¶
func (o *RecurringChargeSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) SetHTTPClient ¶
func (o *RecurringChargeSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RecurringChargeSubscriptionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) SetNamespace ¶
func (o *RecurringChargeSubscriptionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) SetSubscriptionID ¶
func (o *RecurringChargeSubscriptionParams) SetSubscriptionID(subscriptionID string)
SetSubscriptionID adds the subscriptionId to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) SetTimeout ¶
func (o *RecurringChargeSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) WithContext ¶
func (o *RecurringChargeSubscriptionParams) WithContext(ctx context.Context) *RecurringChargeSubscriptionParams
WithContext adds the context to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) WithHTTPClient ¶
func (o *RecurringChargeSubscriptionParams) WithHTTPClient(client *http.Client) *RecurringChargeSubscriptionParams
WithHTTPClient adds the HTTPClient to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) WithNamespace ¶
func (o *RecurringChargeSubscriptionParams) WithNamespace(namespace string) *RecurringChargeSubscriptionParams
WithNamespace adds the namespace to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) WithSubscriptionID ¶
func (o *RecurringChargeSubscriptionParams) WithSubscriptionID(subscriptionID string) *RecurringChargeSubscriptionParams
WithSubscriptionID adds the subscriptionID to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) WithTimeout ¶
func (o *RecurringChargeSubscriptionParams) WithTimeout(timeout time.Duration) *RecurringChargeSubscriptionParams
WithTimeout adds the timeout to the recurring charge subscription params
func (*RecurringChargeSubscriptionParams) WriteToRequest ¶
func (o *RecurringChargeSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RecurringChargeSubscriptionReader ¶
type RecurringChargeSubscriptionReader struct {
// contains filtered or unexported fields
}
RecurringChargeSubscriptionReader is a Reader for the RecurringChargeSubscription structure.
func (*RecurringChargeSubscriptionReader) ReadResponse ¶
func (o *RecurringChargeSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cancel_subscription_parameters.go
- cancel_subscription_responses.go
- check_user_subscription_subscribable_by_item_id_parameters.go
- check_user_subscription_subscribable_by_item_id_responses.go
- delete_user_subscription_parameters.go
- delete_user_subscription_responses.go
- get_user_subscription_activities_parameters.go
- get_user_subscription_activities_responses.go
- get_user_subscription_billing_histories_parameters.go
- get_user_subscription_billing_histories_responses.go
- get_user_subscription_parameters.go
- get_user_subscription_responses.go
- grant_days_to_subscription_parameters.go
- grant_days_to_subscription_responses.go
- platform_subscribe_subscription_parameters.go
- platform_subscribe_subscription_responses.go
- process_user_subscription_notification_parameters.go
- process_user_subscription_notification_responses.go
- public_cancel_subscription_parameters.go
- public_cancel_subscription_responses.go
- public_change_subscription_billing_account_parameters.go
- public_change_subscription_billing_account_responses.go
- public_check_user_subscription_subscribable_by_item_id_parameters.go
- public_check_user_subscription_subscribable_by_item_id_responses.go
- public_get_user_subscription_billing_histories_parameters.go
- public_get_user_subscription_billing_histories_responses.go
- public_get_user_subscription_parameters.go
- public_get_user_subscription_responses.go
- public_query_user_subscriptions_parameters.go
- public_query_user_subscriptions_responses.go
- public_subscribe_subscription_parameters.go
- public_subscribe_subscription_responses.go
- query_subscriptions_parameters.go
- query_subscriptions_responses.go
- query_user_subscriptions_parameters.go
- query_user_subscriptions_responses.go
- recurring_charge_subscription_parameters.go
- recurring_charge_subscription_responses.go
- subscription_client.go