bundle

package
v3.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBundleBlockingStateBadRequest

type AddBundleBlockingStateBadRequest struct {
	HttpResponse runtime.ClientResponse
}

AddBundleBlockingStateBadRequest describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewAddBundleBlockingStateBadRequest

func NewAddBundleBlockingStateBadRequest() *AddBundleBlockingStateBadRequest

NewAddBundleBlockingStateBadRequest creates a AddBundleBlockingStateBadRequest with default headers values

func (*AddBundleBlockingStateBadRequest) Code

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

func (*AddBundleBlockingStateBadRequest) Error

func (*AddBundleBlockingStateBadRequest) IsClientError

func (o *AddBundleBlockingStateBadRequest) IsClientError() bool

IsClientError returns true when this add bundle blocking state bad request response has a 4xx status code

func (*AddBundleBlockingStateBadRequest) IsCode

func (o *AddBundleBlockingStateBadRequest) IsCode(code int) bool

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

func (*AddBundleBlockingStateBadRequest) IsRedirect

func (o *AddBundleBlockingStateBadRequest) IsRedirect() bool

IsRedirect returns true when this add bundle blocking state bad request response has a 3xx status code

func (*AddBundleBlockingStateBadRequest) IsServerError

func (o *AddBundleBlockingStateBadRequest) IsServerError() bool

IsServerError returns true when this add bundle blocking state bad request response has a 5xx status code

func (*AddBundleBlockingStateBadRequest) IsSuccess

func (o *AddBundleBlockingStateBadRequest) IsSuccess() bool

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

func (*AddBundleBlockingStateBadRequest) String

type AddBundleBlockingStateCreated

type AddBundleBlockingStateCreated struct {
	Payload      []*kbmodel.BlockingState
	HttpResponse runtime.ClientResponse
}

AddBundleBlockingStateCreated describes a response with status code 201, with default header values.

Blocking state created successfully

func NewAddBundleBlockingStateCreated

func NewAddBundleBlockingStateCreated() *AddBundleBlockingStateCreated

NewAddBundleBlockingStateCreated creates a AddBundleBlockingStateCreated with default headers values

func (*AddBundleBlockingStateCreated) Code

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

func (*AddBundleBlockingStateCreated) Error

func (*AddBundleBlockingStateCreated) GetPayload

func (*AddBundleBlockingStateCreated) IsClientError

func (o *AddBundleBlockingStateCreated) IsClientError() bool

IsClientError returns true when this add bundle blocking state created response has a 4xx status code

func (*AddBundleBlockingStateCreated) IsCode

func (o *AddBundleBlockingStateCreated) IsCode(code int) bool

IsCode returns true when this add bundle blocking state created response a status code equal to that given

func (*AddBundleBlockingStateCreated) IsRedirect

func (o *AddBundleBlockingStateCreated) IsRedirect() bool

IsRedirect returns true when this add bundle blocking state created response has a 3xx status code

func (*AddBundleBlockingStateCreated) IsServerError

func (o *AddBundleBlockingStateCreated) IsServerError() bool

IsServerError returns true when this add bundle blocking state created response has a 5xx status code

func (*AddBundleBlockingStateCreated) IsSuccess

func (o *AddBundleBlockingStateCreated) IsSuccess() bool

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

func (*AddBundleBlockingStateCreated) String

type AddBundleBlockingStateNotFound

type AddBundleBlockingStateNotFound struct {
	HttpResponse runtime.ClientResponse
}

AddBundleBlockingStateNotFound describes a response with status code 404, with default header values.

Bundle not found

func NewAddBundleBlockingStateNotFound

func NewAddBundleBlockingStateNotFound() *AddBundleBlockingStateNotFound

NewAddBundleBlockingStateNotFound creates a AddBundleBlockingStateNotFound with default headers values

func (*AddBundleBlockingStateNotFound) Code

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

func (*AddBundleBlockingStateNotFound) Error

func (*AddBundleBlockingStateNotFound) IsClientError

func (o *AddBundleBlockingStateNotFound) IsClientError() bool

IsClientError returns true when this add bundle blocking state not found response has a 4xx status code

func (*AddBundleBlockingStateNotFound) IsCode

func (o *AddBundleBlockingStateNotFound) IsCode(code int) bool

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

func (*AddBundleBlockingStateNotFound) IsRedirect

func (o *AddBundleBlockingStateNotFound) IsRedirect() bool

IsRedirect returns true when this add bundle blocking state not found response has a 3xx status code

func (*AddBundleBlockingStateNotFound) IsServerError

func (o *AddBundleBlockingStateNotFound) IsServerError() bool

IsServerError returns true when this add bundle blocking state not found response has a 5xx status code

func (*AddBundleBlockingStateNotFound) IsSuccess

func (o *AddBundleBlockingStateNotFound) IsSuccess() bool

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

func (*AddBundleBlockingStateNotFound) String

type AddBundleBlockingStateParams

type AddBundleBlockingStateParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.BlockingState

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	// RequestedDate.
	//
	// Format: date
	RequestedDate *strfmt.Date

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddBundleBlockingStateParamsWithContext

func NewAddBundleBlockingStateParamsWithContext(ctx context.Context) *AddBundleBlockingStateParams

NewAddBundleBlockingStateParamsWithContext creates a new AddBundleBlockingStateParams object with 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 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 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) SetDefaults

func (o *AddBundleBlockingStateParams) SetDefaults()

SetDefaults hydrates default values in the add bundle blocking state params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the add bundle blocking state params (not the query body).

All values with no default are reset to their zero value.

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) GetBundleAuditLogsWithHistory

func (a *Client) GetBundleAuditLogsWithHistory(ctx context.Context, params *GetBundleAuditLogsWithHistoryParams) (*GetBundleAuditLogsWithHistoryOK, error)

GetBundleAuditLogsWithHistory retrieves bundle audit logs with history 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 ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddBundleBlockingState(ctx context.Context, params *AddBundleBlockingStateParams) (*AddBundleBlockingStateCreated, error)

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

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

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

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

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

	GetBundleAuditLogsWithHistory(ctx context.Context, params *GetBundleAuditLogsWithHistoryParams) (*GetBundleAuditLogsWithHistoryOK, error)

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

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

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

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

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

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

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

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

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

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

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type CreateBundleCustomFieldsBadRequest

type CreateBundleCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

CreateBundleCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewCreateBundleCustomFieldsBadRequest

func NewCreateBundleCustomFieldsBadRequest() *CreateBundleCustomFieldsBadRequest

NewCreateBundleCustomFieldsBadRequest creates a CreateBundleCustomFieldsBadRequest with default headers values

func (*CreateBundleCustomFieldsBadRequest) Code

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

func (*CreateBundleCustomFieldsBadRequest) Error

func (*CreateBundleCustomFieldsBadRequest) IsClientError

func (o *CreateBundleCustomFieldsBadRequest) IsClientError() bool

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

func (*CreateBundleCustomFieldsBadRequest) IsCode

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

func (*CreateBundleCustomFieldsBadRequest) IsRedirect

func (o *CreateBundleCustomFieldsBadRequest) IsRedirect() bool

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

func (*CreateBundleCustomFieldsBadRequest) IsServerError

func (o *CreateBundleCustomFieldsBadRequest) IsServerError() bool

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

func (*CreateBundleCustomFieldsBadRequest) IsSuccess

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

func (*CreateBundleCustomFieldsBadRequest) String

type CreateBundleCustomFieldsCreated

type CreateBundleCustomFieldsCreated struct {
	Payload      []*kbmodel.CustomField
	HttpResponse runtime.ClientResponse
}

CreateBundleCustomFieldsCreated describes a response with status code 201, with default header values.

Custom field created successfully

func NewCreateBundleCustomFieldsCreated

func NewCreateBundleCustomFieldsCreated() *CreateBundleCustomFieldsCreated

NewCreateBundleCustomFieldsCreated creates a CreateBundleCustomFieldsCreated with default headers values

func (*CreateBundleCustomFieldsCreated) Code

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

func (*CreateBundleCustomFieldsCreated) Error

func (*CreateBundleCustomFieldsCreated) GetPayload

func (*CreateBundleCustomFieldsCreated) IsClientError

func (o *CreateBundleCustomFieldsCreated) IsClientError() bool

IsClientError returns true when this create bundle custom fields created response has a 4xx status code

func (*CreateBundleCustomFieldsCreated) IsCode

func (o *CreateBundleCustomFieldsCreated) IsCode(code int) bool

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

func (*CreateBundleCustomFieldsCreated) IsRedirect

func (o *CreateBundleCustomFieldsCreated) IsRedirect() bool

IsRedirect returns true when this create bundle custom fields created response has a 3xx status code

func (*CreateBundleCustomFieldsCreated) IsServerError

func (o *CreateBundleCustomFieldsCreated) IsServerError() bool

IsServerError returns true when this create bundle custom fields created response has a 5xx status code

func (*CreateBundleCustomFieldsCreated) IsSuccess

func (o *CreateBundleCustomFieldsCreated) IsSuccess() bool

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

func (*CreateBundleCustomFieldsCreated) String

type CreateBundleCustomFieldsParams

type CreateBundleCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateBundleCustomFieldsParamsWithContext

