bundle

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBundleBlockingStateBadRequest

type AddBundleBlockingStateBadRequest struct {
	HttpResponse runtime.ClientResponse
}

AddBundleBlockingStateBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewAddBundleBlockingStateBadRequest

func NewAddBundleBlockingStateBadRequest() *AddBundleBlockingStateBadRequest

NewAddBundleBlockingStateBadRequest creates a AddBundleBlockingStateBadRequest with default headers values

func (*AddBundleBlockingStateBadRequest) Error

type AddBundleBlockingStateCreated

type AddBundleBlockingStateCreated struct {
	Payload []*kbmodel.BlockingState

	HttpResponse runtime.ClientResponse
}

AddBundleBlockingStateCreated handles this case with default header values.

Blocking state created successfully

func NewAddBundleBlockingStateCreated

func NewAddBundleBlockingStateCreated() *AddBundleBlockingStateCreated

NewAddBundleBlockingStateCreated creates a AddBundleBlockingStateCreated with default headers values

func (*AddBundleBlockingStateCreated) Error

type AddBundleBlockingStateNotFound

type AddBundleBlockingStateNotFound struct {
	HttpResponse runtime.ClientResponse
}

AddBundleBlockingStateNotFound handles this case with default header values.

Bundle not found

func NewAddBundleBlockingStateNotFound

func NewAddBundleBlockingStateNotFound() *AddBundleBlockingStateNotFound

NewAddBundleBlockingStateNotFound creates a AddBundleBlockingStateNotFound with default headers values

func (*AddBundleBlockingStateNotFound) Error

type AddBundleBlockingStateParams

type AddBundleBlockingStateParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.BlockingState
	/*BundleID*/
	BundleID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	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
}

AddBundleBlockingStateParams contains all the parameters to send to the API endpoint for the add bundle blocking state operation typically these are written to a http.Request

func NewAddBundleBlockingStateParams

func NewAddBundleBlockingStateParams() *AddBundleBlockingStateParams

NewAddBundleBlockingStateParams creates a new AddBundleBlockingStateParams object with the default values initialized.

func NewAddBundleBlockingStateParamsWithContext

func NewAddBundleBlockingStateParamsWithContext(ctx context.Context) *AddBundleBlockingStateParams

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

func NewAddBundleBlockingStateParamsWithHTTPClient

func NewAddBundleBlockingStateParamsWithHTTPClient(client *http.Client) *AddBundleBlockingStateParams

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

func NewAddBundleBlockingStateParamsWithTimeout

func NewAddBundleBlockingStateParamsWithTimeout(timeout time.Duration) *AddBundleBlockingStateParams

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

func (*AddBundleBlockingStateParams) SetBody

SetBody adds the body to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetBundleID

