Documentation
¶
Index ¶
- type AddSubscriptionBlockingStateBadRequest
- func (o *AddSubscriptionBlockingStateBadRequest) Code() int
- func (o *AddSubscriptionBlockingStateBadRequest) Error() string
- func (o *AddSubscriptionBlockingStateBadRequest) IsClientError() bool
- func (o *AddSubscriptionBlockingStateBadRequest) IsCode(code int) bool
- func (o *AddSubscriptionBlockingStateBadRequest) IsRedirect() bool
- func (o *AddSubscriptionBlockingStateBadRequest) IsServerError() bool
- func (o *AddSubscriptionBlockingStateBadRequest) IsSuccess() bool
- func (o *AddSubscriptionBlockingStateBadRequest) String() string
- type AddSubscriptionBlockingStateCreated
- func (o *AddSubscriptionBlockingStateCreated) Code() int
- func (o *AddSubscriptionBlockingStateCreated) Error() string
- func (o *AddSubscriptionBlockingStateCreated) GetPayload() []*kbmodel.BlockingState
- func (o *AddSubscriptionBlockingStateCreated) IsClientError() bool
- func (o *AddSubscriptionBlockingStateCreated) IsCode(code int) bool
- func (o *AddSubscriptionBlockingStateCreated) IsRedirect() bool
- func (o *AddSubscriptionBlockingStateCreated) IsServerError() bool
- func (o *AddSubscriptionBlockingStateCreated) IsSuccess() bool
- func (o *AddSubscriptionBlockingStateCreated) String() string
- type AddSubscriptionBlockingStateNotFound
- func (o *AddSubscriptionBlockingStateNotFound) Code() int
- func (o *AddSubscriptionBlockingStateNotFound) Error() string
- func (o *AddSubscriptionBlockingStateNotFound) IsClientError() bool
- func (o *AddSubscriptionBlockingStateNotFound) IsCode(code int) bool
- func (o *AddSubscriptionBlockingStateNotFound) IsRedirect() bool
- func (o *AddSubscriptionBlockingStateNotFound) IsServerError() bool
- func (o *AddSubscriptionBlockingStateNotFound) IsSuccess() bool
- func (o *AddSubscriptionBlockingStateNotFound) String() string
- type AddSubscriptionBlockingStateParams
- func NewAddSubscriptionBlockingStateParams() *AddSubscriptionBlockingStateParams
- func NewAddSubscriptionBlockingStateParamsWithContext(ctx context.Context) *AddSubscriptionBlockingStateParams
- func NewAddSubscriptionBlockingStateParamsWithHTTPClient(client *http.Client) *AddSubscriptionBlockingStateParams
- func NewAddSubscriptionBlockingStateParamsWithTimeout(timeout time.Duration) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) SetBody(body *kbmodel.BlockingState)
- func (o *AddSubscriptionBlockingStateParams) SetContext(ctx context.Context)
- func (o *AddSubscriptionBlockingStateParams) SetDefaults()
- func (o *AddSubscriptionBlockingStateParams) SetHTTPClient(client *http.Client)
- func (o *AddSubscriptionBlockingStateParams) SetPluginProperty(pluginProperty []string)
- func (o *AddSubscriptionBlockingStateParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *AddSubscriptionBlockingStateParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *AddSubscriptionBlockingStateParams) SetTimeout(timeout time.Duration)
- func (o *AddSubscriptionBlockingStateParams) SetXKillbillComment(xKillbillComment *string)
- func (o *AddSubscriptionBlockingStateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *AddSubscriptionBlockingStateParams) SetXKillbillReason(xKillbillReason *string)
- func (o *AddSubscriptionBlockingStateParams) WithBody(body *kbmodel.BlockingState) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithContext(ctx context.Context) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithDefaults() *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithHTTPClient(client *http.Client) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithPluginProperty(pluginProperty []string) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithRequestedDate(requestedDate *strfmt.Date) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithSubscriptionID(subscriptionID strfmt.UUID) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithTimeout(timeout time.Duration) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithXKillbillComment(xKillbillComment *string) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WithXKillbillReason(xKillbillReason *string) *AddSubscriptionBlockingStateParams
- func (o *AddSubscriptionBlockingStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddSubscriptionBlockingStateReader
- type CancelSubscriptionPlanBadRequest
- func (o *CancelSubscriptionPlanBadRequest) Code() int
- func (o *CancelSubscriptionPlanBadRequest) Error() string
- func (o *CancelSubscriptionPlanBadRequest) IsClientError() bool
- func (o *CancelSubscriptionPlanBadRequest) IsCode(code int) bool
- func (o *CancelSubscriptionPlanBadRequest) IsRedirect() bool
- func (o *CancelSubscriptionPlanBadRequest) IsServerError() bool
- func (o *CancelSubscriptionPlanBadRequest) IsSuccess() bool
- func (o *CancelSubscriptionPlanBadRequest) String() string
- type CancelSubscriptionPlanNoContent
- func (o *CancelSubscriptionPlanNoContent) Code() int
- func (o *CancelSubscriptionPlanNoContent) Error() string
- func (o *CancelSubscriptionPlanNoContent) IsClientError() bool
- func (o *CancelSubscriptionPlanNoContent) IsCode(code int) bool
- func (o *CancelSubscriptionPlanNoContent) IsRedirect() bool
- func (o *CancelSubscriptionPlanNoContent) IsServerError() bool
- func (o *CancelSubscriptionPlanNoContent) IsSuccess() bool
- func (o *CancelSubscriptionPlanNoContent) String() string
- type CancelSubscriptionPlanNotFound
- func (o *CancelSubscriptionPlanNotFound) Code() int
- func (o *CancelSubscriptionPlanNotFound) Error() string
- func (o *CancelSubscriptionPlanNotFound) IsClientError() bool
- func (o *CancelSubscriptionPlanNotFound) IsCode(code int) bool
- func (o *CancelSubscriptionPlanNotFound) IsRedirect() bool
- func (o *CancelSubscriptionPlanNotFound) IsServerError() bool
- func (o *CancelSubscriptionPlanNotFound) IsSuccess() bool
- func (o *CancelSubscriptionPlanNotFound) String() string
- type CancelSubscriptionPlanParams
- func NewCancelSubscriptionPlanParams() *CancelSubscriptionPlanParams
- func NewCancelSubscriptionPlanParamsWithContext(ctx context.Context) *CancelSubscriptionPlanParams
- func NewCancelSubscriptionPlanParamsWithHTTPClient(client *http.Client) *CancelSubscriptionPlanParams
- func NewCancelSubscriptionPlanParamsWithTimeout(timeout time.Duration) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) SetBillingPolicy(billingPolicy *string)
- func (o *CancelSubscriptionPlanParams) SetCallCompletion(callCompletion *bool)
- func (o *CancelSubscriptionPlanParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *CancelSubscriptionPlanParams) SetContext(ctx context.Context)
- func (o *CancelSubscriptionPlanParams) SetDefaults()
- func (o *CancelSubscriptionPlanParams) SetEntitlementPolicy(entitlementPolicy *string)
- func (o *CancelSubscriptionPlanParams) SetHTTPClient(client *http.Client)
- func (o *CancelSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
- func (o *CancelSubscriptionPlanParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *CancelSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *CancelSubscriptionPlanParams) SetTimeout(timeout time.Duration)
- func (o *CancelSubscriptionPlanParams) SetUseRequestedDateForBilling(useRequestedDateForBilling *bool)
- func (o *CancelSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CancelSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CancelSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CancelSubscriptionPlanParams) WithBillingPolicy(billingPolicy *string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithCallCompletion(callCompletion *bool) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithCallTimeoutSec(callTimeoutSec *int64) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithContext(ctx context.Context) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithDefaults() *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithEntitlementPolicy(entitlementPolicy *string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithHTTPClient(client *http.Client) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithRequestedDate(requestedDate *strfmt.Date) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithTimeout(timeout time.Duration) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithUseRequestedDateForBilling(useRequestedDateForBilling *bool) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *CancelSubscriptionPlanParams
- func (o *CancelSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelSubscriptionPlanReader
- type ChangeSubscriptionPlanBadRequest
- func (o *ChangeSubscriptionPlanBadRequest) Code() int
- func (o *ChangeSubscriptionPlanBadRequest) Error() string
- func (o *ChangeSubscriptionPlanBadRequest) IsClientError() bool
- func (o *ChangeSubscriptionPlanBadRequest) IsCode(code int) bool
- func (o *ChangeSubscriptionPlanBadRequest) IsRedirect() bool
- func (o *ChangeSubscriptionPlanBadRequest) IsServerError() bool
- func (o *ChangeSubscriptionPlanBadRequest) IsSuccess() bool
- func (o *ChangeSubscriptionPlanBadRequest) String() string
- type ChangeSubscriptionPlanNoContent
- func (o *ChangeSubscriptionPlanNoContent) Code() int
- func (o *ChangeSubscriptionPlanNoContent) Error() string
- func (o *ChangeSubscriptionPlanNoContent) IsClientError() bool
- func (o *ChangeSubscriptionPlanNoContent) IsCode(code int) bool
- func (o *ChangeSubscriptionPlanNoContent) IsRedirect() bool
- func (o *ChangeSubscriptionPlanNoContent) IsServerError() bool
- func (o *ChangeSubscriptionPlanNoContent) IsSuccess() bool
- func (o *ChangeSubscriptionPlanNoContent) String() string
- type ChangeSubscriptionPlanNotFound
- func (o *ChangeSubscriptionPlanNotFound) Code() int
- func (o *ChangeSubscriptionPlanNotFound) Error() string
- func (o *ChangeSubscriptionPlanNotFound) IsClientError() bool
- func (o *ChangeSubscriptionPlanNotFound) IsCode(code int) bool
- func (o *ChangeSubscriptionPlanNotFound) IsRedirect() bool
- func (o *ChangeSubscriptionPlanNotFound) IsServerError() bool
- func (o *ChangeSubscriptionPlanNotFound) IsSuccess() bool
- func (o *ChangeSubscriptionPlanNotFound) String() string
- type ChangeSubscriptionPlanParams
- func NewChangeSubscriptionPlanParams() *ChangeSubscriptionPlanParams
- func NewChangeSubscriptionPlanParamsWithContext(ctx context.Context) *ChangeSubscriptionPlanParams
- func NewChangeSubscriptionPlanParamsWithHTTPClient(client *http.Client) *ChangeSubscriptionPlanParams
- func NewChangeSubscriptionPlanParamsWithTimeout(timeout time.Duration) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) SetBillingPolicy(billingPolicy *string)
- func (o *ChangeSubscriptionPlanParams) SetBody(body *kbmodel.Subscription)
- func (o *ChangeSubscriptionPlanParams) SetCallCompletion(callCompletion *bool)
- func (o *ChangeSubscriptionPlanParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *ChangeSubscriptionPlanParams) SetContext(ctx context.Context)
- func (o *ChangeSubscriptionPlanParams) SetDefaults()
- func (o *ChangeSubscriptionPlanParams) SetHTTPClient(client *http.Client)
- func (o *ChangeSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
- func (o *ChangeSubscriptionPlanParams) SetRequestedDate(requestedDate *strfmt.Date)
- func (o *ChangeSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *ChangeSubscriptionPlanParams) SetTimeout(timeout time.Duration)
- func (o *ChangeSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ChangeSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ChangeSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ChangeSubscriptionPlanParams) WithBillingPolicy(billingPolicy *string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithBody(body *kbmodel.Subscription) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithCallCompletion(callCompletion *bool) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithCallTimeoutSec(callTimeoutSec *int64) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithContext(ctx context.Context) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithDefaults() *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithHTTPClient(client *http.Client) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithRequestedDate(requestedDate *strfmt.Date) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithTimeout(timeout time.Duration) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *ChangeSubscriptionPlanParams
- func (o *ChangeSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeSubscriptionPlanReader
- type Client
- func (a *Client) AddSubscriptionBlockingState(ctx context.Context, params *AddSubscriptionBlockingStateParams) (*AddSubscriptionBlockingStateCreated, error)
- func (a *Client) CancelSubscriptionPlan(ctx context.Context, params *CancelSubscriptionPlanParams) (*CancelSubscriptionPlanNoContent, error)
- func (a *Client) ChangeSubscriptionPlan(ctx context.Context, params *ChangeSubscriptionPlanParams) (*ChangeSubscriptionPlanNoContent, error)
- func (a *Client) CreateSubscription(ctx context.Context, params *CreateSubscriptionParams) (*CreateSubscriptionCreated, error)
- func (a *Client) CreateSubscriptionCustomFields(ctx context.Context, params *CreateSubscriptionCustomFieldsParams) (*CreateSubscriptionCustomFieldsCreated, error)
- func (a *Client) CreateSubscriptionTags(ctx context.Context, params *CreateSubscriptionTagsParams) (*CreateSubscriptionTagsCreated, error)
- func (a *Client) CreateSubscriptionWithAddOns(ctx context.Context, params *CreateSubscriptionWithAddOnsParams) (*CreateSubscriptionWithAddOnsCreated, error)
- func (a *Client) CreateSubscriptionsWithAddOns(ctx context.Context, params *CreateSubscriptionsWithAddOnsParams) (*CreateSubscriptionsWithAddOnsCreated, error)
- func (a *Client) DeleteSubscriptionCustomFields(ctx context.Context, params *DeleteSubscriptionCustomFieldsParams) (*DeleteSubscriptionCustomFieldsNoContent, error)
- func (a *Client) DeleteSubscriptionTags(ctx context.Context, params *DeleteSubscriptionTagsParams) (*DeleteSubscriptionTagsNoContent, error)
- func (a *Client) GetSubscription(ctx context.Context, params *GetSubscriptionParams) (*GetSubscriptionOK, error)
- func (a *Client) GetSubscriptionAuditLogsWithHistory(ctx context.Context, params *GetSubscriptionAuditLogsWithHistoryParams) (*GetSubscriptionAuditLogsWithHistoryOK, error)
- func (a *Client) GetSubscriptionByKey(ctx context.Context, params *GetSubscriptionByKeyParams) (*GetSubscriptionByKeyOK, error)
- func (a *Client) GetSubscriptionCustomFields(ctx context.Context, params *GetSubscriptionCustomFieldsParams) (*GetSubscriptionCustomFieldsOK, error)
- func (a *Client) GetSubscriptionEventAuditLogsWithHistory(ctx context.Context, params *GetSubscriptionEventAuditLogsWithHistoryParams) (*GetSubscriptionEventAuditLogsWithHistoryOK, error)
- func (a *Client) GetSubscriptionTags(ctx context.Context, params *GetSubscriptionTagsParams) (*GetSubscriptionTagsOK, error)
- func (a *Client) ModifySubscriptionCustomFields(ctx context.Context, params *ModifySubscriptionCustomFieldsParams) (*ModifySubscriptionCustomFieldsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UncancelSubscriptionPlan(ctx context.Context, params *UncancelSubscriptionPlanParams) (*UncancelSubscriptionPlanNoContent, error)
- func (a *Client) UndoChangeSubscriptionPlan(ctx context.Context, params *UndoChangeSubscriptionPlanParams) (*UndoChangeSubscriptionPlanNoContent, error)
- func (a *Client) UpdateSubscriptionBCD(ctx context.Context, params *UpdateSubscriptionBCDParams) (*UpdateSubscriptionBCDNoContent, error)
- func (a *Client) UpdateSubscriptionQuantity(ctx context.Context, params *UpdateSubscriptionQuantityParams) (*UpdateSubscriptionQuantityNoContent, error)
- type ClientOption
- type ClientService
- type CreateSubscriptionCreated
- func (o *CreateSubscriptionCreated) Code() int
- func (o *CreateSubscriptionCreated) Error() string
- func (o *CreateSubscriptionCreated) GetPayload() *kbmodel.Subscription
- func (o *CreateSubscriptionCreated) IsClientError() bool
- func (o *CreateSubscriptionCreated) IsCode(code int) bool
- func (o *CreateSubscriptionCreated) IsRedirect() bool
- func (o *CreateSubscriptionCreated) IsServerError() bool
- func (o *CreateSubscriptionCreated) IsSuccess() bool
- func (o *CreateSubscriptionCreated) String() string
- type CreateSubscriptionCustomFieldsBadRequest
- func (o *CreateSubscriptionCustomFieldsBadRequest) Code() int
- func (o *CreateSubscriptionCustomFieldsBadRequest) Error() string
- func (o *CreateSubscriptionCustomFieldsBadRequest) IsClientError() bool
- func (o *CreateSubscriptionCustomFieldsBadRequest) IsCode(code int) bool
- func (o *CreateSubscriptionCustomFieldsBadRequest) IsRedirect() bool
- func (o *CreateSubscriptionCustomFieldsBadRequest) IsServerError() bool
- func (o *CreateSubscriptionCustomFieldsBadRequest) IsSuccess() bool
- func (o *CreateSubscriptionCustomFieldsBadRequest) String() string
- type CreateSubscriptionCustomFieldsCreated
- func (o *CreateSubscriptionCustomFieldsCreated) Code() int
- func (o *CreateSubscriptionCustomFieldsCreated) Error() string
- func (o *CreateSubscriptionCustomFieldsCreated) IsClientError() bool
- func (o *CreateSubscriptionCustomFieldsCreated) IsCode(code int) bool
- func (o *CreateSubscriptionCustomFieldsCreated) IsRedirect() bool
- func (o *CreateSubscriptionCustomFieldsCreated) IsServerError() bool
- func (o *CreateSubscriptionCustomFieldsCreated) IsSuccess() bool
- func (o *CreateSubscriptionCustomFieldsCreated) String() string
- type CreateSubscriptionCustomFieldsParams
- func NewCreateSubscriptionCustomFieldsParams() *CreateSubscriptionCustomFieldsParams
- func NewCreateSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *CreateSubscriptionCustomFieldsParams
- func NewCreateSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionCustomFieldsParams
- func NewCreateSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *CreateSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionCustomFieldsParams) SetDefaults()
- func (o *CreateSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *CreateSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithDefaults() *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionCustomFieldsParams
- func (o *CreateSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionCustomFieldsReader
- type CreateSubscriptionParams
- func NewCreateSubscriptionParams() *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) SetBillingDate(billingDate *strfmt.Date)
- func (o *CreateSubscriptionParams) SetBody(body *kbmodel.Subscription)
- func (o *CreateSubscriptionParams) SetCallCompletion(callCompletion *bool)
- func (o *CreateSubscriptionParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *CreateSubscriptionParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionParams) SetDefaults()
- func (o *CreateSubscriptionParams) SetEntitlementDate(entitlementDate *strfmt.Date)
- func (o *CreateSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionParams) SetMigrated(migrated *bool)
- func (o *CreateSubscriptionParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateSubscriptionParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
- func (o *CreateSubscriptionParams) SetSkipResponse(skipResponse *bool)
- func (o *CreateSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithBody(body *kbmodel.Subscription) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithDefaults() *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithHTTPClient(client *http.Client) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithMigrated(migrated *bool) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithSkipResponse(skipResponse *bool) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionParams
- func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionReader
- type CreateSubscriptionTagsBadRequest
- func (o *CreateSubscriptionTagsBadRequest) Code() int
- func (o *CreateSubscriptionTagsBadRequest) Error() string
- func (o *CreateSubscriptionTagsBadRequest) IsClientError() bool
- func (o *CreateSubscriptionTagsBadRequest) IsCode(code int) bool
- func (o *CreateSubscriptionTagsBadRequest) IsRedirect() bool
- func (o *CreateSubscriptionTagsBadRequest) IsServerError() bool
- func (o *CreateSubscriptionTagsBadRequest) IsSuccess() bool
- func (o *CreateSubscriptionTagsBadRequest) String() string
- type CreateSubscriptionTagsCreated
- func (o *CreateSubscriptionTagsCreated) Code() int
- func (o *CreateSubscriptionTagsCreated) Error() string
- func (o *CreateSubscriptionTagsCreated) IsClientError() bool
- func (o *CreateSubscriptionTagsCreated) IsCode(code int) bool
- func (o *CreateSubscriptionTagsCreated) IsRedirect() bool
- func (o *CreateSubscriptionTagsCreated) IsServerError() bool
- func (o *CreateSubscriptionTagsCreated) IsSuccess() bool
- func (o *CreateSubscriptionTagsCreated) String() string
- type CreateSubscriptionTagsParams
- func NewCreateSubscriptionTagsParams() *CreateSubscriptionTagsParams
- func NewCreateSubscriptionTagsParamsWithContext(ctx context.Context) *CreateSubscriptionTagsParams
- func NewCreateSubscriptionTagsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionTagsParams
- func NewCreateSubscriptionTagsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) SetBody(body []strfmt.UUID)
- func (o *CreateSubscriptionTagsParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionTagsParams) SetDefaults()
- func (o *CreateSubscriptionTagsParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *CreateSubscriptionTagsParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionTagsParams) WithBody(body []strfmt.UUID) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithContext(ctx context.Context) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithDefaults() *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionTagsParams
- func (o *CreateSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionTagsReader
- type CreateSubscriptionWithAddOnsCreated
- func (o *CreateSubscriptionWithAddOnsCreated) Code() int
- func (o *CreateSubscriptionWithAddOnsCreated) Error() string
- func (o *CreateSubscriptionWithAddOnsCreated) GetPayload() *kbmodel.Bundle
- func (o *CreateSubscriptionWithAddOnsCreated) IsClientError() bool
- func (o *CreateSubscriptionWithAddOnsCreated) IsCode(code int) bool
- func (o *CreateSubscriptionWithAddOnsCreated) IsRedirect() bool
- func (o *CreateSubscriptionWithAddOnsCreated) IsServerError() bool
- func (o *CreateSubscriptionWithAddOnsCreated) IsSuccess() bool
- func (o *CreateSubscriptionWithAddOnsCreated) String() string
- type CreateSubscriptionWithAddOnsParams
- func NewCreateSubscriptionWithAddOnsParams() *CreateSubscriptionWithAddOnsParams
- func NewCreateSubscriptionWithAddOnsParamsWithContext(ctx context.Context) *CreateSubscriptionWithAddOnsParams
- func NewCreateSubscriptionWithAddOnsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionWithAddOnsParams
- func NewCreateSubscriptionWithAddOnsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) SetBillingDate(billingDate *strfmt.Date)
- func (o *CreateSubscriptionWithAddOnsParams) SetBody(body []*kbmodel.Subscription)
- func (o *CreateSubscriptionWithAddOnsParams) SetCallCompletion(callCompletion *bool)
- func (o *CreateSubscriptionWithAddOnsParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *CreateSubscriptionWithAddOnsParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionWithAddOnsParams) SetDefaults()
- func (o *CreateSubscriptionWithAddOnsParams) SetEntitlementDate(entitlementDate *strfmt.Date)
- func (o *CreateSubscriptionWithAddOnsParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionWithAddOnsParams) SetMigrated(migrated *bool)
- func (o *CreateSubscriptionWithAddOnsParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateSubscriptionWithAddOnsParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
- func (o *CreateSubscriptionWithAddOnsParams) SetSkipResponse(skipResponse *bool)
- func (o *CreateSubscriptionWithAddOnsParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionWithAddOnsParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithBody(body []*kbmodel.Subscription) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithContext(ctx context.Context) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithDefaults() *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithMigrated(migrated *bool) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithSkipResponse(skipResponse *bool) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionWithAddOnsParams
- func (o *CreateSubscriptionWithAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionWithAddOnsReader
- type CreateSubscriptionsWithAddOnsCreated
- func (o *CreateSubscriptionsWithAddOnsCreated) Code() int
- func (o *CreateSubscriptionsWithAddOnsCreated) Error() string
- func (o *CreateSubscriptionsWithAddOnsCreated) GetPayload() []*kbmodel.Bundle
- func (o *CreateSubscriptionsWithAddOnsCreated) IsClientError() bool
- func (o *CreateSubscriptionsWithAddOnsCreated) IsCode(code int) bool
- func (o *CreateSubscriptionsWithAddOnsCreated) IsRedirect() bool
- func (o *CreateSubscriptionsWithAddOnsCreated) IsServerError() bool
- func (o *CreateSubscriptionsWithAddOnsCreated) IsSuccess() bool
- func (o *CreateSubscriptionsWithAddOnsCreated) String() string
- type CreateSubscriptionsWithAddOnsParams
- func NewCreateSubscriptionsWithAddOnsParams() *CreateSubscriptionsWithAddOnsParams
- func NewCreateSubscriptionsWithAddOnsParamsWithContext(ctx context.Context) *CreateSubscriptionsWithAddOnsParams
- func NewCreateSubscriptionsWithAddOnsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionsWithAddOnsParams
- func NewCreateSubscriptionsWithAddOnsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) SetBillingDate(billingDate *strfmt.Date)
- func (o *CreateSubscriptionsWithAddOnsParams) SetBody(body []*kbmodel.BulkSubscriptionsBundle)
- func (o *CreateSubscriptionsWithAddOnsParams) SetCallCompletion(callCompletion *bool)
- func (o *CreateSubscriptionsWithAddOnsParams) SetCallTimeoutSec(callTimeoutSec *int64)
- func (o *CreateSubscriptionsWithAddOnsParams) SetContext(ctx context.Context)
- func (o *CreateSubscriptionsWithAddOnsParams) SetDefaults()
- func (o *CreateSubscriptionsWithAddOnsParams) SetEntitlementDate(entitlementDate *strfmt.Date)
- func (o *CreateSubscriptionsWithAddOnsParams) SetHTTPClient(client *http.Client)
- func (o *CreateSubscriptionsWithAddOnsParams) SetMigrated(migrated *bool)
- func (o *CreateSubscriptionsWithAddOnsParams) SetPluginProperty(pluginProperty []string)
- func (o *CreateSubscriptionsWithAddOnsParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
- func (o *CreateSubscriptionsWithAddOnsParams) SetSkipResponse(skipResponse *bool)
- func (o *CreateSubscriptionsWithAddOnsParams) SetTimeout(timeout time.Duration)
- func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateSubscriptionsWithAddOnsParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithBody(body []*kbmodel.BulkSubscriptionsBundle) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithContext(ctx context.Context) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithDefaults() *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithMigrated(migrated *bool) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithSkipResponse(skipResponse *bool) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionsWithAddOnsParams
- func (o *CreateSubscriptionsWithAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSubscriptionsWithAddOnsReader
- type DeleteSubscriptionCustomFieldsBadRequest
- func (o *DeleteSubscriptionCustomFieldsBadRequest) Code() int
- func (o *DeleteSubscriptionCustomFieldsBadRequest) Error() string
- func (o *DeleteSubscriptionCustomFieldsBadRequest) IsClientError() bool
- func (o *DeleteSubscriptionCustomFieldsBadRequest) IsCode(code int) bool
- func (o *DeleteSubscriptionCustomFieldsBadRequest) IsRedirect() bool
- func (o *DeleteSubscriptionCustomFieldsBadRequest) IsServerError() bool
- func (o *DeleteSubscriptionCustomFieldsBadRequest) IsSuccess() bool
- func (o *DeleteSubscriptionCustomFieldsBadRequest) String() string
- type DeleteSubscriptionCustomFieldsNoContent
- func (o *DeleteSubscriptionCustomFieldsNoContent) Code() int
- func (o *DeleteSubscriptionCustomFieldsNoContent) Error() string
- func (o *DeleteSubscriptionCustomFieldsNoContent) IsClientError() bool
- func (o *DeleteSubscriptionCustomFieldsNoContent) IsCode(code int) bool
- func (o *DeleteSubscriptionCustomFieldsNoContent) IsRedirect() bool
- func (o *DeleteSubscriptionCustomFieldsNoContent) IsServerError() bool
- func (o *DeleteSubscriptionCustomFieldsNoContent) IsSuccess() bool
- func (o *DeleteSubscriptionCustomFieldsNoContent) String() string
- type DeleteSubscriptionCustomFieldsParams
- func NewDeleteSubscriptionCustomFieldsParams() *DeleteSubscriptionCustomFieldsParams
- func NewDeleteSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *DeleteSubscriptionCustomFieldsParams
- func NewDeleteSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionCustomFieldsParams
- func NewDeleteSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
- func (o *DeleteSubscriptionCustomFieldsParams) SetDefaults()
- func (o *DeleteSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *DeleteSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithDefaults() *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteSubscriptionCustomFieldsParams
- func (o *DeleteSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionCustomFieldsReader
- type DeleteSubscriptionTagsBadRequest
- func (o *DeleteSubscriptionTagsBadRequest) Code() int
- func (o *DeleteSubscriptionTagsBadRequest) Error() string
- func (o *DeleteSubscriptionTagsBadRequest) IsClientError() bool
- func (o *DeleteSubscriptionTagsBadRequest) IsCode(code int) bool
- func (o *DeleteSubscriptionTagsBadRequest) IsRedirect() bool
- func (o *DeleteSubscriptionTagsBadRequest) IsServerError() bool
- func (o *DeleteSubscriptionTagsBadRequest) IsSuccess() bool
- func (o *DeleteSubscriptionTagsBadRequest) String() string
- type DeleteSubscriptionTagsNoContent
- func (o *DeleteSubscriptionTagsNoContent) Code() int
- func (o *DeleteSubscriptionTagsNoContent) Error() string
- func (o *DeleteSubscriptionTagsNoContent) IsClientError() bool
- func (o *DeleteSubscriptionTagsNoContent) IsCode(code int) bool
- func (o *DeleteSubscriptionTagsNoContent) IsRedirect() bool
- func (o *DeleteSubscriptionTagsNoContent) IsServerError() bool
- func (o *DeleteSubscriptionTagsNoContent) IsSuccess() bool
- func (o *DeleteSubscriptionTagsNoContent) String() string
- type DeleteSubscriptionTagsParams
- func NewDeleteSubscriptionTagsParams() *DeleteSubscriptionTagsParams
- func NewDeleteSubscriptionTagsParamsWithContext(ctx context.Context) *DeleteSubscriptionTagsParams
- func NewDeleteSubscriptionTagsParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionTagsParams
- func NewDeleteSubscriptionTagsParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) SetContext(ctx context.Context)
- func (o *DeleteSubscriptionTagsParams) SetDefaults()
- func (o *DeleteSubscriptionTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *DeleteSubscriptionTagsParams) SetTagDef(tagDef []strfmt.UUID)
- func (o *DeleteSubscriptionTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSubscriptionTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteSubscriptionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteSubscriptionTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteSubscriptionTagsParams) WithContext(ctx context.Context) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithDefaults() *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteSubscriptionTagsParams
- func (o *DeleteSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSubscriptionTagsReader
- type GetSubscriptionAuditLogsWithHistoryNotFound
- func (o *GetSubscriptionAuditLogsWithHistoryNotFound) Code() int
- func (o *GetSubscriptionAuditLogsWithHistoryNotFound) Error() string
- func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetSubscriptionAuditLogsWithHistoryNotFound) String() string
- type GetSubscriptionAuditLogsWithHistoryOK
- func (o *GetSubscriptionAuditLogsWithHistoryOK) Code() int
- func (o *GetSubscriptionAuditLogsWithHistoryOK) Error() string
- func (o *GetSubscriptionAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetSubscriptionAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetSubscriptionAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetSubscriptionAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetSubscriptionAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetSubscriptionAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetSubscriptionAuditLogsWithHistoryOK) String() string
- type GetSubscriptionAuditLogsWithHistoryParams
- func NewGetSubscriptionAuditLogsWithHistoryParams() *GetSubscriptionAuditLogsWithHistoryParams
- func NewGetSubscriptionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetSubscriptionAuditLogsWithHistoryParams
- func NewGetSubscriptionAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetSubscriptionAuditLogsWithHistoryParams
- func NewGetSubscriptionAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetSubscriptionAuditLogsWithHistoryParams
- func (o *GetSubscriptionAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionAuditLogsWithHistoryParams) SetDefaults()
- func (o *GetSubscriptionAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionAuditLogsWithHistoryParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *GetSubscriptionAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetSubscriptionAuditLogsWithHistoryParams
- func (o *GetSubscriptionAuditLogsWithHistoryParams) WithDefaults() *GetSubscriptionAuditLogsWithHistoryParams
- func (o *GetSubscriptionAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetSubscriptionAuditLogsWithHistoryParams
- func (o *GetSubscriptionAuditLogsWithHistoryParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionAuditLogsWithHistoryParams
- func (o *GetSubscriptionAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetSubscriptionAuditLogsWithHistoryParams
- func (o *GetSubscriptionAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionAuditLogsWithHistoryReader
- type GetSubscriptionBadRequest
- func (o *GetSubscriptionBadRequest) Code() int
- func (o *GetSubscriptionBadRequest) Error() string
- func (o *GetSubscriptionBadRequest) IsClientError() bool
- func (o *GetSubscriptionBadRequest) IsCode(code int) bool
- func (o *GetSubscriptionBadRequest) IsRedirect() bool
- func (o *GetSubscriptionBadRequest) IsServerError() bool
- func (o *GetSubscriptionBadRequest) IsSuccess() bool
- func (o *GetSubscriptionBadRequest) String() string
- type GetSubscriptionByKeyNotFound
- func (o *GetSubscriptionByKeyNotFound) Code() int
- func (o *GetSubscriptionByKeyNotFound) Error() string
- func (o *GetSubscriptionByKeyNotFound) IsClientError() bool
- func (o *GetSubscriptionByKeyNotFound) IsCode(code int) bool
- func (o *GetSubscriptionByKeyNotFound) IsRedirect() bool
- func (o *GetSubscriptionByKeyNotFound) IsServerError() bool
- func (o *GetSubscriptionByKeyNotFound) IsSuccess() bool
- func (o *GetSubscriptionByKeyNotFound) String() string
- type GetSubscriptionByKeyOK
- func (o *GetSubscriptionByKeyOK) Code() int
- func (o *GetSubscriptionByKeyOK) Error() string
- func (o *GetSubscriptionByKeyOK) GetPayload() *kbmodel.Subscription
- func (o *GetSubscriptionByKeyOK) IsClientError() bool
- func (o *GetSubscriptionByKeyOK) IsCode(code int) bool
- func (o *GetSubscriptionByKeyOK) IsRedirect() bool
- func (o *GetSubscriptionByKeyOK) IsServerError() bool
- func (o *GetSubscriptionByKeyOK) IsSuccess() bool
- func (o *GetSubscriptionByKeyOK) String() string
- type GetSubscriptionByKeyParams
- func NewGetSubscriptionByKeyParams() *GetSubscriptionByKeyParams
- func NewGetSubscriptionByKeyParamsWithContext(ctx context.Context) *GetSubscriptionByKeyParams
- func NewGetSubscriptionByKeyParamsWithHTTPClient(client *http.Client) *GetSubscriptionByKeyParams
- func NewGetSubscriptionByKeyParamsWithTimeout(timeout time.Duration) *GetSubscriptionByKeyParams
- func (o *GetSubscriptionByKeyParams) SetAudit(audit *string)
- func (o *GetSubscriptionByKeyParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionByKeyParams) SetDefaults()
- func (o *GetSubscriptionByKeyParams) SetExternalKey(externalKey string)
- func (o *GetSubscriptionByKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionByKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionByKeyParams) WithAudit(audit *string) *GetSubscriptionByKeyParams
- func (o *GetSubscriptionByKeyParams) WithContext(ctx context.Context) *GetSubscriptionByKeyParams
- func (o *GetSubscriptionByKeyParams) WithDefaults() *GetSubscriptionByKeyParams
- func (o *GetSubscriptionByKeyParams) WithExternalKey(externalKey string) *GetSubscriptionByKeyParams
- func (o *GetSubscriptionByKeyParams) WithHTTPClient(client *http.Client) *GetSubscriptionByKeyParams
- func (o *GetSubscriptionByKeyParams) WithTimeout(timeout time.Duration) *GetSubscriptionByKeyParams
- func (o *GetSubscriptionByKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionByKeyReader
- type GetSubscriptionCustomFieldsBadRequest
- func (o *GetSubscriptionCustomFieldsBadRequest) Code() int
- func (o *GetSubscriptionCustomFieldsBadRequest) Error() string
- func (o *GetSubscriptionCustomFieldsBadRequest) IsClientError() bool
- func (o *GetSubscriptionCustomFieldsBadRequest) IsCode(code int) bool
- func (o *GetSubscriptionCustomFieldsBadRequest) IsRedirect() bool
- func (o *GetSubscriptionCustomFieldsBadRequest) IsServerError() bool
- func (o *GetSubscriptionCustomFieldsBadRequest) IsSuccess() bool
- func (o *GetSubscriptionCustomFieldsBadRequest) String() string
- type GetSubscriptionCustomFieldsOK
- func (o *GetSubscriptionCustomFieldsOK) Code() int
- func (o *GetSubscriptionCustomFieldsOK) Error() string
- func (o *GetSubscriptionCustomFieldsOK) GetPayload() []*kbmodel.CustomField
- func (o *GetSubscriptionCustomFieldsOK) IsClientError() bool
- func (o *GetSubscriptionCustomFieldsOK) IsCode(code int) bool
- func (o *GetSubscriptionCustomFieldsOK) IsRedirect() bool
- func (o *GetSubscriptionCustomFieldsOK) IsServerError() bool
- func (o *GetSubscriptionCustomFieldsOK) IsSuccess() bool
- func (o *GetSubscriptionCustomFieldsOK) String() string
- type GetSubscriptionCustomFieldsParams
- func NewGetSubscriptionCustomFieldsParams() *GetSubscriptionCustomFieldsParams
- func NewGetSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *GetSubscriptionCustomFieldsParams
- func NewGetSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *GetSubscriptionCustomFieldsParams
- func NewGetSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) SetAudit(audit *string)
- func (o *GetSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionCustomFieldsParams) SetDefaults()
- func (o *GetSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *GetSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionCustomFieldsParams) WithAudit(audit *string) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithDefaults() *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *GetSubscriptionCustomFieldsParams
- func (o *GetSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionCustomFieldsReader
- type GetSubscriptionEventAuditLogsWithHistoryNotFound
- func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) Code() int
- func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) Error() string
- func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) String() string
- type GetSubscriptionEventAuditLogsWithHistoryOK
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) Code() int
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) Error() string
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetSubscriptionEventAuditLogsWithHistoryOK) String() string
- type GetSubscriptionEventAuditLogsWithHistoryParams
- func NewGetSubscriptionEventAuditLogsWithHistoryParams() *GetSubscriptionEventAuditLogsWithHistoryParams
- func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetSubscriptionEventAuditLogsWithHistoryParams
- func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetSubscriptionEventAuditLogsWithHistoryParams
- func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetSubscriptionEventAuditLogsWithHistoryParams
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetDefaults()
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetEventID(eventID strfmt.UUID)
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetSubscriptionEventAuditLogsWithHistoryParams
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithDefaults() *GetSubscriptionEventAuditLogsWithHistoryParams
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithEventID(eventID strfmt.UUID) *GetSubscriptionEventAuditLogsWithHistoryParams
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetSubscriptionEventAuditLogsWithHistoryParams
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetSubscriptionEventAuditLogsWithHistoryParams
- func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionEventAuditLogsWithHistoryReader
- type GetSubscriptionNotFound
- func (o *GetSubscriptionNotFound) Code() int
- func (o *GetSubscriptionNotFound) Error() string
- func (o *GetSubscriptionNotFound) IsClientError() bool
- func (o *GetSubscriptionNotFound) IsCode(code int) bool
- func (o *GetSubscriptionNotFound) IsRedirect() bool
- func (o *GetSubscriptionNotFound) IsServerError() bool
- func (o *GetSubscriptionNotFound) IsSuccess() bool
- func (o *GetSubscriptionNotFound) String() string
- type GetSubscriptionOK
- func (o *GetSubscriptionOK) Code() int
- func (o *GetSubscriptionOK) Error() string
- func (o *GetSubscriptionOK) GetPayload() *kbmodel.Subscription
- func (o *GetSubscriptionOK) IsClientError() bool
- func (o *GetSubscriptionOK) IsCode(code int) bool
- func (o *GetSubscriptionOK) IsRedirect() bool
- func (o *GetSubscriptionOK) IsServerError() bool
- func (o *GetSubscriptionOK) IsSuccess() bool
- func (o *GetSubscriptionOK) String() string
- type GetSubscriptionParams
- func NewGetSubscriptionParams() *GetSubscriptionParams
- func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams
- func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams
- func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) SetAudit(audit *string)
- func (o *GetSubscriptionParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionParams) SetDefaults()
- func (o *GetSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *GetSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionParams) WithAudit(audit *string) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithContext(ctx context.Context) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithDefaults() *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithHTTPClient(client *http.Client) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WithTimeout(timeout time.Duration) *GetSubscriptionParams
- func (o *GetSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionReader
- type GetSubscriptionTagsBadRequest
- func (o *GetSubscriptionTagsBadRequest) Code() int
- func (o *GetSubscriptionTagsBadRequest) Error() string
- func (o *GetSubscriptionTagsBadRequest) IsClientError() bool
- func (o *GetSubscriptionTagsBadRequest) IsCode(code int) bool
- func (o *GetSubscriptionTagsBadRequest) IsRedirect() bool
- func (o *GetSubscriptionTagsBadRequest) IsServerError() bool
- func (o *GetSubscriptionTagsBadRequest) IsSuccess() bool
- func (o *GetSubscriptionTagsBadRequest) String() string
- type GetSubscriptionTagsNotFound
- func (o *GetSubscriptionTagsNotFound) Code() int
- func (o *GetSubscriptionTagsNotFound) Error() string
- func (o *GetSubscriptionTagsNotFound) IsClientError() bool
- func (o *GetSubscriptionTagsNotFound) IsCode(code int) bool
- func (o *GetSubscriptionTagsNotFound) IsRedirect() bool
- func (o *GetSubscriptionTagsNotFound) IsServerError() bool
- func (o *GetSubscriptionTagsNotFound) IsSuccess() bool
- func (o *GetSubscriptionTagsNotFound) String() string
- type GetSubscriptionTagsOK
- func (o *GetSubscriptionTagsOK) Code() int
- func (o *GetSubscriptionTagsOK) Error() string
- func (o *GetSubscriptionTagsOK) GetPayload() []*kbmodel.Tag
- func (o *GetSubscriptionTagsOK) IsClientError() bool
- func (o *GetSubscriptionTagsOK) IsCode(code int) bool
- func (o *GetSubscriptionTagsOK) IsRedirect() bool
- func (o *GetSubscriptionTagsOK) IsServerError() bool
- func (o *GetSubscriptionTagsOK) IsSuccess() bool
- func (o *GetSubscriptionTagsOK) String() string
- type GetSubscriptionTagsParams
- func NewGetSubscriptionTagsParams() *GetSubscriptionTagsParams
- func NewGetSubscriptionTagsParamsWithContext(ctx context.Context) *GetSubscriptionTagsParams
- func NewGetSubscriptionTagsParamsWithHTTPClient(client *http.Client) *GetSubscriptionTagsParams
- func NewGetSubscriptionTagsParamsWithTimeout(timeout time.Duration) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) SetAudit(audit *string)
- func (o *GetSubscriptionTagsParams) SetContext(ctx context.Context)
- func (o *GetSubscriptionTagsParams) SetDefaults()
- func (o *GetSubscriptionTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetSubscriptionTagsParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *GetSubscriptionTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetSubscriptionTagsParams) WithAudit(audit *string) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithContext(ctx context.Context) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithDefaults() *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithHTTPClient(client *http.Client) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WithTimeout(timeout time.Duration) *GetSubscriptionTagsParams
- func (o *GetSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSubscriptionTagsReader
- type KillbillDefaults
- type ModifySubscriptionCustomFieldsBadRequest
- func (o *ModifySubscriptionCustomFieldsBadRequest) Code() int
- func (o *ModifySubscriptionCustomFieldsBadRequest) Error() string
- func (o *ModifySubscriptionCustomFieldsBadRequest) IsClientError() bool
- func (o *ModifySubscriptionCustomFieldsBadRequest) IsCode(code int) bool
- func (o *ModifySubscriptionCustomFieldsBadRequest) IsRedirect() bool
- func (o *ModifySubscriptionCustomFieldsBadRequest) IsServerError() bool
- func (o *ModifySubscriptionCustomFieldsBadRequest) IsSuccess() bool
- func (o *ModifySubscriptionCustomFieldsBadRequest) String() string
- type ModifySubscriptionCustomFieldsNoContent
- func (o *ModifySubscriptionCustomFieldsNoContent) Code() int
- func (o *ModifySubscriptionCustomFieldsNoContent) Error() string
- func (o *ModifySubscriptionCustomFieldsNoContent) IsClientError() bool
- func (o *ModifySubscriptionCustomFieldsNoContent) IsCode(code int) bool
- func (o *ModifySubscriptionCustomFieldsNoContent) IsRedirect() bool
- func (o *ModifySubscriptionCustomFieldsNoContent) IsServerError() bool
- func (o *ModifySubscriptionCustomFieldsNoContent) IsSuccess() bool
- func (o *ModifySubscriptionCustomFieldsNoContent) String() string
- type ModifySubscriptionCustomFieldsParams
- func NewModifySubscriptionCustomFieldsParams() *ModifySubscriptionCustomFieldsParams
- func NewModifySubscriptionCustomFieldsParamsWithContext(ctx context.Context) *ModifySubscriptionCustomFieldsParams
- func NewModifySubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifySubscriptionCustomFieldsParams
- func NewModifySubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *ModifySubscriptionCustomFieldsParams) SetContext(ctx context.Context)
- func (o *ModifySubscriptionCustomFieldsParams) SetDefaults()
- func (o *ModifySubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *ModifySubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *ModifySubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ModifySubscriptionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithContext(ctx context.Context) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithDefaults() *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifySubscriptionCustomFieldsParams
- func (o *ModifySubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifySubscriptionCustomFieldsReader
- type UncancelSubscriptionPlanBadRequest
- func (o *UncancelSubscriptionPlanBadRequest) Code() int
- func (o *UncancelSubscriptionPlanBadRequest) Error() string
- func (o *UncancelSubscriptionPlanBadRequest) IsClientError() bool
- func (o *UncancelSubscriptionPlanBadRequest) IsCode(code int) bool
- func (o *UncancelSubscriptionPlanBadRequest) IsRedirect() bool
- func (o *UncancelSubscriptionPlanBadRequest) IsServerError() bool
- func (o *UncancelSubscriptionPlanBadRequest) IsSuccess() bool
- func (o *UncancelSubscriptionPlanBadRequest) String() string
- type UncancelSubscriptionPlanNoContent
- func (o *UncancelSubscriptionPlanNoContent) Code() int
- func (o *UncancelSubscriptionPlanNoContent) Error() string
- func (o *UncancelSubscriptionPlanNoContent) IsClientError() bool
- func (o *UncancelSubscriptionPlanNoContent) IsCode(code int) bool
- func (o *UncancelSubscriptionPlanNoContent) IsRedirect() bool
- func (o *UncancelSubscriptionPlanNoContent) IsServerError() bool
- func (o *UncancelSubscriptionPlanNoContent) IsSuccess() bool
- func (o *UncancelSubscriptionPlanNoContent) String() string
- type UncancelSubscriptionPlanNotFound
- func (o *UncancelSubscriptionPlanNotFound) Code() int
- func (o *UncancelSubscriptionPlanNotFound) Error() string
- func (o *UncancelSubscriptionPlanNotFound) IsClientError() bool
- func (o *UncancelSubscriptionPlanNotFound) IsCode(code int) bool
- func (o *UncancelSubscriptionPlanNotFound) IsRedirect() bool
- func (o *UncancelSubscriptionPlanNotFound) IsServerError() bool
- func (o *UncancelSubscriptionPlanNotFound) IsSuccess() bool
- func (o *UncancelSubscriptionPlanNotFound) String() string
- type UncancelSubscriptionPlanParams
- func NewUncancelSubscriptionPlanParams() *UncancelSubscriptionPlanParams
- func NewUncancelSubscriptionPlanParamsWithContext(ctx context.Context) *UncancelSubscriptionPlanParams
- func NewUncancelSubscriptionPlanParamsWithHTTPClient(client *http.Client) *UncancelSubscriptionPlanParams
- func NewUncancelSubscriptionPlanParamsWithTimeout(timeout time.Duration) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) SetContext(ctx context.Context)
- func (o *UncancelSubscriptionPlanParams) SetDefaults()
- func (o *UncancelSubscriptionPlanParams) SetHTTPClient(client *http.Client)
- func (o *UncancelSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
- func (o *UncancelSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *UncancelSubscriptionPlanParams) SetTimeout(timeout time.Duration)
- func (o *UncancelSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UncancelSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UncancelSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UncancelSubscriptionPlanParams) WithContext(ctx context.Context) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithDefaults() *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithHTTPClient(client *http.Client) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithTimeout(timeout time.Duration) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *UncancelSubscriptionPlanParams
- func (o *UncancelSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UncancelSubscriptionPlanReader
- type UndoChangeSubscriptionPlanBadRequest
- func (o *UndoChangeSubscriptionPlanBadRequest) Code() int
- func (o *UndoChangeSubscriptionPlanBadRequest) Error() string
- func (o *UndoChangeSubscriptionPlanBadRequest) IsClientError() bool
- func (o *UndoChangeSubscriptionPlanBadRequest) IsCode(code int) bool
- func (o *UndoChangeSubscriptionPlanBadRequest) IsRedirect() bool
- func (o *UndoChangeSubscriptionPlanBadRequest) IsServerError() bool
- func (o *UndoChangeSubscriptionPlanBadRequest) IsSuccess() bool
- func (o *UndoChangeSubscriptionPlanBadRequest) String() string
- type UndoChangeSubscriptionPlanNoContent
- func (o *UndoChangeSubscriptionPlanNoContent) Code() int
- func (o *UndoChangeSubscriptionPlanNoContent) Error() string
- func (o *UndoChangeSubscriptionPlanNoContent) IsClientError() bool
- func (o *UndoChangeSubscriptionPlanNoContent) IsCode(code int) bool
- func (o *UndoChangeSubscriptionPlanNoContent) IsRedirect() bool
- func (o *UndoChangeSubscriptionPlanNoContent) IsServerError() bool
- func (o *UndoChangeSubscriptionPlanNoContent) IsSuccess() bool
- func (o *UndoChangeSubscriptionPlanNoContent) String() string
- type UndoChangeSubscriptionPlanNotFound
- func (o *UndoChangeSubscriptionPlanNotFound) Code() int
- func (o *UndoChangeSubscriptionPlanNotFound) Error() string
- func (o *UndoChangeSubscriptionPlanNotFound) IsClientError() bool
- func (o *UndoChangeSubscriptionPlanNotFound) IsCode(code int) bool
- func (o *UndoChangeSubscriptionPlanNotFound) IsRedirect() bool
- func (o *UndoChangeSubscriptionPlanNotFound) IsServerError() bool
- func (o *UndoChangeSubscriptionPlanNotFound) IsSuccess() bool
- func (o *UndoChangeSubscriptionPlanNotFound) String() string
- type UndoChangeSubscriptionPlanParams
- func NewUndoChangeSubscriptionPlanParams() *UndoChangeSubscriptionPlanParams
- func NewUndoChangeSubscriptionPlanParamsWithContext(ctx context.Context) *UndoChangeSubscriptionPlanParams
- func NewUndoChangeSubscriptionPlanParamsWithHTTPClient(client *http.Client) *UndoChangeSubscriptionPlanParams
- func NewUndoChangeSubscriptionPlanParamsWithTimeout(timeout time.Duration) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) SetContext(ctx context.Context)
- func (o *UndoChangeSubscriptionPlanParams) SetDefaults()
- func (o *UndoChangeSubscriptionPlanParams) SetHTTPClient(client *http.Client)
- func (o *UndoChangeSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
- func (o *UndoChangeSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *UndoChangeSubscriptionPlanParams) SetTimeout(timeout time.Duration)
- func (o *UndoChangeSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UndoChangeSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UndoChangeSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UndoChangeSubscriptionPlanParams) WithContext(ctx context.Context) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithDefaults() *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithHTTPClient(client *http.Client) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithTimeout(timeout time.Duration) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *UndoChangeSubscriptionPlanParams
- func (o *UndoChangeSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UndoChangeSubscriptionPlanReader
- type UpdateSubscriptionBCDBadRequest
- func (o *UpdateSubscriptionBCDBadRequest) Code() int
- func (o *UpdateSubscriptionBCDBadRequest) Error() string
- func (o *UpdateSubscriptionBCDBadRequest) IsClientError() bool
- func (o *UpdateSubscriptionBCDBadRequest) IsCode(code int) bool
- func (o *UpdateSubscriptionBCDBadRequest) IsRedirect() bool
- func (o *UpdateSubscriptionBCDBadRequest) IsServerError() bool
- func (o *UpdateSubscriptionBCDBadRequest) IsSuccess() bool
- func (o *UpdateSubscriptionBCDBadRequest) String() string
- type UpdateSubscriptionBCDNoContent
- func (o *UpdateSubscriptionBCDNoContent) Code() int
- func (o *UpdateSubscriptionBCDNoContent) Error() string
- func (o *UpdateSubscriptionBCDNoContent) IsClientError() bool
- func (o *UpdateSubscriptionBCDNoContent) IsCode(code int) bool
- func (o *UpdateSubscriptionBCDNoContent) IsRedirect() bool
- func (o *UpdateSubscriptionBCDNoContent) IsServerError() bool
- func (o *UpdateSubscriptionBCDNoContent) IsSuccess() bool
- func (o *UpdateSubscriptionBCDNoContent) String() string
- type UpdateSubscriptionBCDParams
- func NewUpdateSubscriptionBCDParams() *UpdateSubscriptionBCDParams
- func NewUpdateSubscriptionBCDParamsWithContext(ctx context.Context) *UpdateSubscriptionBCDParams
- func NewUpdateSubscriptionBCDParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionBCDParams
- func NewUpdateSubscriptionBCDParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) SetBody(body *kbmodel.Subscription)
- func (o *UpdateSubscriptionBCDParams) SetContext(ctx context.Context)
- func (o *UpdateSubscriptionBCDParams) SetDefaults()
- func (o *UpdateSubscriptionBCDParams) SetEffectiveFromDate(effectiveFromDate *strfmt.Date)
- func (o *UpdateSubscriptionBCDParams) SetForceNewBcdWithPastEffectiveDate(forceNewBcdWithPastEffectiveDate *bool)
- func (o *UpdateSubscriptionBCDParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSubscriptionBCDParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *UpdateSubscriptionBCDParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSubscriptionBCDParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UpdateSubscriptionBCDParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UpdateSubscriptionBCDParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UpdateSubscriptionBCDParams) WithBody(body *kbmodel.Subscription) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithContext(ctx context.Context) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithDefaults() *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithEffectiveFromDate(effectiveFromDate *strfmt.Date) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithForceNewBcdWithPastEffectiveDate(forceNewBcdWithPastEffectiveDate *bool) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithXKillbillComment(xKillbillComment *string) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WithXKillbillReason(xKillbillReason *string) *UpdateSubscriptionBCDParams
- func (o *UpdateSubscriptionBCDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSubscriptionBCDReader
- type UpdateSubscriptionQuantityBadRequest
- func (o *UpdateSubscriptionQuantityBadRequest) Code() int
- func (o *UpdateSubscriptionQuantityBadRequest) Error() string
- func (o *UpdateSubscriptionQuantityBadRequest) IsClientError() bool
- func (o *UpdateSubscriptionQuantityBadRequest) IsCode(code int) bool
- func (o *UpdateSubscriptionQuantityBadRequest) IsRedirect() bool
- func (o *UpdateSubscriptionQuantityBadRequest) IsServerError() bool
- func (o *UpdateSubscriptionQuantityBadRequest) IsSuccess() bool
- func (o *UpdateSubscriptionQuantityBadRequest) String() string
- type UpdateSubscriptionQuantityNoContent
- func (o *UpdateSubscriptionQuantityNoContent) Code() int
- func (o *UpdateSubscriptionQuantityNoContent) Error() string
- func (o *UpdateSubscriptionQuantityNoContent) IsClientError() bool
- func (o *UpdateSubscriptionQuantityNoContent) IsCode(code int) bool
- func (o *UpdateSubscriptionQuantityNoContent) IsRedirect() bool
- func (o *UpdateSubscriptionQuantityNoContent) IsServerError() bool
- func (o *UpdateSubscriptionQuantityNoContent) IsSuccess() bool
- func (o *UpdateSubscriptionQuantityNoContent) String() string
- type UpdateSubscriptionQuantityParams
- func NewUpdateSubscriptionQuantityParams() *UpdateSubscriptionQuantityParams
- func NewUpdateSubscriptionQuantityParamsWithContext(ctx context.Context) *UpdateSubscriptionQuantityParams
- func NewUpdateSubscriptionQuantityParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionQuantityParams
- func NewUpdateSubscriptionQuantityParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) SetBody(body *kbmodel.Subscription)
- func (o *UpdateSubscriptionQuantityParams) SetContext(ctx context.Context)
- func (o *UpdateSubscriptionQuantityParams) SetDefaults()
- func (o *UpdateSubscriptionQuantityParams) SetEffectiveFromDate(effectiveFromDate *strfmt.Date)
- func (o *UpdateSubscriptionQuantityParams) SetForceNewQuantityWithPastEffectiveDate(forceNewQuantityWithPastEffectiveDate *bool)
- func (o *UpdateSubscriptionQuantityParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSubscriptionQuantityParams) SetSubscriptionID(subscriptionID strfmt.UUID)
- func (o *UpdateSubscriptionQuantityParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSubscriptionQuantityParams) SetXKillbillComment(xKillbillComment *string)
- func (o *UpdateSubscriptionQuantityParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *UpdateSubscriptionQuantityParams) SetXKillbillReason(xKillbillReason *string)
- func (o *UpdateSubscriptionQuantityParams) WithBody(body *kbmodel.Subscription) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithContext(ctx context.Context) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithDefaults() *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithEffectiveFromDate(effectiveFromDate *strfmt.Date) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithForceNewQuantityWithPastEffectiveDate(forceNewQuantityWithPastEffectiveDate *bool) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithXKillbillComment(xKillbillComment *string) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WithXKillbillReason(xKillbillReason *string) *UpdateSubscriptionQuantityParams
- func (o *UpdateSubscriptionQuantityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSubscriptionQuantityReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSubscriptionBlockingStateBadRequest ¶
type AddSubscriptionBlockingStateBadRequest struct {
HttpResponse runtime.ClientResponse
}
AddSubscriptionBlockingStateBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewAddSubscriptionBlockingStateBadRequest ¶
func NewAddSubscriptionBlockingStateBadRequest() *AddSubscriptionBlockingStateBadRequest
NewAddSubscriptionBlockingStateBadRequest creates a AddSubscriptionBlockingStateBadRequest with default headers values
func (*AddSubscriptionBlockingStateBadRequest) Code ¶
func (o *AddSubscriptionBlockingStateBadRequest) Code() int
Code gets the status code for the add subscription blocking state bad request response
func (*AddSubscriptionBlockingStateBadRequest) Error ¶
func (o *AddSubscriptionBlockingStateBadRequest) Error() string
func (*AddSubscriptionBlockingStateBadRequest) IsClientError ¶
func (o *AddSubscriptionBlockingStateBadRequest) IsClientError() bool
IsClientError returns true when this add subscription blocking state bad request response has a 4xx status code
func (*AddSubscriptionBlockingStateBadRequest) IsCode ¶
func (o *AddSubscriptionBlockingStateBadRequest) IsCode(code int) bool
IsCode returns true when this add subscription blocking state bad request response a status code equal to that given
func (*AddSubscriptionBlockingStateBadRequest) IsRedirect ¶
func (o *AddSubscriptionBlockingStateBadRequest) IsRedirect() bool
IsRedirect returns true when this add subscription blocking state bad request response has a 3xx status code
func (*AddSubscriptionBlockingStateBadRequest) IsServerError ¶
func (o *AddSubscriptionBlockingStateBadRequest) IsServerError() bool
IsServerError returns true when this add subscription blocking state bad request response has a 5xx status code
func (*AddSubscriptionBlockingStateBadRequest) IsSuccess ¶
func (o *AddSubscriptionBlockingStateBadRequest) IsSuccess() bool
IsSuccess returns true when this add subscription blocking state bad request response has a 2xx status code
func (*AddSubscriptionBlockingStateBadRequest) String ¶
func (o *AddSubscriptionBlockingStateBadRequest) String() string
type AddSubscriptionBlockingStateCreated ¶
type AddSubscriptionBlockingStateCreated struct {
Payload []*kbmodel.BlockingState
HttpResponse runtime.ClientResponse
}
AddSubscriptionBlockingStateCreated describes a response with status code 201, with default header values.
Blocking state created successfully
func NewAddSubscriptionBlockingStateCreated ¶
func NewAddSubscriptionBlockingStateCreated() *AddSubscriptionBlockingStateCreated
NewAddSubscriptionBlockingStateCreated creates a AddSubscriptionBlockingStateCreated with default headers values
func (*AddSubscriptionBlockingStateCreated) Code ¶
func (o *AddSubscriptionBlockingStateCreated) Code() int
Code gets the status code for the add subscription blocking state created response
func (*AddSubscriptionBlockingStateCreated) Error ¶
func (o *AddSubscriptionBlockingStateCreated) Error() string
func (*AddSubscriptionBlockingStateCreated) GetPayload ¶
func (o *AddSubscriptionBlockingStateCreated) GetPayload() []*kbmodel.BlockingState
func (*AddSubscriptionBlockingStateCreated) IsClientError ¶
func (o *AddSubscriptionBlockingStateCreated) IsClientError() bool
IsClientError returns true when this add subscription blocking state created response has a 4xx status code
func (*AddSubscriptionBlockingStateCreated) IsCode ¶
func (o *AddSubscriptionBlockingStateCreated) IsCode(code int) bool
IsCode returns true when this add subscription blocking state created response a status code equal to that given
func (*AddSubscriptionBlockingStateCreated) IsRedirect ¶
func (o *AddSubscriptionBlockingStateCreated) IsRedirect() bool
IsRedirect returns true when this add subscription blocking state created response has a 3xx status code
func (*AddSubscriptionBlockingStateCreated) IsServerError ¶
func (o *AddSubscriptionBlockingStateCreated) IsServerError() bool
IsServerError returns true when this add subscription blocking state created response has a 5xx status code
func (*AddSubscriptionBlockingStateCreated) IsSuccess ¶
func (o *AddSubscriptionBlockingStateCreated) IsSuccess() bool
IsSuccess returns true when this add subscription blocking state created response has a 2xx status code
func (*AddSubscriptionBlockingStateCreated) String ¶
func (o *AddSubscriptionBlockingStateCreated) String() string
type AddSubscriptionBlockingStateNotFound ¶
type AddSubscriptionBlockingStateNotFound struct {
HttpResponse runtime.ClientResponse
}
AddSubscriptionBlockingStateNotFound describes a response with status code 404, with default header values.
Subscription not found
func NewAddSubscriptionBlockingStateNotFound ¶
func NewAddSubscriptionBlockingStateNotFound() *AddSubscriptionBlockingStateNotFound
NewAddSubscriptionBlockingStateNotFound creates a AddSubscriptionBlockingStateNotFound with default headers values
func (*AddSubscriptionBlockingStateNotFound) Code ¶
func (o *AddSubscriptionBlockingStateNotFound) Code() int
Code gets the status code for the add subscription blocking state not found response
func (*AddSubscriptionBlockingStateNotFound) Error ¶
func (o *AddSubscriptionBlockingStateNotFound) Error() string
func (*AddSubscriptionBlockingStateNotFound) IsClientError ¶
func (o *AddSubscriptionBlockingStateNotFound) IsClientError() bool
IsClientError returns true when this add subscription blocking state not found response has a 4xx status code
func (*AddSubscriptionBlockingStateNotFound) IsCode ¶
func (o *AddSubscriptionBlockingStateNotFound) IsCode(code int) bool
IsCode returns true when this add subscription blocking state not found response a status code equal to that given
func (*AddSubscriptionBlockingStateNotFound) IsRedirect ¶
func (o *AddSubscriptionBlockingStateNotFound) IsRedirect() bool
IsRedirect returns true when this add subscription blocking state not found response has a 3xx status code
func (*AddSubscriptionBlockingStateNotFound) IsServerError ¶
func (o *AddSubscriptionBlockingStateNotFound) IsServerError() bool
IsServerError returns true when this add subscription blocking state not found response has a 5xx status code
func (*AddSubscriptionBlockingStateNotFound) IsSuccess ¶
func (o *AddSubscriptionBlockingStateNotFound) IsSuccess() bool
IsSuccess returns true when this add subscription blocking state not found response has a 2xx status code
func (*AddSubscriptionBlockingStateNotFound) String ¶
func (o *AddSubscriptionBlockingStateNotFound) String() string
type AddSubscriptionBlockingStateParams ¶
type AddSubscriptionBlockingStateParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// Body.
Body *kbmodel.BlockingState
// PluginProperty.
PluginProperty []string
// RequestedDate.
//
// Format: date
RequestedDate *strfmt.Date
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
AddSubscriptionBlockingStateParams contains all the parameters to send to the API endpoint
for the add subscription blocking state operation. Typically these are written to a http.Request.
func NewAddSubscriptionBlockingStateParams ¶
func NewAddSubscriptionBlockingStateParams() *AddSubscriptionBlockingStateParams
NewAddSubscriptionBlockingStateParams creates a new AddSubscriptionBlockingStateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddSubscriptionBlockingStateParamsWithContext ¶
func NewAddSubscriptionBlockingStateParamsWithContext(ctx context.Context) *AddSubscriptionBlockingStateParams
NewAddSubscriptionBlockingStateParamsWithContext creates a new AddSubscriptionBlockingStateParams object with the ability to set a context for a request.
func NewAddSubscriptionBlockingStateParamsWithHTTPClient ¶
func NewAddSubscriptionBlockingStateParamsWithHTTPClient(client *http.Client) *AddSubscriptionBlockingStateParams
NewAddSubscriptionBlockingStateParamsWithHTTPClient creates a new AddSubscriptionBlockingStateParams object with the ability to set a custom HTTPClient for a request.
func NewAddSubscriptionBlockingStateParamsWithTimeout ¶
func NewAddSubscriptionBlockingStateParamsWithTimeout(timeout time.Duration) *AddSubscriptionBlockingStateParams
NewAddSubscriptionBlockingStateParamsWithTimeout creates a new AddSubscriptionBlockingStateParams object with the ability to set a timeout on a request.
func (*AddSubscriptionBlockingStateParams) SetBody ¶
func (o *AddSubscriptionBlockingStateParams) SetBody(body *kbmodel.BlockingState)
SetBody adds the body to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetContext ¶
func (o *AddSubscriptionBlockingStateParams) SetContext(ctx context.Context)
SetContext adds the context to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetDefaults ¶
func (o *AddSubscriptionBlockingStateParams) SetDefaults()
SetDefaults hydrates default values in the add subscription blocking state params (not the query body).
All values with no default are reset to their zero value.
func (*AddSubscriptionBlockingStateParams) SetHTTPClient ¶
func (o *AddSubscriptionBlockingStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetPluginProperty ¶
func (o *AddSubscriptionBlockingStateParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetRequestedDate ¶
func (o *AddSubscriptionBlockingStateParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetSubscriptionID ¶
func (o *AddSubscriptionBlockingStateParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetTimeout ¶
func (o *AddSubscriptionBlockingStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetXKillbillComment ¶
func (o *AddSubscriptionBlockingStateParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetXKillbillCreatedBy ¶
func (o *AddSubscriptionBlockingStateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) SetXKillbillReason ¶
func (o *AddSubscriptionBlockingStateParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithBody ¶
func (o *AddSubscriptionBlockingStateParams) WithBody(body *kbmodel.BlockingState) *AddSubscriptionBlockingStateParams
WithBody adds the body to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithContext ¶
func (o *AddSubscriptionBlockingStateParams) WithContext(ctx context.Context) *AddSubscriptionBlockingStateParams
WithContext adds the context to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithDefaults ¶
func (o *AddSubscriptionBlockingStateParams) WithDefaults() *AddSubscriptionBlockingStateParams
WithDefaults hydrates default values in the add subscription blocking state params (not the query body).
All values with no default are reset to their zero value.
func (*AddSubscriptionBlockingStateParams) WithHTTPClient ¶
func (o *AddSubscriptionBlockingStateParams) WithHTTPClient(client *http.Client) *AddSubscriptionBlockingStateParams
WithHTTPClient adds the HTTPClient to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithPluginProperty ¶
func (o *AddSubscriptionBlockingStateParams) WithPluginProperty(pluginProperty []string) *AddSubscriptionBlockingStateParams
WithPluginProperty adds the pluginProperty to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithRequestedDate ¶
func (o *AddSubscriptionBlockingStateParams) WithRequestedDate(requestedDate *strfmt.Date) *AddSubscriptionBlockingStateParams
WithRequestedDate adds the requestedDate to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithSubscriptionID ¶
func (o *AddSubscriptionBlockingStateParams) WithSubscriptionID(subscriptionID strfmt.UUID) *AddSubscriptionBlockingStateParams
WithSubscriptionID adds the subscriptionID to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithTimeout ¶
func (o *AddSubscriptionBlockingStateParams) WithTimeout(timeout time.Duration) *AddSubscriptionBlockingStateParams
WithTimeout adds the timeout to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithXKillbillComment ¶
func (o *AddSubscriptionBlockingStateParams) WithXKillbillComment(xKillbillComment *string) *AddSubscriptionBlockingStateParams
WithXKillbillComment adds the xKillbillComment to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithXKillbillCreatedBy ¶
func (o *AddSubscriptionBlockingStateParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddSubscriptionBlockingStateParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WithXKillbillReason ¶
func (o *AddSubscriptionBlockingStateParams) WithXKillbillReason(xKillbillReason *string) *AddSubscriptionBlockingStateParams
WithXKillbillReason adds the xKillbillReason to the add subscription blocking state params
func (*AddSubscriptionBlockingStateParams) WriteToRequest ¶
func (o *AddSubscriptionBlockingStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddSubscriptionBlockingStateReader ¶
type AddSubscriptionBlockingStateReader struct {
// contains filtered or unexported fields
}
AddSubscriptionBlockingStateReader is a Reader for the AddSubscriptionBlockingState structure.
func (*AddSubscriptionBlockingStateReader) ReadResponse ¶
func (o *AddSubscriptionBlockingStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CancelSubscriptionPlanBadRequest ¶
type CancelSubscriptionPlanBadRequest struct {
HttpResponse runtime.ClientResponse
}
CancelSubscriptionPlanBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewCancelSubscriptionPlanBadRequest ¶
func NewCancelSubscriptionPlanBadRequest() *CancelSubscriptionPlanBadRequest
NewCancelSubscriptionPlanBadRequest creates a CancelSubscriptionPlanBadRequest with default headers values
func (*CancelSubscriptionPlanBadRequest) Code ¶
func (o *CancelSubscriptionPlanBadRequest) Code() int
Code gets the status code for the cancel subscription plan bad request response
func (*CancelSubscriptionPlanBadRequest) Error ¶
func (o *CancelSubscriptionPlanBadRequest) Error() string
func (*CancelSubscriptionPlanBadRequest) IsClientError ¶
func (o *CancelSubscriptionPlanBadRequest) IsClientError() bool
IsClientError returns true when this cancel subscription plan bad request response has a 4xx status code
func (*CancelSubscriptionPlanBadRequest) IsCode ¶
func (o *CancelSubscriptionPlanBadRequest) IsCode(code int) bool
IsCode returns true when this cancel subscription plan bad request response a status code equal to that given
func (*CancelSubscriptionPlanBadRequest) IsRedirect ¶
func (o *CancelSubscriptionPlanBadRequest) IsRedirect() bool
IsRedirect returns true when this cancel subscription plan bad request response has a 3xx status code
func (*CancelSubscriptionPlanBadRequest) IsServerError ¶
func (o *CancelSubscriptionPlanBadRequest) IsServerError() bool
IsServerError returns true when this cancel subscription plan bad request response has a 5xx status code
func (*CancelSubscriptionPlanBadRequest) IsSuccess ¶
func (o *CancelSubscriptionPlanBadRequest) IsSuccess() bool
IsSuccess returns true when this cancel subscription plan bad request response has a 2xx status code
func (*CancelSubscriptionPlanBadRequest) String ¶
func (o *CancelSubscriptionPlanBadRequest) String() string
type CancelSubscriptionPlanNoContent ¶
type CancelSubscriptionPlanNoContent struct {
HttpResponse runtime.ClientResponse
}
CancelSubscriptionPlanNoContent describes a response with status code 204, with default header values.
Successful operation
func NewCancelSubscriptionPlanNoContent ¶
func NewCancelSubscriptionPlanNoContent() *CancelSubscriptionPlanNoContent
NewCancelSubscriptionPlanNoContent creates a CancelSubscriptionPlanNoContent with default headers values
func (*CancelSubscriptionPlanNoContent) Code ¶
func (o *CancelSubscriptionPlanNoContent) Code() int
Code gets the status code for the cancel subscription plan no content response
func (*CancelSubscriptionPlanNoContent) Error ¶
func (o *CancelSubscriptionPlanNoContent) Error() string
func (*CancelSubscriptionPlanNoContent) IsClientError ¶
func (o *CancelSubscriptionPlanNoContent) IsClientError() bool
IsClientError returns true when this cancel subscription plan no content response has a 4xx status code
func (*CancelSubscriptionPlanNoContent) IsCode ¶
func (o *CancelSubscriptionPlanNoContent) IsCode(code int) bool
IsCode returns true when this cancel subscription plan no content response a status code equal to that given
func (*CancelSubscriptionPlanNoContent) IsRedirect ¶
func (o *CancelSubscriptionPlanNoContent) IsRedirect() bool
IsRedirect returns true when this cancel subscription plan no content response has a 3xx status code
func (*CancelSubscriptionPlanNoContent) IsServerError ¶
func (o *CancelSubscriptionPlanNoContent) IsServerError() bool
IsServerError returns true when this cancel subscription plan no content response has a 5xx status code
func (*CancelSubscriptionPlanNoContent) IsSuccess ¶
func (o *CancelSubscriptionPlanNoContent) IsSuccess() bool
IsSuccess returns true when this cancel subscription plan no content response has a 2xx status code
func (*CancelSubscriptionPlanNoContent) String ¶
func (o *CancelSubscriptionPlanNoContent) String() string
type CancelSubscriptionPlanNotFound ¶
type CancelSubscriptionPlanNotFound struct {
HttpResponse runtime.ClientResponse
}
CancelSubscriptionPlanNotFound describes a response with status code 404, with default header values.
Entitlement not found
func NewCancelSubscriptionPlanNotFound ¶
func NewCancelSubscriptionPlanNotFound() *CancelSubscriptionPlanNotFound
NewCancelSubscriptionPlanNotFound creates a CancelSubscriptionPlanNotFound with default headers values
func (*CancelSubscriptionPlanNotFound) Code ¶
func (o *CancelSubscriptionPlanNotFound) Code() int
Code gets the status code for the cancel subscription plan not found response
func (*CancelSubscriptionPlanNotFound) Error ¶
func (o *CancelSubscriptionPlanNotFound) Error() string
func (*CancelSubscriptionPlanNotFound) IsClientError ¶
func (o *CancelSubscriptionPlanNotFound) IsClientError() bool
IsClientError returns true when this cancel subscription plan not found response has a 4xx status code
func (*CancelSubscriptionPlanNotFound) IsCode ¶
func (o *CancelSubscriptionPlanNotFound) IsCode(code int) bool
IsCode returns true when this cancel subscription plan not found response a status code equal to that given
func (*CancelSubscriptionPlanNotFound) IsRedirect ¶
func (o *CancelSubscriptionPlanNotFound) IsRedirect() bool
IsRedirect returns true when this cancel subscription plan not found response has a 3xx status code
func (*CancelSubscriptionPlanNotFound) IsServerError ¶
func (o *CancelSubscriptionPlanNotFound) IsServerError() bool
IsServerError returns true when this cancel subscription plan not found response has a 5xx status code
func (*CancelSubscriptionPlanNotFound) IsSuccess ¶
func (o *CancelSubscriptionPlanNotFound) IsSuccess() bool
IsSuccess returns true when this cancel subscription plan not found response has a 2xx status code
func (*CancelSubscriptionPlanNotFound) String ¶
func (o *CancelSubscriptionPlanNotFound) String() string
type CancelSubscriptionPlanParams ¶
type CancelSubscriptionPlanParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// BillingPolicy.
BillingPolicy *string
// CallCompletion.
CallCompletion *bool
// CallTimeoutSec.
//
// Format: int64
// Default: 5
CallTimeoutSec *int64
// EntitlementPolicy.
EntitlementPolicy *string
// PluginProperty.
PluginProperty []string
// RequestedDate.
//
// Format: date
RequestedDate *strfmt.Date
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
// UseRequestedDateForBilling.
UseRequestedDateForBilling *bool
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
CancelSubscriptionPlanParams contains all the parameters to send to the API endpoint
for the cancel subscription plan operation. Typically these are written to a http.Request.
func NewCancelSubscriptionPlanParams ¶
func NewCancelSubscriptionPlanParams() *CancelSubscriptionPlanParams
NewCancelSubscriptionPlanParams creates a new CancelSubscriptionPlanParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCancelSubscriptionPlanParamsWithContext ¶
func NewCancelSubscriptionPlanParamsWithContext(ctx context.Context) *CancelSubscriptionPlanParams
NewCancelSubscriptionPlanParamsWithContext creates a new CancelSubscriptionPlanParams object with the ability to set a context for a request.
func NewCancelSubscriptionPlanParamsWithHTTPClient ¶
func NewCancelSubscriptionPlanParamsWithHTTPClient(client *http.Client) *CancelSubscriptionPlanParams
NewCancelSubscriptionPlanParamsWithHTTPClient creates a new CancelSubscriptionPlanParams object with the ability to set a custom HTTPClient for a request.
func NewCancelSubscriptionPlanParamsWithTimeout ¶
func NewCancelSubscriptionPlanParamsWithTimeout(timeout time.Duration) *CancelSubscriptionPlanParams
NewCancelSubscriptionPlanParamsWithTimeout creates a new CancelSubscriptionPlanParams object with the ability to set a timeout on a request.
func (*CancelSubscriptionPlanParams) SetBillingPolicy ¶
func (o *CancelSubscriptionPlanParams) SetBillingPolicy(billingPolicy *string)
SetBillingPolicy adds the billingPolicy to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetCallCompletion ¶
func (o *CancelSubscriptionPlanParams) SetCallCompletion(callCompletion *bool)
SetCallCompletion adds the callCompletion to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetCallTimeoutSec ¶
func (o *CancelSubscriptionPlanParams) SetCallTimeoutSec(callTimeoutSec *int64)
SetCallTimeoutSec adds the callTimeoutSec to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetContext ¶
func (o *CancelSubscriptionPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetDefaults ¶
func (o *CancelSubscriptionPlanParams) SetDefaults()
SetDefaults hydrates default values in the cancel subscription plan params (not the query body).
All values with no default are reset to their zero value.
func (*CancelSubscriptionPlanParams) SetEntitlementPolicy ¶
func (o *CancelSubscriptionPlanParams) SetEntitlementPolicy(entitlementPolicy *string)
SetEntitlementPolicy adds the entitlementPolicy to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetHTTPClient ¶
func (o *CancelSubscriptionPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetPluginProperty ¶
func (o *CancelSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetRequestedDate ¶
func (o *CancelSubscriptionPlanParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetSubscriptionID ¶
func (o *CancelSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetTimeout ¶
func (o *CancelSubscriptionPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetUseRequestedDateForBilling ¶
func (o *CancelSubscriptionPlanParams) SetUseRequestedDateForBilling(useRequestedDateForBilling *bool)
SetUseRequestedDateForBilling adds the useRequestedDateForBilling to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetXKillbillComment ¶
func (o *CancelSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetXKillbillCreatedBy ¶
func (o *CancelSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) SetXKillbillReason ¶
func (o *CancelSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithBillingPolicy ¶
func (o *CancelSubscriptionPlanParams) WithBillingPolicy(billingPolicy *string) *CancelSubscriptionPlanParams
WithBillingPolicy adds the billingPolicy to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithCallCompletion ¶
func (o *CancelSubscriptionPlanParams) WithCallCompletion(callCompletion *bool) *CancelSubscriptionPlanParams
WithCallCompletion adds the callCompletion to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithCallTimeoutSec ¶
func (o *CancelSubscriptionPlanParams) WithCallTimeoutSec(callTimeoutSec *int64) *CancelSubscriptionPlanParams
WithCallTimeoutSec adds the callTimeoutSec to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithContext ¶
func (o *CancelSubscriptionPlanParams) WithContext(ctx context.Context) *CancelSubscriptionPlanParams
WithContext adds the context to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithDefaults ¶
func (o *CancelSubscriptionPlanParams) WithDefaults() *CancelSubscriptionPlanParams
WithDefaults hydrates default values in the cancel subscription plan params (not the query body).
All values with no default are reset to their zero value.
func (*CancelSubscriptionPlanParams) WithEntitlementPolicy ¶
func (o *CancelSubscriptionPlanParams) WithEntitlementPolicy(entitlementPolicy *string) *CancelSubscriptionPlanParams
WithEntitlementPolicy adds the entitlementPolicy to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithHTTPClient ¶
func (o *CancelSubscriptionPlanParams) WithHTTPClient(client *http.Client) *CancelSubscriptionPlanParams
WithHTTPClient adds the HTTPClient to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithPluginProperty ¶
func (o *CancelSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *CancelSubscriptionPlanParams
WithPluginProperty adds the pluginProperty to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithRequestedDate ¶
func (o *CancelSubscriptionPlanParams) WithRequestedDate(requestedDate *strfmt.Date) *CancelSubscriptionPlanParams
WithRequestedDate adds the requestedDate to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithSubscriptionID ¶
func (o *CancelSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CancelSubscriptionPlanParams
WithSubscriptionID adds the subscriptionID to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithTimeout ¶
func (o *CancelSubscriptionPlanParams) WithTimeout(timeout time.Duration) *CancelSubscriptionPlanParams
WithTimeout adds the timeout to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithUseRequestedDateForBilling ¶
func (o *CancelSubscriptionPlanParams) WithUseRequestedDateForBilling(useRequestedDateForBilling *bool) *CancelSubscriptionPlanParams
WithUseRequestedDateForBilling adds the useRequestedDateForBilling to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithXKillbillComment ¶
func (o *CancelSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *CancelSubscriptionPlanParams
WithXKillbillComment adds the xKillbillComment to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithXKillbillCreatedBy ¶
func (o *CancelSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CancelSubscriptionPlanParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WithXKillbillReason ¶
func (o *CancelSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *CancelSubscriptionPlanParams
WithXKillbillReason adds the xKillbillReason to the cancel subscription plan params
func (*CancelSubscriptionPlanParams) WriteToRequest ¶
func (o *CancelSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelSubscriptionPlanReader ¶
type CancelSubscriptionPlanReader struct {
// contains filtered or unexported fields
}
CancelSubscriptionPlanReader is a Reader for the CancelSubscriptionPlan structure.
func (*CancelSubscriptionPlanReader) ReadResponse ¶
func (o *CancelSubscriptionPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangeSubscriptionPlanBadRequest ¶
type ChangeSubscriptionPlanBadRequest struct {
HttpResponse runtime.ClientResponse
}
ChangeSubscriptionPlanBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewChangeSubscriptionPlanBadRequest ¶
func NewChangeSubscriptionPlanBadRequest() *ChangeSubscriptionPlanBadRequest
NewChangeSubscriptionPlanBadRequest creates a ChangeSubscriptionPlanBadRequest with default headers values
func (*ChangeSubscriptionPlanBadRequest) Code ¶
func (o *ChangeSubscriptionPlanBadRequest) Code() int
Code gets the status code for the change subscription plan bad request response
func (*ChangeSubscriptionPlanBadRequest) Error ¶
func (o *ChangeSubscriptionPlanBadRequest) Error() string
func (*ChangeSubscriptionPlanBadRequest) IsClientError ¶
func (o *ChangeSubscriptionPlanBadRequest) IsClientError() bool
IsClientError returns true when this change subscription plan bad request response has a 4xx status code
func (*ChangeSubscriptionPlanBadRequest) IsCode ¶
func (o *ChangeSubscriptionPlanBadRequest) IsCode(code int) bool
IsCode returns true when this change subscription plan bad request response a status code equal to that given
func (*ChangeSubscriptionPlanBadRequest) IsRedirect ¶
func (o *ChangeSubscriptionPlanBadRequest) IsRedirect() bool
IsRedirect returns true when this change subscription plan bad request response has a 3xx status code
func (*ChangeSubscriptionPlanBadRequest) IsServerError ¶
func (o *ChangeSubscriptionPlanBadRequest) IsServerError() bool
IsServerError returns true when this change subscription plan bad request response has a 5xx status code
func (*ChangeSubscriptionPlanBadRequest) IsSuccess ¶
func (o *ChangeSubscriptionPlanBadRequest) IsSuccess() bool
IsSuccess returns true when this change subscription plan bad request response has a 2xx status code
func (*ChangeSubscriptionPlanBadRequest) String ¶
func (o *ChangeSubscriptionPlanBadRequest) String() string
type ChangeSubscriptionPlanNoContent ¶
type ChangeSubscriptionPlanNoContent struct {
HttpResponse runtime.ClientResponse
}
ChangeSubscriptionPlanNoContent describes a response with status code 204, with default header values.
Successful operation
func NewChangeSubscriptionPlanNoContent ¶
func NewChangeSubscriptionPlanNoContent() *ChangeSubscriptionPlanNoContent
NewChangeSubscriptionPlanNoContent creates a ChangeSubscriptionPlanNoContent with default headers values
func (*ChangeSubscriptionPlanNoContent) Code ¶
func (o *ChangeSubscriptionPlanNoContent) Code() int
Code gets the status code for the change subscription plan no content response
func (*ChangeSubscriptionPlanNoContent) Error ¶
func (o *ChangeSubscriptionPlanNoContent) Error() string
func (*ChangeSubscriptionPlanNoContent) IsClientError ¶
func (o *ChangeSubscriptionPlanNoContent) IsClientError() bool
IsClientError returns true when this change subscription plan no content response has a 4xx status code
func (*ChangeSubscriptionPlanNoContent) IsCode ¶
func (o *ChangeSubscriptionPlanNoContent) IsCode(code int) bool
IsCode returns true when this change subscription plan no content response a status code equal to that given
func (*ChangeSubscriptionPlanNoContent) IsRedirect ¶
func (o *ChangeSubscriptionPlanNoContent) IsRedirect() bool
IsRedirect returns true when this change subscription plan no content response has a 3xx status code
func (*ChangeSubscriptionPlanNoContent) IsServerError ¶
func (o *ChangeSubscriptionPlanNoContent) IsServerError() bool
IsServerError returns true when this change subscription plan no content response has a 5xx status code
func (*ChangeSubscriptionPlanNoContent) IsSuccess ¶
func (o *ChangeSubscriptionPlanNoContent) IsSuccess() bool
IsSuccess returns true when this change subscription plan no content response has a 2xx status code
func (*ChangeSubscriptionPlanNoContent) String ¶
func (o *ChangeSubscriptionPlanNoContent) String() string
type ChangeSubscriptionPlanNotFound ¶
type ChangeSubscriptionPlanNotFound struct {
HttpResponse runtime.ClientResponse
}
ChangeSubscriptionPlanNotFound describes a response with status code 404, with default header values.
Entitlement not found
func NewChangeSubscriptionPlanNotFound ¶
func NewChangeSubscriptionPlanNotFound() *ChangeSubscriptionPlanNotFound
NewChangeSubscriptionPlanNotFound creates a ChangeSubscriptionPlanNotFound with default headers values
func (*ChangeSubscriptionPlanNotFound) Code ¶
func (o *ChangeSubscriptionPlanNotFound) Code() int
Code gets the status code for the change subscription plan not found response
func (*ChangeSubscriptionPlanNotFound) Error ¶
func (o *ChangeSubscriptionPlanNotFound) Error() string
func (*ChangeSubscriptionPlanNotFound) IsClientError ¶
func (o *ChangeSubscriptionPlanNotFound) IsClientError() bool
IsClientError returns true when this change subscription plan not found response has a 4xx status code
func (*ChangeSubscriptionPlanNotFound) IsCode ¶
func (o *ChangeSubscriptionPlanNotFound) IsCode(code int) bool
IsCode returns true when this change subscription plan not found response a status code equal to that given
func (*ChangeSubscriptionPlanNotFound) IsRedirect ¶
func (o *ChangeSubscriptionPlanNotFound) IsRedirect() bool
IsRedirect returns true when this change subscription plan not found response has a 3xx status code
func (*ChangeSubscriptionPlanNotFound) IsServerError ¶
func (o *ChangeSubscriptionPlanNotFound) IsServerError() bool
IsServerError returns true when this change subscription plan not found response has a 5xx status code
func (*ChangeSubscriptionPlanNotFound) IsSuccess ¶
func (o *ChangeSubscriptionPlanNotFound) IsSuccess() bool
IsSuccess returns true when this change subscription plan not found response has a 2xx status code
func (*ChangeSubscriptionPlanNotFound) String ¶
func (o *ChangeSubscriptionPlanNotFound) String() string
type ChangeSubscriptionPlanParams ¶
type ChangeSubscriptionPlanParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// BillingPolicy.
BillingPolicy *string
// Body.
Body *kbmodel.Subscription
// CallCompletion.
CallCompletion *bool
// CallTimeoutSec.
//
// Format: int64
// Default: 3
CallTimeoutSec *int64
// PluginProperty.
PluginProperty []string
// RequestedDate.
//
// Format: date
RequestedDate *strfmt.Date
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
ChangeSubscriptionPlanParams contains all the parameters to send to the API endpoint
for the change subscription plan operation. Typically these are written to a http.Request.
func NewChangeSubscriptionPlanParams ¶
func NewChangeSubscriptionPlanParams() *ChangeSubscriptionPlanParams
NewChangeSubscriptionPlanParams creates a new ChangeSubscriptionPlanParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewChangeSubscriptionPlanParamsWithContext ¶
func NewChangeSubscriptionPlanParamsWithContext(ctx context.Context) *ChangeSubscriptionPlanParams
NewChangeSubscriptionPlanParamsWithContext creates a new ChangeSubscriptionPlanParams object with the ability to set a context for a request.
func NewChangeSubscriptionPlanParamsWithHTTPClient ¶
func NewChangeSubscriptionPlanParamsWithHTTPClient(client *http.Client) *ChangeSubscriptionPlanParams
NewChangeSubscriptionPlanParamsWithHTTPClient creates a new ChangeSubscriptionPlanParams object with the ability to set a custom HTTPClient for a request.
func NewChangeSubscriptionPlanParamsWithTimeout ¶
func NewChangeSubscriptionPlanParamsWithTimeout(timeout time.Duration) *ChangeSubscriptionPlanParams
NewChangeSubscriptionPlanParamsWithTimeout creates a new ChangeSubscriptionPlanParams object with the ability to set a timeout on a request.
func (*ChangeSubscriptionPlanParams) SetBillingPolicy ¶
func (o *ChangeSubscriptionPlanParams) SetBillingPolicy(billingPolicy *string)
SetBillingPolicy adds the billingPolicy to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetBody ¶
func (o *ChangeSubscriptionPlanParams) SetBody(body *kbmodel.Subscription)
SetBody adds the body to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetCallCompletion ¶
func (o *ChangeSubscriptionPlanParams) SetCallCompletion(callCompletion *bool)
SetCallCompletion adds the callCompletion to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetCallTimeoutSec ¶
func (o *ChangeSubscriptionPlanParams) SetCallTimeoutSec(callTimeoutSec *int64)
SetCallTimeoutSec adds the callTimeoutSec to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetContext ¶
func (o *ChangeSubscriptionPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetDefaults ¶
func (o *ChangeSubscriptionPlanParams) SetDefaults()
SetDefaults hydrates default values in the change subscription plan params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeSubscriptionPlanParams) SetHTTPClient ¶
func (o *ChangeSubscriptionPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetPluginProperty ¶
func (o *ChangeSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetRequestedDate ¶
func (o *ChangeSubscriptionPlanParams) SetRequestedDate(requestedDate *strfmt.Date)
SetRequestedDate adds the requestedDate to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetSubscriptionID ¶
func (o *ChangeSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetTimeout ¶
func (o *ChangeSubscriptionPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetXKillbillComment ¶
func (o *ChangeSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetXKillbillCreatedBy ¶
func (o *ChangeSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the change subscription plan params
func (*ChangeSubscriptionPlanParams) SetXKillbillReason ¶
func (o *ChangeSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithBillingPolicy ¶
func (o *ChangeSubscriptionPlanParams) WithBillingPolicy(billingPolicy *string) *ChangeSubscriptionPlanParams
WithBillingPolicy adds the billingPolicy to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithBody ¶
func (o *ChangeSubscriptionPlanParams) WithBody(body *kbmodel.Subscription) *ChangeSubscriptionPlanParams
WithBody adds the body to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithCallCompletion ¶
func (o *ChangeSubscriptionPlanParams) WithCallCompletion(callCompletion *bool) *ChangeSubscriptionPlanParams
WithCallCompletion adds the callCompletion to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithCallTimeoutSec ¶
func (o *ChangeSubscriptionPlanParams) WithCallTimeoutSec(callTimeoutSec *int64) *ChangeSubscriptionPlanParams
WithCallTimeoutSec adds the callTimeoutSec to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithContext ¶
func (o *ChangeSubscriptionPlanParams) WithContext(ctx context.Context) *ChangeSubscriptionPlanParams
WithContext adds the context to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithDefaults ¶
func (o *ChangeSubscriptionPlanParams) WithDefaults() *ChangeSubscriptionPlanParams
WithDefaults hydrates default values in the change subscription plan params (not the query body).
All values with no default are reset to their zero value.
func (*ChangeSubscriptionPlanParams) WithHTTPClient ¶
func (o *ChangeSubscriptionPlanParams) WithHTTPClient(client *http.Client) *ChangeSubscriptionPlanParams
WithHTTPClient adds the HTTPClient to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithPluginProperty ¶
func (o *ChangeSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *ChangeSubscriptionPlanParams
WithPluginProperty adds the pluginProperty to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithRequestedDate ¶
func (o *ChangeSubscriptionPlanParams) WithRequestedDate(requestedDate *strfmt.Date) *ChangeSubscriptionPlanParams
WithRequestedDate adds the requestedDate to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithSubscriptionID ¶
func (o *ChangeSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *ChangeSubscriptionPlanParams
WithSubscriptionID adds the subscriptionID to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithTimeout ¶
func (o *ChangeSubscriptionPlanParams) WithTimeout(timeout time.Duration) *ChangeSubscriptionPlanParams
WithTimeout adds the timeout to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithXKillbillComment ¶
func (o *ChangeSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *ChangeSubscriptionPlanParams
WithXKillbillComment adds the xKillbillComment to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithXKillbillCreatedBy ¶
func (o *ChangeSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ChangeSubscriptionPlanParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WithXKillbillReason ¶
func (o *ChangeSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *ChangeSubscriptionPlanParams
WithXKillbillReason adds the xKillbillReason to the change subscription plan params
func (*ChangeSubscriptionPlanParams) WriteToRequest ¶
func (o *ChangeSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeSubscriptionPlanReader ¶
type ChangeSubscriptionPlanReader struct {
// contains filtered or unexported fields
}
ChangeSubscriptionPlanReader is a Reader for the ChangeSubscriptionPlan structure.
func (*ChangeSubscriptionPlanReader) ReadResponse ¶
func (o *ChangeSubscriptionPlanReader) 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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new subscription API client.
func (*Client) AddSubscriptionBlockingState ¶
func (a *Client) AddSubscriptionBlockingState(ctx context.Context, params *AddSubscriptionBlockingStateParams) (*AddSubscriptionBlockingStateCreated, error)
AddSubscriptionBlockingState blocks a subscription
func (*Client) CancelSubscriptionPlan ¶
func (a *Client) CancelSubscriptionPlan(ctx context.Context, params *CancelSubscriptionPlanParams) (*CancelSubscriptionPlanNoContent, error)
CancelSubscriptionPlan cancels an entitlement plan
func (*Client) ChangeSubscriptionPlan ¶
func (a *Client) ChangeSubscriptionPlan(ctx context.Context, params *ChangeSubscriptionPlanParams) (*ChangeSubscriptionPlanNoContent, error)
ChangeSubscriptionPlan changes entitlement plan
func (*Client) CreateSubscription ¶
func (a *Client) CreateSubscription(ctx context.Context, params *CreateSubscriptionParams) (*CreateSubscriptionCreated, error)
CreateSubscription creates an subscription
func (*Client) CreateSubscriptionCustomFields ¶
func (a *Client) CreateSubscriptionCustomFields(ctx context.Context, params *CreateSubscriptionCustomFieldsParams) (*CreateSubscriptionCustomFieldsCreated, error)
CreateSubscriptionCustomFields adds custom fields to subscription
func (*Client) CreateSubscriptionTags ¶
func (a *Client) CreateSubscriptionTags(ctx context.Context, params *CreateSubscriptionTagsParams) (*CreateSubscriptionTagsCreated, error)
CreateSubscriptionTags create subscription tags API
func (*Client) CreateSubscriptionWithAddOns ¶
func (a *Client) CreateSubscriptionWithAddOns(ctx context.Context, params *CreateSubscriptionWithAddOnsParams) (*CreateSubscriptionWithAddOnsCreated, error)
CreateSubscriptionWithAddOns creates an entitlement with add on products
func (*Client) CreateSubscriptionsWithAddOns ¶
func (a *Client) CreateSubscriptionsWithAddOns(ctx context.Context, params *CreateSubscriptionsWithAddOnsParams) (*CreateSubscriptionsWithAddOnsCreated, error)
CreateSubscriptionsWithAddOns creates multiple entitlements with add on products
func (*Client) DeleteSubscriptionCustomFields ¶
func (a *Client) DeleteSubscriptionCustomFields(ctx context.Context, params *DeleteSubscriptionCustomFieldsParams) (*DeleteSubscriptionCustomFieldsNoContent, error)
DeleteSubscriptionCustomFields removes custom fields from subscription
func (*Client) DeleteSubscriptionTags ¶
func (a *Client) DeleteSubscriptionTags(ctx context.Context, params *DeleteSubscriptionTagsParams) (*DeleteSubscriptionTagsNoContent, error)
DeleteSubscriptionTags removes tags from subscription
func (*Client) GetSubscription ¶
func (a *Client) GetSubscription(ctx context.Context, params *GetSubscriptionParams) (*GetSubscriptionOK, error)
GetSubscription retrieves a subscription by id
func (*Client) GetSubscriptionAuditLogsWithHistory ¶
func (a *Client) GetSubscriptionAuditLogsWithHistory(ctx context.Context, params *GetSubscriptionAuditLogsWithHistoryParams) (*GetSubscriptionAuditLogsWithHistoryOK, error)
GetSubscriptionAuditLogsWithHistory retrieves subscription audit logs with history by id
func (*Client) GetSubscriptionByKey ¶
func (a *Client) GetSubscriptionByKey(ctx context.Context, params *GetSubscriptionByKeyParams) (*GetSubscriptionByKeyOK, error)
GetSubscriptionByKey retrieves a subscription by external key
func (*Client) GetSubscriptionCustomFields ¶
func (a *Client) GetSubscriptionCustomFields(ctx context.Context, params *GetSubscriptionCustomFieldsParams) (*GetSubscriptionCustomFieldsOK, error)
GetSubscriptionCustomFields retrieves subscription custom fields
func (*Client) GetSubscriptionEventAuditLogsWithHistory ¶
func (a *Client) GetSubscriptionEventAuditLogsWithHistory(ctx context.Context, params *GetSubscriptionEventAuditLogsWithHistoryParams) (*GetSubscriptionEventAuditLogsWithHistoryOK, error)
GetSubscriptionEventAuditLogsWithHistory retrieves subscription event audit logs with history by id
func (*Client) GetSubscriptionTags ¶
func (a *Client) GetSubscriptionTags(ctx context.Context, params *GetSubscriptionTagsParams) (*GetSubscriptionTagsOK, error)
GetSubscriptionTags retrieves subscription tags
func (*Client) ModifySubscriptionCustomFields ¶
func (a *Client) ModifySubscriptionCustomFields(ctx context.Context, params *ModifySubscriptionCustomFieldsParams) (*ModifySubscriptionCustomFieldsNoContent, error)
ModifySubscriptionCustomFields modifies custom fields to subscription
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UncancelSubscriptionPlan ¶
func (a *Client) UncancelSubscriptionPlan(ctx context.Context, params *UncancelSubscriptionPlanParams) (*UncancelSubscriptionPlanNoContent, error)
UncancelSubscriptionPlan uns cancel an entitlement
func (*Client) UndoChangeSubscriptionPlan ¶
func (a *Client) UndoChangeSubscriptionPlan(ctx context.Context, params *UndoChangeSubscriptionPlanParams) (*UndoChangeSubscriptionPlanNoContent, error)
UndoChangeSubscriptionPlan undos a pending change plan on an entitlement
func (*Client) UpdateSubscriptionBCD ¶
func (a *Client) UpdateSubscriptionBCD(ctx context.Context, params *UpdateSubscriptionBCDParams) (*UpdateSubscriptionBCDNoContent, error)
UpdateSubscriptionBCD updates the b c d associated to a subscription
func (*Client) UpdateSubscriptionQuantity ¶
func (a *Client) UpdateSubscriptionQuantity(ctx context.Context, params *UpdateSubscriptionQuantityParams) (*UpdateSubscriptionQuantityNoContent, error)
UpdateSubscriptionQuantity updates the quantity associated to a subscription
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
AddSubscriptionBlockingState(ctx context.Context, params *AddSubscriptionBlockingStateParams) (*AddSubscriptionBlockingStateCreated, error)
CancelSubscriptionPlan(ctx context.Context, params *CancelSubscriptionPlanParams) (*CancelSubscriptionPlanNoContent, error)
ChangeSubscriptionPlan(ctx context.Context, params *ChangeSubscriptionPlanParams) (*ChangeSubscriptionPlanNoContent, error)
CreateSubscription(ctx context.Context, params *CreateSubscriptionParams) (*CreateSubscriptionCreated, error)
CreateSubscriptionCustomFields(ctx context.Context, params *CreateSubscriptionCustomFieldsParams) (*CreateSubscriptionCustomFieldsCreated, error)
CreateSubscriptionTags(ctx context.Context, params *CreateSubscriptionTagsParams) (*CreateSubscriptionTagsCreated, error)
CreateSubscriptionWithAddOns(ctx context.Context, params *CreateSubscriptionWithAddOnsParams) (*CreateSubscriptionWithAddOnsCreated, error)
CreateSubscriptionsWithAddOns(ctx context.Context, params *CreateSubscriptionsWithAddOnsParams) (*CreateSubscriptionsWithAddOnsCreated, error)
DeleteSubscriptionCustomFields(ctx context.Context, params *DeleteSubscriptionCustomFieldsParams) (*DeleteSubscriptionCustomFieldsNoContent, error)
DeleteSubscriptionTags(ctx context.Context, params *DeleteSubscriptionTagsParams) (*DeleteSubscriptionTagsNoContent, error)
GetSubscription(ctx context.Context, params *GetSubscriptionParams) (*GetSubscriptionOK, error)
GetSubscriptionAuditLogsWithHistory(ctx context.Context, params *GetSubscriptionAuditLogsWithHistoryParams) (*GetSubscriptionAuditLogsWithHistoryOK, error)
GetSubscriptionByKey(ctx context.Context, params *GetSubscriptionByKeyParams) (*GetSubscriptionByKeyOK, error)
GetSubscriptionCustomFields(ctx context.Context, params *GetSubscriptionCustomFieldsParams) (*GetSubscriptionCustomFieldsOK, error)
GetSubscriptionEventAuditLogsWithHistory(ctx context.Context, params *GetSubscriptionEventAuditLogsWithHistoryParams) (*GetSubscriptionEventAuditLogsWithHistoryOK, error)
GetSubscriptionTags(ctx context.Context, params *GetSubscriptionTagsParams) (*GetSubscriptionTagsOK, error)
ModifySubscriptionCustomFields(ctx context.Context, params *ModifySubscriptionCustomFieldsParams) (*ModifySubscriptionCustomFieldsNoContent, error)
UncancelSubscriptionPlan(ctx context.Context, params *UncancelSubscriptionPlanParams) (*UncancelSubscriptionPlanNoContent, error)
UndoChangeSubscriptionPlan(ctx context.Context, params *UndoChangeSubscriptionPlanParams) (*UndoChangeSubscriptionPlanNoContent, error)
UpdateSubscriptionBCD(ctx context.Context, params *UpdateSubscriptionBCDParams) (*UpdateSubscriptionBCDNoContent, error)
UpdateSubscriptionQuantity(ctx context.Context, params *UpdateSubscriptionQuantityParams) (*UpdateSubscriptionQuantityNoContent, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
type CreateSubscriptionCreated ¶
type CreateSubscriptionCreated struct {
Payload *kbmodel.Subscription
HttpResponse runtime.ClientResponse
}
CreateSubscriptionCreated describes a response with status code 201, with default header values.
Subscription created successfully
func NewCreateSubscriptionCreated ¶
func NewCreateSubscriptionCreated() *CreateSubscriptionCreated
NewCreateSubscriptionCreated creates a CreateSubscriptionCreated with default headers values
func (*CreateSubscriptionCreated) Code ¶
func (o *CreateSubscriptionCreated) Code() int
Code gets the status code for the create subscription created response
func (*CreateSubscriptionCreated) Error ¶
func (o *CreateSubscriptionCreated) Error() string
func (*CreateSubscriptionCreated) GetPayload ¶
func (o *CreateSubscriptionCreated) GetPayload() *kbmodel.Subscription
func (*CreateSubscriptionCreated) IsClientError ¶
func (o *CreateSubscriptionCreated) IsClientError() bool
IsClientError returns true when this create subscription created response has a 4xx status code
func (*CreateSubscriptionCreated) IsCode ¶
func (o *CreateSubscriptionCreated) IsCode(code int) bool
IsCode returns true when this create subscription created response a status code equal to that given
func (*CreateSubscriptionCreated) IsRedirect ¶
func (o *CreateSubscriptionCreated) IsRedirect() bool
IsRedirect returns true when this create subscription created response has a 3xx status code
func (*CreateSubscriptionCreated) IsServerError ¶
func (o *CreateSubscriptionCreated) IsServerError() bool
IsServerError returns true when this create subscription created response has a 5xx status code
func (*CreateSubscriptionCreated) IsSuccess ¶
func (o *CreateSubscriptionCreated) IsSuccess() bool
IsSuccess returns true when this create subscription created response has a 2xx status code
func (*CreateSubscriptionCreated) String ¶
func (o *CreateSubscriptionCreated) String() string
type CreateSubscriptionCustomFieldsBadRequest ¶
type CreateSubscriptionCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateSubscriptionCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewCreateSubscriptionCustomFieldsBadRequest ¶
func NewCreateSubscriptionCustomFieldsBadRequest() *CreateSubscriptionCustomFieldsBadRequest
NewCreateSubscriptionCustomFieldsBadRequest creates a CreateSubscriptionCustomFieldsBadRequest with default headers values
func (*CreateSubscriptionCustomFieldsBadRequest) Code ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) Code() int
Code gets the status code for the create subscription custom fields bad request response
func (*CreateSubscriptionCustomFieldsBadRequest) Error ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) Error() string
func (*CreateSubscriptionCustomFieldsBadRequest) IsClientError ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this create subscription custom fields bad request response has a 4xx status code
func (*CreateSubscriptionCustomFieldsBadRequest) IsCode ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this create subscription custom fields bad request response a status code equal to that given
func (*CreateSubscriptionCustomFieldsBadRequest) IsRedirect ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this create subscription custom fields bad request response has a 3xx status code
func (*CreateSubscriptionCustomFieldsBadRequest) IsServerError ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this create subscription custom fields bad request response has a 5xx status code
func (*CreateSubscriptionCustomFieldsBadRequest) IsSuccess ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this create subscription custom fields bad request response has a 2xx status code
func (*CreateSubscriptionCustomFieldsBadRequest) String ¶
func (o *CreateSubscriptionCustomFieldsBadRequest) String() string
type CreateSubscriptionCustomFieldsCreated ¶
type CreateSubscriptionCustomFieldsCreated struct {
HttpResponse runtime.ClientResponse
}
CreateSubscriptionCustomFieldsCreated describes a response with status code 201, with default header values.
Custom field created successfully
func NewCreateSubscriptionCustomFieldsCreated ¶
func NewCreateSubscriptionCustomFieldsCreated() *CreateSubscriptionCustomFieldsCreated
NewCreateSubscriptionCustomFieldsCreated creates a CreateSubscriptionCustomFieldsCreated with default headers values
func (*CreateSubscriptionCustomFieldsCreated) Code ¶
func (o *CreateSubscriptionCustomFieldsCreated) Code() int
Code gets the status code for the create subscription custom fields created response
func (*CreateSubscriptionCustomFieldsCreated) Error ¶
func (o *CreateSubscriptionCustomFieldsCreated) Error() string
func (*CreateSubscriptionCustomFieldsCreated) IsClientError ¶
func (o *CreateSubscriptionCustomFieldsCreated) IsClientError() bool
IsClientError returns true when this create subscription custom fields created response has a 4xx status code
func (*CreateSubscriptionCustomFieldsCreated) IsCode ¶
func (o *CreateSubscriptionCustomFieldsCreated) IsCode(code int) bool
IsCode returns true when this create subscription custom fields created response a status code equal to that given
func (*CreateSubscriptionCustomFieldsCreated) IsRedirect ¶
func (o *CreateSubscriptionCustomFieldsCreated) IsRedirect() bool
IsRedirect returns true when this create subscription custom fields created response has a 3xx status code
func (*CreateSubscriptionCustomFieldsCreated) IsServerError ¶
func (o *CreateSubscriptionCustomFieldsCreated) IsServerError() bool
IsServerError returns true when this create subscription custom fields created response has a 5xx status code
func (*CreateSubscriptionCustomFieldsCreated) IsSuccess ¶
func (o *CreateSubscriptionCustomFieldsCreated) IsSuccess() bool
IsSuccess returns true when this create subscription custom fields created response has a 2xx status code
func (*CreateSubscriptionCustomFieldsCreated) String ¶
func (o *CreateSubscriptionCustomFieldsCreated) String() string
type CreateSubscriptionCustomFieldsParams ¶
type CreateSubscriptionCustomFieldsParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// Body.
Body []*kbmodel.CustomField
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
CreateSubscriptionCustomFieldsParams contains all the parameters to send to the API endpoint
for the create subscription custom fields operation. Typically these are written to a http.Request.
func NewCreateSubscriptionCustomFieldsParams ¶
func NewCreateSubscriptionCustomFieldsParams() *CreateSubscriptionCustomFieldsParams
NewCreateSubscriptionCustomFieldsParams creates a new CreateSubscriptionCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSubscriptionCustomFieldsParamsWithContext ¶
func NewCreateSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *CreateSubscriptionCustomFieldsParams
NewCreateSubscriptionCustomFieldsParamsWithContext creates a new CreateSubscriptionCustomFieldsParams object with the ability to set a context for a request.
func NewCreateSubscriptionCustomFieldsParamsWithHTTPClient ¶
func NewCreateSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionCustomFieldsParams
NewCreateSubscriptionCustomFieldsParamsWithHTTPClient creates a new CreateSubscriptionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSubscriptionCustomFieldsParamsWithTimeout ¶
func NewCreateSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionCustomFieldsParams
NewCreateSubscriptionCustomFieldsParamsWithTimeout creates a new CreateSubscriptionCustomFieldsParams object with the ability to set a timeout on a request.
func (*CreateSubscriptionCustomFieldsParams) SetBody ¶
func (o *CreateSubscriptionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) SetContext ¶
func (o *CreateSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) SetDefaults ¶
func (o *CreateSubscriptionCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the create subscription custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionCustomFieldsParams) SetHTTPClient ¶
func (o *CreateSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) SetSubscriptionID ¶
func (o *CreateSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) SetTimeout ¶
func (o *CreateSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) SetXKillbillComment ¶
func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) SetXKillbillReason ¶
func (o *CreateSubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithBody ¶
func (o *CreateSubscriptionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateSubscriptionCustomFieldsParams
WithBody adds the body to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithContext ¶
func (o *CreateSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *CreateSubscriptionCustomFieldsParams
WithContext adds the context to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithDefaults ¶
func (o *CreateSubscriptionCustomFieldsParams) WithDefaults() *CreateSubscriptionCustomFieldsParams
WithDefaults hydrates default values in the create subscription custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionCustomFieldsParams) WithHTTPClient ¶
func (o *CreateSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithSubscriptionID ¶
func (o *CreateSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CreateSubscriptionCustomFieldsParams
WithSubscriptionID adds the subscriptionID to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithTimeout ¶
func (o *CreateSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionCustomFieldsParams
WithTimeout adds the timeout to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithXKillbillComment ¶
func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WithXKillbillReason ¶
func (o *CreateSubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the create subscription custom fields params
func (*CreateSubscriptionCustomFieldsParams) WriteToRequest ¶
func (o *CreateSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSubscriptionCustomFieldsReader ¶
type CreateSubscriptionCustomFieldsReader struct {
// contains filtered or unexported fields
}
CreateSubscriptionCustomFieldsReader is a Reader for the CreateSubscriptionCustomFields structure.
func (*CreateSubscriptionCustomFieldsReader) ReadResponse ¶
func (o *CreateSubscriptionCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSubscriptionParams ¶
type CreateSubscriptionParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// BillingDate.
//
// Format: date
BillingDate *strfmt.Date
// Body.
Body *kbmodel.Subscription
// CallCompletion.
CallCompletion *bool
// CallTimeoutSec.
//
// Format: int64
// Default: 3
CallTimeoutSec *int64
// EntitlementDate.
//
// Format: date
EntitlementDate *strfmt.Date
// Migrated.
Migrated *bool
// PluginProperty.
PluginProperty []string
// RenameKeyIfExistsAndUnused.
//
// Default: true
RenameKeyIfExistsAndUnused *bool
// SkipResponse.
SkipResponse *bool
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
CreateSubscriptionParams contains all the parameters to send to the API endpoint
for the create subscription operation. Typically these are written to a http.Request.
func NewCreateSubscriptionParams ¶
func NewCreateSubscriptionParams() *CreateSubscriptionParams
NewCreateSubscriptionParams creates a new CreateSubscriptionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSubscriptionParamsWithContext ¶
func NewCreateSubscriptionParamsWithContext(ctx context.Context) *CreateSubscriptionParams
NewCreateSubscriptionParamsWithContext creates a new CreateSubscriptionParams object with the ability to set a context for a request.
func NewCreateSubscriptionParamsWithHTTPClient ¶
func NewCreateSubscriptionParamsWithHTTPClient(client *http.Client) *CreateSubscriptionParams
NewCreateSubscriptionParamsWithHTTPClient creates a new CreateSubscriptionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSubscriptionParamsWithTimeout ¶
func NewCreateSubscriptionParamsWithTimeout(timeout time.Duration) *CreateSubscriptionParams
NewCreateSubscriptionParamsWithTimeout creates a new CreateSubscriptionParams object with the ability to set a timeout on a request.
func (*CreateSubscriptionParams) SetBillingDate ¶
func (o *CreateSubscriptionParams) SetBillingDate(billingDate *strfmt.Date)
SetBillingDate adds the billingDate to the create subscription params
func (*CreateSubscriptionParams) SetBody ¶
func (o *CreateSubscriptionParams) SetBody(body *kbmodel.Subscription)
SetBody adds the body to the create subscription params
func (*CreateSubscriptionParams) SetCallCompletion ¶
func (o *CreateSubscriptionParams) SetCallCompletion(callCompletion *bool)
SetCallCompletion adds the callCompletion to the create subscription params
func (*CreateSubscriptionParams) SetCallTimeoutSec ¶
func (o *CreateSubscriptionParams) SetCallTimeoutSec(callTimeoutSec *int64)
SetCallTimeoutSec adds the callTimeoutSec to the create subscription params
func (*CreateSubscriptionParams) SetContext ¶
func (o *CreateSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the create subscription params
func (*CreateSubscriptionParams) SetDefaults ¶
func (o *CreateSubscriptionParams) SetDefaults()
SetDefaults hydrates default values in the create subscription params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionParams) SetEntitlementDate ¶
func (o *CreateSubscriptionParams) SetEntitlementDate(entitlementDate *strfmt.Date)
SetEntitlementDate adds the entitlementDate to the create subscription params
func (*CreateSubscriptionParams) SetHTTPClient ¶
func (o *CreateSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create subscription params
func (*CreateSubscriptionParams) SetMigrated ¶
func (o *CreateSubscriptionParams) SetMigrated(migrated *bool)
SetMigrated adds the migrated to the create subscription params
func (*CreateSubscriptionParams) SetPluginProperty ¶
func (o *CreateSubscriptionParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the create subscription params
func (*CreateSubscriptionParams) SetRenameKeyIfExistsAndUnused ¶
func (o *CreateSubscriptionParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
SetRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscription params
func (*CreateSubscriptionParams) SetSkipResponse ¶
func (o *CreateSubscriptionParams) SetSkipResponse(skipResponse *bool)
SetSkipResponse adds the skipResponse to the create subscription params
func (*CreateSubscriptionParams) SetTimeout ¶
func (o *CreateSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create subscription params
func (*CreateSubscriptionParams) SetXKillbillComment ¶
func (o *CreateSubscriptionParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create subscription params
func (*CreateSubscriptionParams) SetXKillbillCreatedBy ¶
func (o *CreateSubscriptionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription params
func (*CreateSubscriptionParams) SetXKillbillReason ¶
func (o *CreateSubscriptionParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create subscription params
func (*CreateSubscriptionParams) WithBillingDate ¶
func (o *CreateSubscriptionParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionParams
WithBillingDate adds the billingDate to the create subscription params
func (*CreateSubscriptionParams) WithBody ¶
func (o *CreateSubscriptionParams) WithBody(body *kbmodel.Subscription) *CreateSubscriptionParams
WithBody adds the body to the create subscription params
func (*CreateSubscriptionParams) WithCallCompletion ¶
func (o *CreateSubscriptionParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionParams
WithCallCompletion adds the callCompletion to the create subscription params
func (*CreateSubscriptionParams) WithCallTimeoutSec ¶
func (o *CreateSubscriptionParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionParams
WithCallTimeoutSec adds the callTimeoutSec to the create subscription params
func (*CreateSubscriptionParams) WithContext ¶
func (o *CreateSubscriptionParams) WithContext(ctx context.Context) *CreateSubscriptionParams
WithContext adds the context to the create subscription params
func (*CreateSubscriptionParams) WithDefaults ¶
func (o *CreateSubscriptionParams) WithDefaults() *CreateSubscriptionParams
WithDefaults hydrates default values in the create subscription params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionParams) WithEntitlementDate ¶
func (o *CreateSubscriptionParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionParams
WithEntitlementDate adds the entitlementDate to the create subscription params
func (*CreateSubscriptionParams) WithHTTPClient ¶
func (o *CreateSubscriptionParams) WithHTTPClient(client *http.Client) *CreateSubscriptionParams
WithHTTPClient adds the HTTPClient to the create subscription params
func (*CreateSubscriptionParams) WithMigrated ¶
func (o *CreateSubscriptionParams) WithMigrated(migrated *bool) *CreateSubscriptionParams
WithMigrated adds the migrated to the create subscription params
func (*CreateSubscriptionParams) WithPluginProperty ¶
func (o *CreateSubscriptionParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionParams
WithPluginProperty adds the pluginProperty to the create subscription params
func (*CreateSubscriptionParams) WithRenameKeyIfExistsAndUnused ¶
func (o *CreateSubscriptionParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionParams
WithRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscription params
func (*CreateSubscriptionParams) WithSkipResponse ¶
func (o *CreateSubscriptionParams) WithSkipResponse(skipResponse *bool) *CreateSubscriptionParams
WithSkipResponse adds the skipResponse to the create subscription params
func (*CreateSubscriptionParams) WithTimeout ¶
func (o *CreateSubscriptionParams) WithTimeout(timeout time.Duration) *CreateSubscriptionParams
WithTimeout adds the timeout to the create subscription params
func (*CreateSubscriptionParams) WithXKillbillComment ¶
func (o *CreateSubscriptionParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionParams
WithXKillbillComment adds the xKillbillComment to the create subscription params
func (*CreateSubscriptionParams) WithXKillbillCreatedBy ¶
func (o *CreateSubscriptionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription params
func (*CreateSubscriptionParams) WithXKillbillReason ¶
func (o *CreateSubscriptionParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionParams
WithXKillbillReason adds the xKillbillReason to the create subscription params
func (*CreateSubscriptionParams) WriteToRequest ¶
func (o *CreateSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSubscriptionReader ¶
type CreateSubscriptionReader struct {
// contains filtered or unexported fields
}
CreateSubscriptionReader is a Reader for the CreateSubscription structure.
func (*CreateSubscriptionReader) ReadResponse ¶
func (o *CreateSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSubscriptionTagsBadRequest ¶
type CreateSubscriptionTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateSubscriptionTagsBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewCreateSubscriptionTagsBadRequest ¶
func NewCreateSubscriptionTagsBadRequest() *CreateSubscriptionTagsBadRequest
NewCreateSubscriptionTagsBadRequest creates a CreateSubscriptionTagsBadRequest with default headers values
func (*CreateSubscriptionTagsBadRequest) Code ¶
func (o *CreateSubscriptionTagsBadRequest) Code() int
Code gets the status code for the create subscription tags bad request response
func (*CreateSubscriptionTagsBadRequest) Error ¶
func (o *CreateSubscriptionTagsBadRequest) Error() string
func (*CreateSubscriptionTagsBadRequest) IsClientError ¶
func (o *CreateSubscriptionTagsBadRequest) IsClientError() bool
IsClientError returns true when this create subscription tags bad request response has a 4xx status code
func (*CreateSubscriptionTagsBadRequest) IsCode ¶
func (o *CreateSubscriptionTagsBadRequest) IsCode(code int) bool
IsCode returns true when this create subscription tags bad request response a status code equal to that given
func (*CreateSubscriptionTagsBadRequest) IsRedirect ¶
func (o *CreateSubscriptionTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this create subscription tags bad request response has a 3xx status code
func (*CreateSubscriptionTagsBadRequest) IsServerError ¶
func (o *CreateSubscriptionTagsBadRequest) IsServerError() bool
IsServerError returns true when this create subscription tags bad request response has a 5xx status code
func (*CreateSubscriptionTagsBadRequest) IsSuccess ¶
func (o *CreateSubscriptionTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this create subscription tags bad request response has a 2xx status code
func (*CreateSubscriptionTagsBadRequest) String ¶
func (o *CreateSubscriptionTagsBadRequest) String() string
type CreateSubscriptionTagsCreated ¶
type CreateSubscriptionTagsCreated struct {
HttpResponse runtime.ClientResponse
}
CreateSubscriptionTagsCreated describes a response with status code 201, with default header values.
Tag created successfully
func NewCreateSubscriptionTagsCreated ¶
func NewCreateSubscriptionTagsCreated() *CreateSubscriptionTagsCreated
NewCreateSubscriptionTagsCreated creates a CreateSubscriptionTagsCreated with default headers values
func (*CreateSubscriptionTagsCreated) Code ¶
func (o *CreateSubscriptionTagsCreated) Code() int
Code gets the status code for the create subscription tags created response
func (*CreateSubscriptionTagsCreated) Error ¶
func (o *CreateSubscriptionTagsCreated) Error() string
func (*CreateSubscriptionTagsCreated) IsClientError ¶
func (o *CreateSubscriptionTagsCreated) IsClientError() bool
IsClientError returns true when this create subscription tags created response has a 4xx status code
func (*CreateSubscriptionTagsCreated) IsCode ¶
func (o *CreateSubscriptionTagsCreated) IsCode(code int) bool
IsCode returns true when this create subscription tags created response a status code equal to that given
func (*CreateSubscriptionTagsCreated) IsRedirect ¶
func (o *CreateSubscriptionTagsCreated) IsRedirect() bool
IsRedirect returns true when this create subscription tags created response has a 3xx status code
func (*CreateSubscriptionTagsCreated) IsServerError ¶
func (o *CreateSubscriptionTagsCreated) IsServerError() bool
IsServerError returns true when this create subscription tags created response has a 5xx status code
func (*CreateSubscriptionTagsCreated) IsSuccess ¶
func (o *CreateSubscriptionTagsCreated) IsSuccess() bool
IsSuccess returns true when this create subscription tags created response has a 2xx status code
func (*CreateSubscriptionTagsCreated) String ¶
func (o *CreateSubscriptionTagsCreated) String() string
type CreateSubscriptionTagsParams ¶
type CreateSubscriptionTagsParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// Body.
Body []strfmt.UUID
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
CreateSubscriptionTagsParams contains all the parameters to send to the API endpoint
for the create subscription tags operation. Typically these are written to a http.Request.
func NewCreateSubscriptionTagsParams ¶
func NewCreateSubscriptionTagsParams() *CreateSubscriptionTagsParams
NewCreateSubscriptionTagsParams creates a new CreateSubscriptionTagsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSubscriptionTagsParamsWithContext ¶
func NewCreateSubscriptionTagsParamsWithContext(ctx context.Context) *CreateSubscriptionTagsParams
NewCreateSubscriptionTagsParamsWithContext creates a new CreateSubscriptionTagsParams object with the ability to set a context for a request.
func NewCreateSubscriptionTagsParamsWithHTTPClient ¶
func NewCreateSubscriptionTagsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionTagsParams
NewCreateSubscriptionTagsParamsWithHTTPClient creates a new CreateSubscriptionTagsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSubscriptionTagsParamsWithTimeout ¶
func NewCreateSubscriptionTagsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionTagsParams
NewCreateSubscriptionTagsParamsWithTimeout creates a new CreateSubscriptionTagsParams object with the ability to set a timeout on a request.
func (*CreateSubscriptionTagsParams) SetBody ¶
func (o *CreateSubscriptionTagsParams) SetBody(body []strfmt.UUID)
SetBody adds the body to the create subscription tags params
func (*CreateSubscriptionTagsParams) SetContext ¶
func (o *CreateSubscriptionTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the create subscription tags params
func (*CreateSubscriptionTagsParams) SetDefaults ¶
func (o *CreateSubscriptionTagsParams) SetDefaults()
SetDefaults hydrates default values in the create subscription tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionTagsParams) SetHTTPClient ¶
func (o *CreateSubscriptionTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create subscription tags params
func (*CreateSubscriptionTagsParams) SetSubscriptionID ¶
func (o *CreateSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the create subscription tags params
func (*CreateSubscriptionTagsParams) SetTimeout ¶
func (o *CreateSubscriptionTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create subscription tags params
func (*CreateSubscriptionTagsParams) SetXKillbillComment ¶
func (o *CreateSubscriptionTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create subscription tags params
func (*CreateSubscriptionTagsParams) SetXKillbillCreatedBy ¶
func (o *CreateSubscriptionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription tags params
func (*CreateSubscriptionTagsParams) SetXKillbillReason ¶
func (o *CreateSubscriptionTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithBody ¶
func (o *CreateSubscriptionTagsParams) WithBody(body []strfmt.UUID) *CreateSubscriptionTagsParams
WithBody adds the body to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithContext ¶
func (o *CreateSubscriptionTagsParams) WithContext(ctx context.Context) *CreateSubscriptionTagsParams
WithContext adds the context to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithDefaults ¶
func (o *CreateSubscriptionTagsParams) WithDefaults() *CreateSubscriptionTagsParams
WithDefaults hydrates default values in the create subscription tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionTagsParams) WithHTTPClient ¶
func (o *CreateSubscriptionTagsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionTagsParams
WithHTTPClient adds the HTTPClient to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithSubscriptionID ¶
func (o *CreateSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *CreateSubscriptionTagsParams
WithSubscriptionID adds the subscriptionID to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithTimeout ¶
func (o *CreateSubscriptionTagsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionTagsParams
WithTimeout adds the timeout to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithXKillbillComment ¶
func (o *CreateSubscriptionTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionTagsParams
WithXKillbillComment adds the xKillbillComment to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithXKillbillCreatedBy ¶
func (o *CreateSubscriptionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionTagsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription tags params
func (*CreateSubscriptionTagsParams) WithXKillbillReason ¶
func (o *CreateSubscriptionTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionTagsParams
WithXKillbillReason adds the xKillbillReason to the create subscription tags params
func (*CreateSubscriptionTagsParams) WriteToRequest ¶
func (o *CreateSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSubscriptionTagsReader ¶
type CreateSubscriptionTagsReader struct {
// contains filtered or unexported fields
}
CreateSubscriptionTagsReader is a Reader for the CreateSubscriptionTags structure.
func (*CreateSubscriptionTagsReader) ReadResponse ¶
func (o *CreateSubscriptionTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSubscriptionWithAddOnsCreated ¶
type CreateSubscriptionWithAddOnsCreated struct {
Payload *kbmodel.Bundle
HttpResponse runtime.ClientResponse
}
CreateSubscriptionWithAddOnsCreated describes a response with status code 201, with default header values.
Subscriptions created successfully
func NewCreateSubscriptionWithAddOnsCreated ¶
func NewCreateSubscriptionWithAddOnsCreated() *CreateSubscriptionWithAddOnsCreated
NewCreateSubscriptionWithAddOnsCreated creates a CreateSubscriptionWithAddOnsCreated with default headers values
func (*CreateSubscriptionWithAddOnsCreated) Code ¶
func (o *CreateSubscriptionWithAddOnsCreated) Code() int
Code gets the status code for the create subscription with add ons created response
func (*CreateSubscriptionWithAddOnsCreated) Error ¶
func (o *CreateSubscriptionWithAddOnsCreated) Error() string
func (*CreateSubscriptionWithAddOnsCreated) GetPayload ¶
func (o *CreateSubscriptionWithAddOnsCreated) GetPayload() *kbmodel.Bundle
func (*CreateSubscriptionWithAddOnsCreated) IsClientError ¶
func (o *CreateSubscriptionWithAddOnsCreated) IsClientError() bool
IsClientError returns true when this create subscription with add ons created response has a 4xx status code
func (*CreateSubscriptionWithAddOnsCreated) IsCode ¶
func (o *CreateSubscriptionWithAddOnsCreated) IsCode(code int) bool
IsCode returns true when this create subscription with add ons created response a status code equal to that given
func (*CreateSubscriptionWithAddOnsCreated) IsRedirect ¶
func (o *CreateSubscriptionWithAddOnsCreated) IsRedirect() bool
IsRedirect returns true when this create subscription with add ons created response has a 3xx status code
func (*CreateSubscriptionWithAddOnsCreated) IsServerError ¶
func (o *CreateSubscriptionWithAddOnsCreated) IsServerError() bool
IsServerError returns true when this create subscription with add ons created response has a 5xx status code
func (*CreateSubscriptionWithAddOnsCreated) IsSuccess ¶
func (o *CreateSubscriptionWithAddOnsCreated) IsSuccess() bool
IsSuccess returns true when this create subscription with add ons created response has a 2xx status code
func (*CreateSubscriptionWithAddOnsCreated) String ¶
func (o *CreateSubscriptionWithAddOnsCreated) String() string
type CreateSubscriptionWithAddOnsParams ¶
type CreateSubscriptionWithAddOnsParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// BillingDate.
//
// Format: date
BillingDate *strfmt.Date
// Body.
Body []*kbmodel.Subscription
// CallCompletion.
CallCompletion *bool
// CallTimeoutSec.
//
// Format: int64
// Default: 3
CallTimeoutSec *int64
// EntitlementDate.
//
// Format: date
EntitlementDate *strfmt.Date
// Migrated.
Migrated *bool
// PluginProperty.
PluginProperty []string
// RenameKeyIfExistsAndUnused.
//
// Default: true
RenameKeyIfExistsAndUnused *bool
// SkipResponse.
SkipResponse *bool
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
CreateSubscriptionWithAddOnsParams contains all the parameters to send to the API endpoint
for the create subscription with add ons operation. Typically these are written to a http.Request.
func NewCreateSubscriptionWithAddOnsParams ¶
func NewCreateSubscriptionWithAddOnsParams() *CreateSubscriptionWithAddOnsParams
NewCreateSubscriptionWithAddOnsParams creates a new CreateSubscriptionWithAddOnsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSubscriptionWithAddOnsParamsWithContext ¶
func NewCreateSubscriptionWithAddOnsParamsWithContext(ctx context.Context) *CreateSubscriptionWithAddOnsParams
NewCreateSubscriptionWithAddOnsParamsWithContext creates a new CreateSubscriptionWithAddOnsParams object with the ability to set a context for a request.
func NewCreateSubscriptionWithAddOnsParamsWithHTTPClient ¶
func NewCreateSubscriptionWithAddOnsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionWithAddOnsParams
NewCreateSubscriptionWithAddOnsParamsWithHTTPClient creates a new CreateSubscriptionWithAddOnsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSubscriptionWithAddOnsParamsWithTimeout ¶
func NewCreateSubscriptionWithAddOnsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionWithAddOnsParams
NewCreateSubscriptionWithAddOnsParamsWithTimeout creates a new CreateSubscriptionWithAddOnsParams object with the ability to set a timeout on a request.
func (*CreateSubscriptionWithAddOnsParams) SetBillingDate ¶
func (o *CreateSubscriptionWithAddOnsParams) SetBillingDate(billingDate *strfmt.Date)
SetBillingDate adds the billingDate to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetBody ¶
func (o *CreateSubscriptionWithAddOnsParams) SetBody(body []*kbmodel.Subscription)
SetBody adds the body to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetCallCompletion ¶
func (o *CreateSubscriptionWithAddOnsParams) SetCallCompletion(callCompletion *bool)
SetCallCompletion adds the callCompletion to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetCallTimeoutSec ¶
func (o *CreateSubscriptionWithAddOnsParams) SetCallTimeoutSec(callTimeoutSec *int64)
SetCallTimeoutSec adds the callTimeoutSec to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetContext ¶
func (o *CreateSubscriptionWithAddOnsParams) SetContext(ctx context.Context)
SetContext adds the context to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetDefaults ¶
func (o *CreateSubscriptionWithAddOnsParams) SetDefaults()
SetDefaults hydrates default values in the create subscription with add ons params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionWithAddOnsParams) SetEntitlementDate ¶
func (o *CreateSubscriptionWithAddOnsParams) SetEntitlementDate(entitlementDate *strfmt.Date)
SetEntitlementDate adds the entitlementDate to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetHTTPClient ¶
func (o *CreateSubscriptionWithAddOnsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetMigrated ¶
func (o *CreateSubscriptionWithAddOnsParams) SetMigrated(migrated *bool)
SetMigrated adds the migrated to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetPluginProperty ¶
func (o *CreateSubscriptionWithAddOnsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetRenameKeyIfExistsAndUnused ¶
func (o *CreateSubscriptionWithAddOnsParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
SetRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetSkipResponse ¶
func (o *CreateSubscriptionWithAddOnsParams) SetSkipResponse(skipResponse *bool)
SetSkipResponse adds the skipResponse to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetTimeout ¶
func (o *CreateSubscriptionWithAddOnsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetXKillbillComment ¶
func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetXKillbillCreatedBy ¶
func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) SetXKillbillReason ¶
func (o *CreateSubscriptionWithAddOnsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithBillingDate ¶
func (o *CreateSubscriptionWithAddOnsParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionWithAddOnsParams
WithBillingDate adds the billingDate to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithBody ¶
func (o *CreateSubscriptionWithAddOnsParams) WithBody(body []*kbmodel.Subscription) *CreateSubscriptionWithAddOnsParams
WithBody adds the body to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithCallCompletion ¶
func (o *CreateSubscriptionWithAddOnsParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionWithAddOnsParams
WithCallCompletion adds the callCompletion to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithCallTimeoutSec ¶
func (o *CreateSubscriptionWithAddOnsParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionWithAddOnsParams
WithCallTimeoutSec adds the callTimeoutSec to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithContext ¶
func (o *CreateSubscriptionWithAddOnsParams) WithContext(ctx context.Context) *CreateSubscriptionWithAddOnsParams
WithContext adds the context to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithDefaults ¶
func (o *CreateSubscriptionWithAddOnsParams) WithDefaults() *CreateSubscriptionWithAddOnsParams
WithDefaults hydrates default values in the create subscription with add ons params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionWithAddOnsParams) WithEntitlementDate ¶
func (o *CreateSubscriptionWithAddOnsParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionWithAddOnsParams
WithEntitlementDate adds the entitlementDate to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithHTTPClient ¶
func (o *CreateSubscriptionWithAddOnsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionWithAddOnsParams
WithHTTPClient adds the HTTPClient to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithMigrated ¶
func (o *CreateSubscriptionWithAddOnsParams) WithMigrated(migrated *bool) *CreateSubscriptionWithAddOnsParams
WithMigrated adds the migrated to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithPluginProperty ¶
func (o *CreateSubscriptionWithAddOnsParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionWithAddOnsParams
WithPluginProperty adds the pluginProperty to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithRenameKeyIfExistsAndUnused ¶
func (o *CreateSubscriptionWithAddOnsParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionWithAddOnsParams
WithRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithSkipResponse ¶
func (o *CreateSubscriptionWithAddOnsParams) WithSkipResponse(skipResponse *bool) *CreateSubscriptionWithAddOnsParams
WithSkipResponse adds the skipResponse to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithTimeout ¶
func (o *CreateSubscriptionWithAddOnsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionWithAddOnsParams
WithTimeout adds the timeout to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithXKillbillComment ¶
func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionWithAddOnsParams
WithXKillbillComment adds the xKillbillComment to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithXKillbillCreatedBy ¶
func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionWithAddOnsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WithXKillbillReason ¶
func (o *CreateSubscriptionWithAddOnsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionWithAddOnsParams
WithXKillbillReason adds the xKillbillReason to the create subscription with add ons params
func (*CreateSubscriptionWithAddOnsParams) WriteToRequest ¶
func (o *CreateSubscriptionWithAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSubscriptionWithAddOnsReader ¶
type CreateSubscriptionWithAddOnsReader struct {
// contains filtered or unexported fields
}
CreateSubscriptionWithAddOnsReader is a Reader for the CreateSubscriptionWithAddOns structure.
func (*CreateSubscriptionWithAddOnsReader) ReadResponse ¶
func (o *CreateSubscriptionWithAddOnsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSubscriptionsWithAddOnsCreated ¶
type CreateSubscriptionsWithAddOnsCreated struct {
Payload []*kbmodel.Bundle
HttpResponse runtime.ClientResponse
}
CreateSubscriptionsWithAddOnsCreated describes a response with status code 201, with default header values.
Subscriptions created successfully
func NewCreateSubscriptionsWithAddOnsCreated ¶
func NewCreateSubscriptionsWithAddOnsCreated() *CreateSubscriptionsWithAddOnsCreated
NewCreateSubscriptionsWithAddOnsCreated creates a CreateSubscriptionsWithAddOnsCreated with default headers values
func (*CreateSubscriptionsWithAddOnsCreated) Code ¶
func (o *CreateSubscriptionsWithAddOnsCreated) Code() int
Code gets the status code for the create subscriptions with add ons created response
func (*CreateSubscriptionsWithAddOnsCreated) Error ¶
func (o *CreateSubscriptionsWithAddOnsCreated) Error() string
func (*CreateSubscriptionsWithAddOnsCreated) GetPayload ¶
func (o *CreateSubscriptionsWithAddOnsCreated) GetPayload() []*kbmodel.Bundle
func (*CreateSubscriptionsWithAddOnsCreated) IsClientError ¶
func (o *CreateSubscriptionsWithAddOnsCreated) IsClientError() bool
IsClientError returns true when this create subscriptions with add ons created response has a 4xx status code
func (*CreateSubscriptionsWithAddOnsCreated) IsCode ¶
func (o *CreateSubscriptionsWithAddOnsCreated) IsCode(code int) bool
IsCode returns true when this create subscriptions with add ons created response a status code equal to that given
func (*CreateSubscriptionsWithAddOnsCreated) IsRedirect ¶
func (o *CreateSubscriptionsWithAddOnsCreated) IsRedirect() bool
IsRedirect returns true when this create subscriptions with add ons created response has a 3xx status code
func (*CreateSubscriptionsWithAddOnsCreated) IsServerError ¶
func (o *CreateSubscriptionsWithAddOnsCreated) IsServerError() bool
IsServerError returns true when this create subscriptions with add ons created response has a 5xx status code
func (*CreateSubscriptionsWithAddOnsCreated) IsSuccess ¶
func (o *CreateSubscriptionsWithAddOnsCreated) IsSuccess() bool
IsSuccess returns true when this create subscriptions with add ons created response has a 2xx status code
func (*CreateSubscriptionsWithAddOnsCreated) String ¶
func (o *CreateSubscriptionsWithAddOnsCreated) String() string
type CreateSubscriptionsWithAddOnsParams ¶
type CreateSubscriptionsWithAddOnsParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// BillingDate.
//
// Format: date
BillingDate *strfmt.Date
// Body.
Body []*kbmodel.BulkSubscriptionsBundle
// CallCompletion.
CallCompletion *bool
// CallTimeoutSec.
//
// Format: int64
// Default: 3
CallTimeoutSec *int64
// EntitlementDate.
//
// Format: date
EntitlementDate *strfmt.Date
// Migrated.
Migrated *bool
// PluginProperty.
PluginProperty []string
// RenameKeyIfExistsAndUnused.
//
// Default: true
RenameKeyIfExistsAndUnused *bool
// SkipResponse.
SkipResponse *bool
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
CreateSubscriptionsWithAddOnsParams contains all the parameters to send to the API endpoint
for the create subscriptions with add ons operation. Typically these are written to a http.Request.
func NewCreateSubscriptionsWithAddOnsParams ¶
func NewCreateSubscriptionsWithAddOnsParams() *CreateSubscriptionsWithAddOnsParams
NewCreateSubscriptionsWithAddOnsParams creates a new CreateSubscriptionsWithAddOnsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSubscriptionsWithAddOnsParamsWithContext ¶
func NewCreateSubscriptionsWithAddOnsParamsWithContext(ctx context.Context) *CreateSubscriptionsWithAddOnsParams
NewCreateSubscriptionsWithAddOnsParamsWithContext creates a new CreateSubscriptionsWithAddOnsParams object with the ability to set a context for a request.
func NewCreateSubscriptionsWithAddOnsParamsWithHTTPClient ¶
func NewCreateSubscriptionsWithAddOnsParamsWithHTTPClient(client *http.Client) *CreateSubscriptionsWithAddOnsParams
NewCreateSubscriptionsWithAddOnsParamsWithHTTPClient creates a new CreateSubscriptionsWithAddOnsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSubscriptionsWithAddOnsParamsWithTimeout ¶
func NewCreateSubscriptionsWithAddOnsParamsWithTimeout(timeout time.Duration) *CreateSubscriptionsWithAddOnsParams
NewCreateSubscriptionsWithAddOnsParamsWithTimeout creates a new CreateSubscriptionsWithAddOnsParams object with the ability to set a timeout on a request.
func (*CreateSubscriptionsWithAddOnsParams) SetBillingDate ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetBillingDate(billingDate *strfmt.Date)
SetBillingDate adds the billingDate to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetBody ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetBody(body []*kbmodel.BulkSubscriptionsBundle)
SetBody adds the body to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetCallCompletion ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetCallCompletion(callCompletion *bool)
SetCallCompletion adds the callCompletion to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetCallTimeoutSec ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetCallTimeoutSec(callTimeoutSec *int64)
SetCallTimeoutSec adds the callTimeoutSec to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetContext ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetContext(ctx context.Context)
SetContext adds the context to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetDefaults ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetDefaults()
SetDefaults hydrates default values in the create subscriptions with add ons params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionsWithAddOnsParams) SetEntitlementDate ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetEntitlementDate(entitlementDate *strfmt.Date)
SetEntitlementDate adds the entitlementDate to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetHTTPClient ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetMigrated ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetMigrated(migrated *bool)
SetMigrated adds the migrated to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetPluginProperty ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetRenameKeyIfExistsAndUnused ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool)
SetRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetSkipResponse ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetSkipResponse(skipResponse *bool)
SetSkipResponse adds the skipResponse to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetTimeout ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetXKillbillComment ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetXKillbillCreatedBy ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) SetXKillbillReason ¶
func (o *CreateSubscriptionsWithAddOnsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithBillingDate ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithBillingDate(billingDate *strfmt.Date) *CreateSubscriptionsWithAddOnsParams
WithBillingDate adds the billingDate to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithBody ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithBody(body []*kbmodel.BulkSubscriptionsBundle) *CreateSubscriptionsWithAddOnsParams
WithBody adds the body to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithCallCompletion ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithCallCompletion(callCompletion *bool) *CreateSubscriptionsWithAddOnsParams
WithCallCompletion adds the callCompletion to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithCallTimeoutSec ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithCallTimeoutSec(callTimeoutSec *int64) *CreateSubscriptionsWithAddOnsParams
WithCallTimeoutSec adds the callTimeoutSec to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithContext ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithContext(ctx context.Context) *CreateSubscriptionsWithAddOnsParams
WithContext adds the context to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithDefaults ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithDefaults() *CreateSubscriptionsWithAddOnsParams
WithDefaults hydrates default values in the create subscriptions with add ons params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSubscriptionsWithAddOnsParams) WithEntitlementDate ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithEntitlementDate(entitlementDate *strfmt.Date) *CreateSubscriptionsWithAddOnsParams
WithEntitlementDate adds the entitlementDate to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithHTTPClient ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithHTTPClient(client *http.Client) *CreateSubscriptionsWithAddOnsParams
WithHTTPClient adds the HTTPClient to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithMigrated ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithMigrated(migrated *bool) *CreateSubscriptionsWithAddOnsParams
WithMigrated adds the migrated to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithPluginProperty ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithPluginProperty(pluginProperty []string) *CreateSubscriptionsWithAddOnsParams
WithPluginProperty adds the pluginProperty to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithRenameKeyIfExistsAndUnused ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithRenameKeyIfExistsAndUnused(renameKeyIfExistsAndUnused *bool) *CreateSubscriptionsWithAddOnsParams
WithRenameKeyIfExistsAndUnused adds the renameKeyIfExistsAndUnused to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithSkipResponse ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithSkipResponse(skipResponse *bool) *CreateSubscriptionsWithAddOnsParams
WithSkipResponse adds the skipResponse to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithTimeout ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithTimeout(timeout time.Duration) *CreateSubscriptionsWithAddOnsParams
WithTimeout adds the timeout to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithXKillbillComment ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillComment(xKillbillComment *string) *CreateSubscriptionsWithAddOnsParams
WithXKillbillComment adds the xKillbillComment to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithXKillbillCreatedBy ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateSubscriptionsWithAddOnsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WithXKillbillReason ¶
func (o *CreateSubscriptionsWithAddOnsParams) WithXKillbillReason(xKillbillReason *string) *CreateSubscriptionsWithAddOnsParams
WithXKillbillReason adds the xKillbillReason to the create subscriptions with add ons params
func (*CreateSubscriptionsWithAddOnsParams) WriteToRequest ¶
func (o *CreateSubscriptionsWithAddOnsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSubscriptionsWithAddOnsReader ¶
type CreateSubscriptionsWithAddOnsReader struct {
// contains filtered or unexported fields
}
CreateSubscriptionsWithAddOnsReader is a Reader for the CreateSubscriptionsWithAddOns structure.
func (*CreateSubscriptionsWithAddOnsReader) ReadResponse ¶
func (o *CreateSubscriptionsWithAddOnsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSubscriptionCustomFieldsBadRequest ¶
type DeleteSubscriptionCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteSubscriptionCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewDeleteSubscriptionCustomFieldsBadRequest ¶
func NewDeleteSubscriptionCustomFieldsBadRequest() *DeleteSubscriptionCustomFieldsBadRequest
NewDeleteSubscriptionCustomFieldsBadRequest creates a DeleteSubscriptionCustomFieldsBadRequest with default headers values
func (*DeleteSubscriptionCustomFieldsBadRequest) Code ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) Code() int
Code gets the status code for the delete subscription custom fields bad request response
func (*DeleteSubscriptionCustomFieldsBadRequest) Error ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) Error() string
func (*DeleteSubscriptionCustomFieldsBadRequest) IsClientError ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this delete subscription custom fields bad request response has a 4xx status code
func (*DeleteSubscriptionCustomFieldsBadRequest) IsCode ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this delete subscription custom fields bad request response a status code equal to that given
func (*DeleteSubscriptionCustomFieldsBadRequest) IsRedirect ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete subscription custom fields bad request response has a 3xx status code
func (*DeleteSubscriptionCustomFieldsBadRequest) IsServerError ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this delete subscription custom fields bad request response has a 5xx status code
func (*DeleteSubscriptionCustomFieldsBadRequest) IsSuccess ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete subscription custom fields bad request response has a 2xx status code
func (*DeleteSubscriptionCustomFieldsBadRequest) String ¶
func (o *DeleteSubscriptionCustomFieldsBadRequest) String() string
type DeleteSubscriptionCustomFieldsNoContent ¶
type DeleteSubscriptionCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteSubscriptionCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteSubscriptionCustomFieldsNoContent ¶
func NewDeleteSubscriptionCustomFieldsNoContent() *DeleteSubscriptionCustomFieldsNoContent
NewDeleteSubscriptionCustomFieldsNoContent creates a DeleteSubscriptionCustomFieldsNoContent with default headers values
func (*DeleteSubscriptionCustomFieldsNoContent) Code ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) Code() int
Code gets the status code for the delete subscription custom fields no content response
func (*DeleteSubscriptionCustomFieldsNoContent) Error ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) Error() string
func (*DeleteSubscriptionCustomFieldsNoContent) IsClientError ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this delete subscription custom fields no content response has a 4xx status code
func (*DeleteSubscriptionCustomFieldsNoContent) IsCode ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this delete subscription custom fields no content response a status code equal to that given
func (*DeleteSubscriptionCustomFieldsNoContent) IsRedirect ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this delete subscription custom fields no content response has a 3xx status code
func (*DeleteSubscriptionCustomFieldsNoContent) IsServerError ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this delete subscription custom fields no content response has a 5xx status code
func (*DeleteSubscriptionCustomFieldsNoContent) IsSuccess ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this delete subscription custom fields no content response has a 2xx status code
func (*DeleteSubscriptionCustomFieldsNoContent) String ¶
func (o *DeleteSubscriptionCustomFieldsNoContent) String() string
type DeleteSubscriptionCustomFieldsParams ¶
type DeleteSubscriptionCustomFieldsParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// CustomField.
CustomField []strfmt.UUID
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
DeleteSubscriptionCustomFieldsParams contains all the parameters to send to the API endpoint
for the delete subscription custom fields operation. Typically these are written to a http.Request.
func NewDeleteSubscriptionCustomFieldsParams ¶
func NewDeleteSubscriptionCustomFieldsParams() *DeleteSubscriptionCustomFieldsParams
NewDeleteSubscriptionCustomFieldsParams creates a new DeleteSubscriptionCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSubscriptionCustomFieldsParamsWithContext ¶
func NewDeleteSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *DeleteSubscriptionCustomFieldsParams
NewDeleteSubscriptionCustomFieldsParamsWithContext creates a new DeleteSubscriptionCustomFieldsParams object with the ability to set a context for a request.
func NewDeleteSubscriptionCustomFieldsParamsWithHTTPClient ¶
func NewDeleteSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionCustomFieldsParams
NewDeleteSubscriptionCustomFieldsParamsWithHTTPClient creates a new DeleteSubscriptionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSubscriptionCustomFieldsParamsWithTimeout ¶
func NewDeleteSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionCustomFieldsParams
NewDeleteSubscriptionCustomFieldsParamsWithTimeout creates a new DeleteSubscriptionCustomFieldsParams object with the ability to set a timeout on a request.
func (*DeleteSubscriptionCustomFieldsParams) SetContext ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) SetCustomField ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
SetCustomField adds the customField to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) SetDefaults ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the delete subscription custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSubscriptionCustomFieldsParams) SetHTTPClient ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) SetSubscriptionID ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) SetTimeout ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) SetXKillbillComment ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) SetXKillbillReason ¶
func (o *DeleteSubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithContext ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *DeleteSubscriptionCustomFieldsParams
WithContext adds the context to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithCustomField ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteSubscriptionCustomFieldsParams
WithCustomField adds the customField to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithDefaults ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithDefaults() *DeleteSubscriptionCustomFieldsParams
WithDefaults hydrates default values in the delete subscription custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSubscriptionCustomFieldsParams) WithHTTPClient ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithSubscriptionID ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *DeleteSubscriptionCustomFieldsParams
WithSubscriptionID adds the subscriptionID to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithTimeout ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionCustomFieldsParams
WithTimeout adds the timeout to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithXKillbillComment ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteSubscriptionCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteSubscriptionCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WithXKillbillReason ¶
func (o *DeleteSubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteSubscriptionCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the delete subscription custom fields params
func (*DeleteSubscriptionCustomFieldsParams) WriteToRequest ¶
func (o *DeleteSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSubscriptionCustomFieldsReader ¶
type DeleteSubscriptionCustomFieldsReader struct {
// contains filtered or unexported fields
}
DeleteSubscriptionCustomFieldsReader is a Reader for the DeleteSubscriptionCustomFields structure.
func (*DeleteSubscriptionCustomFieldsReader) ReadResponse ¶
func (o *DeleteSubscriptionCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSubscriptionTagsBadRequest ¶
type DeleteSubscriptionTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteSubscriptionTagsBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewDeleteSubscriptionTagsBadRequest ¶
func NewDeleteSubscriptionTagsBadRequest() *DeleteSubscriptionTagsBadRequest
NewDeleteSubscriptionTagsBadRequest creates a DeleteSubscriptionTagsBadRequest with default headers values
func (*DeleteSubscriptionTagsBadRequest) Code ¶
func (o *DeleteSubscriptionTagsBadRequest) Code() int
Code gets the status code for the delete subscription tags bad request response
func (*DeleteSubscriptionTagsBadRequest) Error ¶
func (o *DeleteSubscriptionTagsBadRequest) Error() string
func (*DeleteSubscriptionTagsBadRequest) IsClientError ¶
func (o *DeleteSubscriptionTagsBadRequest) IsClientError() bool
IsClientError returns true when this delete subscription tags bad request response has a 4xx status code
func (*DeleteSubscriptionTagsBadRequest) IsCode ¶
func (o *DeleteSubscriptionTagsBadRequest) IsCode(code int) bool
IsCode returns true when this delete subscription tags bad request response a status code equal to that given
func (*DeleteSubscriptionTagsBadRequest) IsRedirect ¶
func (o *DeleteSubscriptionTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete subscription tags bad request response has a 3xx status code
func (*DeleteSubscriptionTagsBadRequest) IsServerError ¶
func (o *DeleteSubscriptionTagsBadRequest) IsServerError() bool
IsServerError returns true when this delete subscription tags bad request response has a 5xx status code
func (*DeleteSubscriptionTagsBadRequest) IsSuccess ¶
func (o *DeleteSubscriptionTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete subscription tags bad request response has a 2xx status code
func (*DeleteSubscriptionTagsBadRequest) String ¶
func (o *DeleteSubscriptionTagsBadRequest) String() string
type DeleteSubscriptionTagsNoContent ¶
type DeleteSubscriptionTagsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteSubscriptionTagsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteSubscriptionTagsNoContent ¶
func NewDeleteSubscriptionTagsNoContent() *DeleteSubscriptionTagsNoContent
NewDeleteSubscriptionTagsNoContent creates a DeleteSubscriptionTagsNoContent with default headers values
func (*DeleteSubscriptionTagsNoContent) Code ¶
func (o *DeleteSubscriptionTagsNoContent) Code() int
Code gets the status code for the delete subscription tags no content response
func (*DeleteSubscriptionTagsNoContent) Error ¶
func (o *DeleteSubscriptionTagsNoContent) Error() string
func (*DeleteSubscriptionTagsNoContent) IsClientError ¶
func (o *DeleteSubscriptionTagsNoContent) IsClientError() bool
IsClientError returns true when this delete subscription tags no content response has a 4xx status code
func (*DeleteSubscriptionTagsNoContent) IsCode ¶
func (o *DeleteSubscriptionTagsNoContent) IsCode(code int) bool
IsCode returns true when this delete subscription tags no content response a status code equal to that given
func (*DeleteSubscriptionTagsNoContent) IsRedirect ¶
func (o *DeleteSubscriptionTagsNoContent) IsRedirect() bool
IsRedirect returns true when this delete subscription tags no content response has a 3xx status code
func (*DeleteSubscriptionTagsNoContent) IsServerError ¶
func (o *DeleteSubscriptionTagsNoContent) IsServerError() bool
IsServerError returns true when this delete subscription tags no content response has a 5xx status code
func (*DeleteSubscriptionTagsNoContent) IsSuccess ¶
func (o *DeleteSubscriptionTagsNoContent) IsSuccess() bool
IsSuccess returns true when this delete subscription tags no content response has a 2xx status code
func (*DeleteSubscriptionTagsNoContent) String ¶
func (o *DeleteSubscriptionTagsNoContent) String() string
type DeleteSubscriptionTagsParams ¶
type DeleteSubscriptionTagsParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
// TagDef.
TagDef []strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
DeleteSubscriptionTagsParams contains all the parameters to send to the API endpoint
for the delete subscription tags operation. Typically these are written to a http.Request.
func NewDeleteSubscriptionTagsParams ¶
func NewDeleteSubscriptionTagsParams() *DeleteSubscriptionTagsParams
NewDeleteSubscriptionTagsParams creates a new DeleteSubscriptionTagsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteSubscriptionTagsParamsWithContext ¶
func NewDeleteSubscriptionTagsParamsWithContext(ctx context.Context) *DeleteSubscriptionTagsParams
NewDeleteSubscriptionTagsParamsWithContext creates a new DeleteSubscriptionTagsParams object with the ability to set a context for a request.
func NewDeleteSubscriptionTagsParamsWithHTTPClient ¶
func NewDeleteSubscriptionTagsParamsWithHTTPClient(client *http.Client) *DeleteSubscriptionTagsParams
NewDeleteSubscriptionTagsParamsWithHTTPClient creates a new DeleteSubscriptionTagsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSubscriptionTagsParamsWithTimeout ¶
func NewDeleteSubscriptionTagsParamsWithTimeout(timeout time.Duration) *DeleteSubscriptionTagsParams
NewDeleteSubscriptionTagsParamsWithTimeout creates a new DeleteSubscriptionTagsParams object with the ability to set a timeout on a request.
func (*DeleteSubscriptionTagsParams) SetContext ¶
func (o *DeleteSubscriptionTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) SetDefaults ¶
func (o *DeleteSubscriptionTagsParams) SetDefaults()
SetDefaults hydrates default values in the delete subscription tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSubscriptionTagsParams) SetHTTPClient ¶
func (o *DeleteSubscriptionTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) SetSubscriptionID ¶
func (o *DeleteSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) SetTagDef ¶
func (o *DeleteSubscriptionTagsParams) SetTagDef(tagDef []strfmt.UUID)
SetTagDef adds the tagDef to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) SetTimeout ¶
func (o *DeleteSubscriptionTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) SetXKillbillComment ¶
func (o *DeleteSubscriptionTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) SetXKillbillCreatedBy ¶
func (o *DeleteSubscriptionTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) SetXKillbillReason ¶
func (o *DeleteSubscriptionTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithContext ¶
func (o *DeleteSubscriptionTagsParams) WithContext(ctx context.Context) *DeleteSubscriptionTagsParams
WithContext adds the context to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithDefaults ¶
func (o *DeleteSubscriptionTagsParams) WithDefaults() *DeleteSubscriptionTagsParams
WithDefaults hydrates default values in the delete subscription tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSubscriptionTagsParams) WithHTTPClient ¶
func (o *DeleteSubscriptionTagsParams) WithHTTPClient(client *http.Client) *DeleteSubscriptionTagsParams
WithHTTPClient adds the HTTPClient to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithSubscriptionID ¶
func (o *DeleteSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *DeleteSubscriptionTagsParams
WithSubscriptionID adds the subscriptionID to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithTagDef ¶
func (o *DeleteSubscriptionTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteSubscriptionTagsParams
WithTagDef adds the tagDef to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithTimeout ¶
func (o *DeleteSubscriptionTagsParams) WithTimeout(timeout time.Duration) *DeleteSubscriptionTagsParams
WithTimeout adds the timeout to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithXKillbillComment ¶
func (o *DeleteSubscriptionTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteSubscriptionTagsParams
WithXKillbillComment adds the xKillbillComment to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithXKillbillCreatedBy ¶
func (o *DeleteSubscriptionTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteSubscriptionTagsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WithXKillbillReason ¶
func (o *DeleteSubscriptionTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteSubscriptionTagsParams
WithXKillbillReason adds the xKillbillReason to the delete subscription tags params
func (*DeleteSubscriptionTagsParams) WriteToRequest ¶
func (o *DeleteSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSubscriptionTagsReader ¶
type DeleteSubscriptionTagsReader struct {
// contains filtered or unexported fields
}
DeleteSubscriptionTagsReader is a Reader for the DeleteSubscriptionTags structure.
func (*DeleteSubscriptionTagsReader) ReadResponse ¶
func (o *DeleteSubscriptionTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionAuditLogsWithHistoryNotFound ¶
type GetSubscriptionAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetSubscriptionAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Subscription not found
func NewGetSubscriptionAuditLogsWithHistoryNotFound ¶
func NewGetSubscriptionAuditLogsWithHistoryNotFound() *GetSubscriptionAuditLogsWithHistoryNotFound
NewGetSubscriptionAuditLogsWithHistoryNotFound creates a GetSubscriptionAuditLogsWithHistoryNotFound with default headers values
func (*GetSubscriptionAuditLogsWithHistoryNotFound) Code ¶
func (o *GetSubscriptionAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get subscription audit logs with history not found response
func (*GetSubscriptionAuditLogsWithHistoryNotFound) Error ¶
func (o *GetSubscriptionAuditLogsWithHistoryNotFound) Error() string
func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get subscription audit logs with history not found response has a 4xx status code
func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get subscription audit logs with history not found response a status code equal to that given
func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get subscription audit logs with history not found response has a 3xx status code
func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get subscription audit logs with history not found response has a 5xx status code
func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetSubscriptionAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get subscription audit logs with history not found response has a 2xx status code
func (*GetSubscriptionAuditLogsWithHistoryNotFound) String ¶
func (o *GetSubscriptionAuditLogsWithHistoryNotFound) String() string
type GetSubscriptionAuditLogsWithHistoryOK ¶
type GetSubscriptionAuditLogsWithHistoryOK struct {
Payload []*kbmodel.AuditLog
HttpResponse runtime.ClientResponse
}
GetSubscriptionAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetSubscriptionAuditLogsWithHistoryOK ¶
func NewGetSubscriptionAuditLogsWithHistoryOK() *GetSubscriptionAuditLogsWithHistoryOK
NewGetSubscriptionAuditLogsWithHistoryOK creates a GetSubscriptionAuditLogsWithHistoryOK with default headers values
func (*GetSubscriptionAuditLogsWithHistoryOK) Code ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get subscription audit logs with history o k response
func (*GetSubscriptionAuditLogsWithHistoryOK) Error ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) Error() string
func (*GetSubscriptionAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetSubscriptionAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get subscription audit logs with history o k response has a 4xx status code
func (*GetSubscriptionAuditLogsWithHistoryOK) IsCode ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get subscription audit logs with history o k response a status code equal to that given
func (*GetSubscriptionAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get subscription audit logs with history o k response has a 3xx status code
func (*GetSubscriptionAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get subscription audit logs with history o k response has a 5xx status code
func (*GetSubscriptionAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get subscription audit logs with history o k response has a 2xx status code
func (*GetSubscriptionAuditLogsWithHistoryOK) String ¶
func (o *GetSubscriptionAuditLogsWithHistoryOK) String() string
type GetSubscriptionAuditLogsWithHistoryParams ¶
type GetSubscriptionAuditLogsWithHistoryParams struct {
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
GetSubscriptionAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get subscription audit logs with history operation. Typically these are written to a http.Request.
func NewGetSubscriptionAuditLogsWithHistoryParams ¶
func NewGetSubscriptionAuditLogsWithHistoryParams() *GetSubscriptionAuditLogsWithHistoryParams
NewGetSubscriptionAuditLogsWithHistoryParams creates a new GetSubscriptionAuditLogsWithHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubscriptionAuditLogsWithHistoryParamsWithContext ¶
func NewGetSubscriptionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetSubscriptionAuditLogsWithHistoryParams
NewGetSubscriptionAuditLogsWithHistoryParamsWithContext creates a new GetSubscriptionAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetSubscriptionAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetSubscriptionAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetSubscriptionAuditLogsWithHistoryParams
NewGetSubscriptionAuditLogsWithHistoryParamsWithHTTPClient creates a new GetSubscriptionAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubscriptionAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetSubscriptionAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetSubscriptionAuditLogsWithHistoryParams
NewGetSubscriptionAuditLogsWithHistoryParamsWithTimeout creates a new GetSubscriptionAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetSubscriptionAuditLogsWithHistoryParams) SetContext ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscription audit logs with history params
func (*GetSubscriptionAuditLogsWithHistoryParams) SetDefaults ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get subscription audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscription audit logs with history params
func (*GetSubscriptionAuditLogsWithHistoryParams) SetSubscriptionID ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get subscription audit logs with history params
func (*GetSubscriptionAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscription audit logs with history params
func (*GetSubscriptionAuditLogsWithHistoryParams) WithContext ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetSubscriptionAuditLogsWithHistoryParams
WithContext adds the context to the get subscription audit logs with history params
func (*GetSubscriptionAuditLogsWithHistoryParams) WithDefaults ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) WithDefaults() *GetSubscriptionAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get subscription audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetSubscriptionAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get subscription audit logs with history params
func (*GetSubscriptionAuditLogsWithHistoryParams) WithSubscriptionID ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionAuditLogsWithHistoryParams
WithSubscriptionID adds the subscriptionID to the get subscription audit logs with history params
func (*GetSubscriptionAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetSubscriptionAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get subscription audit logs with history params
func (*GetSubscriptionAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetSubscriptionAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionAuditLogsWithHistoryReader ¶
type GetSubscriptionAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetSubscriptionAuditLogsWithHistoryReader is a Reader for the GetSubscriptionAuditLogsWithHistory structure.
func (*GetSubscriptionAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetSubscriptionAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionBadRequest ¶
type GetSubscriptionBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetSubscriptionBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewGetSubscriptionBadRequest ¶
func NewGetSubscriptionBadRequest() *GetSubscriptionBadRequest
NewGetSubscriptionBadRequest creates a GetSubscriptionBadRequest with default headers values
func (*GetSubscriptionBadRequest) Code ¶
func (o *GetSubscriptionBadRequest) Code() int
Code gets the status code for the get subscription bad request response
func (*GetSubscriptionBadRequest) Error ¶
func (o *GetSubscriptionBadRequest) Error() string
func (*GetSubscriptionBadRequest) IsClientError ¶
func (o *GetSubscriptionBadRequest) IsClientError() bool
IsClientError returns true when this get subscription bad request response has a 4xx status code
func (*GetSubscriptionBadRequest) IsCode ¶
func (o *GetSubscriptionBadRequest) IsCode(code int) bool
IsCode returns true when this get subscription bad request response a status code equal to that given
func (*GetSubscriptionBadRequest) IsRedirect ¶
func (o *GetSubscriptionBadRequest) IsRedirect() bool
IsRedirect returns true when this get subscription bad request response has a 3xx status code
func (*GetSubscriptionBadRequest) IsServerError ¶
func (o *GetSubscriptionBadRequest) IsServerError() bool
IsServerError returns true when this get subscription bad request response has a 5xx status code
func (*GetSubscriptionBadRequest) IsSuccess ¶
func (o *GetSubscriptionBadRequest) IsSuccess() bool
IsSuccess returns true when this get subscription bad request response has a 2xx status code
func (*GetSubscriptionBadRequest) String ¶
func (o *GetSubscriptionBadRequest) String() string
type GetSubscriptionByKeyNotFound ¶
type GetSubscriptionByKeyNotFound struct {
HttpResponse runtime.ClientResponse
}
GetSubscriptionByKeyNotFound describes a response with status code 404, with default header values.
Subscription not found
func NewGetSubscriptionByKeyNotFound ¶
func NewGetSubscriptionByKeyNotFound() *GetSubscriptionByKeyNotFound
NewGetSubscriptionByKeyNotFound creates a GetSubscriptionByKeyNotFound with default headers values
func (*GetSubscriptionByKeyNotFound) Code ¶
func (o *GetSubscriptionByKeyNotFound) Code() int
Code gets the status code for the get subscription by key not found response
func (*GetSubscriptionByKeyNotFound) Error ¶
func (o *GetSubscriptionByKeyNotFound) Error() string
func (*GetSubscriptionByKeyNotFound) IsClientError ¶
func (o *GetSubscriptionByKeyNotFound) IsClientError() bool
IsClientError returns true when this get subscription by key not found response has a 4xx status code
func (*GetSubscriptionByKeyNotFound) IsCode ¶
func (o *GetSubscriptionByKeyNotFound) IsCode(code int) bool
IsCode returns true when this get subscription by key not found response a status code equal to that given
func (*GetSubscriptionByKeyNotFound) IsRedirect ¶
func (o *GetSubscriptionByKeyNotFound) IsRedirect() bool
IsRedirect returns true when this get subscription by key not found response has a 3xx status code
func (*GetSubscriptionByKeyNotFound) IsServerError ¶
func (o *GetSubscriptionByKeyNotFound) IsServerError() bool
IsServerError returns true when this get subscription by key not found response has a 5xx status code
func (*GetSubscriptionByKeyNotFound) IsSuccess ¶
func (o *GetSubscriptionByKeyNotFound) IsSuccess() bool
IsSuccess returns true when this get subscription by key not found response has a 2xx status code
func (*GetSubscriptionByKeyNotFound) String ¶
func (o *GetSubscriptionByKeyNotFound) String() string
type GetSubscriptionByKeyOK ¶
type GetSubscriptionByKeyOK struct {
Payload *kbmodel.Subscription
HttpResponse runtime.ClientResponse
}
GetSubscriptionByKeyOK describes a response with status code 200, with default header values.
successful operation
func NewGetSubscriptionByKeyOK ¶
func NewGetSubscriptionByKeyOK() *GetSubscriptionByKeyOK
NewGetSubscriptionByKeyOK creates a GetSubscriptionByKeyOK with default headers values
func (*GetSubscriptionByKeyOK) Code ¶
func (o *GetSubscriptionByKeyOK) Code() int
Code gets the status code for the get subscription by key o k response
func (*GetSubscriptionByKeyOK) Error ¶
func (o *GetSubscriptionByKeyOK) Error() string
func (*GetSubscriptionByKeyOK) GetPayload ¶
func (o *GetSubscriptionByKeyOK) GetPayload() *kbmodel.Subscription
func (*GetSubscriptionByKeyOK) IsClientError ¶
func (o *GetSubscriptionByKeyOK) IsClientError() bool
IsClientError returns true when this get subscription by key o k response has a 4xx status code
func (*GetSubscriptionByKeyOK) IsCode ¶
func (o *GetSubscriptionByKeyOK) IsCode(code int) bool
IsCode returns true when this get subscription by key o k response a status code equal to that given
func (*GetSubscriptionByKeyOK) IsRedirect ¶
func (o *GetSubscriptionByKeyOK) IsRedirect() bool
IsRedirect returns true when this get subscription by key o k response has a 3xx status code
func (*GetSubscriptionByKeyOK) IsServerError ¶
func (o *GetSubscriptionByKeyOK) IsServerError() bool
IsServerError returns true when this get subscription by key o k response has a 5xx status code
func (*GetSubscriptionByKeyOK) IsSuccess ¶
func (o *GetSubscriptionByKeyOK) IsSuccess() bool
IsSuccess returns true when this get subscription by key o k response has a 2xx status code
func (*GetSubscriptionByKeyOK) String ¶
func (o *GetSubscriptionByKeyOK) String() string
type GetSubscriptionByKeyParams ¶
type GetSubscriptionByKeyParams struct {
// Audit.
//
// Default: "NONE"
Audit *string
// ExternalKey.
ExternalKey string
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
GetSubscriptionByKeyParams contains all the parameters to send to the API endpoint
for the get subscription by key operation. Typically these are written to a http.Request.
func NewGetSubscriptionByKeyParams ¶
func NewGetSubscriptionByKeyParams() *GetSubscriptionByKeyParams
NewGetSubscriptionByKeyParams creates a new GetSubscriptionByKeyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubscriptionByKeyParamsWithContext ¶
func NewGetSubscriptionByKeyParamsWithContext(ctx context.Context) *GetSubscriptionByKeyParams
NewGetSubscriptionByKeyParamsWithContext creates a new GetSubscriptionByKeyParams object with the ability to set a context for a request.
func NewGetSubscriptionByKeyParamsWithHTTPClient ¶
func NewGetSubscriptionByKeyParamsWithHTTPClient(client *http.Client) *GetSubscriptionByKeyParams
NewGetSubscriptionByKeyParamsWithHTTPClient creates a new GetSubscriptionByKeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubscriptionByKeyParamsWithTimeout ¶
func NewGetSubscriptionByKeyParamsWithTimeout(timeout time.Duration) *GetSubscriptionByKeyParams
NewGetSubscriptionByKeyParamsWithTimeout creates a new GetSubscriptionByKeyParams object with the ability to set a timeout on a request.
func (*GetSubscriptionByKeyParams) SetAudit ¶
func (o *GetSubscriptionByKeyParams) SetAudit(audit *string)
SetAudit adds the audit to the get subscription by key params
func (*GetSubscriptionByKeyParams) SetContext ¶
func (o *GetSubscriptionByKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscription by key params
func (*GetSubscriptionByKeyParams) SetDefaults ¶
func (o *GetSubscriptionByKeyParams) SetDefaults()
SetDefaults hydrates default values in the get subscription by key params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionByKeyParams) SetExternalKey ¶
func (o *GetSubscriptionByKeyParams) SetExternalKey(externalKey string)
SetExternalKey adds the externalKey to the get subscription by key params
func (*GetSubscriptionByKeyParams) SetHTTPClient ¶
func (o *GetSubscriptionByKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscription by key params
func (*GetSubscriptionByKeyParams) SetTimeout ¶
func (o *GetSubscriptionByKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscription by key params
func (*GetSubscriptionByKeyParams) WithAudit ¶
func (o *GetSubscriptionByKeyParams) WithAudit(audit *string) *GetSubscriptionByKeyParams
WithAudit adds the audit to the get subscription by key params
func (*GetSubscriptionByKeyParams) WithContext ¶
func (o *GetSubscriptionByKeyParams) WithContext(ctx context.Context) *GetSubscriptionByKeyParams
WithContext adds the context to the get subscription by key params
func (*GetSubscriptionByKeyParams) WithDefaults ¶
func (o *GetSubscriptionByKeyParams) WithDefaults() *GetSubscriptionByKeyParams
WithDefaults hydrates default values in the get subscription by key params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionByKeyParams) WithExternalKey ¶
func (o *GetSubscriptionByKeyParams) WithExternalKey(externalKey string) *GetSubscriptionByKeyParams
WithExternalKey adds the externalKey to the get subscription by key params
func (*GetSubscriptionByKeyParams) WithHTTPClient ¶
func (o *GetSubscriptionByKeyParams) WithHTTPClient(client *http.Client) *GetSubscriptionByKeyParams
WithHTTPClient adds the HTTPClient to the get subscription by key params
func (*GetSubscriptionByKeyParams) WithTimeout ¶
func (o *GetSubscriptionByKeyParams) WithTimeout(timeout time.Duration) *GetSubscriptionByKeyParams
WithTimeout adds the timeout to the get subscription by key params
func (*GetSubscriptionByKeyParams) WriteToRequest ¶
func (o *GetSubscriptionByKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionByKeyReader ¶
type GetSubscriptionByKeyReader struct {
// contains filtered or unexported fields
}
GetSubscriptionByKeyReader is a Reader for the GetSubscriptionByKey structure.
func (*GetSubscriptionByKeyReader) ReadResponse ¶
func (o *GetSubscriptionByKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionCustomFieldsBadRequest ¶
type GetSubscriptionCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetSubscriptionCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewGetSubscriptionCustomFieldsBadRequest ¶
func NewGetSubscriptionCustomFieldsBadRequest() *GetSubscriptionCustomFieldsBadRequest
NewGetSubscriptionCustomFieldsBadRequest creates a GetSubscriptionCustomFieldsBadRequest with default headers values
func (*GetSubscriptionCustomFieldsBadRequest) Code ¶
func (o *GetSubscriptionCustomFieldsBadRequest) Code() int
Code gets the status code for the get subscription custom fields bad request response
func (*GetSubscriptionCustomFieldsBadRequest) Error ¶
func (o *GetSubscriptionCustomFieldsBadRequest) Error() string
func (*GetSubscriptionCustomFieldsBadRequest) IsClientError ¶
func (o *GetSubscriptionCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this get subscription custom fields bad request response has a 4xx status code
func (*GetSubscriptionCustomFieldsBadRequest) IsCode ¶
func (o *GetSubscriptionCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this get subscription custom fields bad request response a status code equal to that given
func (*GetSubscriptionCustomFieldsBadRequest) IsRedirect ¶
func (o *GetSubscriptionCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this get subscription custom fields bad request response has a 3xx status code
func (*GetSubscriptionCustomFieldsBadRequest) IsServerError ¶
func (o *GetSubscriptionCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this get subscription custom fields bad request response has a 5xx status code
func (*GetSubscriptionCustomFieldsBadRequest) IsSuccess ¶
func (o *GetSubscriptionCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this get subscription custom fields bad request response has a 2xx status code
func (*GetSubscriptionCustomFieldsBadRequest) String ¶
func (o *GetSubscriptionCustomFieldsBadRequest) String() string
type GetSubscriptionCustomFieldsOK ¶
type GetSubscriptionCustomFieldsOK struct {
Payload []*kbmodel.CustomField
HttpResponse runtime.ClientResponse
}
GetSubscriptionCustomFieldsOK describes a response with status code 200, with default header values.
successful operation
func NewGetSubscriptionCustomFieldsOK ¶
func NewGetSubscriptionCustomFieldsOK() *GetSubscriptionCustomFieldsOK
NewGetSubscriptionCustomFieldsOK creates a GetSubscriptionCustomFieldsOK with default headers values
func (*GetSubscriptionCustomFieldsOK) Code ¶
func (o *GetSubscriptionCustomFieldsOK) Code() int
Code gets the status code for the get subscription custom fields o k response
func (*GetSubscriptionCustomFieldsOK) Error ¶
func (o *GetSubscriptionCustomFieldsOK) Error() string
func (*GetSubscriptionCustomFieldsOK) GetPayload ¶
func (o *GetSubscriptionCustomFieldsOK) GetPayload() []*kbmodel.CustomField
func (*GetSubscriptionCustomFieldsOK) IsClientError ¶
func (o *GetSubscriptionCustomFieldsOK) IsClientError() bool
IsClientError returns true when this get subscription custom fields o k response has a 4xx status code
func (*GetSubscriptionCustomFieldsOK) IsCode ¶
func (o *GetSubscriptionCustomFieldsOK) IsCode(code int) bool
IsCode returns true when this get subscription custom fields o k response a status code equal to that given
func (*GetSubscriptionCustomFieldsOK) IsRedirect ¶
func (o *GetSubscriptionCustomFieldsOK) IsRedirect() bool
IsRedirect returns true when this get subscription custom fields o k response has a 3xx status code
func (*GetSubscriptionCustomFieldsOK) IsServerError ¶
func (o *GetSubscriptionCustomFieldsOK) IsServerError() bool
IsServerError returns true when this get subscription custom fields o k response has a 5xx status code
func (*GetSubscriptionCustomFieldsOK) IsSuccess ¶
func (o *GetSubscriptionCustomFieldsOK) IsSuccess() bool
IsSuccess returns true when this get subscription custom fields o k response has a 2xx status code
func (*GetSubscriptionCustomFieldsOK) String ¶
func (o *GetSubscriptionCustomFieldsOK) String() string
type GetSubscriptionCustomFieldsParams ¶
type GetSubscriptionCustomFieldsParams struct {
// Audit.
//
// Default: "NONE"
Audit *string
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
GetSubscriptionCustomFieldsParams contains all the parameters to send to the API endpoint
for the get subscription custom fields operation. Typically these are written to a http.Request.
func NewGetSubscriptionCustomFieldsParams ¶
func NewGetSubscriptionCustomFieldsParams() *GetSubscriptionCustomFieldsParams
NewGetSubscriptionCustomFieldsParams creates a new GetSubscriptionCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubscriptionCustomFieldsParamsWithContext ¶
func NewGetSubscriptionCustomFieldsParamsWithContext(ctx context.Context) *GetSubscriptionCustomFieldsParams
NewGetSubscriptionCustomFieldsParamsWithContext creates a new GetSubscriptionCustomFieldsParams object with the ability to set a context for a request.
func NewGetSubscriptionCustomFieldsParamsWithHTTPClient ¶
func NewGetSubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *GetSubscriptionCustomFieldsParams
NewGetSubscriptionCustomFieldsParamsWithHTTPClient creates a new GetSubscriptionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubscriptionCustomFieldsParamsWithTimeout ¶
func NewGetSubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *GetSubscriptionCustomFieldsParams
NewGetSubscriptionCustomFieldsParamsWithTimeout creates a new GetSubscriptionCustomFieldsParams object with the ability to set a timeout on a request.
func (*GetSubscriptionCustomFieldsParams) SetAudit ¶
func (o *GetSubscriptionCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) SetContext ¶
func (o *GetSubscriptionCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) SetDefaults ¶
func (o *GetSubscriptionCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the get subscription custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionCustomFieldsParams) SetHTTPClient ¶
func (o *GetSubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) SetSubscriptionID ¶
func (o *GetSubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) SetTimeout ¶
func (o *GetSubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WithAudit ¶
func (o *GetSubscriptionCustomFieldsParams) WithAudit(audit *string) *GetSubscriptionCustomFieldsParams
WithAudit adds the audit to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WithContext ¶
func (o *GetSubscriptionCustomFieldsParams) WithContext(ctx context.Context) *GetSubscriptionCustomFieldsParams
WithContext adds the context to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WithDefaults ¶
func (o *GetSubscriptionCustomFieldsParams) WithDefaults() *GetSubscriptionCustomFieldsParams
WithDefaults hydrates default values in the get subscription custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionCustomFieldsParams) WithHTTPClient ¶
func (o *GetSubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *GetSubscriptionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WithSubscriptionID ¶
func (o *GetSubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionCustomFieldsParams
WithSubscriptionID adds the subscriptionID to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WithTimeout ¶
func (o *GetSubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *GetSubscriptionCustomFieldsParams
WithTimeout adds the timeout to the get subscription custom fields params
func (*GetSubscriptionCustomFieldsParams) WriteToRequest ¶
func (o *GetSubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionCustomFieldsReader ¶
type GetSubscriptionCustomFieldsReader struct {
// contains filtered or unexported fields
}
GetSubscriptionCustomFieldsReader is a Reader for the GetSubscriptionCustomFields structure.
func (*GetSubscriptionCustomFieldsReader) ReadResponse ¶
func (o *GetSubscriptionCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionEventAuditLogsWithHistoryNotFound ¶
type GetSubscriptionEventAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetSubscriptionEventAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Subscription event not found
func NewGetSubscriptionEventAuditLogsWithHistoryNotFound ¶
func NewGetSubscriptionEventAuditLogsWithHistoryNotFound() *GetSubscriptionEventAuditLogsWithHistoryNotFound
NewGetSubscriptionEventAuditLogsWithHistoryNotFound creates a GetSubscriptionEventAuditLogsWithHistoryNotFound with default headers values
func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) Code ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get subscription event audit logs with history not found response
func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) Error ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) Error() string
func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get subscription event audit logs with history not found response has a 4xx status code
func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get subscription event audit logs with history not found response a status code equal to that given
func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get subscription event audit logs with history not found response has a 3xx status code
func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get subscription event audit logs with history not found response has a 5xx status code
func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get subscription event audit logs with history not found response has a 2xx status code
func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) String ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryNotFound) String() string
type GetSubscriptionEventAuditLogsWithHistoryOK ¶
type GetSubscriptionEventAuditLogsWithHistoryOK struct {
Payload []*kbmodel.AuditLog
HttpResponse runtime.ClientResponse
}
GetSubscriptionEventAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetSubscriptionEventAuditLogsWithHistoryOK ¶
func NewGetSubscriptionEventAuditLogsWithHistoryOK() *GetSubscriptionEventAuditLogsWithHistoryOK
NewGetSubscriptionEventAuditLogsWithHistoryOK creates a GetSubscriptionEventAuditLogsWithHistoryOK with default headers values
func (*GetSubscriptionEventAuditLogsWithHistoryOK) Code ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get subscription event audit logs with history o k response
func (*GetSubscriptionEventAuditLogsWithHistoryOK) Error ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) Error() string
func (*GetSubscriptionEventAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get subscription event audit logs with history o k response has a 4xx status code
func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsCode ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get subscription event audit logs with history o k response a status code equal to that given
func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get subscription event audit logs with history o k response has a 3xx status code
func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get subscription event audit logs with history o k response has a 5xx status code
func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get subscription event audit logs with history o k response has a 2xx status code
func (*GetSubscriptionEventAuditLogsWithHistoryOK) String ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryOK) String() string
type GetSubscriptionEventAuditLogsWithHistoryParams ¶
type GetSubscriptionEventAuditLogsWithHistoryParams struct {
// EventID.
//
// Format: uuid
EventID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
GetSubscriptionEventAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get subscription event audit logs with history operation. Typically these are written to a http.Request.
func NewGetSubscriptionEventAuditLogsWithHistoryParams ¶
func NewGetSubscriptionEventAuditLogsWithHistoryParams() *GetSubscriptionEventAuditLogsWithHistoryParams
NewGetSubscriptionEventAuditLogsWithHistoryParams creates a new GetSubscriptionEventAuditLogsWithHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithContext ¶
func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetSubscriptionEventAuditLogsWithHistoryParams
NewGetSubscriptionEventAuditLogsWithHistoryParamsWithContext creates a new GetSubscriptionEventAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetSubscriptionEventAuditLogsWithHistoryParams
NewGetSubscriptionEventAuditLogsWithHistoryParamsWithHTTPClient creates a new GetSubscriptionEventAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetSubscriptionEventAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetSubscriptionEventAuditLogsWithHistoryParams
NewGetSubscriptionEventAuditLogsWithHistoryParamsWithTimeout creates a new GetSubscriptionEventAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetSubscriptionEventAuditLogsWithHistoryParams) SetContext ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscription event audit logs with history params
func (*GetSubscriptionEventAuditLogsWithHistoryParams) SetDefaults ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get subscription event audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionEventAuditLogsWithHistoryParams) SetEventID ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetEventID(eventID strfmt.UUID)
SetEventID adds the eventId to the get subscription event audit logs with history params
func (*GetSubscriptionEventAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscription event audit logs with history params
func (*GetSubscriptionEventAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscription event audit logs with history params
func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithContext ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetSubscriptionEventAuditLogsWithHistoryParams
WithContext adds the context to the get subscription event audit logs with history params
func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithDefaults ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithDefaults() *GetSubscriptionEventAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get subscription event audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithEventID ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithEventID(eventID strfmt.UUID) *GetSubscriptionEventAuditLogsWithHistoryParams
WithEventID adds the eventID to the get subscription event audit logs with history params
func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetSubscriptionEventAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get subscription event audit logs with history params
func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetSubscriptionEventAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get subscription event audit logs with history params
func (*GetSubscriptionEventAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionEventAuditLogsWithHistoryReader ¶
type GetSubscriptionEventAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetSubscriptionEventAuditLogsWithHistoryReader is a Reader for the GetSubscriptionEventAuditLogsWithHistory structure.
func (*GetSubscriptionEventAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetSubscriptionEventAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionNotFound ¶
type GetSubscriptionNotFound struct {
HttpResponse runtime.ClientResponse
}
GetSubscriptionNotFound describes a response with status code 404, with default header values.
Subscription not found
func NewGetSubscriptionNotFound ¶
func NewGetSubscriptionNotFound() *GetSubscriptionNotFound
NewGetSubscriptionNotFound creates a GetSubscriptionNotFound with default headers values
func (*GetSubscriptionNotFound) Code ¶
func (o *GetSubscriptionNotFound) Code() int
Code gets the status code for the get subscription not found response
func (*GetSubscriptionNotFound) Error ¶
func (o *GetSubscriptionNotFound) Error() string
func (*GetSubscriptionNotFound) IsClientError ¶
func (o *GetSubscriptionNotFound) IsClientError() bool
IsClientError returns true when this get subscription not found response has a 4xx status code
func (*GetSubscriptionNotFound) IsCode ¶
func (o *GetSubscriptionNotFound) IsCode(code int) bool
IsCode returns true when this get subscription not found response a status code equal to that given
func (*GetSubscriptionNotFound) IsRedirect ¶
func (o *GetSubscriptionNotFound) IsRedirect() bool
IsRedirect returns true when this get subscription not found response has a 3xx status code
func (*GetSubscriptionNotFound) IsServerError ¶
func (o *GetSubscriptionNotFound) IsServerError() bool
IsServerError returns true when this get subscription not found response has a 5xx status code
func (*GetSubscriptionNotFound) IsSuccess ¶
func (o *GetSubscriptionNotFound) IsSuccess() bool
IsSuccess returns true when this get subscription not found response has a 2xx status code
func (*GetSubscriptionNotFound) String ¶
func (o *GetSubscriptionNotFound) String() string
type GetSubscriptionOK ¶
type GetSubscriptionOK struct {
Payload *kbmodel.Subscription
HttpResponse runtime.ClientResponse
}
GetSubscriptionOK describes a response with status code 200, with default header values.
successful operation
func NewGetSubscriptionOK ¶
func NewGetSubscriptionOK() *GetSubscriptionOK
NewGetSubscriptionOK creates a GetSubscriptionOK with default headers values
func (*GetSubscriptionOK) Code ¶
func (o *GetSubscriptionOK) Code() int
Code gets the status code for the get subscription o k response
func (*GetSubscriptionOK) Error ¶
func (o *GetSubscriptionOK) Error() string
func (*GetSubscriptionOK) GetPayload ¶
func (o *GetSubscriptionOK) GetPayload() *kbmodel.Subscription
func (*GetSubscriptionOK) IsClientError ¶
func (o *GetSubscriptionOK) IsClientError() bool
IsClientError returns true when this get subscription o k response has a 4xx status code
func (*GetSubscriptionOK) IsCode ¶
func (o *GetSubscriptionOK) IsCode(code int) bool
IsCode returns true when this get subscription o k response a status code equal to that given
func (*GetSubscriptionOK) IsRedirect ¶
func (o *GetSubscriptionOK) IsRedirect() bool
IsRedirect returns true when this get subscription o k response has a 3xx status code
func (*GetSubscriptionOK) IsServerError ¶
func (o *GetSubscriptionOK) IsServerError() bool
IsServerError returns true when this get subscription o k response has a 5xx status code
func (*GetSubscriptionOK) IsSuccess ¶
func (o *GetSubscriptionOK) IsSuccess() bool
IsSuccess returns true when this get subscription o k response has a 2xx status code
func (*GetSubscriptionOK) String ¶
func (o *GetSubscriptionOK) String() string
type GetSubscriptionParams ¶
type GetSubscriptionParams struct {
// Audit.
//
// Default: "NONE"
Audit *string
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
GetSubscriptionParams contains all the parameters to send to the API endpoint
for the get subscription operation. Typically these are written to a http.Request.
func NewGetSubscriptionParams ¶
func NewGetSubscriptionParams() *GetSubscriptionParams
NewGetSubscriptionParams creates a new GetSubscriptionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubscriptionParamsWithContext ¶
func NewGetSubscriptionParamsWithContext(ctx context.Context) *GetSubscriptionParams
NewGetSubscriptionParamsWithContext creates a new GetSubscriptionParams object with the ability to set a context for a request.
func NewGetSubscriptionParamsWithHTTPClient ¶
func NewGetSubscriptionParamsWithHTTPClient(client *http.Client) *GetSubscriptionParams
NewGetSubscriptionParamsWithHTTPClient creates a new GetSubscriptionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubscriptionParamsWithTimeout ¶
func NewGetSubscriptionParamsWithTimeout(timeout time.Duration) *GetSubscriptionParams
NewGetSubscriptionParamsWithTimeout creates a new GetSubscriptionParams object with the ability to set a timeout on a request.
func (*GetSubscriptionParams) SetAudit ¶
func (o *GetSubscriptionParams) SetAudit(audit *string)
SetAudit adds the audit to the get subscription params
func (*GetSubscriptionParams) SetContext ¶
func (o *GetSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscription params
func (*GetSubscriptionParams) SetDefaults ¶
func (o *GetSubscriptionParams) SetDefaults()
SetDefaults hydrates default values in the get subscription params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionParams) SetHTTPClient ¶
func (o *GetSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscription params
func (*GetSubscriptionParams) SetSubscriptionID ¶
func (o *GetSubscriptionParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get subscription params
func (*GetSubscriptionParams) SetTimeout ¶
func (o *GetSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscription params
func (*GetSubscriptionParams) WithAudit ¶
func (o *GetSubscriptionParams) WithAudit(audit *string) *GetSubscriptionParams
WithAudit adds the audit to the get subscription params
func (*GetSubscriptionParams) WithContext ¶
func (o *GetSubscriptionParams) WithContext(ctx context.Context) *GetSubscriptionParams
WithContext adds the context to the get subscription params
func (*GetSubscriptionParams) WithDefaults ¶
func (o *GetSubscriptionParams) WithDefaults() *GetSubscriptionParams
WithDefaults hydrates default values in the get subscription params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionParams) WithHTTPClient ¶
func (o *GetSubscriptionParams) WithHTTPClient(client *http.Client) *GetSubscriptionParams
WithHTTPClient adds the HTTPClient to the get subscription params
func (*GetSubscriptionParams) WithSubscriptionID ¶
func (o *GetSubscriptionParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionParams
WithSubscriptionID adds the subscriptionID to the get subscription params
func (*GetSubscriptionParams) WithTimeout ¶
func (o *GetSubscriptionParams) WithTimeout(timeout time.Duration) *GetSubscriptionParams
WithTimeout adds the timeout to the get subscription params
func (*GetSubscriptionParams) WriteToRequest ¶
func (o *GetSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionReader ¶
type GetSubscriptionReader struct {
// contains filtered or unexported fields
}
GetSubscriptionReader is a Reader for the GetSubscription structure.
func (*GetSubscriptionReader) ReadResponse ¶
func (o *GetSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSubscriptionTagsBadRequest ¶
type GetSubscriptionTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetSubscriptionTagsBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewGetSubscriptionTagsBadRequest ¶
func NewGetSubscriptionTagsBadRequest() *GetSubscriptionTagsBadRequest
NewGetSubscriptionTagsBadRequest creates a GetSubscriptionTagsBadRequest with default headers values
func (*GetSubscriptionTagsBadRequest) Code ¶
func (o *GetSubscriptionTagsBadRequest) Code() int
Code gets the status code for the get subscription tags bad request response
func (*GetSubscriptionTagsBadRequest) Error ¶
func (o *GetSubscriptionTagsBadRequest) Error() string
func (*GetSubscriptionTagsBadRequest) IsClientError ¶
func (o *GetSubscriptionTagsBadRequest) IsClientError() bool
IsClientError returns true when this get subscription tags bad request response has a 4xx status code
func (*GetSubscriptionTagsBadRequest) IsCode ¶
func (o *GetSubscriptionTagsBadRequest) IsCode(code int) bool
IsCode returns true when this get subscription tags bad request response a status code equal to that given
func (*GetSubscriptionTagsBadRequest) IsRedirect ¶
func (o *GetSubscriptionTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this get subscription tags bad request response has a 3xx status code
func (*GetSubscriptionTagsBadRequest) IsServerError ¶
func (o *GetSubscriptionTagsBadRequest) IsServerError() bool
IsServerError returns true when this get subscription tags bad request response has a 5xx status code
func (*GetSubscriptionTagsBadRequest) IsSuccess ¶
func (o *GetSubscriptionTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this get subscription tags bad request response has a 2xx status code
func (*GetSubscriptionTagsBadRequest) String ¶
func (o *GetSubscriptionTagsBadRequest) String() string
type GetSubscriptionTagsNotFound ¶
type GetSubscriptionTagsNotFound struct {
HttpResponse runtime.ClientResponse
}
GetSubscriptionTagsNotFound describes a response with status code 404, with default header values.
Subscription not found
func NewGetSubscriptionTagsNotFound ¶
func NewGetSubscriptionTagsNotFound() *GetSubscriptionTagsNotFound
NewGetSubscriptionTagsNotFound creates a GetSubscriptionTagsNotFound with default headers values
func (*GetSubscriptionTagsNotFound) Code ¶
func (o *GetSubscriptionTagsNotFound) Code() int
Code gets the status code for the get subscription tags not found response
func (*GetSubscriptionTagsNotFound) Error ¶
func (o *GetSubscriptionTagsNotFound) Error() string
func (*GetSubscriptionTagsNotFound) IsClientError ¶
func (o *GetSubscriptionTagsNotFound) IsClientError() bool
IsClientError returns true when this get subscription tags not found response has a 4xx status code
func (*GetSubscriptionTagsNotFound) IsCode ¶
func (o *GetSubscriptionTagsNotFound) IsCode(code int) bool
IsCode returns true when this get subscription tags not found response a status code equal to that given
func (*GetSubscriptionTagsNotFound) IsRedirect ¶
func (o *GetSubscriptionTagsNotFound) IsRedirect() bool
IsRedirect returns true when this get subscription tags not found response has a 3xx status code
func (*GetSubscriptionTagsNotFound) IsServerError ¶
func (o *GetSubscriptionTagsNotFound) IsServerError() bool
IsServerError returns true when this get subscription tags not found response has a 5xx status code
func (*GetSubscriptionTagsNotFound) IsSuccess ¶
func (o *GetSubscriptionTagsNotFound) IsSuccess() bool
IsSuccess returns true when this get subscription tags not found response has a 2xx status code
func (*GetSubscriptionTagsNotFound) String ¶
func (o *GetSubscriptionTagsNotFound) String() string
type GetSubscriptionTagsOK ¶
type GetSubscriptionTagsOK struct {
Payload []*kbmodel.Tag
HttpResponse runtime.ClientResponse
}
GetSubscriptionTagsOK describes a response with status code 200, with default header values.
successful operation
func NewGetSubscriptionTagsOK ¶
func NewGetSubscriptionTagsOK() *GetSubscriptionTagsOK
NewGetSubscriptionTagsOK creates a GetSubscriptionTagsOK with default headers values
func (*GetSubscriptionTagsOK) Code ¶
func (o *GetSubscriptionTagsOK) Code() int
Code gets the status code for the get subscription tags o k response
func (*GetSubscriptionTagsOK) Error ¶
func (o *GetSubscriptionTagsOK) Error() string
func (*GetSubscriptionTagsOK) GetPayload ¶
func (o *GetSubscriptionTagsOK) GetPayload() []*kbmodel.Tag
func (*GetSubscriptionTagsOK) IsClientError ¶
func (o *GetSubscriptionTagsOK) IsClientError() bool
IsClientError returns true when this get subscription tags o k response has a 4xx status code
func (*GetSubscriptionTagsOK) IsCode ¶
func (o *GetSubscriptionTagsOK) IsCode(code int) bool
IsCode returns true when this get subscription tags o k response a status code equal to that given
func (*GetSubscriptionTagsOK) IsRedirect ¶
func (o *GetSubscriptionTagsOK) IsRedirect() bool
IsRedirect returns true when this get subscription tags o k response has a 3xx status code
func (*GetSubscriptionTagsOK) IsServerError ¶
func (o *GetSubscriptionTagsOK) IsServerError() bool
IsServerError returns true when this get subscription tags o k response has a 5xx status code
func (*GetSubscriptionTagsOK) IsSuccess ¶
func (o *GetSubscriptionTagsOK) IsSuccess() bool
IsSuccess returns true when this get subscription tags o k response has a 2xx status code
func (*GetSubscriptionTagsOK) String ¶
func (o *GetSubscriptionTagsOK) String() string
type GetSubscriptionTagsParams ¶
type GetSubscriptionTagsParams struct {
// Audit.
//
// Default: "NONE"
Audit *string
// IncludedDeleted.
IncludedDeleted *bool
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
GetSubscriptionTagsParams contains all the parameters to send to the API endpoint
for the get subscription tags operation. Typically these are written to a http.Request.
func NewGetSubscriptionTagsParams ¶
func NewGetSubscriptionTagsParams() *GetSubscriptionTagsParams
NewGetSubscriptionTagsParams creates a new GetSubscriptionTagsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSubscriptionTagsParamsWithContext ¶
func NewGetSubscriptionTagsParamsWithContext(ctx context.Context) *GetSubscriptionTagsParams
NewGetSubscriptionTagsParamsWithContext creates a new GetSubscriptionTagsParams object with the ability to set a context for a request.
func NewGetSubscriptionTagsParamsWithHTTPClient ¶
func NewGetSubscriptionTagsParamsWithHTTPClient(client *http.Client) *GetSubscriptionTagsParams
NewGetSubscriptionTagsParamsWithHTTPClient creates a new GetSubscriptionTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSubscriptionTagsParamsWithTimeout ¶
func NewGetSubscriptionTagsParamsWithTimeout(timeout time.Duration) *GetSubscriptionTagsParams
NewGetSubscriptionTagsParamsWithTimeout creates a new GetSubscriptionTagsParams object with the ability to set a timeout on a request.
func (*GetSubscriptionTagsParams) SetAudit ¶
func (o *GetSubscriptionTagsParams) SetAudit(audit *string)
SetAudit adds the audit to the get subscription tags params
func (*GetSubscriptionTagsParams) SetContext ¶
func (o *GetSubscriptionTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get subscription tags params
func (*GetSubscriptionTagsParams) SetDefaults ¶
func (o *GetSubscriptionTagsParams) SetDefaults()
SetDefaults hydrates default values in the get subscription tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionTagsParams) SetHTTPClient ¶
func (o *GetSubscriptionTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get subscription tags params
func (*GetSubscriptionTagsParams) SetIncludedDeleted ¶
func (o *GetSubscriptionTagsParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get subscription tags params
func (*GetSubscriptionTagsParams) SetSubscriptionID ¶
func (o *GetSubscriptionTagsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the get subscription tags params
func (*GetSubscriptionTagsParams) SetTimeout ¶
func (o *GetSubscriptionTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get subscription tags params
func (*GetSubscriptionTagsParams) WithAudit ¶
func (o *GetSubscriptionTagsParams) WithAudit(audit *string) *GetSubscriptionTagsParams
WithAudit adds the audit to the get subscription tags params
func (*GetSubscriptionTagsParams) WithContext ¶
func (o *GetSubscriptionTagsParams) WithContext(ctx context.Context) *GetSubscriptionTagsParams
WithContext adds the context to the get subscription tags params
func (*GetSubscriptionTagsParams) WithDefaults ¶
func (o *GetSubscriptionTagsParams) WithDefaults() *GetSubscriptionTagsParams
WithDefaults hydrates default values in the get subscription tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetSubscriptionTagsParams) WithHTTPClient ¶
func (o *GetSubscriptionTagsParams) WithHTTPClient(client *http.Client) *GetSubscriptionTagsParams
WithHTTPClient adds the HTTPClient to the get subscription tags params
func (*GetSubscriptionTagsParams) WithIncludedDeleted ¶
func (o *GetSubscriptionTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetSubscriptionTagsParams
WithIncludedDeleted adds the includedDeleted to the get subscription tags params
func (*GetSubscriptionTagsParams) WithSubscriptionID ¶
func (o *GetSubscriptionTagsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *GetSubscriptionTagsParams
WithSubscriptionID adds the subscriptionID to the get subscription tags params
func (*GetSubscriptionTagsParams) WithTimeout ¶
func (o *GetSubscriptionTagsParams) WithTimeout(timeout time.Duration) *GetSubscriptionTagsParams
WithTimeout adds the timeout to the get subscription tags params
func (*GetSubscriptionTagsParams) WriteToRequest ¶
func (o *GetSubscriptionTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSubscriptionTagsReader ¶
type GetSubscriptionTagsReader struct {
// contains filtered or unexported fields
}
GetSubscriptionTagsReader is a Reader for the GetSubscriptionTags structure.
func (*GetSubscriptionTagsReader) ReadResponse ¶
func (o *GetSubscriptionTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type KillbillDefaults ¶
type KillbillDefaults interface {
// Default CreatedBy. If not set explicitly in params, this will be used.
XKillbillCreatedBy() *string
// Default Comment. If not set explicitly in params, this will be used.
XKillbillComment() *string
// Default Reason. If not set explicitly in params, this will be used.
XKillbillReason() *string
// Default WithWithProfilingInfo. If not set explicitly in params, this will be used.
KillbillWithProfilingInfo() *string
// Default WithStackTrace. If not set explicitly in params, this will be used.
KillbillWithStackTrace() *bool
}
killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.
type ModifySubscriptionCustomFieldsBadRequest ¶
type ModifySubscriptionCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
ModifySubscriptionCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewModifySubscriptionCustomFieldsBadRequest ¶
func NewModifySubscriptionCustomFieldsBadRequest() *ModifySubscriptionCustomFieldsBadRequest
NewModifySubscriptionCustomFieldsBadRequest creates a ModifySubscriptionCustomFieldsBadRequest with default headers values
func (*ModifySubscriptionCustomFieldsBadRequest) Code ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) Code() int
Code gets the status code for the modify subscription custom fields bad request response
func (*ModifySubscriptionCustomFieldsBadRequest) Error ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) Error() string
func (*ModifySubscriptionCustomFieldsBadRequest) IsClientError ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this modify subscription custom fields bad request response has a 4xx status code
func (*ModifySubscriptionCustomFieldsBadRequest) IsCode ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this modify subscription custom fields bad request response a status code equal to that given
func (*ModifySubscriptionCustomFieldsBadRequest) IsRedirect ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this modify subscription custom fields bad request response has a 3xx status code
func (*ModifySubscriptionCustomFieldsBadRequest) IsServerError ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this modify subscription custom fields bad request response has a 5xx status code
func (*ModifySubscriptionCustomFieldsBadRequest) IsSuccess ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this modify subscription custom fields bad request response has a 2xx status code
func (*ModifySubscriptionCustomFieldsBadRequest) String ¶
func (o *ModifySubscriptionCustomFieldsBadRequest) String() string
type ModifySubscriptionCustomFieldsNoContent ¶
type ModifySubscriptionCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
ModifySubscriptionCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewModifySubscriptionCustomFieldsNoContent ¶
func NewModifySubscriptionCustomFieldsNoContent() *ModifySubscriptionCustomFieldsNoContent
NewModifySubscriptionCustomFieldsNoContent creates a ModifySubscriptionCustomFieldsNoContent with default headers values
func (*ModifySubscriptionCustomFieldsNoContent) Code ¶
func (o *ModifySubscriptionCustomFieldsNoContent) Code() int
Code gets the status code for the modify subscription custom fields no content response
func (*ModifySubscriptionCustomFieldsNoContent) Error ¶
func (o *ModifySubscriptionCustomFieldsNoContent) Error() string
func (*ModifySubscriptionCustomFieldsNoContent) IsClientError ¶
func (o *ModifySubscriptionCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this modify subscription custom fields no content response has a 4xx status code
func (*ModifySubscriptionCustomFieldsNoContent) IsCode ¶
func (o *ModifySubscriptionCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this modify subscription custom fields no content response a status code equal to that given
func (*ModifySubscriptionCustomFieldsNoContent) IsRedirect ¶
func (o *ModifySubscriptionCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this modify subscription custom fields no content response has a 3xx status code
func (*ModifySubscriptionCustomFieldsNoContent) IsServerError ¶
func (o *ModifySubscriptionCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this modify subscription custom fields no content response has a 5xx status code
func (*ModifySubscriptionCustomFieldsNoContent) IsSuccess ¶
func (o *ModifySubscriptionCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this modify subscription custom fields no content response has a 2xx status code
func (*ModifySubscriptionCustomFieldsNoContent) String ¶
func (o *ModifySubscriptionCustomFieldsNoContent) String() string
type ModifySubscriptionCustomFieldsParams ¶
type ModifySubscriptionCustomFieldsParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// Body.
Body []*kbmodel.CustomField
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
ModifySubscriptionCustomFieldsParams contains all the parameters to send to the API endpoint
for the modify subscription custom fields operation. Typically these are written to a http.Request.
func NewModifySubscriptionCustomFieldsParams ¶
func NewModifySubscriptionCustomFieldsParams() *ModifySubscriptionCustomFieldsParams
NewModifySubscriptionCustomFieldsParams creates a new ModifySubscriptionCustomFieldsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewModifySubscriptionCustomFieldsParamsWithContext ¶
func NewModifySubscriptionCustomFieldsParamsWithContext(ctx context.Context) *ModifySubscriptionCustomFieldsParams
NewModifySubscriptionCustomFieldsParamsWithContext creates a new ModifySubscriptionCustomFieldsParams object with the ability to set a context for a request.
func NewModifySubscriptionCustomFieldsParamsWithHTTPClient ¶
func NewModifySubscriptionCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifySubscriptionCustomFieldsParams
NewModifySubscriptionCustomFieldsParamsWithHTTPClient creates a new ModifySubscriptionCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewModifySubscriptionCustomFieldsParamsWithTimeout ¶
func NewModifySubscriptionCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifySubscriptionCustomFieldsParams
NewModifySubscriptionCustomFieldsParamsWithTimeout creates a new ModifySubscriptionCustomFieldsParams object with the ability to set a timeout on a request.
func (*ModifySubscriptionCustomFieldsParams) SetBody ¶
func (o *ModifySubscriptionCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) SetContext ¶
func (o *ModifySubscriptionCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) SetDefaults ¶
func (o *ModifySubscriptionCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the modify subscription custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifySubscriptionCustomFieldsParams) SetHTTPClient ¶
func (o *ModifySubscriptionCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) SetSubscriptionID ¶
func (o *ModifySubscriptionCustomFieldsParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) SetTimeout ¶
func (o *ModifySubscriptionCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) SetXKillbillComment ¶
func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) SetXKillbillReason ¶
func (o *ModifySubscriptionCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithBody ¶
func (o *ModifySubscriptionCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifySubscriptionCustomFieldsParams
WithBody adds the body to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithContext ¶
func (o *ModifySubscriptionCustomFieldsParams) WithContext(ctx context.Context) *ModifySubscriptionCustomFieldsParams
WithContext adds the context to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithDefaults ¶
func (o *ModifySubscriptionCustomFieldsParams) WithDefaults() *ModifySubscriptionCustomFieldsParams
WithDefaults hydrates default values in the modify subscription custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifySubscriptionCustomFieldsParams) WithHTTPClient ¶
func (o *ModifySubscriptionCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifySubscriptionCustomFieldsParams
WithHTTPClient adds the HTTPClient to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithSubscriptionID ¶
func (o *ModifySubscriptionCustomFieldsParams) WithSubscriptionID(subscriptionID strfmt.UUID) *ModifySubscriptionCustomFieldsParams
WithSubscriptionID adds the subscriptionID to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithTimeout ¶
func (o *ModifySubscriptionCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifySubscriptionCustomFieldsParams
WithTimeout adds the timeout to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithXKillbillComment ¶
func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifySubscriptionCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifySubscriptionCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WithXKillbillReason ¶
func (o *ModifySubscriptionCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifySubscriptionCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the modify subscription custom fields params
func (*ModifySubscriptionCustomFieldsParams) WriteToRequest ¶
func (o *ModifySubscriptionCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifySubscriptionCustomFieldsReader ¶
type ModifySubscriptionCustomFieldsReader struct {
// contains filtered or unexported fields
}
ModifySubscriptionCustomFieldsReader is a Reader for the ModifySubscriptionCustomFields structure.
func (*ModifySubscriptionCustomFieldsReader) ReadResponse ¶
func (o *ModifySubscriptionCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UncancelSubscriptionPlanBadRequest ¶
type UncancelSubscriptionPlanBadRequest struct {
HttpResponse runtime.ClientResponse
}
UncancelSubscriptionPlanBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewUncancelSubscriptionPlanBadRequest ¶
func NewUncancelSubscriptionPlanBadRequest() *UncancelSubscriptionPlanBadRequest
NewUncancelSubscriptionPlanBadRequest creates a UncancelSubscriptionPlanBadRequest with default headers values
func (*UncancelSubscriptionPlanBadRequest) Code ¶
func (o *UncancelSubscriptionPlanBadRequest) Code() int
Code gets the status code for the uncancel subscription plan bad request response
func (*UncancelSubscriptionPlanBadRequest) Error ¶
func (o *UncancelSubscriptionPlanBadRequest) Error() string
func (*UncancelSubscriptionPlanBadRequest) IsClientError ¶
func (o *UncancelSubscriptionPlanBadRequest) IsClientError() bool
IsClientError returns true when this uncancel subscription plan bad request response has a 4xx status code
func (*UncancelSubscriptionPlanBadRequest) IsCode ¶
func (o *UncancelSubscriptionPlanBadRequest) IsCode(code int) bool
IsCode returns true when this uncancel subscription plan bad request response a status code equal to that given
func (*UncancelSubscriptionPlanBadRequest) IsRedirect ¶
func (o *UncancelSubscriptionPlanBadRequest) IsRedirect() bool
IsRedirect returns true when this uncancel subscription plan bad request response has a 3xx status code
func (*UncancelSubscriptionPlanBadRequest) IsServerError ¶
func (o *UncancelSubscriptionPlanBadRequest) IsServerError() bool
IsServerError returns true when this uncancel subscription plan bad request response has a 5xx status code
func (*UncancelSubscriptionPlanBadRequest) IsSuccess ¶
func (o *UncancelSubscriptionPlanBadRequest) IsSuccess() bool
IsSuccess returns true when this uncancel subscription plan bad request response has a 2xx status code
func (*UncancelSubscriptionPlanBadRequest) String ¶
func (o *UncancelSubscriptionPlanBadRequest) String() string
type UncancelSubscriptionPlanNoContent ¶
type UncancelSubscriptionPlanNoContent struct {
HttpResponse runtime.ClientResponse
}
UncancelSubscriptionPlanNoContent describes a response with status code 204, with default header values.
Successful operation
func NewUncancelSubscriptionPlanNoContent ¶
func NewUncancelSubscriptionPlanNoContent() *UncancelSubscriptionPlanNoContent
NewUncancelSubscriptionPlanNoContent creates a UncancelSubscriptionPlanNoContent with default headers values
func (*UncancelSubscriptionPlanNoContent) Code ¶
func (o *UncancelSubscriptionPlanNoContent) Code() int
Code gets the status code for the uncancel subscription plan no content response
func (*UncancelSubscriptionPlanNoContent) Error ¶
func (o *UncancelSubscriptionPlanNoContent) Error() string
func (*UncancelSubscriptionPlanNoContent) IsClientError ¶
func (o *UncancelSubscriptionPlanNoContent) IsClientError() bool
IsClientError returns true when this uncancel subscription plan no content response has a 4xx status code
func (*UncancelSubscriptionPlanNoContent) IsCode ¶
func (o *UncancelSubscriptionPlanNoContent) IsCode(code int) bool
IsCode returns true when this uncancel subscription plan no content response a status code equal to that given
func (*UncancelSubscriptionPlanNoContent) IsRedirect ¶
func (o *UncancelSubscriptionPlanNoContent) IsRedirect() bool
IsRedirect returns true when this uncancel subscription plan no content response has a 3xx status code
func (*UncancelSubscriptionPlanNoContent) IsServerError ¶
func (o *UncancelSubscriptionPlanNoContent) IsServerError() bool
IsServerError returns true when this uncancel subscription plan no content response has a 5xx status code
func (*UncancelSubscriptionPlanNoContent) IsSuccess ¶
func (o *UncancelSubscriptionPlanNoContent) IsSuccess() bool
IsSuccess returns true when this uncancel subscription plan no content response has a 2xx status code
func (*UncancelSubscriptionPlanNoContent) String ¶
func (o *UncancelSubscriptionPlanNoContent) String() string
type UncancelSubscriptionPlanNotFound ¶
type UncancelSubscriptionPlanNotFound struct {
HttpResponse runtime.ClientResponse
}
UncancelSubscriptionPlanNotFound describes a response with status code 404, with default header values.
Entitlement not found
func NewUncancelSubscriptionPlanNotFound ¶
func NewUncancelSubscriptionPlanNotFound() *UncancelSubscriptionPlanNotFound
NewUncancelSubscriptionPlanNotFound creates a UncancelSubscriptionPlanNotFound with default headers values
func (*UncancelSubscriptionPlanNotFound) Code ¶
func (o *UncancelSubscriptionPlanNotFound) Code() int
Code gets the status code for the uncancel subscription plan not found response
func (*UncancelSubscriptionPlanNotFound) Error ¶
func (o *UncancelSubscriptionPlanNotFound) Error() string
func (*UncancelSubscriptionPlanNotFound) IsClientError ¶
func (o *UncancelSubscriptionPlanNotFound) IsClientError() bool
IsClientError returns true when this uncancel subscription plan not found response has a 4xx status code
func (*UncancelSubscriptionPlanNotFound) IsCode ¶
func (o *UncancelSubscriptionPlanNotFound) IsCode(code int) bool
IsCode returns true when this uncancel subscription plan not found response a status code equal to that given
func (*UncancelSubscriptionPlanNotFound) IsRedirect ¶
func (o *UncancelSubscriptionPlanNotFound) IsRedirect() bool
IsRedirect returns true when this uncancel subscription plan not found response has a 3xx status code
func (*UncancelSubscriptionPlanNotFound) IsServerError ¶
func (o *UncancelSubscriptionPlanNotFound) IsServerError() bool
IsServerError returns true when this uncancel subscription plan not found response has a 5xx status code
func (*UncancelSubscriptionPlanNotFound) IsSuccess ¶
func (o *UncancelSubscriptionPlanNotFound) IsSuccess() bool
IsSuccess returns true when this uncancel subscription plan not found response has a 2xx status code
func (*UncancelSubscriptionPlanNotFound) String ¶
func (o *UncancelSubscriptionPlanNotFound) String() string
type UncancelSubscriptionPlanParams ¶
type UncancelSubscriptionPlanParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// PluginProperty.
PluginProperty []string
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
UncancelSubscriptionPlanParams contains all the parameters to send to the API endpoint
for the uncancel subscription plan operation. Typically these are written to a http.Request.
func NewUncancelSubscriptionPlanParams ¶
func NewUncancelSubscriptionPlanParams() *UncancelSubscriptionPlanParams
NewUncancelSubscriptionPlanParams creates a new UncancelSubscriptionPlanParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUncancelSubscriptionPlanParamsWithContext ¶
func NewUncancelSubscriptionPlanParamsWithContext(ctx context.Context) *UncancelSubscriptionPlanParams
NewUncancelSubscriptionPlanParamsWithContext creates a new UncancelSubscriptionPlanParams object with the ability to set a context for a request.
func NewUncancelSubscriptionPlanParamsWithHTTPClient ¶
func NewUncancelSubscriptionPlanParamsWithHTTPClient(client *http.Client) *UncancelSubscriptionPlanParams
NewUncancelSubscriptionPlanParamsWithHTTPClient creates a new UncancelSubscriptionPlanParams object with the ability to set a custom HTTPClient for a request.
func NewUncancelSubscriptionPlanParamsWithTimeout ¶
func NewUncancelSubscriptionPlanParamsWithTimeout(timeout time.Duration) *UncancelSubscriptionPlanParams
NewUncancelSubscriptionPlanParamsWithTimeout creates a new UncancelSubscriptionPlanParams object with the ability to set a timeout on a request.
func (*UncancelSubscriptionPlanParams) SetContext ¶
func (o *UncancelSubscriptionPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) SetDefaults ¶
func (o *UncancelSubscriptionPlanParams) SetDefaults()
SetDefaults hydrates default values in the uncancel subscription plan params (not the query body).
All values with no default are reset to their zero value.
func (*UncancelSubscriptionPlanParams) SetHTTPClient ¶
func (o *UncancelSubscriptionPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) SetPluginProperty ¶
func (o *UncancelSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) SetSubscriptionID ¶
func (o *UncancelSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) SetTimeout ¶
func (o *UncancelSubscriptionPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) SetXKillbillComment ¶
func (o *UncancelSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) SetXKillbillCreatedBy ¶
func (o *UncancelSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) SetXKillbillReason ¶
func (o *UncancelSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithContext ¶
func (o *UncancelSubscriptionPlanParams) WithContext(ctx context.Context) *UncancelSubscriptionPlanParams
WithContext adds the context to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithDefaults ¶
func (o *UncancelSubscriptionPlanParams) WithDefaults() *UncancelSubscriptionPlanParams
WithDefaults hydrates default values in the uncancel subscription plan params (not the query body).
All values with no default are reset to their zero value.
func (*UncancelSubscriptionPlanParams) WithHTTPClient ¶
func (o *UncancelSubscriptionPlanParams) WithHTTPClient(client *http.Client) *UncancelSubscriptionPlanParams
WithHTTPClient adds the HTTPClient to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithPluginProperty ¶
func (o *UncancelSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *UncancelSubscriptionPlanParams
WithPluginProperty adds the pluginProperty to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithSubscriptionID ¶
func (o *UncancelSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UncancelSubscriptionPlanParams
WithSubscriptionID adds the subscriptionID to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithTimeout ¶
func (o *UncancelSubscriptionPlanParams) WithTimeout(timeout time.Duration) *UncancelSubscriptionPlanParams
WithTimeout adds the timeout to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithXKillbillComment ¶
func (o *UncancelSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *UncancelSubscriptionPlanParams
WithXKillbillComment adds the xKillbillComment to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithXKillbillCreatedBy ¶
func (o *UncancelSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UncancelSubscriptionPlanParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WithXKillbillReason ¶
func (o *UncancelSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *UncancelSubscriptionPlanParams
WithXKillbillReason adds the xKillbillReason to the uncancel subscription plan params
func (*UncancelSubscriptionPlanParams) WriteToRequest ¶
func (o *UncancelSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UncancelSubscriptionPlanReader ¶
type UncancelSubscriptionPlanReader struct {
// contains filtered or unexported fields
}
UncancelSubscriptionPlanReader is a Reader for the UncancelSubscriptionPlan structure.
func (*UncancelSubscriptionPlanReader) ReadResponse ¶
func (o *UncancelSubscriptionPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UndoChangeSubscriptionPlanBadRequest ¶
type UndoChangeSubscriptionPlanBadRequest struct {
HttpResponse runtime.ClientResponse
}
UndoChangeSubscriptionPlanBadRequest describes a response with status code 400, with default header values.
Invalid subscription id supplied
func NewUndoChangeSubscriptionPlanBadRequest ¶
func NewUndoChangeSubscriptionPlanBadRequest() *UndoChangeSubscriptionPlanBadRequest
NewUndoChangeSubscriptionPlanBadRequest creates a UndoChangeSubscriptionPlanBadRequest with default headers values
func (*UndoChangeSubscriptionPlanBadRequest) Code ¶
func (o *UndoChangeSubscriptionPlanBadRequest) Code() int
Code gets the status code for the undo change subscription plan bad request response
func (*UndoChangeSubscriptionPlanBadRequest) Error ¶
func (o *UndoChangeSubscriptionPlanBadRequest) Error() string
func (*UndoChangeSubscriptionPlanBadRequest) IsClientError ¶
func (o *UndoChangeSubscriptionPlanBadRequest) IsClientError() bool
IsClientError returns true when this undo change subscription plan bad request response has a 4xx status code
func (*UndoChangeSubscriptionPlanBadRequest) IsCode ¶
func (o *UndoChangeSubscriptionPlanBadRequest) IsCode(code int) bool
IsCode returns true when this undo change subscription plan bad request response a status code equal to that given
func (*UndoChangeSubscriptionPlanBadRequest) IsRedirect ¶
func (o *UndoChangeSubscriptionPlanBadRequest) IsRedirect() bool
IsRedirect returns true when this undo change subscription plan bad request response has a 3xx status code
func (*UndoChangeSubscriptionPlanBadRequest) IsServerError ¶
func (o *UndoChangeSubscriptionPlanBadRequest) IsServerError() bool
IsServerError returns true when this undo change subscription plan bad request response has a 5xx status code
func (*UndoChangeSubscriptionPlanBadRequest) IsSuccess ¶
func (o *UndoChangeSubscriptionPlanBadRequest) IsSuccess() bool
IsSuccess returns true when this undo change subscription plan bad request response has a 2xx status code
func (*UndoChangeSubscriptionPlanBadRequest) String ¶
func (o *UndoChangeSubscriptionPlanBadRequest) String() string
type UndoChangeSubscriptionPlanNoContent ¶
type UndoChangeSubscriptionPlanNoContent struct {
HttpResponse runtime.ClientResponse
}
UndoChangeSubscriptionPlanNoContent describes a response with status code 204, with default header values.
Successful operation
func NewUndoChangeSubscriptionPlanNoContent ¶
func NewUndoChangeSubscriptionPlanNoContent() *UndoChangeSubscriptionPlanNoContent
NewUndoChangeSubscriptionPlanNoContent creates a UndoChangeSubscriptionPlanNoContent with default headers values
func (*UndoChangeSubscriptionPlanNoContent) Code ¶
func (o *UndoChangeSubscriptionPlanNoContent) Code() int
Code gets the status code for the undo change subscription plan no content response
func (*UndoChangeSubscriptionPlanNoContent) Error ¶
func (o *UndoChangeSubscriptionPlanNoContent) Error() string
func (*UndoChangeSubscriptionPlanNoContent) IsClientError ¶
func (o *UndoChangeSubscriptionPlanNoContent) IsClientError() bool
IsClientError returns true when this undo change subscription plan no content response has a 4xx status code
func (*UndoChangeSubscriptionPlanNoContent) IsCode ¶
func (o *UndoChangeSubscriptionPlanNoContent) IsCode(code int) bool
IsCode returns true when this undo change subscription plan no content response a status code equal to that given
func (*UndoChangeSubscriptionPlanNoContent) IsRedirect ¶
func (o *UndoChangeSubscriptionPlanNoContent) IsRedirect() bool
IsRedirect returns true when this undo change subscription plan no content response has a 3xx status code
func (*UndoChangeSubscriptionPlanNoContent) IsServerError ¶
func (o *UndoChangeSubscriptionPlanNoContent) IsServerError() bool
IsServerError returns true when this undo change subscription plan no content response has a 5xx status code
func (*UndoChangeSubscriptionPlanNoContent) IsSuccess ¶
func (o *UndoChangeSubscriptionPlanNoContent) IsSuccess() bool
IsSuccess returns true when this undo change subscription plan no content response has a 2xx status code
func (*UndoChangeSubscriptionPlanNoContent) String ¶
func (o *UndoChangeSubscriptionPlanNoContent) String() string
type UndoChangeSubscriptionPlanNotFound ¶
type UndoChangeSubscriptionPlanNotFound struct {
HttpResponse runtime.ClientResponse
}
UndoChangeSubscriptionPlanNotFound describes a response with status code 404, with default header values.
Entitlement not found
func NewUndoChangeSubscriptionPlanNotFound ¶
func NewUndoChangeSubscriptionPlanNotFound() *UndoChangeSubscriptionPlanNotFound
NewUndoChangeSubscriptionPlanNotFound creates a UndoChangeSubscriptionPlanNotFound with default headers values
func (*UndoChangeSubscriptionPlanNotFound) Code ¶
func (o *UndoChangeSubscriptionPlanNotFound) Code() int
Code gets the status code for the undo change subscription plan not found response
func (*UndoChangeSubscriptionPlanNotFound) Error ¶
func (o *UndoChangeSubscriptionPlanNotFound) Error() string
func (*UndoChangeSubscriptionPlanNotFound) IsClientError ¶
func (o *UndoChangeSubscriptionPlanNotFound) IsClientError() bool
IsClientError returns true when this undo change subscription plan not found response has a 4xx status code
func (*UndoChangeSubscriptionPlanNotFound) IsCode ¶
func (o *UndoChangeSubscriptionPlanNotFound) IsCode(code int) bool
IsCode returns true when this undo change subscription plan not found response a status code equal to that given
func (*UndoChangeSubscriptionPlanNotFound) IsRedirect ¶
func (o *UndoChangeSubscriptionPlanNotFound) IsRedirect() bool
IsRedirect returns true when this undo change subscription plan not found response has a 3xx status code
func (*UndoChangeSubscriptionPlanNotFound) IsServerError ¶
func (o *UndoChangeSubscriptionPlanNotFound) IsServerError() bool
IsServerError returns true when this undo change subscription plan not found response has a 5xx status code
func (*UndoChangeSubscriptionPlanNotFound) IsSuccess ¶
func (o *UndoChangeSubscriptionPlanNotFound) IsSuccess() bool
IsSuccess returns true when this undo change subscription plan not found response has a 2xx status code
func (*UndoChangeSubscriptionPlanNotFound) String ¶
func (o *UndoChangeSubscriptionPlanNotFound) String() string
type UndoChangeSubscriptionPlanParams ¶
type UndoChangeSubscriptionPlanParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// PluginProperty.
PluginProperty []string
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
UndoChangeSubscriptionPlanParams contains all the parameters to send to the API endpoint
for the undo change subscription plan operation. Typically these are written to a http.Request.
func NewUndoChangeSubscriptionPlanParams ¶
func NewUndoChangeSubscriptionPlanParams() *UndoChangeSubscriptionPlanParams
NewUndoChangeSubscriptionPlanParams creates a new UndoChangeSubscriptionPlanParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUndoChangeSubscriptionPlanParamsWithContext ¶
func NewUndoChangeSubscriptionPlanParamsWithContext(ctx context.Context) *UndoChangeSubscriptionPlanParams
NewUndoChangeSubscriptionPlanParamsWithContext creates a new UndoChangeSubscriptionPlanParams object with the ability to set a context for a request.
func NewUndoChangeSubscriptionPlanParamsWithHTTPClient ¶
func NewUndoChangeSubscriptionPlanParamsWithHTTPClient(client *http.Client) *UndoChangeSubscriptionPlanParams
NewUndoChangeSubscriptionPlanParamsWithHTTPClient creates a new UndoChangeSubscriptionPlanParams object with the ability to set a custom HTTPClient for a request.
func NewUndoChangeSubscriptionPlanParamsWithTimeout ¶
func NewUndoChangeSubscriptionPlanParamsWithTimeout(timeout time.Duration) *UndoChangeSubscriptionPlanParams
NewUndoChangeSubscriptionPlanParamsWithTimeout creates a new UndoChangeSubscriptionPlanParams object with the ability to set a timeout on a request.
func (*UndoChangeSubscriptionPlanParams) SetContext ¶
func (o *UndoChangeSubscriptionPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) SetDefaults ¶
func (o *UndoChangeSubscriptionPlanParams) SetDefaults()
SetDefaults hydrates default values in the undo change subscription plan params (not the query body).
All values with no default are reset to their zero value.
func (*UndoChangeSubscriptionPlanParams) SetHTTPClient ¶
func (o *UndoChangeSubscriptionPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) SetPluginProperty ¶
func (o *UndoChangeSubscriptionPlanParams) SetPluginProperty(pluginProperty []string)
SetPluginProperty adds the pluginProperty to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) SetSubscriptionID ¶
func (o *UndoChangeSubscriptionPlanParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) SetTimeout ¶
func (o *UndoChangeSubscriptionPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) SetXKillbillComment ¶
func (o *UndoChangeSubscriptionPlanParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) SetXKillbillCreatedBy ¶
func (o *UndoChangeSubscriptionPlanParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) SetXKillbillReason ¶
func (o *UndoChangeSubscriptionPlanParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithContext ¶
func (o *UndoChangeSubscriptionPlanParams) WithContext(ctx context.Context) *UndoChangeSubscriptionPlanParams
WithContext adds the context to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithDefaults ¶
func (o *UndoChangeSubscriptionPlanParams) WithDefaults() *UndoChangeSubscriptionPlanParams
WithDefaults hydrates default values in the undo change subscription plan params (not the query body).
All values with no default are reset to their zero value.
func (*UndoChangeSubscriptionPlanParams) WithHTTPClient ¶
func (o *UndoChangeSubscriptionPlanParams) WithHTTPClient(client *http.Client) *UndoChangeSubscriptionPlanParams
WithHTTPClient adds the HTTPClient to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithPluginProperty ¶
func (o *UndoChangeSubscriptionPlanParams) WithPluginProperty(pluginProperty []string) *UndoChangeSubscriptionPlanParams
WithPluginProperty adds the pluginProperty to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithSubscriptionID ¶
func (o *UndoChangeSubscriptionPlanParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UndoChangeSubscriptionPlanParams
WithSubscriptionID adds the subscriptionID to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithTimeout ¶
func (o *UndoChangeSubscriptionPlanParams) WithTimeout(timeout time.Duration) *UndoChangeSubscriptionPlanParams
WithTimeout adds the timeout to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithXKillbillComment ¶
func (o *UndoChangeSubscriptionPlanParams) WithXKillbillComment(xKillbillComment *string) *UndoChangeSubscriptionPlanParams
WithXKillbillComment adds the xKillbillComment to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithXKillbillCreatedBy ¶
func (o *UndoChangeSubscriptionPlanParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UndoChangeSubscriptionPlanParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WithXKillbillReason ¶
func (o *UndoChangeSubscriptionPlanParams) WithXKillbillReason(xKillbillReason *string) *UndoChangeSubscriptionPlanParams
WithXKillbillReason adds the xKillbillReason to the undo change subscription plan params
func (*UndoChangeSubscriptionPlanParams) WriteToRequest ¶
func (o *UndoChangeSubscriptionPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UndoChangeSubscriptionPlanReader ¶
type UndoChangeSubscriptionPlanReader struct {
// contains filtered or unexported fields
}
UndoChangeSubscriptionPlanReader is a Reader for the UndoChangeSubscriptionPlan structure.
func (*UndoChangeSubscriptionPlanReader) ReadResponse ¶
func (o *UndoChangeSubscriptionPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSubscriptionBCDBadRequest ¶
type UpdateSubscriptionBCDBadRequest struct {
HttpResponse runtime.ClientResponse
}
UpdateSubscriptionBCDBadRequest describes a response with status code 400, with default header values.
Invalid entitlement supplied
func NewUpdateSubscriptionBCDBadRequest ¶
func NewUpdateSubscriptionBCDBadRequest() *UpdateSubscriptionBCDBadRequest
NewUpdateSubscriptionBCDBadRequest creates a UpdateSubscriptionBCDBadRequest with default headers values
func (*UpdateSubscriptionBCDBadRequest) Code ¶
func (o *UpdateSubscriptionBCDBadRequest) Code() int
Code gets the status code for the update subscription b c d bad request response
func (*UpdateSubscriptionBCDBadRequest) Error ¶
func (o *UpdateSubscriptionBCDBadRequest) Error() string
func (*UpdateSubscriptionBCDBadRequest) IsClientError ¶
func (o *UpdateSubscriptionBCDBadRequest) IsClientError() bool
IsClientError returns true when this update subscription b c d bad request response has a 4xx status code
func (*UpdateSubscriptionBCDBadRequest) IsCode ¶
func (o *UpdateSubscriptionBCDBadRequest) IsCode(code int) bool
IsCode returns true when this update subscription b c d bad request response a status code equal to that given
func (*UpdateSubscriptionBCDBadRequest) IsRedirect ¶
func (o *UpdateSubscriptionBCDBadRequest) IsRedirect() bool
IsRedirect returns true when this update subscription b c d bad request response has a 3xx status code
func (*UpdateSubscriptionBCDBadRequest) IsServerError ¶
func (o *UpdateSubscriptionBCDBadRequest) IsServerError() bool
IsServerError returns true when this update subscription b c d bad request response has a 5xx status code
func (*UpdateSubscriptionBCDBadRequest) IsSuccess ¶
func (o *UpdateSubscriptionBCDBadRequest) IsSuccess() bool
IsSuccess returns true when this update subscription b c d bad request response has a 2xx status code
func (*UpdateSubscriptionBCDBadRequest) String ¶
func (o *UpdateSubscriptionBCDBadRequest) String() string
type UpdateSubscriptionBCDNoContent ¶
type UpdateSubscriptionBCDNoContent struct {
HttpResponse runtime.ClientResponse
}
UpdateSubscriptionBCDNoContent describes a response with status code 204, with default header values.
Successful operation
func NewUpdateSubscriptionBCDNoContent ¶
func NewUpdateSubscriptionBCDNoContent() *UpdateSubscriptionBCDNoContent
NewUpdateSubscriptionBCDNoContent creates a UpdateSubscriptionBCDNoContent with default headers values
func (*UpdateSubscriptionBCDNoContent) Code ¶
func (o *UpdateSubscriptionBCDNoContent) Code() int
Code gets the status code for the update subscription b c d no content response
func (*UpdateSubscriptionBCDNoContent) Error ¶
func (o *UpdateSubscriptionBCDNoContent) Error() string
func (*UpdateSubscriptionBCDNoContent) IsClientError ¶
func (o *UpdateSubscriptionBCDNoContent) IsClientError() bool
IsClientError returns true when this update subscription b c d no content response has a 4xx status code
func (*UpdateSubscriptionBCDNoContent) IsCode ¶
func (o *UpdateSubscriptionBCDNoContent) IsCode(code int) bool
IsCode returns true when this update subscription b c d no content response a status code equal to that given
func (*UpdateSubscriptionBCDNoContent) IsRedirect ¶
func (o *UpdateSubscriptionBCDNoContent) IsRedirect() bool
IsRedirect returns true when this update subscription b c d no content response has a 3xx status code
func (*UpdateSubscriptionBCDNoContent) IsServerError ¶
func (o *UpdateSubscriptionBCDNoContent) IsServerError() bool
IsServerError returns true when this update subscription b c d no content response has a 5xx status code
func (*UpdateSubscriptionBCDNoContent) IsSuccess ¶
func (o *UpdateSubscriptionBCDNoContent) IsSuccess() bool
IsSuccess returns true when this update subscription b c d no content response has a 2xx status code
func (*UpdateSubscriptionBCDNoContent) String ¶
func (o *UpdateSubscriptionBCDNoContent) String() string
type UpdateSubscriptionBCDParams ¶
type UpdateSubscriptionBCDParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// Body.
Body *kbmodel.Subscription
// EffectiveFromDate.
//
// Format: date
EffectiveFromDate *strfmt.Date
// ForceNewBcdWithPastEffectiveDate.
ForceNewBcdWithPastEffectiveDate *bool
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
UpdateSubscriptionBCDParams contains all the parameters to send to the API endpoint
for the update subscription b c d operation. Typically these are written to a http.Request.
func NewUpdateSubscriptionBCDParams ¶
func NewUpdateSubscriptionBCDParams() *UpdateSubscriptionBCDParams
NewUpdateSubscriptionBCDParams creates a new UpdateSubscriptionBCDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSubscriptionBCDParamsWithContext ¶
func NewUpdateSubscriptionBCDParamsWithContext(ctx context.Context) *UpdateSubscriptionBCDParams
NewUpdateSubscriptionBCDParamsWithContext creates a new UpdateSubscriptionBCDParams object with the ability to set a context for a request.
func NewUpdateSubscriptionBCDParamsWithHTTPClient ¶
func NewUpdateSubscriptionBCDParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionBCDParams
NewUpdateSubscriptionBCDParamsWithHTTPClient creates a new UpdateSubscriptionBCDParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSubscriptionBCDParamsWithTimeout ¶
func NewUpdateSubscriptionBCDParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionBCDParams
NewUpdateSubscriptionBCDParamsWithTimeout creates a new UpdateSubscriptionBCDParams object with the ability to set a timeout on a request.
func (*UpdateSubscriptionBCDParams) SetBody ¶
func (o *UpdateSubscriptionBCDParams) SetBody(body *kbmodel.Subscription)
SetBody adds the body to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetContext ¶
func (o *UpdateSubscriptionBCDParams) SetContext(ctx context.Context)
SetContext adds the context to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetDefaults ¶
func (o *UpdateSubscriptionBCDParams) SetDefaults()
SetDefaults hydrates default values in the update subscription b c d params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSubscriptionBCDParams) SetEffectiveFromDate ¶
func (o *UpdateSubscriptionBCDParams) SetEffectiveFromDate(effectiveFromDate *strfmt.Date)
SetEffectiveFromDate adds the effectiveFromDate to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetForceNewBcdWithPastEffectiveDate ¶
func (o *UpdateSubscriptionBCDParams) SetForceNewBcdWithPastEffectiveDate(forceNewBcdWithPastEffectiveDate *bool)
SetForceNewBcdWithPastEffectiveDate adds the forceNewBcdWithPastEffectiveDate to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetHTTPClient ¶
func (o *UpdateSubscriptionBCDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetSubscriptionID ¶
func (o *UpdateSubscriptionBCDParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetTimeout ¶
func (o *UpdateSubscriptionBCDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetXKillbillComment ¶
func (o *UpdateSubscriptionBCDParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetXKillbillCreatedBy ¶
func (o *UpdateSubscriptionBCDParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) SetXKillbillReason ¶
func (o *UpdateSubscriptionBCDParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithBody ¶
func (o *UpdateSubscriptionBCDParams) WithBody(body *kbmodel.Subscription) *UpdateSubscriptionBCDParams
WithBody adds the body to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithContext ¶
func (o *UpdateSubscriptionBCDParams) WithContext(ctx context.Context) *UpdateSubscriptionBCDParams
WithContext adds the context to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithDefaults ¶
func (o *UpdateSubscriptionBCDParams) WithDefaults() *UpdateSubscriptionBCDParams
WithDefaults hydrates default values in the update subscription b c d params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSubscriptionBCDParams) WithEffectiveFromDate ¶
func (o *UpdateSubscriptionBCDParams) WithEffectiveFromDate(effectiveFromDate *strfmt.Date) *UpdateSubscriptionBCDParams
WithEffectiveFromDate adds the effectiveFromDate to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithForceNewBcdWithPastEffectiveDate ¶
func (o *UpdateSubscriptionBCDParams) WithForceNewBcdWithPastEffectiveDate(forceNewBcdWithPastEffectiveDate *bool) *UpdateSubscriptionBCDParams
WithForceNewBcdWithPastEffectiveDate adds the forceNewBcdWithPastEffectiveDate to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithHTTPClient ¶
func (o *UpdateSubscriptionBCDParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionBCDParams
WithHTTPClient adds the HTTPClient to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithSubscriptionID ¶
func (o *UpdateSubscriptionBCDParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UpdateSubscriptionBCDParams
WithSubscriptionID adds the subscriptionID to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithTimeout ¶
func (o *UpdateSubscriptionBCDParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionBCDParams
WithTimeout adds the timeout to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithXKillbillComment ¶
func (o *UpdateSubscriptionBCDParams) WithXKillbillComment(xKillbillComment *string) *UpdateSubscriptionBCDParams
WithXKillbillComment adds the xKillbillComment to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithXKillbillCreatedBy ¶
func (o *UpdateSubscriptionBCDParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateSubscriptionBCDParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WithXKillbillReason ¶
func (o *UpdateSubscriptionBCDParams) WithXKillbillReason(xKillbillReason *string) *UpdateSubscriptionBCDParams
WithXKillbillReason adds the xKillbillReason to the update subscription b c d params
func (*UpdateSubscriptionBCDParams) WriteToRequest ¶
func (o *UpdateSubscriptionBCDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSubscriptionBCDReader ¶
type UpdateSubscriptionBCDReader struct {
// contains filtered or unexported fields
}
UpdateSubscriptionBCDReader is a Reader for the UpdateSubscriptionBCD structure.
func (*UpdateSubscriptionBCDReader) ReadResponse ¶
func (o *UpdateSubscriptionBCDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSubscriptionQuantityBadRequest ¶
type UpdateSubscriptionQuantityBadRequest struct {
HttpResponse runtime.ClientResponse
}
UpdateSubscriptionQuantityBadRequest describes a response with status code 400, with default header values.
Invalid entitlement supplied
func NewUpdateSubscriptionQuantityBadRequest ¶
func NewUpdateSubscriptionQuantityBadRequest() *UpdateSubscriptionQuantityBadRequest
NewUpdateSubscriptionQuantityBadRequest creates a UpdateSubscriptionQuantityBadRequest with default headers values
func (*UpdateSubscriptionQuantityBadRequest) Code ¶
func (o *UpdateSubscriptionQuantityBadRequest) Code() int
Code gets the status code for the update subscription quantity bad request response
func (*UpdateSubscriptionQuantityBadRequest) Error ¶
func (o *UpdateSubscriptionQuantityBadRequest) Error() string
func (*UpdateSubscriptionQuantityBadRequest) IsClientError ¶
func (o *UpdateSubscriptionQuantityBadRequest) IsClientError() bool
IsClientError returns true when this update subscription quantity bad request response has a 4xx status code
func (*UpdateSubscriptionQuantityBadRequest) IsCode ¶
func (o *UpdateSubscriptionQuantityBadRequest) IsCode(code int) bool
IsCode returns true when this update subscription quantity bad request response a status code equal to that given
func (*UpdateSubscriptionQuantityBadRequest) IsRedirect ¶
func (o *UpdateSubscriptionQuantityBadRequest) IsRedirect() bool
IsRedirect returns true when this update subscription quantity bad request response has a 3xx status code
func (*UpdateSubscriptionQuantityBadRequest) IsServerError ¶
func (o *UpdateSubscriptionQuantityBadRequest) IsServerError() bool
IsServerError returns true when this update subscription quantity bad request response has a 5xx status code
func (*UpdateSubscriptionQuantityBadRequest) IsSuccess ¶
func (o *UpdateSubscriptionQuantityBadRequest) IsSuccess() bool
IsSuccess returns true when this update subscription quantity bad request response has a 2xx status code
func (*UpdateSubscriptionQuantityBadRequest) String ¶
func (o *UpdateSubscriptionQuantityBadRequest) String() string
type UpdateSubscriptionQuantityNoContent ¶
type UpdateSubscriptionQuantityNoContent struct {
HttpResponse runtime.ClientResponse
}
UpdateSubscriptionQuantityNoContent describes a response with status code 204, with default header values.
Successful operation
func NewUpdateSubscriptionQuantityNoContent ¶
func NewUpdateSubscriptionQuantityNoContent() *UpdateSubscriptionQuantityNoContent
NewUpdateSubscriptionQuantityNoContent creates a UpdateSubscriptionQuantityNoContent with default headers values
func (*UpdateSubscriptionQuantityNoContent) Code ¶
func (o *UpdateSubscriptionQuantityNoContent) Code() int
Code gets the status code for the update subscription quantity no content response
func (*UpdateSubscriptionQuantityNoContent) Error ¶
func (o *UpdateSubscriptionQuantityNoContent) Error() string
func (*UpdateSubscriptionQuantityNoContent) IsClientError ¶
func (o *UpdateSubscriptionQuantityNoContent) IsClientError() bool
IsClientError returns true when this update subscription quantity no content response has a 4xx status code
func (*UpdateSubscriptionQuantityNoContent) IsCode ¶
func (o *UpdateSubscriptionQuantityNoContent) IsCode(code int) bool
IsCode returns true when this update subscription quantity no content response a status code equal to that given
func (*UpdateSubscriptionQuantityNoContent) IsRedirect ¶
func (o *UpdateSubscriptionQuantityNoContent) IsRedirect() bool
IsRedirect returns true when this update subscription quantity no content response has a 3xx status code
func (*UpdateSubscriptionQuantityNoContent) IsServerError ¶
func (o *UpdateSubscriptionQuantityNoContent) IsServerError() bool
IsServerError returns true when this update subscription quantity no content response has a 5xx status code
func (*UpdateSubscriptionQuantityNoContent) IsSuccess ¶
func (o *UpdateSubscriptionQuantityNoContent) IsSuccess() bool
IsSuccess returns true when this update subscription quantity no content response has a 2xx status code
func (*UpdateSubscriptionQuantityNoContent) String ¶
func (o *UpdateSubscriptionQuantityNoContent) String() string
type UpdateSubscriptionQuantityParams ¶
type UpdateSubscriptionQuantityParams struct {
// XKillbillComment.
XKillbillComment *string
// XKillbillCreatedBy.
XKillbillCreatedBy string
// XKillbillReason.
XKillbillReason *string
// Body.
Body *kbmodel.Subscription
// EffectiveFromDate.
//
// Format: date
EffectiveFromDate *strfmt.Date
// ForceNewQuantityWithPastEffectiveDate.
ForceNewQuantityWithPastEffectiveDate *bool
// SubscriptionID.
//
// Format: uuid
SubscriptionID strfmt.UUID
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
UpdateSubscriptionQuantityParams contains all the parameters to send to the API endpoint
for the update subscription quantity operation. Typically these are written to a http.Request.
func NewUpdateSubscriptionQuantityParams ¶
func NewUpdateSubscriptionQuantityParams() *UpdateSubscriptionQuantityParams
NewUpdateSubscriptionQuantityParams creates a new UpdateSubscriptionQuantityParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSubscriptionQuantityParamsWithContext ¶
func NewUpdateSubscriptionQuantityParamsWithContext(ctx context.Context) *UpdateSubscriptionQuantityParams
NewUpdateSubscriptionQuantityParamsWithContext creates a new UpdateSubscriptionQuantityParams object with the ability to set a context for a request.
func NewUpdateSubscriptionQuantityParamsWithHTTPClient ¶
func NewUpdateSubscriptionQuantityParamsWithHTTPClient(client *http.Client) *UpdateSubscriptionQuantityParams
NewUpdateSubscriptionQuantityParamsWithHTTPClient creates a new UpdateSubscriptionQuantityParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSubscriptionQuantityParamsWithTimeout ¶
func NewUpdateSubscriptionQuantityParamsWithTimeout(timeout time.Duration) *UpdateSubscriptionQuantityParams
NewUpdateSubscriptionQuantityParamsWithTimeout creates a new UpdateSubscriptionQuantityParams object with the ability to set a timeout on a request.
func (*UpdateSubscriptionQuantityParams) SetBody ¶
func (o *UpdateSubscriptionQuantityParams) SetBody(body *kbmodel.Subscription)
SetBody adds the body to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetContext ¶
func (o *UpdateSubscriptionQuantityParams) SetContext(ctx context.Context)
SetContext adds the context to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetDefaults ¶
func (o *UpdateSubscriptionQuantityParams) SetDefaults()
SetDefaults hydrates default values in the update subscription quantity params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSubscriptionQuantityParams) SetEffectiveFromDate ¶
func (o *UpdateSubscriptionQuantityParams) SetEffectiveFromDate(effectiveFromDate *strfmt.Date)
SetEffectiveFromDate adds the effectiveFromDate to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetForceNewQuantityWithPastEffectiveDate ¶
func (o *UpdateSubscriptionQuantityParams) SetForceNewQuantityWithPastEffectiveDate(forceNewQuantityWithPastEffectiveDate *bool)
SetForceNewQuantityWithPastEffectiveDate adds the forceNewQuantityWithPastEffectiveDate to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetHTTPClient ¶
func (o *UpdateSubscriptionQuantityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetSubscriptionID ¶
func (o *UpdateSubscriptionQuantityParams) SetSubscriptionID(subscriptionID strfmt.UUID)
SetSubscriptionID adds the subscriptionId to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetTimeout ¶
func (o *UpdateSubscriptionQuantityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetXKillbillComment ¶
func (o *UpdateSubscriptionQuantityParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetXKillbillCreatedBy ¶
func (o *UpdateSubscriptionQuantityParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) SetXKillbillReason ¶
func (o *UpdateSubscriptionQuantityParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithBody ¶
func (o *UpdateSubscriptionQuantityParams) WithBody(body *kbmodel.Subscription) *UpdateSubscriptionQuantityParams
WithBody adds the body to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithContext ¶
func (o *UpdateSubscriptionQuantityParams) WithContext(ctx context.Context) *UpdateSubscriptionQuantityParams
WithContext adds the context to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithDefaults ¶
func (o *UpdateSubscriptionQuantityParams) WithDefaults() *UpdateSubscriptionQuantityParams
WithDefaults hydrates default values in the update subscription quantity params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSubscriptionQuantityParams) WithEffectiveFromDate ¶
func (o *UpdateSubscriptionQuantityParams) WithEffectiveFromDate(effectiveFromDate *strfmt.Date) *UpdateSubscriptionQuantityParams
WithEffectiveFromDate adds the effectiveFromDate to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithForceNewQuantityWithPastEffectiveDate ¶
func (o *UpdateSubscriptionQuantityParams) WithForceNewQuantityWithPastEffectiveDate(forceNewQuantityWithPastEffectiveDate *bool) *UpdateSubscriptionQuantityParams
WithForceNewQuantityWithPastEffectiveDate adds the forceNewQuantityWithPastEffectiveDate to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithHTTPClient ¶
func (o *UpdateSubscriptionQuantityParams) WithHTTPClient(client *http.Client) *UpdateSubscriptionQuantityParams
WithHTTPClient adds the HTTPClient to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithSubscriptionID ¶
func (o *UpdateSubscriptionQuantityParams) WithSubscriptionID(subscriptionID strfmt.UUID) *UpdateSubscriptionQuantityParams
WithSubscriptionID adds the subscriptionID to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithTimeout ¶
func (o *UpdateSubscriptionQuantityParams) WithTimeout(timeout time.Duration) *UpdateSubscriptionQuantityParams
WithTimeout adds the timeout to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithXKillbillComment ¶
func (o *UpdateSubscriptionQuantityParams) WithXKillbillComment(xKillbillComment *string) *UpdateSubscriptionQuantityParams
WithXKillbillComment adds the xKillbillComment to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithXKillbillCreatedBy ¶
func (o *UpdateSubscriptionQuantityParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateSubscriptionQuantityParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WithXKillbillReason ¶
func (o *UpdateSubscriptionQuantityParams) WithXKillbillReason(xKillbillReason *string) *UpdateSubscriptionQuantityParams
WithXKillbillReason adds the xKillbillReason to the update subscription quantity params
func (*UpdateSubscriptionQuantityParams) WriteToRequest ¶
func (o *UpdateSubscriptionQuantityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSubscriptionQuantityReader ¶
type UpdateSubscriptionQuantityReader struct {
// contains filtered or unexported fields
}
UpdateSubscriptionQuantityReader is a Reader for the UpdateSubscriptionQuantity structure.
func (*UpdateSubscriptionQuantityReader) ReadResponse ¶
func (o *UpdateSubscriptionQuantityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- add_subscription_blocking_state_parameters.go
- add_subscription_blocking_state_responses.go
- cancel_subscription_plan_parameters.go
- cancel_subscription_plan_responses.go
- change_subscription_plan_parameters.go
- change_subscription_plan_responses.go
- create_subscription_custom_fields_parameters.go
- create_subscription_custom_fields_responses.go
- create_subscription_parameters.go
- create_subscription_responses.go
- create_subscription_tags_parameters.go
- create_subscription_tags_responses.go
- create_subscription_with_add_ons_parameters.go
- create_subscription_with_add_ons_responses.go
- create_subscriptions_with_add_ons_parameters.go
- create_subscriptions_with_add_ons_responses.go
- delete_subscription_custom_fields_parameters.go
- delete_subscription_custom_fields_responses.go
- delete_subscription_tags_parameters.go
- delete_subscription_tags_responses.go
- get_subscription_audit_logs_with_history_parameters.go
- get_subscription_audit_logs_with_history_responses.go
- get_subscription_by_key_parameters.go
- get_subscription_by_key_responses.go
- get_subscription_custom_fields_parameters.go
- get_subscription_custom_fields_responses.go
- get_subscription_event_audit_logs_with_history_parameters.go
- get_subscription_event_audit_logs_with_history_responses.go
- get_subscription_parameters.go
- get_subscription_responses.go
- get_subscription_tags_parameters.go
- get_subscription_tags_responses.go
- modify_subscription_custom_fields_parameters.go
- modify_subscription_custom_fields_responses.go
- subscription_client.go
- uncancel_subscription_plan_parameters.go
- uncancel_subscription_plan_responses.go
- undo_change_subscription_plan_parameters.go
- undo_change_subscription_plan_responses.go
- update_subscription_b_c_d_parameters.go
- update_subscription_b_c_d_responses.go
- update_subscription_quantity_parameters.go
- update_subscription_quantity_responses.go