func NewCreateBundleCustomFieldsParamsWithContext(ctx context.Context) *CreateBundleCustomFieldsParams

NewCreateBundleCustomFieldsParamsWithContext creates a new CreateBundleCustomFieldsParams object with 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 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 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) SetDefaults

func (o *CreateBundleCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the create bundle custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the create bundle custom fields params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewCreateBundleTagsBadRequest

func NewCreateBundleTagsBadRequest() *CreateBundleTagsBadRequest

NewCreateBundleTagsBadRequest creates a CreateBundleTagsBadRequest with default headers values

func (*CreateBundleTagsBadRequest) Code

func (o *CreateBundleTagsBadRequest) Code() int

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

func (*CreateBundleTagsBadRequest) Error

func (*CreateBundleTagsBadRequest) IsClientError

func (o *CreateBundleTagsBadRequest) IsClientError() bool

IsClientError returns true when this create bundle tags bad request response has a 4xx status code

func (*CreateBundleTagsBadRequest) IsCode

func (o *CreateBundleTagsBadRequest) IsCode(code int) bool

IsCode returns true when this create bundle tags bad request response a status code equal to that given

func (*CreateBundleTagsBadRequest) IsRedirect

func (o *CreateBundleTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this create bundle tags bad request response has a 3xx status code

func (*CreateBundleTagsBadRequest) IsServerError

func (o *CreateBundleTagsBadRequest) IsServerError() bool

IsServerError returns true when this create bundle tags bad request response has a 5xx status code

func (*CreateBundleTagsBadRequest) IsSuccess

func (o *CreateBundleTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this create bundle tags bad request response has a 2xx status code

func (*CreateBundleTagsBadRequest) String

func (o *CreateBundleTagsBadRequest) String() string

type CreateBundleTagsCreated

type CreateBundleTagsCreated struct {
	Payload      []*kbmodel.Tag
	HttpResponse runtime.ClientResponse
}

CreateBundleTagsCreated describes a response with status code 201, with default header values.

Tag created successfully

func NewCreateBundleTagsCreated

func NewCreateBundleTagsCreated() *CreateBundleTagsCreated

NewCreateBundleTagsCreated creates a CreateBundleTagsCreated with default headers values

func (*CreateBundleTagsCreated) Code

func (o *CreateBundleTagsCreated) Code() int

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

func (*CreateBundleTagsCreated) Error

func (o *CreateBundleTagsCreated) Error() string

func (*CreateBundleTagsCreated) GetPayload

func (o *CreateBundleTagsCreated) GetPayload() []*kbmodel.Tag

func (*CreateBundleTagsCreated) IsClientError

func (o *CreateBundleTagsCreated) IsClientError() bool

IsClientError returns true when this create bundle tags created response has a 4xx status code

func (*CreateBundleTagsCreated) IsCode

func (o *CreateBundleTagsCreated) IsCode(code int) bool

IsCode returns true when this create bundle tags created response a status code equal to that given

func (*CreateBundleTagsCreated) IsRedirect

func (o *CreateBundleTagsCreated) IsRedirect() bool

IsRedirect returns true when this create bundle tags created response has a 3xx status code

func (*CreateBundleTagsCreated) IsServerError

func (o *CreateBundleTagsCreated) IsServerError() bool

IsServerError returns true when this create bundle tags created response has a 5xx status code

func (*CreateBundleTagsCreated) IsSuccess

func (o *CreateBundleTagsCreated) IsSuccess() bool

IsSuccess returns true when this create bundle tags created response has a 2xx status code

func (*CreateBundleTagsCreated) String

func (o *CreateBundleTagsCreated) String() string

type CreateBundleTagsParams

type CreateBundleTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []strfmt.UUID

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateBundleTagsParamsWithContext

func NewCreateBundleTagsParamsWithContext(ctx context.Context) *CreateBundleTagsParams

NewCreateBundleTagsParamsWithContext creates a new CreateBundleTagsParams object with 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 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 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) SetDefaults

func (o *CreateBundleTagsParams) SetDefaults()

SetDefaults hydrates default values in the create bundle tags params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the create bundle tags params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewDeleteBundleCustomFieldsBadRequest

func NewDeleteBundleCustomFieldsBadRequest() *DeleteBundleCustomFieldsBadRequest

NewDeleteBundleCustomFieldsBadRequest creates a DeleteBundleCustomFieldsBadRequest with default headers values

func (*DeleteBundleCustomFieldsBadRequest) Code

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

func (*DeleteBundleCustomFieldsBadRequest) Error

func (*DeleteBundleCustomFieldsBadRequest) IsClientError

func (o *DeleteBundleCustomFieldsBadRequest) IsClientError() bool

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

func (*DeleteBundleCustomFieldsBadRequest) IsCode

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

func (*DeleteBundleCustomFieldsBadRequest) IsRedirect

func (o *DeleteBundleCustomFieldsBadRequest) IsRedirect() bool

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

func (*DeleteBundleCustomFieldsBadRequest) IsServerError

func (o *DeleteBundleCustomFieldsBadRequest) IsServerError() bool

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

func (*DeleteBundleCustomFieldsBadRequest) IsSuccess

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

func (*DeleteBundleCustomFieldsBadRequest) String

type DeleteBundleCustomFieldsNoContent

type DeleteBundleCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteBundleCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteBundleCustomFieldsNoContent

func NewDeleteBundleCustomFieldsNoContent() *DeleteBundleCustomFieldsNoContent

NewDeleteBundleCustomFieldsNoContent creates a DeleteBundleCustomFieldsNoContent with default headers values

func (*DeleteBundleCustomFieldsNoContent) Code

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

func (*DeleteBundleCustomFieldsNoContent) Error

func (*DeleteBundleCustomFieldsNoContent) IsClientError

func (o *DeleteBundleCustomFieldsNoContent) IsClientError() bool

IsClientError returns true when this delete bundle custom fields no content response has a 4xx status code

func (*DeleteBundleCustomFieldsNoContent) IsCode

func (o *DeleteBundleCustomFieldsNoContent) IsCode(code int) bool

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

func (*DeleteBundleCustomFieldsNoContent) IsRedirect

func (o *DeleteBundleCustomFieldsNoContent) IsRedirect() bool

IsRedirect returns true when this delete bundle custom fields no content response has a 3xx status code

func (*DeleteBundleCustomFieldsNoContent) IsServerError

func (o *DeleteBundleCustomFieldsNoContent) IsServerError() bool

IsServerError returns true when this delete bundle custom fields no content response has a 5xx status code

func (*DeleteBundleCustomFieldsNoContent) IsSuccess

func (o *DeleteBundleCustomFieldsNoContent) IsSuccess() bool

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

func (*DeleteBundleCustomFieldsNoContent) String

type DeleteBundleCustomFieldsParams

type DeleteBundleCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	// CustomField.
	CustomField []strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteBundleCustomFieldsParamsWithContext

func NewDeleteBundleCustomFieldsParamsWithContext(ctx context.Context) *DeleteBundleCustomFieldsParams

NewDeleteBundleCustomFieldsParamsWithContext creates a new DeleteBundleCustomFieldsParams object with 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 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 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) SetDefaults

func (o *DeleteBundleCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the delete bundle custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the delete bundle custom fields params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewDeleteBundleTagsBadRequest

func NewDeleteBundleTagsBadRequest() *DeleteBundleTagsBadRequest

NewDeleteBundleTagsBadRequest creates a DeleteBundleTagsBadRequest with default headers values

func (*DeleteBundleTagsBadRequest) Code

func (o *DeleteBundleTagsBadRequest) Code() int

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

func (*DeleteBundleTagsBadRequest) Error

func (*DeleteBundleTagsBadRequest) IsClientError

func (o *DeleteBundleTagsBadRequest) IsClientError() bool

IsClientError returns true when this delete bundle tags bad request response has a 4xx status code

func (*DeleteBundleTagsBadRequest) IsCode

func (o *DeleteBundleTagsBadRequest) IsCode(code int) bool

IsCode returns true when this delete bundle tags bad request response a status code equal to that given

func (*DeleteBundleTagsBadRequest) IsRedirect

func (o *DeleteBundleTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this delete bundle tags bad request response has a 3xx status code

func (*DeleteBundleTagsBadRequest) IsServerError

func (o *DeleteBundleTagsBadRequest) IsServerError() bool

IsServerError returns true when this delete bundle tags bad request response has a 5xx status code

func (*DeleteBundleTagsBadRequest) IsSuccess

func (o *DeleteBundleTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this delete bundle tags bad request response has a 2xx status code

func (*DeleteBundleTagsBadRequest) String

func (o *DeleteBundleTagsBadRequest) String() string

type DeleteBundleTagsNoContent

type DeleteBundleTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

DeleteBundleTagsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteBundleTagsNoContent

func NewDeleteBundleTagsNoContent() *DeleteBundleTagsNoContent

NewDeleteBundleTagsNoContent creates a DeleteBundleTagsNoContent with default headers values

func (*DeleteBundleTagsNoContent) Code

func (o *DeleteBundleTagsNoContent) Code() int

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

func (*DeleteBundleTagsNoContent) Error

func (o *DeleteBundleTagsNoContent) Error() string

func (*DeleteBundleTagsNoContent) IsClientError

func (o *DeleteBundleTagsNoContent) IsClientError() bool

IsClientError returns true when this delete bundle tags no content response has a 4xx status code

func (*DeleteBundleTagsNoContent) IsCode

func (o *DeleteBundleTagsNoContent) IsCode(code int) bool

IsCode returns true when this delete bundle tags no content response a status code equal to that given

func (*DeleteBundleTagsNoContent) IsRedirect

func (o *DeleteBundleTagsNoContent) IsRedirect() bool

IsRedirect returns true when this delete bundle tags no content response has a 3xx status code

func (*DeleteBundleTagsNoContent) IsServerError

func (o *DeleteBundleTagsNoContent) IsServerError() bool

IsServerError returns true when this delete bundle tags no content response has a 5xx status code

func (*DeleteBundleTagsNoContent) IsSuccess

func (o *DeleteBundleTagsNoContent) IsSuccess() bool

IsSuccess returns true when this delete bundle tags no content response has a 2xx status code

func (*DeleteBundleTagsNoContent) String

func (o *DeleteBundleTagsNoContent) String() string

type DeleteBundleTagsParams

type DeleteBundleTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	// TagDef.
	TagDef []strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteBundleTagsParamsWithContext

func NewDeleteBundleTagsParamsWithContext(ctx context.Context) *DeleteBundleTagsParams

NewDeleteBundleTagsParamsWithContext creates a new DeleteBundleTagsParams object with 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 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 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) SetDefaults

func (o *DeleteBundleTagsParams) SetDefaults()

SetDefaults hydrates default values in the delete bundle tags params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the delete bundle tags params (not the query body).

All values with no default are reset to their zero value.

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 GetBundleAuditLogsWithHistoryNotFound

type GetBundleAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetBundleAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.

Subscription bundle not found

func NewGetBundleAuditLogsWithHistoryNotFound

func NewGetBundleAuditLogsWithHistoryNotFound() *GetBundleAuditLogsWithHistoryNotFound

NewGetBundleAuditLogsWithHistoryNotFound creates a GetBundleAuditLogsWithHistoryNotFound with default headers values

func (*GetBundleAuditLogsWithHistoryNotFound) Code

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

func (*GetBundleAuditLogsWithHistoryNotFound) Error

func (*GetBundleAuditLogsWithHistoryNotFound) IsClientError

func (o *GetBundleAuditLogsWithHistoryNotFound) IsClientError() bool

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

func (*GetBundleAuditLogsWithHistoryNotFound) IsCode

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

func (*GetBundleAuditLogsWithHistoryNotFound) IsRedirect

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

func (*GetBundleAuditLogsWithHistoryNotFound) IsServerError

func (o *GetBundleAuditLogsWithHistoryNotFound) IsServerError() bool

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

func (*GetBundleAuditLogsWithHistoryNotFound) IsSuccess

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

func (*GetBundleAuditLogsWithHistoryNotFound) String

type GetBundleAuditLogsWithHistoryOK

type GetBundleAuditLogsWithHistoryOK struct {
	Payload      []*kbmodel.AuditLog
	HttpResponse runtime.ClientResponse
}

GetBundleAuditLogsWithHistoryOK describes a response with status code 200, with default header values.

successful operation

func NewGetBundleAuditLogsWithHistoryOK

func NewGetBundleAuditLogsWithHistoryOK() *GetBundleAuditLogsWithHistoryOK

NewGetBundleAuditLogsWithHistoryOK creates a GetBundleAuditLogsWithHistoryOK with default headers values

func (*GetBundleAuditLogsWithHistoryOK) Code

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

func (*GetBundleAuditLogsWithHistoryOK) Error

func (*GetBundleAuditLogsWithHistoryOK) GetPayload

func (*GetBundleAuditLogsWithHistoryOK) IsClientError

func (o *GetBundleAuditLogsWithHistoryOK) IsClientError() bool

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

func (*GetBundleAuditLogsWithHistoryOK) IsCode

func (o *GetBundleAuditLogsWithHistoryOK) IsCode(code int) bool

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

func (*GetBundleAuditLogsWithHistoryOK) IsRedirect

func (o *GetBundleAuditLogsWithHistoryOK) IsRedirect() bool

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

func (*GetBundleAuditLogsWithHistoryOK) IsServerError

func (o *GetBundleAuditLogsWithHistoryOK) IsServerError() bool

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

func (*GetBundleAuditLogsWithHistoryOK) IsSuccess

func (o *GetBundleAuditLogsWithHistoryOK) IsSuccess() bool

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

func (*GetBundleAuditLogsWithHistoryOK) String

type GetBundleAuditLogsWithHistoryParams

type GetBundleAuditLogsWithHistoryParams struct {

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

GetBundleAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get bundle audit logs with history operation.

Typically these are written to a http.Request.

func NewGetBundleAuditLogsWithHistoryParams

func NewGetBundleAuditLogsWithHistoryParams() *GetBundleAuditLogsWithHistoryParams

NewGetBundleAuditLogsWithHistoryParams creates a new GetBundleAuditLogsWithHistoryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBundleAuditLogsWithHistoryParamsWithContext

func NewGetBundleAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetBundleAuditLogsWithHistoryParams

NewGetBundleAuditLogsWithHistoryParamsWithContext creates a new GetBundleAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetBundleAuditLogsWithHistoryParamsWithHTTPClient

func NewGetBundleAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetBundleAuditLogsWithHistoryParams

NewGetBundleAuditLogsWithHistoryParamsWithHTTPClient creates a new GetBundleAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetBundleAuditLogsWithHistoryParamsWithTimeout

func NewGetBundleAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetBundleAuditLogsWithHistoryParams

NewGetBundleAuditLogsWithHistoryParamsWithTimeout creates a new GetBundleAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetBundleAuditLogsWithHistoryParams) SetBundleID

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

SetBundleID adds the bundleId to the get bundle audit logs with history params

func (*GetBundleAuditLogsWithHistoryParams) SetContext

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

func (*GetBundleAuditLogsWithHistoryParams) SetDefaults

func (o *GetBundleAuditLogsWithHistoryParams) SetDefaults()

SetDefaults hydrates default values in the get bundle audit logs with history params (not the query body).

All values with no default are reset to their zero value.

func (*GetBundleAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bundle audit logs with history params

func (*GetBundleAuditLogsWithHistoryParams) SetTimeout

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

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

func (*GetBundleAuditLogsWithHistoryParams) WithBundleID

WithBundleID adds the bundleID to the get bundle audit logs with history params

func (*GetBundleAuditLogsWithHistoryParams) WithContext

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

func (*GetBundleAuditLogsWithHistoryParams) WithDefaults

WithDefaults hydrates default values in the get bundle audit logs with history params (not the query body).

All values with no default are reset to their zero value.

func (*GetBundleAuditLogsWithHistoryParams) WithHTTPClient

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

func (*GetBundleAuditLogsWithHistoryParams) WithTimeout

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

func (*GetBundleAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBundleAuditLogsWithHistoryReader

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

GetBundleAuditLogsWithHistoryReader is a Reader for the GetBundleAuditLogsWithHistory structure.

func (*GetBundleAuditLogsWithHistoryReader) ReadResponse

func (o *GetBundleAuditLogsWithHistoryReader) 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 describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewGetBundleBadRequest

func NewGetBundleBadRequest() *GetBundleBadRequest

NewGetBundleBadRequest creates a GetBundleBadRequest with default headers values

func (*GetBundleBadRequest) Code

func (o *GetBundleBadRequest) Code() int

Code gets the status code for the get bundle bad request response

func (*GetBundleBadRequest) Error

func (o *GetBundleBadRequest) Error() string

func (*GetBundleBadRequest) IsClientError

func (o *GetBundleBadRequest) IsClientError() bool

IsClientError returns true when this get bundle bad request response has a 4xx status code

func (*GetBundleBadRequest) IsCode

func (o *GetBundleBadRequest) IsCode(code int) bool

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

func (*GetBundleBadRequest) IsRedirect

func (o *GetBundleBadRequest) IsRedirect() bool

IsRedirect returns true when this get bundle bad request response has a 3xx status code

func (*GetBundleBadRequest) IsServerError

func (o *GetBundleBadRequest) IsServerError() bool

IsServerError returns true when this get bundle bad request response has a 5xx status code

func (*GetBundleBadRequest) IsSuccess

func (o *GetBundleBadRequest) IsSuccess() bool

IsSuccess returns true when this get bundle bad request response has a 2xx status code

func (*GetBundleBadRequest) String

func (o *GetBundleBadRequest) String() string

type GetBundleByKeyNotFound

type GetBundleByKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetBundleByKeyNotFound describes a response with status code 404, with default header values.

Bundle not found

func NewGetBundleByKeyNotFound

func NewGetBundleByKeyNotFound() *GetBundleByKeyNotFound

NewGetBundleByKeyNotFound creates a GetBundleByKeyNotFound with default headers values

func (*GetBundleByKeyNotFound) Code

func (o *GetBundleByKeyNotFound) Code() int

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

func (*GetBundleByKeyNotFound) Error

func (o *GetBundleByKeyNotFound) Error() string

func (*GetBundleByKeyNotFound) IsClientError

func (o *GetBundleByKeyNotFound) IsClientError() bool

IsClientError returns true when this get bundle by key not found response has a 4xx status code

func (*GetBundleByKeyNotFound) IsCode

func (o *GetBundleByKeyNotFound) IsCode(code int) bool

IsCode returns true when this get bundle by key not found response a status code equal to that given

func (*GetBundleByKeyNotFound) IsRedirect

func (o *GetBundleByKeyNotFound) IsRedirect() bool

IsRedirect returns true when this get bundle by key not found response has a 3xx status code

func (*GetBundleByKeyNotFound) IsServerError

func (o *GetBundleByKeyNotFound) IsServerError() bool

IsServerError returns true when this get bundle by key not found response has a 5xx status code

func (*GetBundleByKeyNotFound) IsSuccess

func (o *GetBundleByKeyNotFound) IsSuccess() bool

IsSuccess returns true when this get bundle by key not found response has a 2xx status code

func (*GetBundleByKeyNotFound) String

func (o *GetBundleByKeyNotFound) String() string

type GetBundleByKeyOK

type GetBundleByKeyOK struct {
	Payload      []*kbmodel.Bundle
	HttpResponse runtime.ClientResponse
}

GetBundleByKeyOK describes a response with status code 200, with default header values.

successful operation

func NewGetBundleByKeyOK

func NewGetBundleByKeyOK() *GetBundleByKeyOK

NewGetBundleByKeyOK creates a GetBundleByKeyOK with default headers values

func (*GetBundleByKeyOK) Code

func (o *GetBundleByKeyOK) Code() int

Code gets the status code for the get bundle by key o k response

func (*GetBundleByKeyOK) Error

func (o *GetBundleByKeyOK) Error() string

func (*GetBundleByKeyOK) GetPayload

func (o *GetBundleByKeyOK) GetPayload() []*kbmodel.Bundle

func (*GetBundleByKeyOK) IsClientError

func (o *GetBundleByKeyOK) IsClientError() bool

IsClientError returns true when this get bundle by key o k response has a 4xx status code

func (*GetBundleByKeyOK) IsCode

func (o *GetBundleByKeyOK) IsCode(code int) bool

IsCode returns true when this get bundle by key o k response a status code equal to that given

func (*GetBundleByKeyOK) IsRedirect

func (o *GetBundleByKeyOK) IsRedirect() bool

IsRedirect returns true when this get bundle by key o k response has a 3xx status code

func (*GetBundleByKeyOK) IsServerError

func (o *GetBundleByKeyOK) IsServerError() bool

IsServerError returns true when this get bundle by key o k response has a 5xx status code

func (*GetBundleByKeyOK) IsSuccess

func (o *GetBundleByKeyOK) IsSuccess() bool

IsSuccess returns true when this get bundle by key o k response has a 2xx status code

func (*GetBundleByKeyOK) String

func (o *GetBundleByKeyOK) String() string

type GetBundleByKeyParams

type GetBundleByKeyParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// ExternalKey.
	ExternalKey string

	// IncludedDeleted.
	IncludedDeleted *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBundleByKeyParamsWithContext

func NewGetBundleByKeyParamsWithContext(ctx context.Context) *GetBundleByKeyParams

NewGetBundleByKeyParamsWithContext creates a new GetBundleByKeyParams object with 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 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 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) SetDefaults

func (o *GetBundleByKeyParams) SetDefaults()

SetDefaults hydrates default values in the get bundle by key params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetBundleByKeyParams) WithDefaults() *GetBundleByKeyParams

WithDefaults hydrates default values in the get bundle by key params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewGetBundleCustomFieldsBadRequest

func NewGetBundleCustomFieldsBadRequest() *GetBundleCustomFieldsBadRequest

NewGetBundleCustomFieldsBadRequest creates a GetBundleCustomFieldsBadRequest with default headers values

func (*GetBundleCustomFieldsBadRequest) Code

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

func (*GetBundleCustomFieldsBadRequest) Error

func (*GetBundleCustomFieldsBadRequest) IsClientError

func (o *GetBundleCustomFieldsBadRequest) IsClientError() bool

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

func (*GetBundleCustomFieldsBadRequest) IsCode

func (o *GetBundleCustomFieldsBadRequest) IsCode(code int) bool

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

func (*GetBundleCustomFieldsBadRequest) IsRedirect

func (o *GetBundleCustomFieldsBadRequest) IsRedirect() bool

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

func (*GetBundleCustomFieldsBadRequest) IsServerError

func (o *GetBundleCustomFieldsBadRequest) IsServerError() bool

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

func (*GetBundleCustomFieldsBadRequest) IsSuccess

func (o *GetBundleCustomFieldsBadRequest) IsSuccess() bool

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

func (*GetBundleCustomFieldsBadRequest) String

type GetBundleCustomFieldsOK

type GetBundleCustomFieldsOK struct {
	Payload      []*kbmodel.CustomField
	HttpResponse runtime.ClientResponse
}

GetBundleCustomFieldsOK describes a response with status code 200, with default header values.

successful operation

func NewGetBundleCustomFieldsOK

func NewGetBundleCustomFieldsOK() *GetBundleCustomFieldsOK

NewGetBundleCustomFieldsOK creates a GetBundleCustomFieldsOK with default headers values

func (*GetBundleCustomFieldsOK) Code

func (o *GetBundleCustomFieldsOK) Code() int

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

func (*GetBundleCustomFieldsOK) Error

func (o *GetBundleCustomFieldsOK) Error() string

func (*GetBundleCustomFieldsOK) GetPayload

func (o *GetBundleCustomFieldsOK) GetPayload() []*kbmodel.CustomField

func (*GetBundleCustomFieldsOK) IsClientError

func (o *GetBundleCustomFieldsOK) IsClientError() bool

IsClientError returns true when this get bundle custom fields o k response has a 4xx status code

func (*GetBundleCustomFieldsOK) IsCode

func (o *GetBundleCustomFieldsOK) IsCode(code int) bool

IsCode returns true when this get bundle custom fields o k response a status code equal to that given

func (*GetBundleCustomFieldsOK) IsRedirect

func (o *GetBundleCustomFieldsOK) IsRedirect() bool

IsRedirect returns true when this get bundle custom fields o k response has a 3xx status code

func (*GetBundleCustomFieldsOK) IsServerError

func (o *GetBundleCustomFieldsOK) IsServerError() bool

IsServerError returns true when this get bundle custom fields o k response has a 5xx status code

func (*GetBundleCustomFieldsOK) IsSuccess

func (o *GetBundleCustomFieldsOK) IsSuccess() bool

IsSuccess returns true when this get bundle custom fields o k response has a 2xx status code

func (*GetBundleCustomFieldsOK) String

func (o *GetBundleCustomFieldsOK) String() string

type GetBundleCustomFieldsParams

type GetBundleCustomFieldsParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBundleCustomFieldsParamsWithContext

func NewGetBundleCustomFieldsParamsWithContext(ctx context.Context) *GetBundleCustomFieldsParams

NewGetBundleCustomFieldsParamsWithContext creates a new GetBundleCustomFieldsParams object with 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 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 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) SetDefaults

func (o *GetBundleCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the get bundle custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the get bundle custom fields params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 404, with default header values.

Bundle not found

func NewGetBundleNotFound

func NewGetBundleNotFound() *GetBundleNotFound

NewGetBundleNotFound creates a GetBundleNotFound with default headers values

func (*GetBundleNotFound) Code

func (o *GetBundleNotFound) Code() int

Code gets the status code for the get bundle not found response

func (*GetBundleNotFound) Error

func (o *GetBundleNotFound) Error() string

func (*GetBundleNotFound) IsClientError

func (o *GetBundleNotFound) IsClientError() bool

IsClientError returns true when this get bundle not found response has a 4xx status code

func (*GetBundleNotFound) IsCode

func (o *GetBundleNotFound) IsCode(code int) bool

IsCode returns true when this get bundle not found response a status code equal to that given

func (*GetBundleNotFound) IsRedirect

func (o *GetBundleNotFound) IsRedirect() bool

IsRedirect returns true when this get bundle not found response has a 3xx status code

func (*GetBundleNotFound) IsServerError

func (o *GetBundleNotFound) IsServerError() bool

IsServerError returns true when this get bundle not found response has a 5xx status code

func (*GetBundleNotFound) IsSuccess

func (o *GetBundleNotFound) IsSuccess() bool

IsSuccess returns true when this get bundle not found response has a 2xx status code

func (*GetBundleNotFound) String

func (o *GetBundleNotFound) String() string

type GetBundleOK

type GetBundleOK struct {
	Payload      *kbmodel.Bundle
	HttpResponse runtime.ClientResponse
}

GetBundleOK describes a response with status code 200, with default header values.

successful operation

func NewGetBundleOK

func NewGetBundleOK() *GetBundleOK

NewGetBundleOK creates a GetBundleOK with default headers values

func (*GetBundleOK) Code

func (o *GetBundleOK) Code() int

Code gets the status code for the get bundle o k response

func (*GetBundleOK) Error

func (o *GetBundleOK) Error() string

func (*GetBundleOK) GetPayload

func (o *GetBundleOK) GetPayload() *kbmodel.Bundle

func (*GetBundleOK) IsClientError

func (o *GetBundleOK) IsClientError() bool

IsClientError returns true when this get bundle o k response has a 4xx status code

func (*GetBundleOK) IsCode

func (o *GetBundleOK) IsCode(code int) bool

IsCode returns true when this get bundle o k response a status code equal to that given

func (*GetBundleOK) IsRedirect

func (o *GetBundleOK) IsRedirect() bool

IsRedirect returns true when this get bundle o k response has a 3xx status code

func (*GetBundleOK) IsServerError

func (o *GetBundleOK) IsServerError() bool

IsServerError returns true when this get bundle o k response has a 5xx status code

func (*GetBundleOK) IsSuccess

func (o *GetBundleOK) IsSuccess() bool

IsSuccess returns true when this get bundle o k response has a 2xx status code

func (*GetBundleOK) String

func (o *GetBundleOK) String() string

type GetBundleParams

type GetBundleParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBundleParamsWithContext

func NewGetBundleParamsWithContext(ctx context.Context) *GetBundleParams

NewGetBundleParamsWithContext creates a new GetBundleParams object with 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 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 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) SetDefaults

func (o *GetBundleParams) SetDefaults()

SetDefaults hydrates default values in the get bundle params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetBundleParams) WithDefaults() *GetBundleParams

WithDefaults hydrates default values in the get bundle params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewGetBundleTagsBadRequest

func NewGetBundleTagsBadRequest() *GetBundleTagsBadRequest

NewGetBundleTagsBadRequest creates a GetBundleTagsBadRequest with default headers values

func (*GetBundleTagsBadRequest) Code

func (o *GetBundleTagsBadRequest) Code() int

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

func (*GetBundleTagsBadRequest) Error

func (o *GetBundleTagsBadRequest) Error() string

func (*GetBundleTagsBadRequest) IsClientError

func (o *GetBundleTagsBadRequest) IsClientError() bool

IsClientError returns true when this get bundle tags bad request response has a 4xx status code

func (*GetBundleTagsBadRequest) IsCode

func (o *GetBundleTagsBadRequest) IsCode(code int) bool

IsCode returns true when this get bundle tags bad request response a status code equal to that given

func (*GetBundleTagsBadRequest) IsRedirect

func (o *GetBundleTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this get bundle tags bad request response has a 3xx status code

func (*GetBundleTagsBadRequest) IsServerError

func (o *GetBundleTagsBadRequest) IsServerError() bool

IsServerError returns true when this get bundle tags bad request response has a 5xx status code

func (*GetBundleTagsBadRequest) IsSuccess

func (o *GetBundleTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this get bundle tags bad request response has a 2xx status code

func (*GetBundleTagsBadRequest) String

func (o *GetBundleTagsBadRequest) String() string

type GetBundleTagsNotFound

type GetBundleTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetBundleTagsNotFound describes a response with status code 404, with default header values.

Bundle not found

func NewGetBundleTagsNotFound

func NewGetBundleTagsNotFound() *GetBundleTagsNotFound

NewGetBundleTagsNotFound creates a GetBundleTagsNotFound with default headers values

func (*GetBundleTagsNotFound) Code

func (o *GetBundleTagsNotFound) Code() int

Code gets the status code for the get bundle tags not found response

func (*GetBundleTagsNotFound) Error

func (o *GetBundleTagsNotFound) Error() string

func (*GetBundleTagsNotFound) IsClientError

func (o *GetBundleTagsNotFound) IsClientError() bool

IsClientError returns true when this get bundle tags not found response has a 4xx status code

func (*GetBundleTagsNotFound) IsCode

func (o *GetBundleTagsNotFound) IsCode(code int) bool

IsCode returns true when this get bundle tags not found response a status code equal to that given

func (*GetBundleTagsNotFound) IsRedirect

func (o *GetBundleTagsNotFound) IsRedirect() bool

IsRedirect returns true when this get bundle tags not found response has a 3xx status code

func (*GetBundleTagsNotFound) IsServerError

func (o *GetBundleTagsNotFound) IsServerError() bool

IsServerError returns true when this get bundle tags not found response has a 5xx status code

func (*GetBundleTagsNotFound) IsSuccess

func (o *GetBundleTagsNotFound) IsSuccess() bool

IsSuccess returns true when this get bundle tags not found response has a 2xx status code

func (*GetBundleTagsNotFound) String

func (o *GetBundleTagsNotFound) String() string

type GetBundleTagsOK

type GetBundleTagsOK struct {
	Payload      []*kbmodel.Tag
	HttpResponse runtime.ClientResponse
}

GetBundleTagsOK describes a response with status code 200, with default header values.

successful operation

func NewGetBundleTagsOK

func NewGetBundleTagsOK() *GetBundleTagsOK

NewGetBundleTagsOK creates a GetBundleTagsOK with default headers values

func (*GetBundleTagsOK) Code

func (o *GetBundleTagsOK) Code() int

Code gets the status code for the get bundle tags o k response

func (*GetBundleTagsOK) Error

func (o *GetBundleTagsOK) Error() string

func (*GetBundleTagsOK) GetPayload

func (o *GetBundleTagsOK) GetPayload() []*kbmodel.Tag

func (*GetBundleTagsOK) IsClientError

func (o *GetBundleTagsOK) IsClientError() bool

IsClientError returns true when this get bundle tags o k response has a 4xx status code

func (*GetBundleTagsOK) IsCode

func (o *GetBundleTagsOK) IsCode(code int) bool

IsCode returns true when this get bundle tags o k response a status code equal to that given

func (*GetBundleTagsOK) IsRedirect

func (o *GetBundleTagsOK) IsRedirect() bool

IsRedirect returns true when this get bundle tags o k response has a 3xx status code

func (*GetBundleTagsOK) IsServerError

func (o *GetBundleTagsOK) IsServerError() bool

IsServerError returns true when this get bundle tags o k response has a 5xx status code

func (*GetBundleTagsOK) IsSuccess

func (o *GetBundleTagsOK) IsSuccess() bool

IsSuccess returns true when this get bundle tags o k response has a 2xx status code

func (*GetBundleTagsOK) String

func (o *GetBundleTagsOK) String() string

type GetBundleTagsParams

type GetBundleTagsParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	// IncludedDeleted.
	IncludedDeleted *bool

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBundleTagsParamsWithContext

func NewGetBundleTagsParamsWithContext(ctx context.Context) *GetBundleTagsParams

NewGetBundleTagsParamsWithContext creates a new GetBundleTagsParams object with 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 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 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) SetDefaults

func (o *GetBundleTagsParams) SetDefaults()

SetDefaults hydrates default values in the get bundle tags params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetBundleTagsParams) WithDefaults() *GetBundleTagsParams

WithDefaults hydrates default values in the get bundle tags params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 200, with default header values.

successful operation

func NewGetBundlesOK

func NewGetBundlesOK() *GetBundlesOK

NewGetBundlesOK creates a GetBundlesOK with default headers values

func (*GetBundlesOK) Code

func (o *GetBundlesOK) Code() int

Code gets the status code for the get bundles o k response

func (*GetBundlesOK) Error

func (o *GetBundlesOK) Error() string

func (*GetBundlesOK) GetPayload

func (o *GetBundlesOK) GetPayload() []*kbmodel.Bundle

func (*GetBundlesOK) IsClientError

func (o *GetBundlesOK) IsClientError() bool

IsClientError returns true when this get bundles o k response has a 4xx status code

func (*GetBundlesOK) IsCode

func (o *GetBundlesOK) IsCode(code int) bool

IsCode returns true when this get bundles o k response a status code equal to that given

func (*GetBundlesOK) IsRedirect

func (o *GetBundlesOK) IsRedirect() bool

IsRedirect returns true when this get bundles o k response has a 3xx status code

func (*GetBundlesOK) IsServerError

func (o *GetBundlesOK) IsServerError() bool

IsServerError returns true when this get bundles o k response has a 5xx status code

func (*GetBundlesOK) IsSuccess

func (o *GetBundlesOK) IsSuccess() bool

IsSuccess returns true when this get bundles o k response has a 2xx status code

func (*GetBundlesOK) String

func (o *GetBundlesOK) String() string

type GetBundlesParams

type GetBundlesParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBundlesParamsWithContext

func NewGetBundlesParamsWithContext(ctx context.Context) *GetBundlesParams

NewGetBundlesParamsWithContext creates a new GetBundlesParams object with 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 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 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) SetDefaults