func (o *AddBundleBlockingStateParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetContext

func (o *AddBundleBlockingStateParams) SetContext(ctx context.Context)

SetContext adds the context to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetPluginProperty

func (o *AddBundleBlockingStateParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetRequestedDate

func (o *AddBundleBlockingStateParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetTimeout

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

SetTimeout adds the timeout to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetXKillbillComment

func (o *AddBundleBlockingStateParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetXKillbillCreatedBy

func (o *AddBundleBlockingStateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add bundle blocking state params

func (*AddBundleBlockingStateParams) SetXKillbillReason

func (o *AddBundleBlockingStateParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithBody

WithBody adds the body to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithBundleID

WithBundleID adds the bundleID to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithContext

WithContext adds the context to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithPluginProperty

func (o *AddBundleBlockingStateParams) WithPluginProperty(pluginProperty []string) *AddBundleBlockingStateParams

WithPluginProperty adds the pluginProperty to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithRequestedDate

func (o *AddBundleBlockingStateParams) WithRequestedDate(requestedDate *strfmt.Date) *AddBundleBlockingStateParams

WithRequestedDate adds the requestedDate to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithTimeout

WithTimeout adds the timeout to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithXKillbillComment

func (o *AddBundleBlockingStateParams) WithXKillbillComment(xKillbillComment *string) *AddBundleBlockingStateParams

WithXKillbillComment adds the xKillbillComment to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithXKillbillCreatedBy

func (o *AddBundleBlockingStateParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *AddBundleBlockingStateParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WithXKillbillReason

func (o *AddBundleBlockingStateParams) WithXKillbillReason(xKillbillReason *string) *AddBundleBlockingStateParams

WithXKillbillReason adds the xKillbillReason to the add bundle blocking state params

func (*AddBundleBlockingStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddBundleBlockingStateReader

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

AddBundleBlockingStateReader is a Reader for the AddBundleBlockingState structure.

func (*AddBundleBlockingStateReader) ReadResponse

func (o *AddBundleBlockingStateReader) 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 bundle API

func New

func New(transport runtime.ClientTransport,
	formats strfmt.Registry,
	authInfo runtime.ClientAuthInfoWriter,
	defaults KillbillDefaults) *Client

New creates a new bundle API client.

func (*Client) AddBundleBlockingState

func (a *Client) AddBundleBlockingState(ctx context.Context, params *AddBundleBlockingStateParams) (*AddBundleBlockingStateCreated, error)

AddBundleBlockingState blocks a bundle

func (*Client) CreateBundleCustomFields

func (a *Client) CreateBundleCustomFields(ctx context.Context, params *CreateBundleCustomFieldsParams) (*CreateBundleCustomFieldsCreated, error)

CreateBundleCustomFields adds custom fields to bundle

func (*Client) CreateBundleTags

func (a *Client) CreateBundleTags(ctx context.Context, params *CreateBundleTagsParams) (*CreateBundleTagsCreated, error)

CreateBundleTags adds tags to bundle

func (*Client) DeleteBundleCustomFields

func (a *Client) DeleteBundleCustomFields(ctx context.Context, params *DeleteBundleCustomFieldsParams) (*DeleteBundleCustomFieldsNoContent, error)

DeleteBundleCustomFields removes custom fields from bundle

func (*Client) DeleteBundleTags

func (a *Client) DeleteBundleTags(ctx context.Context, params *DeleteBundleTagsParams) (*DeleteBundleTagsNoContent, error)

DeleteBundleTags removes tags from bundle

func (*Client) GetBundle

func (a *Client) GetBundle(ctx context.Context, params *GetBundleParams) (*GetBundleOK, error)

GetBundle retrieves a bundle by id

func (*Client) GetBundleByKey

func (a *Client) GetBundleByKey(ctx context.Context, params *GetBundleByKeyParams) (*GetBundleByKeyOK, error)

GetBundleByKey retrieves a bundle by external key

func (*Client) GetBundleCustomFields

func (a *Client) GetBundleCustomFields(ctx context.Context, params *GetBundleCustomFieldsParams) (*GetBundleCustomFieldsOK, error)

GetBundleCustomFields retrieves bundle custom fields

func (*Client) GetBundleTags

func (a *Client) GetBundleTags(ctx context.Context, params *GetBundleTagsParams) (*GetBundleTagsOK, error)

GetBundleTags retrieves bundle tags

func (*Client) GetBundles

func (a *Client) GetBundles(ctx context.Context, params *GetBundlesParams) (*GetBundlesOK, error)

GetBundles lists bundles

func (*Client) ModifyBundleCustomFields

func (a *Client) ModifyBundleCustomFields(ctx context.Context, params *ModifyBundleCustomFieldsParams) (*ModifyBundleCustomFieldsNoContent, error)

ModifyBundleCustomFields modifies custom fields to bundle

func (*Client) PauseBundle

func (a *Client) PauseBundle(ctx context.Context, params *PauseBundleParams) (*PauseBundleNoContent, error)

PauseBundle pauses a bundle

func (*Client) RenameExternalKey

func (a *Client) RenameExternalKey(ctx context.Context, params *RenameExternalKeyParams) (*RenameExternalKeyNoContent, error)

RenameExternalKey updates a bundle external key

func (*Client) ResumeBundle

func (a *Client) ResumeBundle(ctx context.Context, params *ResumeBundleParams) (*ResumeBundleNoContent, error)

ResumeBundle resumes a bundle

func (*Client) SearchBundles

func (a *Client) SearchBundles(ctx context.Context, params *SearchBundlesParams) (*SearchBundlesOK, error)

SearchBundles searches bundles

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TransferBundle

func (a *Client) TransferBundle(ctx context.Context, params *TransferBundleParams) (*TransferBundleCreated, error)

TransferBundle transfers a bundle to another account

type CreateBundleCustomFieldsBadRequest

type CreateBundleCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateBundleCustomFieldsBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewCreateBundleCustomFieldsBadRequest

func NewCreateBundleCustomFieldsBadRequest() *CreateBundleCustomFieldsBadRequest

NewCreateBundleCustomFieldsBadRequest creates a CreateBundleCustomFieldsBadRequest with default headers values

func (*CreateBundleCustomFieldsBadRequest) Error

type CreateBundleCustomFieldsCreated

type CreateBundleCustomFieldsCreated struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

CreateBundleCustomFieldsCreated handles this case with default header values.

Custom field created successfully

func NewCreateBundleCustomFieldsCreated

func NewCreateBundleCustomFieldsCreated() *CreateBundleCustomFieldsCreated

NewCreateBundleCustomFieldsCreated creates a CreateBundleCustomFieldsCreated with default headers values

func (*CreateBundleCustomFieldsCreated) Error

type CreateBundleCustomFieldsParams

type CreateBundleCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*BundleID*/
	BundleID strfmt.UUID

	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
}

CreateBundleCustomFieldsParams contains all the parameters to send to the API endpoint for the create bundle custom fields operation typically these are written to a http.Request

func NewCreateBundleCustomFieldsParams

func NewCreateBundleCustomFieldsParams() *CreateBundleCustomFieldsParams

NewCreateBundleCustomFieldsParams creates a new CreateBundleCustomFieldsParams object with the default values initialized.

func NewCreateBundleCustomFieldsParamsWithContext

func NewCreateBundleCustomFieldsParamsWithContext(ctx context.Context) *CreateBundleCustomFieldsParams

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

func NewCreateBundleCustomFieldsParamsWithHTTPClient

func NewCreateBundleCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateBundleCustomFieldsParams

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

func NewCreateBundleCustomFieldsParamsWithTimeout

func NewCreateBundleCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateBundleCustomFieldsParams

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

func (*CreateBundleCustomFieldsParams) SetBody

SetBody adds the body to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) SetBundleID

func (o *CreateBundleCustomFieldsParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) SetContext

func (o *CreateBundleCustomFieldsParams) SetContext(ctx context.Context)

SetContext adds the context to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) SetXKillbillComment

func (o *CreateBundleCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreateBundleCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) SetXKillbillReason

func (o *CreateBundleCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WithBody

WithBody adds the body to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WithBundleID

WithBundleID adds the bundleID to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WithContext

WithContext adds the context to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WithXKillbillComment

func (o *CreateBundleCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateBundleCustomFieldsParams

WithXKillbillComment adds the xKillbillComment to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WithXKillbillCreatedBy

func (o *CreateBundleCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateBundleCustomFieldsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WithXKillbillReason

func (o *CreateBundleCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateBundleCustomFieldsParams

WithXKillbillReason adds the xKillbillReason to the create bundle custom fields params

func (*CreateBundleCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateBundleCustomFieldsReader

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

CreateBundleCustomFieldsReader is a Reader for the CreateBundleCustomFields structure.

func (*CreateBundleCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateBundleTagsBadRequest

type CreateBundleTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateBundleTagsBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewCreateBundleTagsBadRequest

func NewCreateBundleTagsBadRequest() *CreateBundleTagsBadRequest

NewCreateBundleTagsBadRequest creates a CreateBundleTagsBadRequest with default headers values

func (*CreateBundleTagsBadRequest) Error

type CreateBundleTagsCreated

type CreateBundleTagsCreated struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

CreateBundleTagsCreated handles this case with default header values.

Tag created successfully

func NewCreateBundleTagsCreated

func NewCreateBundleTagsCreated() *CreateBundleTagsCreated

NewCreateBundleTagsCreated creates a CreateBundleTagsCreated with default headers values

func (*CreateBundleTagsCreated) Error

func (o *CreateBundleTagsCreated) Error() string

type CreateBundleTagsParams

type CreateBundleTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []strfmt.UUID
	/*BundleID*/
	BundleID strfmt.UUID

	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
}

CreateBundleTagsParams contains all the parameters to send to the API endpoint for the create bundle tags operation typically these are written to a http.Request

func NewCreateBundleTagsParams

func NewCreateBundleTagsParams() *CreateBundleTagsParams

NewCreateBundleTagsParams creates a new CreateBundleTagsParams object with the default values initialized.

func NewCreateBundleTagsParamsWithContext

func NewCreateBundleTagsParamsWithContext(ctx context.Context) *CreateBundleTagsParams

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

func NewCreateBundleTagsParamsWithHTTPClient

func NewCreateBundleTagsParamsWithHTTPClient(client *http.Client) *CreateBundleTagsParams

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

func NewCreateBundleTagsParamsWithTimeout

func NewCreateBundleTagsParamsWithTimeout(timeout time.Duration) *CreateBundleTagsParams

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

func (*CreateBundleTagsParams) SetBody

func (o *CreateBundleTagsParams) SetBody(body []strfmt.UUID)

SetBody adds the body to the create bundle tags params

func (*CreateBundleTagsParams) SetBundleID

func (o *CreateBundleTagsParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the create bundle tags params

func (*CreateBundleTagsParams) SetContext

func (o *CreateBundleTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the create bundle tags params

func (*CreateBundleTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create bundle tags params

func (*CreateBundleTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create bundle tags params

func (*CreateBundleTagsParams) SetXKillbillComment

func (o *CreateBundleTagsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the create bundle tags params

func (*CreateBundleTagsParams) SetXKillbillCreatedBy

func (o *CreateBundleTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create bundle tags params

func (*CreateBundleTagsParams) SetXKillbillReason

func (o *CreateBundleTagsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the create bundle tags params

func (*CreateBundleTagsParams) WithBody

WithBody adds the body to the create bundle tags params

func (*CreateBundleTagsParams) WithBundleID

func (o *CreateBundleTagsParams) WithBundleID(bundleID strfmt.UUID) *CreateBundleTagsParams

WithBundleID adds the bundleID to the create bundle tags params

func (*CreateBundleTagsParams) WithContext

WithContext adds the context to the create bundle tags params

func (*CreateBundleTagsParams) WithHTTPClient

func (o *CreateBundleTagsParams) WithHTTPClient(client *http.Client) *CreateBundleTagsParams

WithHTTPClient adds the HTTPClient to the create bundle tags params

func (*CreateBundleTagsParams) WithTimeout

WithTimeout adds the timeout to the create bundle tags params

func (*CreateBundleTagsParams) WithXKillbillComment

func (o *CreateBundleTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateBundleTagsParams

WithXKillbillComment adds the xKillbillComment to the create bundle tags params

func (*CreateBundleTagsParams) WithXKillbillCreatedBy

func (o *CreateBundleTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateBundleTagsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create bundle tags params

func (*CreateBundleTagsParams) WithXKillbillReason

func (o *CreateBundleTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateBundleTagsParams

WithXKillbillReason adds the xKillbillReason to the create bundle tags params

func (*CreateBundleTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateBundleTagsReader

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

CreateBundleTagsReader is a Reader for the CreateBundleTags structure.

func (*CreateBundleTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBundleCustomFieldsBadRequest

type DeleteBundleCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteBundleCustomFieldsBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewDeleteBundleCustomFieldsBadRequest

func NewDeleteBundleCustomFieldsBadRequest() *DeleteBundleCustomFieldsBadRequest

NewDeleteBundleCustomFieldsBadRequest creates a DeleteBundleCustomFieldsBadRequest with default headers values

func (*DeleteBundleCustomFieldsBadRequest) Error

type DeleteBundleCustomFieldsNoContent

type DeleteBundleCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteBundleCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewDeleteBundleCustomFieldsNoContent

func NewDeleteBundleCustomFieldsNoContent() *DeleteBundleCustomFieldsNoContent

NewDeleteBundleCustomFieldsNoContent creates a DeleteBundleCustomFieldsNoContent with default headers values

func (*DeleteBundleCustomFieldsNoContent) Error

type DeleteBundleCustomFieldsParams

type DeleteBundleCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BundleID*/
	BundleID strfmt.UUID
	/*CustomField*/
	CustomField []strfmt.UUID

	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
}

DeleteBundleCustomFieldsParams contains all the parameters to send to the API endpoint for the delete bundle custom fields operation typically these are written to a http.Request

func NewDeleteBundleCustomFieldsParams

func NewDeleteBundleCustomFieldsParams() *DeleteBundleCustomFieldsParams

NewDeleteBundleCustomFieldsParams creates a new DeleteBundleCustomFieldsParams object with the default values initialized.

func NewDeleteBundleCustomFieldsParamsWithContext

func NewDeleteBundleCustomFieldsParamsWithContext(ctx context.Context) *DeleteBundleCustomFieldsParams

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

func NewDeleteBundleCustomFieldsParamsWithHTTPClient

func NewDeleteBundleCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteBundleCustomFieldsParams

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

func NewDeleteBundleCustomFieldsParamsWithTimeout

func NewDeleteBundleCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteBundleCustomFieldsParams

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

func (*DeleteBundleCustomFieldsParams) SetBundleID

func (o *DeleteBundleCustomFieldsParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) SetContext

func (o *DeleteBundleCustomFieldsParams) SetContext(ctx context.Context)

SetContext adds the context to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) SetCustomField

func (o *DeleteBundleCustomFieldsParams) SetCustomField(customField []strfmt.UUID)

SetCustomField adds the customField to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) SetXKillbillComment

func (o *DeleteBundleCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeleteBundleCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) SetXKillbillReason

func (o *DeleteBundleCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WithBundleID

WithBundleID adds the bundleID to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WithContext

WithContext adds the context to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WithCustomField

func (o *DeleteBundleCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteBundleCustomFieldsParams

WithCustomField adds the customField to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WithXKillbillComment

func (o *DeleteBundleCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteBundleCustomFieldsParams

WithXKillbillComment adds the xKillbillComment to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WithXKillbillCreatedBy

func (o *DeleteBundleCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteBundleCustomFieldsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WithXKillbillReason

func (o *DeleteBundleCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteBundleCustomFieldsParams

WithXKillbillReason adds the xKillbillReason to the delete bundle custom fields params

func (*DeleteBundleCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBundleCustomFieldsReader

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

DeleteBundleCustomFieldsReader is a Reader for the DeleteBundleCustomFields structure.

func (*DeleteBundleCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBundleTagsBadRequest

type DeleteBundleTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

DeleteBundleTagsBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewDeleteBundleTagsBadRequest

func NewDeleteBundleTagsBadRequest() *DeleteBundleTagsBadRequest

NewDeleteBundleTagsBadRequest creates a DeleteBundleTagsBadRequest with default headers values

func (*DeleteBundleTagsBadRequest) Error

type DeleteBundleTagsNoContent

type DeleteBundleTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteBundleTagsNoContent handles this case with default header values.

Successful operation

func NewDeleteBundleTagsNoContent

func NewDeleteBundleTagsNoContent() *DeleteBundleTagsNoContent

NewDeleteBundleTagsNoContent creates a DeleteBundleTagsNoContent with default headers values

func (*DeleteBundleTagsNoContent) Error

func (o *DeleteBundleTagsNoContent) Error() string

type DeleteBundleTagsParams

type DeleteBundleTagsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BundleID*/
	BundleID strfmt.UUID
	/*TagDef*/
	TagDef []strfmt.UUID

	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
}

DeleteBundleTagsParams contains all the parameters to send to the API endpoint for the delete bundle tags operation typically these are written to a http.Request

func NewDeleteBundleTagsParams

func NewDeleteBundleTagsParams() *DeleteBundleTagsParams

NewDeleteBundleTagsParams creates a new DeleteBundleTagsParams object with the default values initialized.

func NewDeleteBundleTagsParamsWithContext

func NewDeleteBundleTagsParamsWithContext(ctx context.Context) *DeleteBundleTagsParams

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

func NewDeleteBundleTagsParamsWithHTTPClient

func NewDeleteBundleTagsParamsWithHTTPClient(client *http.Client) *DeleteBundleTagsParams

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

func NewDeleteBundleTagsParamsWithTimeout

func NewDeleteBundleTagsParamsWithTimeout(timeout time.Duration) *DeleteBundleTagsParams

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

func (*DeleteBundleTagsParams) SetBundleID

func (o *DeleteBundleTagsParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the delete bundle tags params

func (*DeleteBundleTagsParams) SetContext

func (o *DeleteBundleTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the delete bundle tags params

func (*DeleteBundleTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete bundle tags params

func (*DeleteBundleTagsParams) SetTagDef

func (o *DeleteBundleTagsParams) SetTagDef(tagDef []strfmt.UUID)

SetTagDef adds the tagDef to the delete bundle tags params

func (*DeleteBundleTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete bundle tags params

func (*DeleteBundleTagsParams) SetXKillbillComment

func (o *DeleteBundleTagsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the delete bundle tags params

func (*DeleteBundleTagsParams) SetXKillbillCreatedBy

func (o *DeleteBundleTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete bundle tags params

func (*DeleteBundleTagsParams) SetXKillbillReason

func (o *DeleteBundleTagsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the delete bundle tags params

func (*DeleteBundleTagsParams) WithBundleID

func (o *DeleteBundleTagsParams) WithBundleID(bundleID strfmt.UUID) *DeleteBundleTagsParams

WithBundleID adds the bundleID to the delete bundle tags params

func (*DeleteBundleTagsParams) WithContext

WithContext adds the context to the delete bundle tags params

func (*DeleteBundleTagsParams) WithHTTPClient

func (o *DeleteBundleTagsParams) WithHTTPClient(client *http.Client) *DeleteBundleTagsParams

WithHTTPClient adds the HTTPClient to the delete bundle tags params

func (*DeleteBundleTagsParams) WithTagDef

func (o *DeleteBundleTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteBundleTagsParams

WithTagDef adds the tagDef to the delete bundle tags params

func (*DeleteBundleTagsParams) WithTimeout

WithTimeout adds the timeout to the delete bundle tags params

func (*DeleteBundleTagsParams) WithXKillbillComment

func (o *DeleteBundleTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteBundleTagsParams

WithXKillbillComment adds the xKillbillComment to the delete bundle tags params

func (*DeleteBundleTagsParams) WithXKillbillCreatedBy

func (o *DeleteBundleTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteBundleTagsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete bundle tags params

func (*DeleteBundleTagsParams) WithXKillbillReason

func (o *DeleteBundleTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteBundleTagsParams

WithXKillbillReason adds the xKillbillReason to the delete bundle tags params

func (*DeleteBundleTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBundleTagsReader

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

DeleteBundleTagsReader is a Reader for the DeleteBundleTags structure.

func (*DeleteBundleTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBundleBadRequest

type GetBundleBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetBundleBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewGetBundleBadRequest

func NewGetBundleBadRequest() *GetBundleBadRequest

NewGetBundleBadRequest creates a GetBundleBadRequest with default headers values

func (*GetBundleBadRequest) Error

func (o *GetBundleBadRequest) Error() string

type GetBundleByKeyNotFound

type GetBundleByKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetBundleByKeyNotFound handles this case with default header values.

Bundle not found

func NewGetBundleByKeyNotFound

func NewGetBundleByKeyNotFound() *GetBundleByKeyNotFound

NewGetBundleByKeyNotFound creates a GetBundleByKeyNotFound with default headers values

func (*GetBundleByKeyNotFound) Error

func (o *GetBundleByKeyNotFound) Error() string

type GetBundleByKeyOK

type GetBundleByKeyOK struct {
	Payload []*kbmodel.Bundle

	HttpResponse runtime.ClientResponse
}

GetBundleByKeyOK handles this case with default header values.

successful operation

func NewGetBundleByKeyOK

func NewGetBundleByKeyOK() *GetBundleByKeyOK

NewGetBundleByKeyOK creates a GetBundleByKeyOK with default headers values

func (*GetBundleByKeyOK) Error

func (o *GetBundleByKeyOK) Error() string

type GetBundleByKeyParams

type GetBundleByKeyParams struct {

	/*Audit*/
	Audit *string
	/*ExternalKey*/
	ExternalKey string
	/*IncludedDeleted*/
	IncludedDeleted *bool

	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
}

GetBundleByKeyParams contains all the parameters to send to the API endpoint for the get bundle by key operation typically these are written to a http.Request

func NewGetBundleByKeyParams

func NewGetBundleByKeyParams() *GetBundleByKeyParams

NewGetBundleByKeyParams creates a new GetBundleByKeyParams object with the default values initialized.

func NewGetBundleByKeyParamsWithContext

func NewGetBundleByKeyParamsWithContext(ctx context.Context) *GetBundleByKeyParams

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

func NewGetBundleByKeyParamsWithHTTPClient

func NewGetBundleByKeyParamsWithHTTPClient(client *http.Client) *GetBundleByKeyParams

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

func NewGetBundleByKeyParamsWithTimeout

func NewGetBundleByKeyParamsWithTimeout(timeout time.Duration) *GetBundleByKeyParams

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

func (*GetBundleByKeyParams) SetAudit

func (o *GetBundleByKeyParams) SetAudit(audit *string)

SetAudit adds the audit to the get bundle by key params

func (*GetBundleByKeyParams) SetContext

func (o *GetBundleByKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the get bundle by key params

func (*GetBundleByKeyParams) SetExternalKey

func (o *GetBundleByKeyParams) SetExternalKey(externalKey string)

SetExternalKey adds the externalKey to the get bundle by key params

func (*GetBundleByKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bundle by key params

func (*GetBundleByKeyParams) SetIncludedDeleted

func (o *GetBundleByKeyParams) SetIncludedDeleted(includedDeleted *bool)

SetIncludedDeleted adds the includedDeleted to the get bundle by key params

func (*GetBundleByKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get bundle by key params

func (*GetBundleByKeyParams) WithAudit

func (o *GetBundleByKeyParams) WithAudit(audit *string) *GetBundleByKeyParams

WithAudit adds the audit to the get bundle by key params

func (*GetBundleByKeyParams) WithContext

WithContext adds the context to the get bundle by key params

func (*GetBundleByKeyParams) WithExternalKey

func (o *GetBundleByKeyParams) WithExternalKey(externalKey string) *GetBundleByKeyParams

WithExternalKey adds the externalKey to the get bundle by key params

func (*GetBundleByKeyParams) WithHTTPClient

func (o *GetBundleByKeyParams) WithHTTPClient(client *http.Client) *GetBundleByKeyParams

WithHTTPClient adds the HTTPClient to the get bundle by key params

func (*GetBundleByKeyParams) WithIncludedDeleted

func (o *GetBundleByKeyParams) WithIncludedDeleted(includedDeleted *bool) *GetBundleByKeyParams

WithIncludedDeleted adds the includedDeleted to the get bundle by key params

func (*GetBundleByKeyParams) WithTimeout

func (o *GetBundleByKeyParams) WithTimeout(timeout time.Duration) *GetBundleByKeyParams

WithTimeout adds the timeout to the get bundle by key params

func (*GetBundleByKeyParams) WriteToRequest

func (o *GetBundleByKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBundleByKeyReader

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

GetBundleByKeyReader is a Reader for the GetBundleByKey structure.

func (*GetBundleByKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBundleCustomFieldsBadRequest

type GetBundleCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetBundleCustomFieldsBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewGetBundleCustomFieldsBadRequest

func NewGetBundleCustomFieldsBadRequest() *GetBundleCustomFieldsBadRequest

NewGetBundleCustomFieldsBadRequest creates a GetBundleCustomFieldsBadRequest with default headers values

func (*GetBundleCustomFieldsBadRequest) Error

type GetBundleCustomFieldsOK

type GetBundleCustomFieldsOK struct {
	Payload []*kbmodel.CustomField

	HttpResponse runtime.ClientResponse
}

GetBundleCustomFieldsOK handles this case with default header values.

successful operation

func NewGetBundleCustomFieldsOK

func NewGetBundleCustomFieldsOK() *GetBundleCustomFieldsOK

NewGetBundleCustomFieldsOK creates a GetBundleCustomFieldsOK with default headers values

func (*GetBundleCustomFieldsOK) Error

func (o *GetBundleCustomFieldsOK) Error() string

type GetBundleCustomFieldsParams

type GetBundleCustomFieldsParams struct {

	/*Audit*/
	Audit *string
	/*BundleID*/
	BundleID strfmt.UUID

	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
}

GetBundleCustomFieldsParams contains all the parameters to send to the API endpoint for the get bundle custom fields operation typically these are written to a http.Request

func NewGetBundleCustomFieldsParams

func NewGetBundleCustomFieldsParams() *GetBundleCustomFieldsParams

NewGetBundleCustomFieldsParams creates a new GetBundleCustomFieldsParams object with the default values initialized.

func NewGetBundleCustomFieldsParamsWithContext

func NewGetBundleCustomFieldsParamsWithContext(ctx context.Context) *GetBundleCustomFieldsParams

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

func NewGetBundleCustomFieldsParamsWithHTTPClient

func NewGetBundleCustomFieldsParamsWithHTTPClient(client *http.Client) *GetBundleCustomFieldsParams

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

func NewGetBundleCustomFieldsParamsWithTimeout

func NewGetBundleCustomFieldsParamsWithTimeout(timeout time.Duration) *GetBundleCustomFieldsParams

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

func (*GetBundleCustomFieldsParams) SetAudit

func (o *GetBundleCustomFieldsParams) SetAudit(audit *string)

SetAudit adds the audit to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) SetBundleID

func (o *GetBundleCustomFieldsParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) SetContext

func (o *GetBundleCustomFieldsParams) SetContext(ctx context.Context)

SetContext adds the context to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) WithAudit

WithAudit adds the audit to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) WithBundleID

WithBundleID adds the bundleID to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) WithContext

WithContext adds the context to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get bundle custom fields params

func (*GetBundleCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBundleCustomFieldsReader

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

GetBundleCustomFieldsReader is a Reader for the GetBundleCustomFields structure.

func (*GetBundleCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBundleNotFound

type GetBundleNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetBundleNotFound handles this case with default header values.

Bundle not found

func NewGetBundleNotFound

func NewGetBundleNotFound() *GetBundleNotFound

NewGetBundleNotFound creates a GetBundleNotFound with default headers values

func (*GetBundleNotFound) Error

func (o *GetBundleNotFound) Error() string

type GetBundleOK

type GetBundleOK struct {
	Payload *kbmodel.Bundle

	HttpResponse runtime.ClientResponse
}

GetBundleOK handles this case with default header values.

successful operation

func NewGetBundleOK

func NewGetBundleOK() *GetBundleOK

NewGetBundleOK creates a GetBundleOK with default headers values

func (*GetBundleOK) Error

func (o *GetBundleOK) Error() string

type GetBundleParams

type GetBundleParams struct {

	/*Audit*/
	Audit *string
	/*BundleID*/
	BundleID strfmt.UUID

	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
}

GetBundleParams contains all the parameters to send to the API endpoint for the get bundle operation typically these are written to a http.Request

func NewGetBundleParams

func NewGetBundleParams() *GetBundleParams

NewGetBundleParams creates a new GetBundleParams object with the default values initialized.

func NewGetBundleParamsWithContext

func NewGetBundleParamsWithContext(ctx context.Context) *GetBundleParams

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

func NewGetBundleParamsWithHTTPClient

func NewGetBundleParamsWithHTTPClient(client *http.Client) *GetBundleParams

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

func NewGetBundleParamsWithTimeout

func NewGetBundleParamsWithTimeout(timeout time.Duration) *GetBundleParams

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

func (*GetBundleParams) SetAudit

func (o *GetBundleParams) SetAudit(audit *string)

SetAudit adds the audit to the get bundle params

func (*GetBundleParams) SetBundleID

func (o *GetBundleParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the get bundle params

func (*GetBundleParams) SetContext

func (o *GetBundleParams) SetContext(ctx context.Context)

SetContext adds the context to the get bundle params

func (*GetBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bundle params

func (*GetBundleParams) SetTimeout

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

SetTimeout adds the timeout to the get bundle params

func (*GetBundleParams) WithAudit

func (o *GetBundleParams) WithAudit(audit *string) *GetBundleParams

WithAudit adds the audit to the get bundle params

func (*GetBundleParams) WithBundleID

func (o *GetBundleParams) WithBundleID(bundleID strfmt.UUID) *GetBundleParams

WithBundleID adds the bundleID to the get bundle params

func (*GetBundleParams) WithContext

func (o *GetBundleParams) WithContext(ctx context.Context) *GetBundleParams

WithContext adds the context to the get bundle params

func (*GetBundleParams) WithHTTPClient

func (o *GetBundleParams) WithHTTPClient(client *http.Client) *GetBundleParams

WithHTTPClient adds the HTTPClient to the get bundle params

func (*GetBundleParams) WithTimeout

func (o *GetBundleParams) WithTimeout(timeout time.Duration) *GetBundleParams

WithTimeout adds the timeout to the get bundle params

func (*GetBundleParams) WriteToRequest

func (o *GetBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBundleReader

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

GetBundleReader is a Reader for the GetBundle structure.

func (*GetBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBundleTagsBadRequest

type GetBundleTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetBundleTagsBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewGetBundleTagsBadRequest

func NewGetBundleTagsBadRequest() *GetBundleTagsBadRequest

NewGetBundleTagsBadRequest creates a GetBundleTagsBadRequest with default headers values

func (*GetBundleTagsBadRequest) Error

func (o *GetBundleTagsBadRequest) Error() string

type GetBundleTagsNotFound

type GetBundleTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetBundleTagsNotFound handles this case with default header values.

Bundle not found

func NewGetBundleTagsNotFound

func NewGetBundleTagsNotFound() *GetBundleTagsNotFound

NewGetBundleTagsNotFound creates a GetBundleTagsNotFound with default headers values

func (*GetBundleTagsNotFound) Error

func (o *GetBundleTagsNotFound) Error() string

type GetBundleTagsOK

type GetBundleTagsOK struct {
	Payload []*kbmodel.Tag

	HttpResponse runtime.ClientResponse
}

GetBundleTagsOK handles this case with default header values.

successful operation

func NewGetBundleTagsOK

func NewGetBundleTagsOK() *GetBundleTagsOK

NewGetBundleTagsOK creates a GetBundleTagsOK with default headers values

func (*GetBundleTagsOK) Error

func (o *GetBundleTagsOK) Error() string

type GetBundleTagsParams

type GetBundleTagsParams struct {

	/*Audit*/
	Audit *string
	/*BundleID*/
	BundleID strfmt.UUID
	/*IncludedDeleted*/
	IncludedDeleted *bool

	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
}

GetBundleTagsParams contains all the parameters to send to the API endpoint for the get bundle tags operation typically these are written to a http.Request

func NewGetBundleTagsParams

func NewGetBundleTagsParams() *GetBundleTagsParams

NewGetBundleTagsParams creates a new GetBundleTagsParams object with the default values initialized.

func NewGetBundleTagsParamsWithContext

func NewGetBundleTagsParamsWithContext(ctx context.Context) *GetBundleTagsParams

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

func NewGetBundleTagsParamsWithHTTPClient

func NewGetBundleTagsParamsWithHTTPClient(client *http.Client) *GetBundleTagsParams

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

func NewGetBundleTagsParamsWithTimeout

func NewGetBundleTagsParamsWithTimeout(timeout time.Duration) *GetBundleTagsParams

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

func (*GetBundleTagsParams) SetAudit

func (o *GetBundleTagsParams) SetAudit(audit *string)

SetAudit adds the audit to the get bundle tags params

func (*GetBundleTagsParams) SetBundleID

func (o *GetBundleTagsParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the get bundle tags params

func (*GetBundleTagsParams) SetContext

func (o *GetBundleTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the get bundle tags params

func (*GetBundleTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bundle tags params

func (*GetBundleTagsParams) SetIncludedDeleted

func (o *GetBundleTagsParams) SetIncludedDeleted(includedDeleted *bool)

SetIncludedDeleted adds the includedDeleted to the get bundle tags params

func (*GetBundleTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get bundle tags params

func (*GetBundleTagsParams) WithAudit

func (o *GetBundleTagsParams) WithAudit(audit *string) *GetBundleTagsParams

WithAudit adds the audit to the get bundle tags params

func (*GetBundleTagsParams) WithBundleID

func (o *GetBundleTagsParams) WithBundleID(bundleID strfmt.UUID) *GetBundleTagsParams

WithBundleID adds the bundleID to the get bundle tags params

func (*GetBundleTagsParams) WithContext

WithContext adds the context to the get bundle tags params

func (*GetBundleTagsParams) WithHTTPClient

func (o *GetBundleTagsParams) WithHTTPClient(client *http.Client) *GetBundleTagsParams

WithHTTPClient adds the HTTPClient to the get bundle tags params

func (*GetBundleTagsParams) WithIncludedDeleted

func (o *GetBundleTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetBundleTagsParams

WithIncludedDeleted adds the includedDeleted to the get bundle tags params

func (*GetBundleTagsParams) WithTimeout

func (o *GetBundleTagsParams) WithTimeout(timeout time.Duration) *GetBundleTagsParams

WithTimeout adds the timeout to the get bundle tags params

func (*GetBundleTagsParams) WriteToRequest

func (o *GetBundleTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBundleTagsReader

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

GetBundleTagsReader is a Reader for the GetBundleTags structure.

func (*GetBundleTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBundlesOK

type GetBundlesOK struct {
	Payload []*kbmodel.Bundle

	HttpResponse runtime.ClientResponse
}

GetBundlesOK handles this case with default header values.

successful operation

func NewGetBundlesOK

func NewGetBundlesOK() *GetBundlesOK

NewGetBundlesOK creates a GetBundlesOK with default headers values

func (*GetBundlesOK) Error

func (o *GetBundlesOK) Error() string

type GetBundlesParams

type GetBundlesParams struct {

	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64

	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
}

GetBundlesParams contains all the parameters to send to the API endpoint for the get bundles operation typically these are written to a http.Request

func NewGetBundlesParams

func NewGetBundlesParams() *GetBundlesParams

NewGetBundlesParams creates a new GetBundlesParams object with the default values initialized.

func NewGetBundlesParamsWithContext

func NewGetBundlesParamsWithContext(ctx context.Context) *GetBundlesParams

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

func NewGetBundlesParamsWithHTTPClient

func NewGetBundlesParamsWithHTTPClient(client *http.Client) *GetBundlesParams

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

func NewGetBundlesParamsWithTimeout

func NewGetBundlesParamsWithTimeout(timeout time.Duration) *GetBundlesParams

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

func (*GetBundlesParams) SetAudit

func (o *GetBundlesParams) SetAudit(audit *string)

SetAudit adds the audit to the get bundles params

func (*GetBundlesParams) SetContext

func (o *GetBundlesParams) SetContext(ctx context.Context)

SetContext adds the context to the get bundles params

func (*GetBundlesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bundles params

func (*GetBundlesParams) SetLimit

func (o *GetBundlesParams) SetLimit(limit *int64)

SetLimit adds the limit to the get bundles params

func (*GetBundlesParams) SetOffset

func (o *GetBundlesParams) SetOffset(offset *int64)

SetOffset adds the offset to the get bundles params

func (*GetBundlesParams) SetTimeout

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

SetTimeout adds the timeout to the get bundles params

func (*GetBundlesParams) WithAudit

func (o *GetBundlesParams) WithAudit(audit *string) *GetBundlesParams

WithAudit adds the audit to the get bundles params

func (*GetBundlesParams) WithContext

func (o *GetBundlesParams) WithContext(ctx context.Context) *GetBundlesParams

WithContext adds the context to the get bundles params

func (*GetBundlesParams) WithHTTPClient

func (o *GetBundlesParams) WithHTTPClient(client *http.Client) *GetBundlesParams

WithHTTPClient adds the HTTPClient to the get bundles params

func (*GetBundlesParams) WithLimit

func (o *GetBundlesParams) WithLimit(limit *int64) *GetBundlesParams

WithLimit adds the limit to the get bundles params

func (*GetBundlesParams) WithOffset

func (o *GetBundlesParams) WithOffset(offset *int64) *GetBundlesParams

WithOffset adds the offset to the get bundles params

func (*GetBundlesParams) WithTimeout

func (o *GetBundlesParams) WithTimeout(timeout time.Duration) *GetBundlesParams

WithTimeout adds the timeout to the get bundles params

func (*GetBundlesParams) WriteToRequest

func (o *GetBundlesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBundlesReader

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

GetBundlesReader is a Reader for the GetBundles structure.

func (*GetBundlesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IBundle

type IBundle interface {
	/*
		AddBundleBlockingState blocks a bundle
	*/
	AddBundleBlockingState(ctx context.Context, params *AddBundleBlockingStateParams) (*AddBundleBlockingStateCreated, error)

	/*
		CreateBundleCustomFields adds custom fields to bundle
	*/
	CreateBundleCustomFields(ctx context.Context, params *CreateBundleCustomFieldsParams) (*CreateBundleCustomFieldsCreated, error)

	/*
		CreateBundleTags adds tags to bundle
	*/
	CreateBundleTags(ctx context.Context, params *CreateBundleTagsParams) (*CreateBundleTagsCreated, error)

	/*
		DeleteBundleCustomFields removes custom fields from bundle
	*/
	DeleteBundleCustomFields(ctx context.Context, params *DeleteBundleCustomFieldsParams) (*DeleteBundleCustomFieldsNoContent, error)

	/*
		DeleteBundleTags removes tags from bundle
	*/
	DeleteBundleTags(ctx context.Context, params *DeleteBundleTagsParams) (*DeleteBundleTagsNoContent, error)

	/*
		GetBundle retrieves a bundle by id
	*/
	GetBundle(ctx context.Context, params *GetBundleParams) (*GetBundleOK, error)

	/*
		GetBundleByKey retrieves a bundle by external key
	*/
	GetBundleByKey(ctx context.Context, params *GetBundleByKeyParams) (*GetBundleByKeyOK, error)

	/*
		GetBundleCustomFields retrieves bundle custom fields
	*/
	GetBundleCustomFields(ctx context.Context, params *GetBundleCustomFieldsParams) (*GetBundleCustomFieldsOK, error)

	/*
		GetBundleTags retrieves bundle tags
	*/
	GetBundleTags(ctx context.Context, params *GetBundleTagsParams) (*GetBundleTagsOK, error)

	/*
		GetBundles lists bundles
	*/
	GetBundles(ctx context.Context, params *GetBundlesParams) (*GetBundlesOK, error)

	/*
		ModifyBundleCustomFields modifies custom fields to bundle
	*/
	ModifyBundleCustomFields(ctx context.Context, params *ModifyBundleCustomFieldsParams) (*ModifyBundleCustomFieldsNoContent, error)

	/*
		PauseBundle pauses a bundle
	*/
	PauseBundle(ctx context.Context, params *PauseBundleParams) (*PauseBundleNoContent, error)

	/*
		RenameExternalKey updates a bundle external key
	*/
	RenameExternalKey(ctx context.Context, params *RenameExternalKeyParams) (*RenameExternalKeyNoContent, error)

	/*
		ResumeBundle resumes a bundle
	*/
	ResumeBundle(ctx context.Context, params *ResumeBundleParams) (*ResumeBundleNoContent, error)

	/*
		SearchBundles searches bundles
	*/
	SearchBundles(ctx context.Context, params *SearchBundlesParams) (*SearchBundlesOK, error)

	/*
		TransferBundle transfers a bundle to another account
	*/
	TransferBundle(ctx context.Context, params *TransferBundleParams) (*TransferBundleCreated, error)
}

IBundle - interface for Bundle client.

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 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 ModifyBundleCustomFieldsBadRequest

type ModifyBundleCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifyBundleCustomFieldsBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewModifyBundleCustomFieldsBadRequest

func NewModifyBundleCustomFieldsBadRequest() *ModifyBundleCustomFieldsBadRequest

NewModifyBundleCustomFieldsBadRequest creates a ModifyBundleCustomFieldsBadRequest with default headers values

func (*ModifyBundleCustomFieldsBadRequest) Error

type ModifyBundleCustomFieldsNoContent

type ModifyBundleCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyBundleCustomFieldsNoContent handles this case with default header values.

Successful operation

func NewModifyBundleCustomFieldsNoContent

func NewModifyBundleCustomFieldsNoContent() *ModifyBundleCustomFieldsNoContent

NewModifyBundleCustomFieldsNoContent creates a ModifyBundleCustomFieldsNoContent with default headers values

func (*ModifyBundleCustomFieldsNoContent) Error

type ModifyBundleCustomFieldsParams

type ModifyBundleCustomFieldsParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body []*kbmodel.CustomField
	/*BundleID*/
	BundleID strfmt.UUID

	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
}

ModifyBundleCustomFieldsParams contains all the parameters to send to the API endpoint for the modify bundle custom fields operation typically these are written to a http.Request

func NewModifyBundleCustomFieldsParams

func NewModifyBundleCustomFieldsParams() *ModifyBundleCustomFieldsParams

NewModifyBundleCustomFieldsParams creates a new ModifyBundleCustomFieldsParams object with the default values initialized.

func NewModifyBundleCustomFieldsParamsWithContext

func NewModifyBundleCustomFieldsParamsWithContext(ctx context.Context) *ModifyBundleCustomFieldsParams

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

func NewModifyBundleCustomFieldsParamsWithHTTPClient

func NewModifyBundleCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyBundleCustomFieldsParams

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

func NewModifyBundleCustomFieldsParamsWithTimeout

func NewModifyBundleCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyBundleCustomFieldsParams

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

func (*ModifyBundleCustomFieldsParams) SetBody

SetBody adds the body to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) SetBundleID

func (o *ModifyBundleCustomFieldsParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) SetContext

func (o *ModifyBundleCustomFieldsParams) SetContext(ctx context.Context)

SetContext adds the context to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) SetXKillbillComment

func (o *ModifyBundleCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyBundleCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) SetXKillbillReason

func (o *ModifyBundleCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WithBody

WithBody adds the body to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WithBundleID

WithBundleID adds the bundleID to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WithContext

WithContext adds the context to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WithXKillbillComment

func (o *ModifyBundleCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyBundleCustomFieldsParams

WithXKillbillComment adds the xKillbillComment to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WithXKillbillCreatedBy

func (o *ModifyBundleCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyBundleCustomFieldsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WithXKillbillReason

func (o *ModifyBundleCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyBundleCustomFieldsParams

WithXKillbillReason adds the xKillbillReason to the modify bundle custom fields params

func (*ModifyBundleCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyBundleCustomFieldsReader

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

ModifyBundleCustomFieldsReader is a Reader for the ModifyBundleCustomFields structure.

func (*ModifyBundleCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PauseBundleBadRequest

type PauseBundleBadRequest struct {
	HttpResponse runtime.ClientResponse
}

PauseBundleBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewPauseBundleBadRequest

func NewPauseBundleBadRequest() *PauseBundleBadRequest

NewPauseBundleBadRequest creates a PauseBundleBadRequest with default headers values

func (*PauseBundleBadRequest) Error

func (o *PauseBundleBadRequest) Error() string

type PauseBundleNoContent

type PauseBundleNoContent struct {
	HttpResponse runtime.ClientResponse
}

PauseBundleNoContent handles this case with default header values.

Successful operation

func NewPauseBundleNoContent

func NewPauseBundleNoContent() *PauseBundleNoContent

NewPauseBundleNoContent creates a PauseBundleNoContent with default headers values

func (*PauseBundleNoContent) Error

func (o *PauseBundleNoContent) Error() string

type PauseBundleNotFound

type PauseBundleNotFound struct {
	HttpResponse runtime.ClientResponse
}

PauseBundleNotFound handles this case with default header values.

Bundle not found

func NewPauseBundleNotFound

func NewPauseBundleNotFound() *PauseBundleNotFound

NewPauseBundleNotFound creates a PauseBundleNotFound with default headers values

func (*PauseBundleNotFound) Error

func (o *PauseBundleNotFound) Error() string

type PauseBundleParams

type PauseBundleParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BundleID*/
	BundleID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	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
}

PauseBundleParams contains all the parameters to send to the API endpoint for the pause bundle operation typically these are written to a http.Request

func NewPauseBundleParams

func NewPauseBundleParams() *PauseBundleParams

NewPauseBundleParams creates a new PauseBundleParams object with the default values initialized.

func NewPauseBundleParamsWithContext

func NewPauseBundleParamsWithContext(ctx context.Context) *PauseBundleParams

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

func NewPauseBundleParamsWithHTTPClient

func NewPauseBundleParamsWithHTTPClient(client *http.Client) *PauseBundleParams

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

func NewPauseBundleParamsWithTimeout

func NewPauseBundleParamsWithTimeout(timeout time.Duration) *PauseBundleParams

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

func (*PauseBundleParams) SetBundleID

func (o *PauseBundleParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the pause bundle params

func (*PauseBundleParams) SetContext

func (o *PauseBundleParams) SetContext(ctx context.Context)

SetContext adds the context to the pause bundle params

func (*PauseBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pause bundle params

func (*PauseBundleParams) SetPluginProperty

func (o *PauseBundleParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the pause bundle params

func (*PauseBundleParams) SetRequestedDate

func (o *PauseBundleParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the pause bundle params

func (*PauseBundleParams) SetTimeout

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

SetTimeout adds the timeout to the pause bundle params

func (*PauseBundleParams) SetXKillbillComment

func (o *PauseBundleParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the pause bundle params

func (*PauseBundleParams) SetXKillbillCreatedBy

func (o *PauseBundleParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the pause bundle params

func (*PauseBundleParams) SetXKillbillReason

func (o *PauseBundleParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the pause bundle params

func (*PauseBundleParams) WithBundleID

func (o *PauseBundleParams) WithBundleID(bundleID strfmt.UUID) *PauseBundleParams

WithBundleID adds the bundleID to the pause bundle params

func (*PauseBundleParams) WithContext

func (o *PauseBundleParams) WithContext(ctx context.Context) *PauseBundleParams

WithContext adds the context to the pause bundle params

func (*PauseBundleParams) WithHTTPClient

func (o *PauseBundleParams) WithHTTPClient(client *http.Client) *PauseBundleParams

WithHTTPClient adds the HTTPClient to the pause bundle params

func (*PauseBundleParams) WithPluginProperty

func (o *PauseBundleParams) WithPluginProperty(pluginProperty []string) *PauseBundleParams

WithPluginProperty adds the pluginProperty to the pause bundle params

func (*PauseBundleParams) WithRequestedDate

func (o *PauseBundleParams) WithRequestedDate(requestedDate *strfmt.Date) *PauseBundleParams

WithRequestedDate adds the requestedDate to the pause bundle params

func (*PauseBundleParams) WithTimeout

func (o *PauseBundleParams) WithTimeout(timeout time.Duration) *PauseBundleParams

WithTimeout adds the timeout to the pause bundle params

func (*PauseBundleParams) WithXKillbillComment

func (o *PauseBundleParams) WithXKillbillComment(xKillbillComment *string) *PauseBundleParams

WithXKillbillComment adds the xKillbillComment to the pause bundle params

func (*PauseBundleParams) WithXKillbillCreatedBy

func (o *PauseBundleParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *PauseBundleParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the pause bundle params

func (*PauseBundleParams) WithXKillbillReason

func (o *PauseBundleParams) WithXKillbillReason(xKillbillReason *string) *PauseBundleParams

WithXKillbillReason adds the xKillbillReason to the pause bundle params

func (*PauseBundleParams) WriteToRequest

func (o *PauseBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PauseBundleReader

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

PauseBundleReader is a Reader for the PauseBundle structure.

func (*PauseBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RenameExternalKeyBadRequest

type RenameExternalKeyBadRequest struct {
	HttpResponse runtime.ClientResponse
}

RenameExternalKeyBadRequest handles this case with default header values.

Invalid argumnent supplied

func NewRenameExternalKeyBadRequest

func NewRenameExternalKeyBadRequest() *RenameExternalKeyBadRequest

NewRenameExternalKeyBadRequest creates a RenameExternalKeyBadRequest with default headers values

func (*RenameExternalKeyBadRequest) Error

type RenameExternalKeyNoContent

type RenameExternalKeyNoContent struct {
	HttpResponse runtime.ClientResponse
}

RenameExternalKeyNoContent handles this case with default header values.

Successful operation

func NewRenameExternalKeyNoContent

func NewRenameExternalKeyNoContent() *RenameExternalKeyNoContent

NewRenameExternalKeyNoContent creates a RenameExternalKeyNoContent with default headers values

func (*RenameExternalKeyNoContent) Error

type RenameExternalKeyNotFound

type RenameExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

RenameExternalKeyNotFound handles this case with default header values.

Bundle not found

func NewRenameExternalKeyNotFound

func NewRenameExternalKeyNotFound() *RenameExternalKeyNotFound

NewRenameExternalKeyNotFound creates a RenameExternalKeyNotFound with default headers values

func (*RenameExternalKeyNotFound) Error

func (o *RenameExternalKeyNotFound) Error() string

type RenameExternalKeyParams

type RenameExternalKeyParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*Body*/
	Body *kbmodel.Bundle
	/*BundleID*/
	BundleID strfmt.UUID

	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
}

RenameExternalKeyParams contains all the parameters to send to the API endpoint for the rename external key operation typically these are written to a http.Request

func NewRenameExternalKeyParams

func NewRenameExternalKeyParams() *RenameExternalKeyParams

NewRenameExternalKeyParams creates a new RenameExternalKeyParams object with the default values initialized.

func NewRenameExternalKeyParamsWithContext

func NewRenameExternalKeyParamsWithContext(ctx context.Context) *RenameExternalKeyParams

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

func NewRenameExternalKeyParamsWithHTTPClient

func NewRenameExternalKeyParamsWithHTTPClient(client *http.Client) *RenameExternalKeyParams

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

func NewRenameExternalKeyParamsWithTimeout

func NewRenameExternalKeyParamsWithTimeout(timeout time.Duration) *RenameExternalKeyParams

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

func (*RenameExternalKeyParams) SetBody

func (o *RenameExternalKeyParams) SetBody(body *kbmodel.Bundle)

SetBody adds the body to the rename external key params

func (*RenameExternalKeyParams) SetBundleID

func (o *RenameExternalKeyParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the rename external key params

func (*RenameExternalKeyParams) SetContext

func (o *RenameExternalKeyParams) SetContext(ctx context.Context)

SetContext adds the context to the rename external key params

func (*RenameExternalKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rename external key params

func (*RenameExternalKeyParams) SetTimeout

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

SetTimeout adds the timeout to the rename external key params

func (*RenameExternalKeyParams) SetXKillbillComment

func (o *RenameExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the rename external key params

func (*RenameExternalKeyParams) SetXKillbillCreatedBy

func (o *RenameExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the rename external key params

func (*RenameExternalKeyParams) SetXKillbillReason

func (o *RenameExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the rename external key params

func (*RenameExternalKeyParams) WithBody

WithBody adds the body to the rename external key params

func (*RenameExternalKeyParams) WithBundleID

func (o *RenameExternalKeyParams) WithBundleID(bundleID strfmt.UUID) *RenameExternalKeyParams

WithBundleID adds the bundleID to the rename external key params

func (*RenameExternalKeyParams) WithContext

WithContext adds the context to the rename external key params

func (*RenameExternalKeyParams) WithHTTPClient

func (o *RenameExternalKeyParams) WithHTTPClient(client *http.Client) *RenameExternalKeyParams

WithHTTPClient adds the HTTPClient to the rename external key params

func (*RenameExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the rename external key params

func (*RenameExternalKeyParams) WithXKillbillComment

func (o *RenameExternalKeyParams) WithXKillbillComment(xKillbillComment *string) *RenameExternalKeyParams

WithXKillbillComment adds the xKillbillComment to the rename external key params

func (*RenameExternalKeyParams) WithXKillbillCreatedBy

func (o *RenameExternalKeyParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *RenameExternalKeyParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the rename external key params

func (*RenameExternalKeyParams) WithXKillbillReason

func (o *RenameExternalKeyParams) WithXKillbillReason(xKillbillReason *string) *RenameExternalKeyParams

WithXKillbillReason adds the xKillbillReason to the rename external key params

func (*RenameExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RenameExternalKeyReader

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

RenameExternalKeyReader is a Reader for the RenameExternalKey structure.

func (*RenameExternalKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResumeBundleBadRequest

type ResumeBundleBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ResumeBundleBadRequest handles this case with default header values.

Invalid bundle id supplied

func NewResumeBundleBadRequest

func NewResumeBundleBadRequest() *ResumeBundleBadRequest

NewResumeBundleBadRequest creates a ResumeBundleBadRequest with default headers values

func (*ResumeBundleBadRequest) Error

func (o *ResumeBundleBadRequest) Error() string

type ResumeBundleNoContent

type ResumeBundleNoContent struct {
	HttpResponse runtime.ClientResponse
}

ResumeBundleNoContent handles this case with default header values.

Successful operation

func NewResumeBundleNoContent

func NewResumeBundleNoContent() *ResumeBundleNoContent

NewResumeBundleNoContent creates a ResumeBundleNoContent with default headers values

func (*ResumeBundleNoContent) Error

func (o *ResumeBundleNoContent) Error() string

type ResumeBundleNotFound

type ResumeBundleNotFound struct {
	HttpResponse runtime.ClientResponse
}

ResumeBundleNotFound handles this case with default header values.

Bundle not found

func NewResumeBundleNotFound

func NewResumeBundleNotFound() *ResumeBundleNotFound

NewResumeBundleNotFound creates a ResumeBundleNotFound with default headers values

func (*ResumeBundleNotFound) Error

func (o *ResumeBundleNotFound) Error() string

type ResumeBundleParams

type ResumeBundleParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BundleID*/
	BundleID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	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
}

ResumeBundleParams contains all the parameters to send to the API endpoint for the resume bundle operation typically these are written to a http.Request

func NewResumeBundleParams

func NewResumeBundleParams() *ResumeBundleParams

NewResumeBundleParams creates a new ResumeBundleParams object with the default values initialized.

func NewResumeBundleParamsWithContext

func NewResumeBundleParamsWithContext(ctx context.Context) *ResumeBundleParams

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

func NewResumeBundleParamsWithHTTPClient

func NewResumeBundleParamsWithHTTPClient(client *http.Client) *ResumeBundleParams

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

func NewResumeBundleParamsWithTimeout

func NewResumeBundleParamsWithTimeout(timeout time.Duration) *ResumeBundleParams

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

func (*ResumeBundleParams) SetBundleID

func (o *ResumeBundleParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the resume bundle params

func (*ResumeBundleParams) SetContext

func (o *ResumeBundleParams) SetContext(ctx context.Context)

SetContext adds the context to the resume bundle params

func (*ResumeBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resume bundle params

func (*ResumeBundleParams) SetPluginProperty

func (o *ResumeBundleParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the resume bundle params

func (*ResumeBundleParams) SetRequestedDate

func (o *ResumeBundleParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the resume bundle params

func (*ResumeBundleParams) SetTimeout

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

SetTimeout adds the timeout to the resume bundle params

func (*ResumeBundleParams) SetXKillbillComment

func (o *ResumeBundleParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the resume bundle params

func (*ResumeBundleParams) SetXKillbillCreatedBy

func (o *ResumeBundleParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the resume bundle params

func (*ResumeBundleParams) SetXKillbillReason

func (o *ResumeBundleParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the resume bundle params

func (*ResumeBundleParams) WithBundleID

func (o *ResumeBundleParams) WithBundleID(bundleID strfmt.UUID) *ResumeBundleParams

WithBundleID adds the bundleID to the resume bundle params

func (*ResumeBundleParams) WithContext

WithContext adds the context to the resume bundle params

func (*ResumeBundleParams) WithHTTPClient

func (o *ResumeBundleParams) WithHTTPClient(client *http.Client) *ResumeBundleParams

WithHTTPClient adds the HTTPClient to the resume bundle params

func (*ResumeBundleParams) WithPluginProperty

func (o *ResumeBundleParams) WithPluginProperty(pluginProperty []string) *ResumeBundleParams

WithPluginProperty adds the pluginProperty to the resume bundle params

func (*ResumeBundleParams) WithRequestedDate

func (o *ResumeBundleParams) WithRequestedDate(requestedDate *strfmt.Date) *ResumeBundleParams

WithRequestedDate adds the requestedDate to the resume bundle params

func (*ResumeBundleParams) WithTimeout

func (o *ResumeBundleParams) WithTimeout(timeout time.Duration) *ResumeBundleParams

WithTimeout adds the timeout to the resume bundle params

func (*ResumeBundleParams) WithXKillbillComment

func (o *ResumeBundleParams) WithXKillbillComment(xKillbillComment *string) *ResumeBundleParams

WithXKillbillComment adds the xKillbillComment to the resume bundle params

func (*ResumeBundleParams) WithXKillbillCreatedBy

func (o *ResumeBundleParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ResumeBundleParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the resume bundle params

func (*ResumeBundleParams) WithXKillbillReason

func (o *ResumeBundleParams) WithXKillbillReason(xKillbillReason *string) *ResumeBundleParams

WithXKillbillReason adds the xKillbillReason to the resume bundle params

func (*ResumeBundleParams) WriteToRequest

func (o *ResumeBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResumeBundleReader

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

ResumeBundleReader is a Reader for the ResumeBundle structure.

func (*ResumeBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchBundlesOK

type SearchBundlesOK struct {
	Payload []*kbmodel.Bundle

	HttpResponse runtime.ClientResponse
}

SearchBundlesOK handles this case with default header values.

successful operation

func NewSearchBundlesOK

func NewSearchBundlesOK() *SearchBundlesOK

NewSearchBundlesOK creates a SearchBundlesOK with default headers values

func (*SearchBundlesOK) Error

func (o *SearchBundlesOK) Error() string

type SearchBundlesParams

type SearchBundlesParams struct {

	/*Audit*/
	Audit *string
	/*Limit*/
	Limit *int64
	/*Offset*/
	Offset *int64
	/*SearchKey*/
	SearchKey string

	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
}

SearchBundlesParams contains all the parameters to send to the API endpoint for the search bundles operation typically these are written to a http.Request

func NewSearchBundlesParams

func NewSearchBundlesParams() *SearchBundlesParams

NewSearchBundlesParams creates a new SearchBundlesParams object with the default values initialized.

func NewSearchBundlesParamsWithContext

func NewSearchBundlesParamsWithContext(ctx context.Context) *SearchBundlesParams

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

func NewSearchBundlesParamsWithHTTPClient

func NewSearchBundlesParamsWithHTTPClient(client *http.Client) *SearchBundlesParams

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

func NewSearchBundlesParamsWithTimeout

func NewSearchBundlesParamsWithTimeout(timeout time.Duration) *SearchBundlesParams

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

func (*SearchBundlesParams) SetAudit

func (o *SearchBundlesParams) SetAudit(audit *string)

SetAudit adds the audit to the search bundles params

func (*SearchBundlesParams) SetContext

func (o *SearchBundlesParams) SetContext(ctx context.Context)

SetContext adds the context to the search bundles params

func (*SearchBundlesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search bundles params

func (*SearchBundlesParams) SetLimit

func (o *SearchBundlesParams) SetLimit(limit *int64)

SetLimit adds the limit to the search bundles params

func (*SearchBundlesParams) SetOffset

func (o *SearchBundlesParams) SetOffset(offset *int64)

SetOffset adds the offset to the search bundles params

func (*SearchBundlesParams) SetSearchKey

func (o *SearchBundlesParams) SetSearchKey(searchKey string)

SetSearchKey adds the searchKey to the search bundles params

func (*SearchBundlesParams) SetTimeout

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

SetTimeout adds the timeout to the search bundles params

func (*SearchBundlesParams) WithAudit

func (o *SearchBundlesParams) WithAudit(audit *string) *SearchBundlesParams

WithAudit adds the audit to the search bundles params

func (*SearchBundlesParams) WithContext

WithContext adds the context to the search bundles params

func (*SearchBundlesParams) WithHTTPClient

func (o *SearchBundlesParams) WithHTTPClient(client *http.Client) *SearchBundlesParams

WithHTTPClient adds the HTTPClient to the search bundles params

func (*SearchBundlesParams) WithLimit

func (o *SearchBundlesParams) WithLimit(limit *int64) *SearchBundlesParams

WithLimit adds the limit to the search bundles params

func (*SearchBundlesParams) WithOffset

func (o *SearchBundlesParams) WithOffset(offset *int64) *SearchBundlesParams

WithOffset adds the offset to the search bundles params

func (*SearchBundlesParams) WithSearchKey

func (o *SearchBundlesParams) WithSearchKey(searchKey string) *SearchBundlesParams

WithSearchKey adds the searchKey to the search bundles params

func (*SearchBundlesParams) WithTimeout

func (o *SearchBundlesParams) WithTimeout(timeout time.Duration) *SearchBundlesParams

WithTimeout adds the timeout to the search bundles params

func (*SearchBundlesParams) WriteToRequest

func (o *SearchBundlesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchBundlesReader

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

SearchBundlesReader is a Reader for the SearchBundles structure.

func (*SearchBundlesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TransferBundleBadRequest

type TransferBundleBadRequest struct {
	HttpResponse runtime.ClientResponse
}

TransferBundleBadRequest handles this case with default header values.

Invalid bundle id, requested date or policy supplied

func NewTransferBundleBadRequest

func NewTransferBundleBadRequest() *TransferBundleBadRequest

NewTransferBundleBadRequest creates a TransferBundleBadRequest with default headers values

func (*TransferBundleBadRequest) Error

func (o *TransferBundleBadRequest) Error() string

type TransferBundleCreated

type TransferBundleCreated struct {
	Payload *kbmodel.Bundle

	HttpResponse runtime.ClientResponse
}

TransferBundleCreated handles this case with default header values.

Bundle transferred successfully

func NewTransferBundleCreated

func NewTransferBundleCreated() *TransferBundleCreated

NewTransferBundleCreated creates a TransferBundleCreated with default headers values

func (*TransferBundleCreated) Error

func (o *TransferBundleCreated) Error() string

type TransferBundleNotFound

type TransferBundleNotFound struct {
	HttpResponse runtime.ClientResponse
}

TransferBundleNotFound handles this case with default header values.

Bundle not found

func NewTransferBundleNotFound

func NewTransferBundleNotFound() *TransferBundleNotFound

NewTransferBundleNotFound creates a TransferBundleNotFound with default headers values

func (*TransferBundleNotFound) Error

func (o *TransferBundleNotFound) Error() string

type TransferBundleParams

type TransferBundleParams struct {

	/*XKillbillComment*/
	XKillbillComment *string
	/*XKillbillCreatedBy*/
	XKillbillCreatedBy string
	/*XKillbillReason*/
	XKillbillReason *string
	/*BillingPolicy*/
	BillingPolicy *string
	/*Body*/
	Body *kbmodel.Bundle
	/*BundleID*/
	BundleID strfmt.UUID
	/*PluginProperty*/
	PluginProperty []string
	/*RequestedDate*/
	RequestedDate *strfmt.Date

	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
}

TransferBundleParams contains all the parameters to send to the API endpoint for the transfer bundle operation typically these are written to a http.Request

func NewTransferBundleParams

func NewTransferBundleParams() *TransferBundleParams

NewTransferBundleParams creates a new TransferBundleParams object with the default values initialized.

func NewTransferBundleParamsWithContext

func NewTransferBundleParamsWithContext(ctx context.Context) *TransferBundleParams

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

func NewTransferBundleParamsWithHTTPClient

func NewTransferBundleParamsWithHTTPClient(client *http.Client) *TransferBundleParams

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

func NewTransferBundleParamsWithTimeout

func NewTransferBundleParamsWithTimeout(timeout time.Duration) *TransferBundleParams

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

func (*TransferBundleParams) SetBillingPolicy

func (o *TransferBundleParams) SetBillingPolicy(billingPolicy *string)

SetBillingPolicy adds the billingPolicy to the transfer bundle params

func (*TransferBundleParams) SetBody

func (o *TransferBundleParams) SetBody(body *kbmodel.Bundle)

SetBody adds the body to the transfer bundle params

func (*TransferBundleParams) SetBundleID

func (o *TransferBundleParams) SetBundleID(bundleID strfmt.UUID)

SetBundleID adds the bundleId to the transfer bundle params

func (*TransferBundleParams) SetContext

func (o *TransferBundleParams) SetContext(ctx context.Context)

SetContext adds the context to the transfer bundle params

func (*TransferBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the transfer bundle params

func (*TransferBundleParams) SetPluginProperty

func (o *TransferBundleParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the transfer bundle params

func (*TransferBundleParams) SetRequestedDate

func (o *TransferBundleParams) SetRequestedDate(requestedDate *strfmt.Date)

SetRequestedDate adds the requestedDate to the transfer bundle params

func (*TransferBundleParams) SetTimeout

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

SetTimeout adds the timeout to the transfer bundle params

func (*TransferBundleParams) SetXKillbillComment

func (o *TransferBundleParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the transfer bundle params

func (*TransferBundleParams) SetXKillbillCreatedBy

func (o *TransferBundleParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the transfer bundle params

func (*TransferBundleParams) SetXKillbillReason

func (o *TransferBundleParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the transfer bundle params

func (*TransferBundleParams) WithBillingPolicy

func (o *TransferBundleParams) WithBillingPolicy(billingPolicy *string) *TransferBundleParams

WithBillingPolicy adds the billingPolicy to the transfer bundle params

func (*TransferBundleParams) WithBody

WithBody adds the body to the transfer bundle params

func (*TransferBundleParams) WithBundleID

func (o *TransferBundleParams) WithBundleID(bundleID strfmt.UUID) *TransferBundleParams

WithBundleID adds the bundleID to the transfer bundle params

func (*TransferBundleParams) WithContext

WithContext adds the context to the transfer bundle params

func (*TransferBundleParams) WithHTTPClient

func (o *TransferBundleParams) WithHTTPClient(client *http.Client) *TransferBundleParams

WithHTTPClient adds the HTTPClient to the transfer bundle params

func (*TransferBundleParams) WithPluginProperty

func (o *TransferBundleParams) WithPluginProperty(pluginProperty []string) *TransferBundleParams

WithPluginProperty adds the pluginProperty to the transfer bundle params

func (*TransferBundleParams) WithRequestedDate

func (o *TransferBundleParams) WithRequestedDate(requestedDate *strfmt.Date) *TransferBundleParams

WithRequestedDate adds the requestedDate to the transfer bundle params

func (*TransferBundleParams) WithTimeout

func (o *TransferBundleParams) WithTimeout(timeout time.Duration) *TransferBundleParams

WithTimeout adds the timeout to the transfer bundle params

func (*TransferBundleParams) WithXKillbillComment

func (o *TransferBundleParams) WithXKillbillComment(xKillbillComment *string) *TransferBundleParams

WithXKillbillComment adds the xKillbillComment to the transfer bundle params

func (*TransferBundleParams) WithXKillbillCreatedBy

func (o *TransferBundleParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *TransferBundleParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the transfer bundle params

func (*TransferBundleParams) WithXKillbillReason

func (o *TransferBundleParams) WithXKillbillReason(xKillbillReason *string) *TransferBundleParams

WithXKillbillReason adds the xKillbillReason to the transfer bundle params

func (*TransferBundleParams) WriteToRequest

func (o *TransferBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TransferBundleReader

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

TransferBundleReader is a Reader for the TransferBundle structure.

func (*TransferBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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