subscription

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

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

Code gets the status code for the add subscription blocking state bad request response

func (*AddSubscriptionBlockingStateBadRequest) Error

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

IsCode returns true when this add subscription blocking state bad request response a status code equal to that given

func (*AddSubscriptionBlockingStateBadRequest) IsRedirect

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

IsSuccess returns true when this add subscription blocking state bad request response has a 2xx status code

func (*AddSubscriptionBlockingStateBadRequest) 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

Code gets the status code for the add subscription blocking state created response

func (*AddSubscriptionBlockingStateCreated) Error

func (*AddSubscriptionBlockingStateCreated) GetPayload

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

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

IsSuccess returns true when this add subscription blocking state created response has a 2xx status code

func (*AddSubscriptionBlockingStateCreated) 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

Code gets the status code for the add subscription blocking state not found response

func (*AddSubscriptionBlockingStateNotFound) Error

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

IsCode returns true when this add subscription blocking state not found response a status code equal to that given

func (*AddSubscriptionBlockingStateNotFound) IsRedirect

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

IsSuccess returns true when this add subscription blocking state not found response has a 2xx status code

func (*AddSubscriptionBlockingStateNotFound) 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

SetBody adds the body to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) SetContext

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

WithBody adds the body to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithContext

WithContext adds the context to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithDefaults

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

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

WithRequestedDate adds the requestedDate to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the add subscription blocking state params

func (*AddSubscriptionBlockingStateParams) WithTimeout

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

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

Code gets the status code for the cancel subscription plan bad request response

func (*CancelSubscriptionPlanBadRequest) Error

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

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

Code gets the status code for the cancel subscription plan no content response

func (*CancelSubscriptionPlanNoContent) Error

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

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

Code gets the status code for the cancel subscription plan not found response

func (*CancelSubscriptionPlanNotFound) Error

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

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

WithContext adds the context to the cancel subscription plan params

func (*CancelSubscriptionPlanParams) WithDefaults

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

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

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

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

Code gets the status code for the change subscription plan bad request response

func (*ChangeSubscriptionPlanBadRequest) Error

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

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

Code gets the status code for the change subscription plan no content response

func (*ChangeSubscriptionPlanNoContent) Error

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

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

Code gets the status code for the change subscription plan not found response

func (*ChangeSubscriptionPlanNotFound) Error

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

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

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

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

WithContext adds the context to the change subscription plan params