func (o *GetBundlesParams) SetDefaults()

SetDefaults hydrates default values in the get bundles params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *GetBundlesParams) WithDefaults() *GetBundlesParams

WithDefaults hydrates default values in the get bundles params (not the query body).

All values with no default are reset to their zero value.

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 KillbillDefaults

type KillbillDefaults interface {
	// Default CreatedBy. If not set explicitly in params, this will be used.
	XKillbillCreatedBy() *string
	// Default Comment. If not set explicitly in params, this will be used.
	XKillbillComment() *string
	// Default Reason. If not set explicitly in params, this will be used.
	XKillbillReason() *string
	// Default WithWithProfilingInfo. If not set explicitly in params, this will be used.
	KillbillWithProfilingInfo() *string
	// Default WithStackTrace. If not set explicitly in params, this will be used.
	KillbillWithStackTrace() *bool
}

killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.

type ModifyBundleCustomFieldsBadRequest

type ModifyBundleCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifyBundleCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewModifyBundleCustomFieldsBadRequest

func NewModifyBundleCustomFieldsBadRequest() *ModifyBundleCustomFieldsBadRequest

NewModifyBundleCustomFieldsBadRequest creates a ModifyBundleCustomFieldsBadRequest with default headers values

func (*ModifyBundleCustomFieldsBadRequest) Code

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

func (*ModifyBundleCustomFieldsBadRequest) Error

func (*ModifyBundleCustomFieldsBadRequest) IsClientError

func (o *ModifyBundleCustomFieldsBadRequest) IsClientError() bool

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

func (*ModifyBundleCustomFieldsBadRequest) IsCode

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

func (*ModifyBundleCustomFieldsBadRequest) IsRedirect

func (o *ModifyBundleCustomFieldsBadRequest) IsRedirect() bool

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

func (*ModifyBundleCustomFieldsBadRequest) IsServerError

func (o *ModifyBundleCustomFieldsBadRequest) IsServerError() bool

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

func (*ModifyBundleCustomFieldsBadRequest) IsSuccess

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

func (*ModifyBundleCustomFieldsBadRequest) String

type ModifyBundleCustomFieldsNoContent

type ModifyBundleCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyBundleCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewModifyBundleCustomFieldsNoContent

func NewModifyBundleCustomFieldsNoContent() *ModifyBundleCustomFieldsNoContent

NewModifyBundleCustomFieldsNoContent creates a ModifyBundleCustomFieldsNoContent with default headers values

func (*ModifyBundleCustomFieldsNoContent) Code

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

func (*ModifyBundleCustomFieldsNoContent) Error

func (*ModifyBundleCustomFieldsNoContent) IsClientError