func (*ChangeSubscriptionPlanParams) WithDefaults

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

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

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

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

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

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 (*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

Code gets the status code for the create subscription custom fields bad request response

func (*CreateSubscriptionCustomFieldsBadRequest) Error

func (*CreateSubscriptionCustomFieldsBadRequest) IsClientError

IsClientError returns true when this create subscription custom fields bad request response has a 4xx status code

func (*CreateSubscriptionCustomFieldsBadRequest) IsCode

IsCode returns true when this create subscription custom fields bad request response a status code equal to that given

func (*CreateSubscriptionCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this create subscription custom fields bad request response has a 3xx status code

func (*CreateSubscriptionCustomFieldsBadRequest) IsServerError

IsServerError returns true when this create subscription custom fields bad request response has a 5xx status code

func (*CreateSubscriptionCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this create subscription custom fields bad request response has a 2xx status code

func (*CreateSubscriptionCustomFieldsBadRequest) 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

Code gets the status code for the create subscription custom fields created response

func (*CreateSubscriptionCustomFieldsCreated) Error

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

IsCode returns true when this create subscription custom fields created response a status code equal to that given

func (*CreateSubscriptionCustomFieldsCreated) IsRedirect

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

IsSuccess returns true when this create subscription custom fields created response has a 2xx status code

func (*CreateSubscriptionCustomFieldsCreated) 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

SetBody adds the body to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) SetContext

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

WithBody adds the body to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithContext

WithContext adds the context to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the create subscription custom fields params

func (*CreateSubscriptionCustomFieldsParams) WithTimeout

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

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

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

WithContext adds the context to the create subscription params

func (*CreateSubscriptionParams) WithDefaults

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

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

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

Code gets the status code for the create subscription tags bad request response

func (*CreateSubscriptionTagsBadRequest) Error

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

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

Code gets the status code for the create subscription tags created response

func (*CreateSubscriptionTagsCreated) Error

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

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

WithBody adds the body to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithContext

WithContext adds the context to the create subscription tags params

func (*CreateSubscriptionTagsParams) WithDefaults

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

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

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

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

Code gets the status code for the create subscription with add ons created response

func (*CreateSubscriptionWithAddOnsCreated) Error

func (*CreateSubscriptionWithAddOnsCreated) GetPayload

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

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

IsSuccess returns true when this create subscription with add ons created response has a 2xx status code

func (*CreateSubscriptionWithAddOnsCreated) 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

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

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

WithBillingDate adds the billingDate to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithBody

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

WithContext adds the context to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithMigrated

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

WithSkipResponse adds the skipResponse to the create subscription with add ons params

func (*CreateSubscriptionWithAddOnsParams) WithTimeout

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

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

Code gets the status code for the create subscriptions with add ons created response

func (*CreateSubscriptionsWithAddOnsCreated) Error

func (*CreateSubscriptionsWithAddOnsCreated) GetPayload

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

IsCode returns true when this create subscriptions with add ons created response a status code equal to that given

func (*CreateSubscriptionsWithAddOnsCreated) IsRedirect

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

IsSuccess returns true when this create subscriptions with add ons created response has a 2xx status code

func (*CreateSubscriptionsWithAddOnsCreated) 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

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

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

WithBillingDate adds the billingDate to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithBody

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

WithContext adds the context to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithMigrated

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

WithSkipResponse adds the skipResponse to the create subscriptions with add ons params

func (*CreateSubscriptionsWithAddOnsParams) WithTimeout

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

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

Code gets the status code for the delete subscription custom fields bad request response

func (*DeleteSubscriptionCustomFieldsBadRequest) Error

func (*DeleteSubscriptionCustomFieldsBadRequest) IsClientError

IsClientError returns true when this delete subscription custom fields bad request response has a 4xx status code

func (*DeleteSubscriptionCustomFieldsBadRequest) IsCode

IsCode returns true when this delete subscription custom fields bad request response a status code equal to that given

func (*DeleteSubscriptionCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this delete subscription custom fields bad request response has a 3xx status code

func (*DeleteSubscriptionCustomFieldsBadRequest) IsServerError

IsServerError returns true when this delete subscription custom fields bad request response has a 5xx status code

func (*DeleteSubscriptionCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this delete subscription custom fields bad request response has a 2xx status code

func (*DeleteSubscriptionCustomFieldsBadRequest) 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

Code gets the status code for the delete subscription custom fields no content response

func (*DeleteSubscriptionCustomFieldsNoContent) Error

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

IsCode returns true when this delete subscription custom fields no content response a status code equal to that given

func (*DeleteSubscriptionCustomFieldsNoContent) IsRedirect

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

IsSuccess returns true when this delete subscription custom fields no content response has a 2xx status code

func (*DeleteSubscriptionCustomFieldsNoContent) 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

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

WithContext adds the context to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the delete subscription custom fields params

func (*DeleteSubscriptionCustomFieldsParams) WithTimeout

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

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

Code gets the status code for the delete subscription tags bad request response

func (*DeleteSubscriptionTagsBadRequest) Error

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

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

Code gets the status code for the delete subscription tags no content response

func (*DeleteSubscriptionTagsNoContent) Error

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

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

WithContext adds the context to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithDefaults

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

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

WithTagDef adds the tagDef to the delete subscription tags params

func (*DeleteSubscriptionTagsParams) WithTimeout

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

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

Code gets the status code for the get subscription audit logs with history not found response

func (*GetSubscriptionAuditLogsWithHistoryNotFound) Error

func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsClientError

IsClientError returns true when this get subscription audit logs with history not found response has a 4xx status code

func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsCode

IsCode returns true when this get subscription audit logs with history not found response a status code equal to that given

func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsRedirect

IsRedirect returns true when this get subscription audit logs with history not found response has a 3xx status code

func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsServerError

IsServerError returns true when this get subscription audit logs with history not found response has a 5xx status code

func (*GetSubscriptionAuditLogsWithHistoryNotFound) IsSuccess

IsSuccess returns true when this get subscription audit logs with history not found response has a 2xx status code

func (*GetSubscriptionAuditLogsWithHistoryNotFound) 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

Code gets the status code for the get subscription audit logs with history o k response

func (*GetSubscriptionAuditLogsWithHistoryOK) Error

func (*GetSubscriptionAuditLogsWithHistoryOK) GetPayload

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

IsCode returns true when this get subscription audit logs with history o k response a status code equal to that given

func (*GetSubscriptionAuditLogsWithHistoryOK) IsRedirect

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

IsSuccess returns true when this get subscription audit logs with history o k response has a 2xx status code

func (*GetSubscriptionAuditLogsWithHistoryOK) 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

SetContext adds the context to the get subscription audit logs with history params

func (*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

SetTimeout adds the timeout to the get subscription audit logs with history params

func (*GetSubscriptionAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get subscription audit logs with history params

func (*GetSubscriptionAuditLogsWithHistoryParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get subscription audit logs with history params

func (*GetSubscriptionAuditLogsWithHistoryParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the get subscription audit logs with history params

func (*GetSubscriptionAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get subscription audit logs with history params

func (*GetSubscriptionAuditLogsWithHistoryParams) WriteToRequest

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

Code gets the status code for the get subscription by key not found response

func (*GetSubscriptionByKeyNotFound) Error

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

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

WithAudit adds the audit to the get subscription by key params

func (*GetSubscriptionByKeyParams) WithContext

WithContext adds the context to the get subscription by key params

func (*GetSubscriptionByKeyParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get subscription by key params

func (*GetSubscriptionByKeyParams) WithTimeout

WithTimeout adds the timeout to the get subscription by key params

func (*GetSubscriptionByKeyParams) WriteToRequest

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

Code gets the status code for the get subscription custom fields bad request response

func (*GetSubscriptionCustomFieldsBadRequest) Error

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

IsCode returns true when this get subscription custom fields bad request response a status code equal to that given

func (*GetSubscriptionCustomFieldsBadRequest) IsRedirect

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

IsSuccess returns true when this get subscription custom fields bad request response has a 2xx status code

func (*GetSubscriptionCustomFieldsBadRequest) 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

Code gets the status code for the get subscription custom fields o k response

func (*GetSubscriptionCustomFieldsOK) Error

func (*GetSubscriptionCustomFieldsOK) GetPayload

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

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

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

WithAudit adds the audit to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WithContext

WithContext adds the context to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WithDefaults

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

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

WithTimeout adds the timeout to the get subscription custom fields params

func (*GetSubscriptionCustomFieldsParams) WriteToRequest

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

Code gets the status code for the get subscription event audit logs with history not found response

func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) Error

func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsClientError

IsClientError returns true when this get subscription event audit logs with history not found response has a 4xx status code

func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsCode

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

IsRedirect returns true when this get subscription event audit logs with history not found response has a 3xx status code

func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsServerError

IsServerError returns true when this get subscription event audit logs with history not found response has a 5xx status code

func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) IsSuccess

IsSuccess returns true when this get subscription event audit logs with history not found response has a 2xx status code

func (*GetSubscriptionEventAuditLogsWithHistoryNotFound) 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

Code gets the status code for the get subscription event audit logs with history o k response

func (*GetSubscriptionEventAuditLogsWithHistoryOK) Error

func (*GetSubscriptionEventAuditLogsWithHistoryOK) GetPayload

func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsClientError

IsClientError returns true when this get subscription event audit logs with history o k response has a 4xx status code

func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsCode

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

IsRedirect returns true when this get subscription event audit logs with history o k response has a 3xx status code

func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsServerError

IsServerError returns true when this get subscription event audit logs with history o k response has a 5xx status code

func (*GetSubscriptionEventAuditLogsWithHistoryOK) IsSuccess

IsSuccess returns true when this get subscription event audit logs with history o k response has a 2xx status code

func (*GetSubscriptionEventAuditLogsWithHistoryOK) 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

SetContext adds the context to the get subscription event audit logs with history params

func (*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

SetEventID adds the eventId to the get subscription event audit logs with history params

func (*GetSubscriptionEventAuditLogsWithHistoryParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get subscription event audit logs with history params

func (*GetSubscriptionEventAuditLogsWithHistoryParams) SetTimeout

SetTimeout adds the timeout to the get subscription event audit logs with history params

func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get subscription event audit logs with history params

func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithDefaults

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

WithEventID adds the eventID to the get subscription event audit logs with history params

func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get subscription event audit logs with history params

func (*GetSubscriptionEventAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get subscription event audit logs with history params

func (*GetSubscriptionEventAuditLogsWithHistoryParams) WriteToRequest

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

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

Code gets the status code for the get subscription tags bad request response

func (*GetSubscriptionTagsBadRequest) Error

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

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 (*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

WithAudit adds the audit to the get subscription tags params

func (*GetSubscriptionTagsParams) WithContext

WithContext adds the context to the get subscription tags params

func (*GetSubscriptionTagsParams) WithDefaults

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

WithTimeout adds the timeout to the get subscription tags params

func (*GetSubscriptionTagsParams) WriteToRequest

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

Code gets the status code for the modify subscription custom fields bad request response

func (*ModifySubscriptionCustomFieldsBadRequest) Error

func (*ModifySubscriptionCustomFieldsBadRequest) IsClientError

IsClientError returns true when this modify subscription custom fields bad request response has a 4xx status code

func (*ModifySubscriptionCustomFieldsBadRequest) IsCode

IsCode returns true when this modify subscription custom fields bad request response a status code equal to that given

func (*ModifySubscriptionCustomFieldsBadRequest) IsRedirect

IsRedirect returns true when this modify subscription custom fields bad request response has a 3xx status code

func (*ModifySubscriptionCustomFieldsBadRequest) IsServerError

IsServerError returns true when this modify subscription custom fields bad request response has a 5xx status code

func (*ModifySubscriptionCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this modify subscription custom fields bad request response has a 2xx status code

func (*ModifySubscriptionCustomFieldsBadRequest) 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

Code gets the status code for the modify subscription custom fields no content response

func (*ModifySubscriptionCustomFieldsNoContent) Error

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

IsCode returns true when this modify subscription custom fields no content response a status code equal to that given

func (*ModifySubscriptionCustomFieldsNoContent) IsRedirect

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

IsSuccess returns true when this modify subscription custom fields no content response has a 2xx status code

func (*ModifySubscriptionCustomFieldsNoContent) 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

SetBody adds the body to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) SetContext

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

WithBody adds the body to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithContext

WithContext adds the context to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithSubscriptionID

WithSubscriptionID adds the subscriptionID to the modify subscription custom fields params

func (*ModifySubscriptionCustomFieldsParams) WithTimeout

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

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

Code gets the status code for the uncancel subscription plan bad request response

func (*UncancelSubscriptionPlanBadRequest) Error

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

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

IsSuccess returns true when this uncancel subscription plan bad request response has a 2xx status code

func (*UncancelSubscriptionPlanBadRequest) 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

Code gets the status code for the uncancel subscription plan no content response

func (*UncancelSubscriptionPlanNoContent) Error

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

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

Code gets the status code for the uncancel subscription plan not found response

func (*UncancelSubscriptionPlanNotFound) Error

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

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

WithContext adds the context to the uncancel subscription plan params

func (*UncancelSubscriptionPlanParams) WithDefaults

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

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

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

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

Code gets the status code for the undo change subscription plan bad request response

func (*UndoChangeSubscriptionPlanBadRequest) Error

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

IsCode returns true when this undo change subscription plan bad request response a status code equal to that given

func (*UndoChangeSubscriptionPlanBadRequest) IsRedirect

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

IsSuccess returns true when this undo change subscription plan bad request response has a 2xx status code

func (*UndoChangeSubscriptionPlanBadRequest) 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

Code gets the status code for the undo change subscription plan no content response

func (*UndoChangeSubscriptionPlanNoContent) Error

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

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

IsSuccess returns true when this undo change subscription plan no content response has a 2xx status code

func (*UndoChangeSubscriptionPlanNoContent) 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

Code gets the status code for the undo change subscription plan not found response

func (*UndoChangeSubscriptionPlanNotFound) Error

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

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

IsSuccess returns true when this undo change subscription plan not found response has a 2xx status code

func (*UndoChangeSubscriptionPlanNotFound) 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

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

WithContext adds the context to the undo change subscription plan params

func (*UndoChangeSubscriptionPlanParams) WithDefaults

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

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

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

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

Code gets the status code for the update subscription b c d bad request response

func (*UpdateSubscriptionBCDBadRequest) Error

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

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

Code gets the status code for the update subscription b c d no content response

func (*UpdateSubscriptionBCDNoContent) Error

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

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

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

WithBody adds the body to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithContext

WithContext adds the context to the update subscription b c d params

func (*UpdateSubscriptionBCDParams) WithDefaults

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

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

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

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

Code gets the status code for the update subscription quantity bad request response

func (*UpdateSubscriptionQuantityBadRequest) Error

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

IsCode returns true when this update subscription quantity bad request response a status code equal to that given

func (*UpdateSubscriptionQuantityBadRequest) IsRedirect

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

IsSuccess returns true when this update subscription quantity bad request response has a 2xx status code

func (*UpdateSubscriptionQuantityBadRequest) 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

Code gets the status code for the update subscription quantity no content response

func (*UpdateSubscriptionQuantityNoContent) Error

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

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

IsSuccess returns true when this update subscription quantity no content response has a 2xx status code

func (*UpdateSubscriptionQuantityNoContent) 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

SetBody adds the body to the update subscription quantity params

func (*UpdateSubscriptionQuantityParams) SetContext

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

WithBody adds the body to the update subscription quantity params

func (*UpdateSubscriptionQuantityParams) WithContext

WithContext adds the context to the update subscription quantity params

func (*UpdateSubscriptionQuantityParams) WithDefaults

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

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

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

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

Jump to

Keyboard shortcuts

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