func (o *ModifyBundleCustomFieldsNoContent) IsClientError() bool

IsClientError returns true when this modify bundle custom fields no content response has a 4xx status code

func (*ModifyBundleCustomFieldsNoContent) IsCode

func (o *ModifyBundleCustomFieldsNoContent) IsCode(code int) bool

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

func (*ModifyBundleCustomFieldsNoContent) IsRedirect

func (o *ModifyBundleCustomFieldsNoContent) IsRedirect() bool

IsRedirect returns true when this modify bundle custom fields no content response has a 3xx status code

func (*ModifyBundleCustomFieldsNoContent) IsServerError

func (o *ModifyBundleCustomFieldsNoContent) IsServerError() bool

IsServerError returns true when this modify bundle custom fields no content response has a 5xx status code

func (*ModifyBundleCustomFieldsNoContent) IsSuccess

func (o *ModifyBundleCustomFieldsNoContent) IsSuccess() bool

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

func (*ModifyBundleCustomFieldsNoContent) String

type ModifyBundleCustomFieldsParams

type ModifyBundleCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body []*kbmodel.CustomField

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewModifyBundleCustomFieldsParamsWithContext

func NewModifyBundleCustomFieldsParamsWithContext(ctx context.Context) *ModifyBundleCustomFieldsParams

NewModifyBundleCustomFieldsParamsWithContext creates a new ModifyBundleCustomFieldsParams object with 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 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 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) SetDefaults

func (o *ModifyBundleCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the modify bundle custom fields params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the modify bundle custom fields params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewPauseBundleBadRequest

func NewPauseBundleBadRequest() *PauseBundleBadRequest

NewPauseBundleBadRequest creates a PauseBundleBadRequest with default headers values

func (*PauseBundleBadRequest) Code

func (o *PauseBundleBadRequest) Code() int

Code gets the status code for the pause bundle bad request response

func (*PauseBundleBadRequest) Error

func (o *PauseBundleBadRequest) Error() string

func (*PauseBundleBadRequest) IsClientError

func (o *PauseBundleBadRequest) IsClientError() bool

IsClientError returns true when this pause bundle bad request response has a 4xx status code

func (*PauseBundleBadRequest) IsCode

func (o *PauseBundleBadRequest) IsCode(code int) bool

IsCode returns true when this pause bundle bad request response a status code equal to that given

func (*PauseBundleBadRequest) IsRedirect

func (o *PauseBundleBadRequest) IsRedirect() bool

IsRedirect returns true when this pause bundle bad request response has a 3xx status code

func (*PauseBundleBadRequest) IsServerError

func (o *PauseBundleBadRequest) IsServerError() bool

IsServerError returns true when this pause bundle bad request response has a 5xx status code

func (*PauseBundleBadRequest) IsSuccess

func (o *PauseBundleBadRequest) IsSuccess() bool

IsSuccess returns true when this pause bundle bad request response has a 2xx status code

func (*PauseBundleBadRequest) String

func (o *PauseBundleBadRequest) String() string

type PauseBundleNoContent

type PauseBundleNoContent struct {
	HttpResponse runtime.ClientResponse
}

PauseBundleNoContent describes a response with status code 204, with default header values.

Successful operation

func NewPauseBundleNoContent

func NewPauseBundleNoContent() *PauseBundleNoContent

NewPauseBundleNoContent creates a PauseBundleNoContent with default headers values

func (*PauseBundleNoContent) Code

func (o *PauseBundleNoContent) Code() int

Code gets the status code for the pause bundle no content response

func (*PauseBundleNoContent) Error

func (o *PauseBundleNoContent) Error() string

func (*PauseBundleNoContent) IsClientError

func (o *PauseBundleNoContent) IsClientError() bool

IsClientError returns true when this pause bundle no content response has a 4xx status code

func (*PauseBundleNoContent) IsCode

func (o *PauseBundleNoContent) IsCode(code int) bool

IsCode returns true when this pause bundle no content response a status code equal to that given

func (*PauseBundleNoContent) IsRedirect

func (o *PauseBundleNoContent) IsRedirect() bool

IsRedirect returns true when this pause bundle no content response has a 3xx status code

func (*PauseBundleNoContent) IsServerError

func (o *PauseBundleNoContent) IsServerError() bool

IsServerError returns true when this pause bundle no content response has a 5xx status code

func (*PauseBundleNoContent) IsSuccess

func (o *PauseBundleNoContent) IsSuccess() bool

IsSuccess returns true when this pause bundle no content response has a 2xx status code

func (*PauseBundleNoContent) String

func (o *PauseBundleNoContent) String() string

type PauseBundleNotFound

type PauseBundleNotFound struct {
	HttpResponse runtime.ClientResponse
}

PauseBundleNotFound describes a response with status code 404, with default header values.

Bundle not found

func NewPauseBundleNotFound

func NewPauseBundleNotFound() *PauseBundleNotFound

NewPauseBundleNotFound creates a PauseBundleNotFound with default headers values

func (*PauseBundleNotFound) Code

func (o *PauseBundleNotFound) Code() int

Code gets the status code for the pause bundle not found response

func (*PauseBundleNotFound) Error

func (o *PauseBundleNotFound) Error() string

func (*PauseBundleNotFound) IsClientError

func (o *PauseBundleNotFound) IsClientError() bool

IsClientError returns true when this pause bundle not found response has a 4xx status code

func (*PauseBundleNotFound) IsCode

func (o *PauseBundleNotFound) IsCode(code int) bool

IsCode returns true when this pause bundle not found response a status code equal to that given

func (*PauseBundleNotFound) IsRedirect

func (o *PauseBundleNotFound) IsRedirect() bool

IsRedirect returns true when this pause bundle not found response has a 3xx status code

func (*PauseBundleNotFound) IsServerError

func (o *PauseBundleNotFound) IsServerError() bool

IsServerError returns true when this pause bundle not found response has a 5xx status code

func (*PauseBundleNotFound) IsSuccess

func (o *PauseBundleNotFound) IsSuccess() bool

IsSuccess returns true when this pause bundle not found response has a 2xx status code

func (*PauseBundleNotFound) String

func (o *PauseBundleNotFound) String() string

type PauseBundleParams

type PauseBundleParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	// RequestedDate.
	//
	// Format: date
	RequestedDate *strfmt.Date

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPauseBundleParamsWithContext

func NewPauseBundleParamsWithContext(ctx context.Context) *PauseBundleParams

NewPauseBundleParamsWithContext creates a new PauseBundleParams object with 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 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 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) SetDefaults

func (o *PauseBundleParams) SetDefaults()

SetDefaults hydrates default values in the pause bundle params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *PauseBundleParams) WithDefaults() *PauseBundleParams

WithDefaults hydrates default values in the pause bundle params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, with default header values.

Invalid argumnent supplied

func NewRenameExternalKeyBadRequest

func NewRenameExternalKeyBadRequest() *RenameExternalKeyBadRequest

NewRenameExternalKeyBadRequest creates a RenameExternalKeyBadRequest with default headers values

func (*RenameExternalKeyBadRequest) Code

func (o *RenameExternalKeyBadRequest) Code() int

Code gets the status code for the rename external key bad request response

func (*RenameExternalKeyBadRequest) Error

func (*RenameExternalKeyBadRequest) IsClientError

func (o *RenameExternalKeyBadRequest) IsClientError() bool

IsClientError returns true when this rename external key bad request response has a 4xx status code

func (*RenameExternalKeyBadRequest) IsCode

func (o *RenameExternalKeyBadRequest) IsCode(code int) bool

IsCode returns true when this rename external key bad request response a status code equal to that given

func (*RenameExternalKeyBadRequest) IsRedirect

func (o *RenameExternalKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this rename external key bad request response has a 3xx status code

func (*RenameExternalKeyBadRequest) IsServerError

func (o *RenameExternalKeyBadRequest) IsServerError() bool

IsServerError returns true when this rename external key bad request response has a 5xx status code

func (*RenameExternalKeyBadRequest) IsSuccess

func (o *RenameExternalKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this rename external key bad request response has a 2xx status code

func (*RenameExternalKeyBadRequest) String

func (o *RenameExternalKeyBadRequest) String() string

type RenameExternalKeyNoContent

type RenameExternalKeyNoContent struct {
	HttpResponse runtime.ClientResponse
}

RenameExternalKeyNoContent describes a response with status code 204, with default header values.

Successful operation

func NewRenameExternalKeyNoContent

func NewRenameExternalKeyNoContent() *RenameExternalKeyNoContent

NewRenameExternalKeyNoContent creates a RenameExternalKeyNoContent with default headers values

func (*RenameExternalKeyNoContent) Code

func (o *RenameExternalKeyNoContent) Code() int

Code gets the status code for the rename external key no content response

func (*RenameExternalKeyNoContent) Error

func (*RenameExternalKeyNoContent) IsClientError

func (o *RenameExternalKeyNoContent) IsClientError() bool

IsClientError returns true when this rename external key no content response has a 4xx status code

func (*RenameExternalKeyNoContent) IsCode

func (o *RenameExternalKeyNoContent) IsCode(code int) bool

IsCode returns true when this rename external key no content response a status code equal to that given

func (*RenameExternalKeyNoContent) IsRedirect

func (o *RenameExternalKeyNoContent) IsRedirect() bool

IsRedirect returns true when this rename external key no content response has a 3xx status code

func (*RenameExternalKeyNoContent) IsServerError

func (o *RenameExternalKeyNoContent) IsServerError() bool

IsServerError returns true when this rename external key no content response has a 5xx status code

func (*RenameExternalKeyNoContent) IsSuccess

func (o *RenameExternalKeyNoContent) IsSuccess() bool

IsSuccess returns true when this rename external key no content response has a 2xx status code

func (*RenameExternalKeyNoContent) String

func (o *RenameExternalKeyNoContent) String() string

type RenameExternalKeyNotFound

type RenameExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

RenameExternalKeyNotFound describes a response with status code 404, with default header values.

Bundle not found

func NewRenameExternalKeyNotFound

func NewRenameExternalKeyNotFound() *RenameExternalKeyNotFound

NewRenameExternalKeyNotFound creates a RenameExternalKeyNotFound with default headers values

func (*RenameExternalKeyNotFound) Code

func (o *RenameExternalKeyNotFound) Code() int

Code gets the status code for the rename external key not found response

func (*RenameExternalKeyNotFound) Error

func (o *RenameExternalKeyNotFound) Error() string

func (*RenameExternalKeyNotFound) IsClientError

func (o *RenameExternalKeyNotFound) IsClientError() bool

IsClientError returns true when this rename external key not found response has a 4xx status code

func (*RenameExternalKeyNotFound) IsCode

func (o *RenameExternalKeyNotFound) IsCode(code int) bool

IsCode returns true when this rename external key not found response a status code equal to that given

func (*RenameExternalKeyNotFound) IsRedirect

func (o *RenameExternalKeyNotFound) IsRedirect() bool

IsRedirect returns true when this rename external key not found response has a 3xx status code

func (*RenameExternalKeyNotFound) IsServerError

func (o *RenameExternalKeyNotFound) IsServerError() bool

IsServerError returns true when this rename external key not found response has a 5xx status code

func (*RenameExternalKeyNotFound) IsSuccess

func (o *RenameExternalKeyNotFound) IsSuccess() bool

IsSuccess returns true when this rename external key not found response has a 2xx status code

func (*RenameExternalKeyNotFound) String

func (o *RenameExternalKeyNotFound) String() string

type RenameExternalKeyParams

type RenameExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.Bundle

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRenameExternalKeyParamsWithContext

func NewRenameExternalKeyParamsWithContext(ctx context.Context) *RenameExternalKeyParams

NewRenameExternalKeyParamsWithContext creates a new RenameExternalKeyParams object with 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 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 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) SetDefaults

func (o *RenameExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the rename external key params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

WithDefaults hydrates default values in the rename external key params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, with default header values.

Invalid bundle id supplied

func NewResumeBundleBadRequest

func NewResumeBundleBadRequest() *ResumeBundleBadRequest

NewResumeBundleBadRequest creates a ResumeBundleBadRequest with default headers values

func (*ResumeBundleBadRequest) Code

func (o *ResumeBundleBadRequest) Code() int

Code gets the status code for the resume bundle bad request response

func (*ResumeBundleBadRequest) Error

func (o *ResumeBundleBadRequest) Error() string

func (*ResumeBundleBadRequest) IsClientError

func (o *ResumeBundleBadRequest) IsClientError() bool

IsClientError returns true when this resume bundle bad request response has a 4xx status code

func (*ResumeBundleBadRequest) IsCode

func (o *ResumeBundleBadRequest) IsCode(code int) bool

IsCode returns true when this resume bundle bad request response a status code equal to that given

func (*ResumeBundleBadRequest) IsRedirect

func (o *ResumeBundleBadRequest) IsRedirect() bool

IsRedirect returns true when this resume bundle bad request response has a 3xx status code

func (*ResumeBundleBadRequest) IsServerError

func (o *ResumeBundleBadRequest) IsServerError() bool

IsServerError returns true when this resume bundle bad request response has a 5xx status code

func (*ResumeBundleBadRequest) IsSuccess

func (o *ResumeBundleBadRequest) IsSuccess() bool

IsSuccess returns true when this resume bundle bad request response has a 2xx status code

func (*ResumeBundleBadRequest) String

func (o *ResumeBundleBadRequest) String() string

type ResumeBundleNoContent

type ResumeBundleNoContent struct {
	HttpResponse runtime.ClientResponse
}

ResumeBundleNoContent describes a response with status code 204, with default header values.

Successful operation

func NewResumeBundleNoContent

func NewResumeBundleNoContent() *ResumeBundleNoContent

NewResumeBundleNoContent creates a ResumeBundleNoContent with default headers values

func (*ResumeBundleNoContent) Code

func (o *ResumeBundleNoContent) Code() int

Code gets the status code for the resume bundle no content response

func (*ResumeBundleNoContent) Error

func (o *ResumeBundleNoContent) Error() string

func (*ResumeBundleNoContent) IsClientError

func (o *ResumeBundleNoContent) IsClientError() bool

IsClientError returns true when this resume bundle no content response has a 4xx status code

func (*ResumeBundleNoContent) IsCode

func (o *ResumeBundleNoContent) IsCode(code int) bool

IsCode returns true when this resume bundle no content response a status code equal to that given

func (*ResumeBundleNoContent) IsRedirect

func (o *ResumeBundleNoContent) IsRedirect() bool

IsRedirect returns true when this resume bundle no content response has a 3xx status code

func (*ResumeBundleNoContent) IsServerError

func (o *ResumeBundleNoContent) IsServerError() bool

IsServerError returns true when this resume bundle no content response has a 5xx status code

func (*ResumeBundleNoContent) IsSuccess

func (o *ResumeBundleNoContent) IsSuccess() bool

IsSuccess returns true when this resume bundle no content response has a 2xx status code

func (*ResumeBundleNoContent) String

func (o *ResumeBundleNoContent) String() string

type ResumeBundleNotFound

type ResumeBundleNotFound struct {
	HttpResponse runtime.ClientResponse
}

ResumeBundleNotFound describes a response with status code 404, with default header values.

Bundle not found

func NewResumeBundleNotFound

func NewResumeBundleNotFound() *ResumeBundleNotFound

NewResumeBundleNotFound creates a ResumeBundleNotFound with default headers values

func (*ResumeBundleNotFound) Code

func (o *ResumeBundleNotFound) Code() int

Code gets the status code for the resume bundle not found response

func (*ResumeBundleNotFound) Error

func (o *ResumeBundleNotFound) Error() string

func (*ResumeBundleNotFound) IsClientError

func (o *ResumeBundleNotFound) IsClientError() bool

IsClientError returns true when this resume bundle not found response has a 4xx status code

func (*ResumeBundleNotFound) IsCode

func (o *ResumeBundleNotFound) IsCode(code int) bool

IsCode returns true when this resume bundle not found response a status code equal to that given

func (*ResumeBundleNotFound) IsRedirect

func (o *ResumeBundleNotFound) IsRedirect() bool

IsRedirect returns true when this resume bundle not found response has a 3xx status code

func (*ResumeBundleNotFound) IsServerError

func (o *ResumeBundleNotFound) IsServerError() bool

IsServerError returns true when this resume bundle not found response has a 5xx status code

func (*ResumeBundleNotFound) IsSuccess

func (o *ResumeBundleNotFound) IsSuccess() bool

IsSuccess returns true when this resume bundle not found response has a 2xx status code

func (*ResumeBundleNotFound) String

func (o *ResumeBundleNotFound) String() string

type ResumeBundleParams

type ResumeBundleParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	// RequestedDate.
	//
	// Format: date
	RequestedDate *strfmt.Date

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewResumeBundleParamsWithContext

func NewResumeBundleParamsWithContext(ctx context.Context) *ResumeBundleParams

NewResumeBundleParamsWithContext creates a new ResumeBundleParams object with 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 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 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) SetDefaults

func (o *ResumeBundleParams) SetDefaults()

SetDefaults hydrates default values in the resume bundle params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *ResumeBundleParams) WithDefaults() *ResumeBundleParams

WithDefaults hydrates default values in the resume bundle params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 200, with default header values.

successful operation

func NewSearchBundlesOK

func NewSearchBundlesOK() *SearchBundlesOK

NewSearchBundlesOK creates a SearchBundlesOK with default headers values

func (*SearchBundlesOK) Code

func (o *SearchBundlesOK) Code() int

Code gets the status code for the search bundles o k response

func (*SearchBundlesOK) Error

func (o *SearchBundlesOK) Error() string

func (*SearchBundlesOK) GetPayload

func (o *SearchBundlesOK) GetPayload() []*kbmodel.Bundle

func (*SearchBundlesOK) IsClientError

func (o *SearchBundlesOK) IsClientError() bool

IsClientError returns true when this search bundles o k response has a 4xx status code

func (*SearchBundlesOK) IsCode

func (o *SearchBundlesOK) IsCode(code int) bool

IsCode returns true when this search bundles o k response a status code equal to that given

func (*SearchBundlesOK) IsRedirect

func (o *SearchBundlesOK) IsRedirect() bool

IsRedirect returns true when this search bundles o k response has a 3xx status code

func (*SearchBundlesOK) IsServerError

func (o *SearchBundlesOK) IsServerError() bool

IsServerError returns true when this search bundles o k response has a 5xx status code

func (*SearchBundlesOK) IsSuccess

func (o *SearchBundlesOK) IsSuccess() bool

IsSuccess returns true when this search bundles o k response has a 2xx status code

func (*SearchBundlesOK) String

func (o *SearchBundlesOK) String() string

type SearchBundlesParams

type SearchBundlesParams struct {

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// Limit.
	//
	// Format: int64
	// Default: 100
	Limit *int64

	// Offset.
	//
	// Format: int64
	Offset *int64

	// SearchKey.
	SearchKey string

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchBundlesParamsWithContext

func NewSearchBundlesParamsWithContext(ctx context.Context) *SearchBundlesParams

NewSearchBundlesParamsWithContext creates a new SearchBundlesParams object with 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 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 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) SetDefaults

func (o *SearchBundlesParams) SetDefaults()

SetDefaults hydrates default values in the search bundles params (not the query body).

All values with no default are reset to their zero value.

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) WithDefaults

func (o *SearchBundlesParams) WithDefaults() *SearchBundlesParams

WithDefaults hydrates default values in the search bundles params (not the query body).

All values with no default are reset to their zero value.

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 describes a response with status code 400, 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) Code

func (o *TransferBundleBadRequest) Code() int

Code gets the status code for the transfer bundle bad request response

func (*TransferBundleBadRequest) Error

func (o *TransferBundleBadRequest) Error() string

func (*TransferBundleBadRequest) IsClientError

func (o *TransferBundleBadRequest) IsClientError() bool

IsClientError returns true when this transfer bundle bad request response has a 4xx status code

func (*TransferBundleBadRequest) IsCode

func (o *TransferBundleBadRequest) IsCode(code int) bool

IsCode returns true when this transfer bundle bad request response a status code equal to that given

func (*TransferBundleBadRequest) IsRedirect

func (o *TransferBundleBadRequest) IsRedirect() bool

IsRedirect returns true when this transfer bundle bad request response has a 3xx status code

func (*TransferBundleBadRequest) IsServerError

func (o *TransferBundleBadRequest) IsServerError() bool

IsServerError returns true when this transfer bundle bad request response has a 5xx status code

func (*TransferBundleBadRequest) IsSuccess

func (o *TransferBundleBadRequest) IsSuccess() bool

IsSuccess returns true when this transfer bundle bad request response has a 2xx status code

func (*TransferBundleBadRequest) String

func (o *TransferBundleBadRequest) String() string

type TransferBundleCreated

type TransferBundleCreated struct {
	Payload      *kbmodel.Bundle
	HttpResponse runtime.ClientResponse
}

TransferBundleCreated describes a response with status code 201, with default header values.

Bundle transferred successfully

func NewTransferBundleCreated

func NewTransferBundleCreated() *TransferBundleCreated

NewTransferBundleCreated creates a TransferBundleCreated with default headers values

func (*TransferBundleCreated) Code

func (o *TransferBundleCreated) Code() int

Code gets the status code for the transfer bundle created response

func (*TransferBundleCreated) Error

func (o *TransferBundleCreated) Error() string

func (*TransferBundleCreated) GetPayload

func (o *TransferBundleCreated) GetPayload() *kbmodel.Bundle

func (*TransferBundleCreated) IsClientError

func (o *TransferBundleCreated) IsClientError() bool

IsClientError returns true when this transfer bundle created response has a 4xx status code

func (*TransferBundleCreated) IsCode

func (o *TransferBundleCreated) IsCode(code int) bool

IsCode returns true when this transfer bundle created response a status code equal to that given

func (*TransferBundleCreated) IsRedirect

func (o *TransferBundleCreated) IsRedirect() bool

IsRedirect returns true when this transfer bundle created response has a 3xx status code

func (*TransferBundleCreated) IsServerError

func (o *TransferBundleCreated) IsServerError() bool

IsServerError returns true when this transfer bundle created response has a 5xx status code

func (*TransferBundleCreated) IsSuccess

func (o *TransferBundleCreated) IsSuccess() bool

IsSuccess returns true when this transfer bundle created response has a 2xx status code

func (*TransferBundleCreated) String

func (o *TransferBundleCreated) String() string

type TransferBundleNotFound

type TransferBundleNotFound struct {
	HttpResponse runtime.ClientResponse
}

TransferBundleNotFound describes a response with status code 404, with default header values.

Bundle not found

func NewTransferBundleNotFound

func NewTransferBundleNotFound() *TransferBundleNotFound

NewTransferBundleNotFound creates a TransferBundleNotFound with default headers values

func (*TransferBundleNotFound) Code

func (o *TransferBundleNotFound) Code() int

Code gets the status code for the transfer bundle not found response

func (*TransferBundleNotFound) Error

func (o *TransferBundleNotFound) Error() string

func (*TransferBundleNotFound) IsClientError

func (o *TransferBundleNotFound) IsClientError() bool

IsClientError returns true when this transfer bundle not found response has a 4xx status code

func (*TransferBundleNotFound) IsCode

func (o *TransferBundleNotFound) IsCode(code int) bool

IsCode returns true when this transfer bundle not found response a status code equal to that given

func (*TransferBundleNotFound) IsRedirect

func (o *TransferBundleNotFound) IsRedirect() bool

IsRedirect returns true when this transfer bundle not found response has a 3xx status code

func (*TransferBundleNotFound) IsServerError

func (o *TransferBundleNotFound) IsServerError() bool

IsServerError returns true when this transfer bundle not found response has a 5xx status code

func (*TransferBundleNotFound) IsSuccess

func (o *TransferBundleNotFound) IsSuccess() bool

IsSuccess returns true when this transfer bundle not found response has a 2xx status code

func (*TransferBundleNotFound) String

func (o *TransferBundleNotFound) String() string

type TransferBundleParams

type TransferBundleParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// BcdTransfer.
	//
	// Default: "USE_EXISTING"
	BcdTransfer *string

	// BillingPolicy.
	//
	// Default: "END_OF_TERM"
	BillingPolicy *string

	// Body.
	Body *kbmodel.Bundle

	// BundleID.
	//
	// Format: uuid
	BundleID strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	// RequestedDate.
	//
	// Format: date
	RequestedDate *strfmt.Date

	WithProfilingInfo *string // If set, return KB hprof headers
	WithStackTrace    *bool   // If set, returns full stack trace with error message

	Context               context.Context
	HTTPClient            *http.Client
	ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
	// contains filtered or unexported fields
}

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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTransferBundleParamsWithContext

func NewTransferBundleParamsWithContext(ctx context.Context) *TransferBundleParams

NewTransferBundleParamsWithContext creates a new TransferBundleParams object with 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 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 ability to set a timeout on a request.

func (*TransferBundleParams) SetBcdTransfer

func (o *TransferBundleParams) SetBcdTransfer(bcdTransfer *string)

SetBcdTransfer adds the bcdTransfer to the transfer bundle params

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) SetDefaults

func (o *TransferBundleParams) SetDefaults()

SetDefaults hydrates default values in the transfer bundle params (not the query body).

All values with no default are reset to their zero value.

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) WithBcdTransfer

func (o *TransferBundleParams) WithBcdTransfer(bcdTransfer *string) *TransferBundleParams

WithBcdTransfer adds the bcdTransfer 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) WithDefaults

func (o *TransferBundleParams) WithDefaults() *TransferBundleParams

WithDefaults hydrates default values in the transfer bundle params (not the query body).

All values with no default are reset to their zero value.

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