account

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: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAccountBlockingStateBadRequest

type AddAccountBlockingStateBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewAddAccountBlockingStateBadRequest

func NewAddAccountBlockingStateBadRequest() *AddAccountBlockingStateBadRequest

NewAddAccountBlockingStateBadRequest creates a AddAccountBlockingStateBadRequest with default headers values

func (*AddAccountBlockingStateBadRequest) Code

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

func (*AddAccountBlockingStateBadRequest) Error

func (*AddAccountBlockingStateBadRequest) IsClientError

func (o *AddAccountBlockingStateBadRequest) IsClientError() bool

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

func (*AddAccountBlockingStateBadRequest) IsCode

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

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

func (*AddAccountBlockingStateBadRequest) IsRedirect

func (o *AddAccountBlockingStateBadRequest) IsRedirect() bool

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

func (*AddAccountBlockingStateBadRequest) IsServerError

func (o *AddAccountBlockingStateBadRequest) IsServerError() bool

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

func (*AddAccountBlockingStateBadRequest) IsSuccess

func (o *AddAccountBlockingStateBadRequest) IsSuccess() bool

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

func (*AddAccountBlockingStateBadRequest) String

type AddAccountBlockingStateCreated

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

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

Blocking state created successfully

func NewAddAccountBlockingStateCreated

func NewAddAccountBlockingStateCreated() *AddAccountBlockingStateCreated

NewAddAccountBlockingStateCreated creates a AddAccountBlockingStateCreated with default headers values

func (*AddAccountBlockingStateCreated) Code

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

func (*AddAccountBlockingStateCreated) Error

func (*AddAccountBlockingStateCreated) GetPayload

func (*AddAccountBlockingStateCreated) IsClientError

func (o *AddAccountBlockingStateCreated) IsClientError() bool

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

func (*AddAccountBlockingStateCreated) IsCode

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

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

func (*AddAccountBlockingStateCreated) IsRedirect

func (o *AddAccountBlockingStateCreated) IsRedirect() bool

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

func (*AddAccountBlockingStateCreated) IsServerError

func (o *AddAccountBlockingStateCreated) IsServerError() bool

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

func (*AddAccountBlockingStateCreated) IsSuccess

func (o *AddAccountBlockingStateCreated) IsSuccess() bool

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

func (*AddAccountBlockingStateCreated) String

type AddAccountBlockingStateNotFound

type AddAccountBlockingStateNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewAddAccountBlockingStateNotFound

func NewAddAccountBlockingStateNotFound() *AddAccountBlockingStateNotFound

NewAddAccountBlockingStateNotFound creates a AddAccountBlockingStateNotFound with default headers values

func (*AddAccountBlockingStateNotFound) Code

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

func (*AddAccountBlockingStateNotFound) Error

func (*AddAccountBlockingStateNotFound) IsClientError

func (o *AddAccountBlockingStateNotFound) IsClientError() bool

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

func (*AddAccountBlockingStateNotFound) IsCode

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

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

func (*AddAccountBlockingStateNotFound) IsRedirect

func (o *AddAccountBlockingStateNotFound) IsRedirect() bool

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

func (*AddAccountBlockingStateNotFound) IsServerError

func (o *AddAccountBlockingStateNotFound) IsServerError() bool

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

func (*AddAccountBlockingStateNotFound) IsSuccess

func (o *AddAccountBlockingStateNotFound) IsSuccess() bool

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

func (*AddAccountBlockingStateNotFound) String

type AddAccountBlockingStateParams

type AddAccountBlockingStateParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.BlockingState

	// 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
}

AddAccountBlockingStateParams contains all the parameters to send to the API endpoint

for the add account blocking state operation.

Typically these are written to a http.Request.

func NewAddAccountBlockingStateParams

func NewAddAccountBlockingStateParams() *AddAccountBlockingStateParams

NewAddAccountBlockingStateParams creates a new AddAccountBlockingStateParams 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 NewAddAccountBlockingStateParamsWithContext

func NewAddAccountBlockingStateParamsWithContext(ctx context.Context) *AddAccountBlockingStateParams

NewAddAccountBlockingStateParamsWithContext creates a new AddAccountBlockingStateParams object with the ability to set a context for a request.

func NewAddAccountBlockingStateParamsWithHTTPClient

func NewAddAccountBlockingStateParamsWithHTTPClient(client *http.Client) *AddAccountBlockingStateParams

NewAddAccountBlockingStateParamsWithHTTPClient creates a new AddAccountBlockingStateParams object with the ability to set a custom HTTPClient for a request.

func NewAddAccountBlockingStateParamsWithTimeout

func NewAddAccountBlockingStateParamsWithTimeout(timeout time.Duration) *AddAccountBlockingStateParams

NewAddAccountBlockingStateParamsWithTimeout creates a new AddAccountBlockingStateParams object with the ability to set a timeout on a request.

func (*AddAccountBlockingStateParams) SetAccountID

func (o *AddAccountBlockingStateParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the add account blocking state params

func (*AddAccountBlockingStateParams) SetBody

SetBody adds the body to the add account blocking state params

func (*AddAccountBlockingStateParams) SetContext

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

SetContext adds the context to the add account blocking state params

func (*AddAccountBlockingStateParams) SetDefaults

func (o *AddAccountBlockingStateParams) SetDefaults()

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

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

func (*AddAccountBlockingStateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add account blocking state params

func (*AddAccountBlockingStateParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the add account blocking state params

func (*AddAccountBlockingStateParams) SetRequestedDate

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

SetRequestedDate adds the requestedDate to the add account blocking state params

func (*AddAccountBlockingStateParams) SetTimeout

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

SetTimeout adds the timeout to the add account blocking state params

func (*AddAccountBlockingStateParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the add account blocking state params

func (*AddAccountBlockingStateParams) SetXKillbillCreatedBy

func (o *AddAccountBlockingStateParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add account blocking state params

func (*AddAccountBlockingStateParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the add account blocking state params

func (*AddAccountBlockingStateParams) WithAccountID

WithAccountID adds the accountID to the add account blocking state params

func (*AddAccountBlockingStateParams) WithBody

WithBody adds the body to the add account blocking state params

func (*AddAccountBlockingStateParams) WithContext

WithContext adds the context to the add account blocking state params

func (*AddAccountBlockingStateParams) WithDefaults

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

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

func (*AddAccountBlockingStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add account blocking state params

func (*AddAccountBlockingStateParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the add account blocking state params

func (*AddAccountBlockingStateParams) WithRequestedDate

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

WithRequestedDate adds the requestedDate to the add account blocking state params

func (*AddAccountBlockingStateParams) WithTimeout

WithTimeout adds the timeout to the add account blocking state params

func (*AddAccountBlockingStateParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the add account blocking state params

func (*AddAccountBlockingStateParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add account blocking state params

func (*AddAccountBlockingStateParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the add account blocking state params

func (*AddAccountBlockingStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddAccountBlockingStateReader

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

AddAccountBlockingStateReader is a Reader for the AddAccountBlockingState structure.

func (*AddAccountBlockingStateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddEmailBadRequest

type AddEmailBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewAddEmailBadRequest

func NewAddEmailBadRequest() *AddEmailBadRequest

NewAddEmailBadRequest creates a AddEmailBadRequest with default headers values

func (*AddEmailBadRequest) Code

func (o *AddEmailBadRequest) Code() int

Code gets the status code for the add email bad request response

func (*AddEmailBadRequest) Error

func (o *AddEmailBadRequest) Error() string

func (*AddEmailBadRequest) IsClientError

func (o *AddEmailBadRequest) IsClientError() bool

IsClientError returns true when this add email bad request response has a 4xx status code

func (*AddEmailBadRequest) IsCode

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

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

func (*AddEmailBadRequest) IsRedirect

func (o *AddEmailBadRequest) IsRedirect() bool

IsRedirect returns true when this add email bad request response has a 3xx status code

func (*AddEmailBadRequest) IsServerError

func (o *AddEmailBadRequest) IsServerError() bool

IsServerError returns true when this add email bad request response has a 5xx status code

func (*AddEmailBadRequest) IsSuccess

func (o *AddEmailBadRequest) IsSuccess() bool

IsSuccess returns true when this add email bad request response has a 2xx status code

func (*AddEmailBadRequest) String

func (o *AddEmailBadRequest) String() string

type AddEmailCreated

type AddEmailCreated struct {
	Payload      []*kbmodel.AccountEmail
	HttpResponse runtime.ClientResponse
}

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

Email created successfully

func NewAddEmailCreated

func NewAddEmailCreated() *AddEmailCreated

NewAddEmailCreated creates a AddEmailCreated with default headers values

func (*AddEmailCreated) Code

func (o *AddEmailCreated) Code() int

Code gets the status code for the add email created response

func (*AddEmailCreated) Error

func (o *AddEmailCreated) Error() string

func (*AddEmailCreated) GetPayload

func (o *AddEmailCreated) GetPayload() []*kbmodel.AccountEmail

func (*AddEmailCreated) IsClientError

func (o *AddEmailCreated) IsClientError() bool

IsClientError returns true when this add email created response has a 4xx status code

func (*AddEmailCreated) IsCode

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

IsCode returns true when this add email created response a status code equal to that given

func (*AddEmailCreated) IsRedirect

func (o *AddEmailCreated) IsRedirect() bool

IsRedirect returns true when this add email created response has a 3xx status code

func (*AddEmailCreated) IsServerError

func (o *AddEmailCreated) IsServerError() bool

IsServerError returns true when this add email created response has a 5xx status code

func (*AddEmailCreated) IsSuccess

func (o *AddEmailCreated) IsSuccess() bool

IsSuccess returns true when this add email created response has a 2xx status code

func (*AddEmailCreated) String

func (o *AddEmailCreated) String() string

type AddEmailNotFound

type AddEmailNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewAddEmailNotFound

func NewAddEmailNotFound() *AddEmailNotFound

NewAddEmailNotFound creates a AddEmailNotFound with default headers values

func (*AddEmailNotFound) Code

func (o *AddEmailNotFound) Code() int

Code gets the status code for the add email not found response

func (*AddEmailNotFound) Error

func (o *AddEmailNotFound) Error() string

func (*AddEmailNotFound) IsClientError

func (o *AddEmailNotFound) IsClientError() bool

IsClientError returns true when this add email not found response has a 4xx status code

func (*AddEmailNotFound) IsCode

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

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

func (*AddEmailNotFound) IsRedirect

func (o *AddEmailNotFound) IsRedirect() bool

IsRedirect returns true when this add email not found response has a 3xx status code

func (*AddEmailNotFound) IsServerError

func (o *AddEmailNotFound) IsServerError() bool

IsServerError returns true when this add email not found response has a 5xx status code

func (*AddEmailNotFound) IsSuccess

func (o *AddEmailNotFound) IsSuccess() bool

IsSuccess returns true when this add email not found response has a 2xx status code

func (*AddEmailNotFound) String

func (o *AddEmailNotFound) String() string

type AddEmailParams

type AddEmailParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.AccountEmail

	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
}

AddEmailParams contains all the parameters to send to the API endpoint

for the add email operation.

Typically these are written to a http.Request.

func NewAddEmailParams

func NewAddEmailParams() *AddEmailParams

NewAddEmailParams creates a new AddEmailParams 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 NewAddEmailParamsWithContext

func NewAddEmailParamsWithContext(ctx context.Context) *AddEmailParams

NewAddEmailParamsWithContext creates a new AddEmailParams object with the ability to set a context for a request.

func NewAddEmailParamsWithHTTPClient

func NewAddEmailParamsWithHTTPClient(client *http.Client) *AddEmailParams

NewAddEmailParamsWithHTTPClient creates a new AddEmailParams object with the ability to set a custom HTTPClient for a request.

func NewAddEmailParamsWithTimeout

func NewAddEmailParamsWithTimeout(timeout time.Duration) *AddEmailParams

NewAddEmailParamsWithTimeout creates a new AddEmailParams object with the ability to set a timeout on a request.

func (*AddEmailParams) SetAccountID

func (o *AddEmailParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the add email params

func (*AddEmailParams) SetBody

func (o *AddEmailParams) SetBody(body *kbmodel.AccountEmail)

SetBody adds the body to the add email params

func (*AddEmailParams) SetContext

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

SetContext adds the context to the add email params

func (*AddEmailParams) SetDefaults

func (o *AddEmailParams) SetDefaults()

SetDefaults hydrates default values in the add email params (not the query body).

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

func (*AddEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add email params

func (*AddEmailParams) SetTimeout

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

SetTimeout adds the timeout to the add email params

func (*AddEmailParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the add email params

func (*AddEmailParams) SetXKillbillCreatedBy

func (o *AddEmailParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the add email params

func (*AddEmailParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the add email params

func (*AddEmailParams) WithAccountID

func (o *AddEmailParams) WithAccountID(accountID strfmt.UUID) *AddEmailParams

WithAccountID adds the accountID to the add email params

func (*AddEmailParams) WithBody

func (o *AddEmailParams) WithBody(body *kbmodel.AccountEmail) *AddEmailParams

WithBody adds the body to the add email params

func (*AddEmailParams) WithContext

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

WithContext adds the context to the add email params

func (*AddEmailParams) WithDefaults

func (o *AddEmailParams) WithDefaults() *AddEmailParams

WithDefaults hydrates default values in the add email params (not the query body).

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

func (*AddEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add email params

func (*AddEmailParams) WithTimeout

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

WithTimeout adds the timeout to the add email params

func (*AddEmailParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the add email params

func (*AddEmailParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the add email params

func (*AddEmailParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the add email params

func (*AddEmailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddEmailReader

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

AddEmailReader is a Reader for the AddEmail structure.

func (*AddEmailReader) ReadResponse

func (o *AddEmailReader) 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 account API

func New

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

New creates a new account API client.

func (*Client) AddAccountBlockingState

func (a *Client) AddAccountBlockingState(ctx context.Context, params *AddAccountBlockingStateParams) (*AddAccountBlockingStateCreated, error)

AddAccountBlockingState blocks an account

func (*Client) AddEmail

func (a *Client) AddEmail(ctx context.Context, params *AddEmailParams) (*AddEmailCreated, error)

AddEmail adds account email

func (*Client) CloseAccount

func (a *Client) CloseAccount(ctx context.Context, params *CloseAccountParams) (*CloseAccountNoContent, error)

CloseAccount closes account

func (*Client) CreateAccount

func (a *Client) CreateAccount(ctx context.Context, params *CreateAccountParams) (*CreateAccountCreated, error)

CreateAccount creates account

func (*Client) CreateAccountCustomFields

func (a *Client) CreateAccountCustomFields(ctx context.Context, params *CreateAccountCustomFieldsParams) (*CreateAccountCustomFieldsCreated, error)

CreateAccountCustomFields adds custom fields to account

func (*Client) CreateAccountTags

func (a *Client) CreateAccountTags(ctx context.Context, params *CreateAccountTagsParams) (*CreateAccountTagsCreated, error)

CreateAccountTags adds tags to account

func (*Client) CreatePaymentMethod

func (a *Client) CreatePaymentMethod(ctx context.Context, params *CreatePaymentMethodParams) (*CreatePaymentMethodCreated, error)

CreatePaymentMethod adds a payment method

func (*Client) DeleteAccountCustomFields

func (a *Client) DeleteAccountCustomFields(ctx context.Context, params *DeleteAccountCustomFieldsParams) (*DeleteAccountCustomFieldsNoContent, error)

DeleteAccountCustomFields removes custom fields from account

func (*Client) DeleteAccountTags

func (a *Client) DeleteAccountTags(ctx context.Context, params *DeleteAccountTagsParams) (*DeleteAccountTagsNoContent, error)

DeleteAccountTags removes tags from account

func (*Client) GetAccount

func (a *Client) GetAccount(ctx context.Context, params *GetAccountParams) (*GetAccountOK, error)

GetAccount retrieves an account by id

func (*Client) GetAccountAuditLogs

func (a *Client) GetAccountAuditLogs(ctx context.Context, params *GetAccountAuditLogsParams) (*GetAccountAuditLogsOK, error)

GetAccountAuditLogs retrieves audit logs by account id

func (*Client) GetAccountAuditLogsWithHistory

func (a *Client) GetAccountAuditLogsWithHistory(ctx context.Context, params *GetAccountAuditLogsWithHistoryParams) (*GetAccountAuditLogsWithHistoryOK, error)

GetAccountAuditLogsWithHistory retrieves account audit logs with history by account id

func (*Client) GetAccountBundles

func (a *Client) GetAccountBundles(ctx context.Context, params *GetAccountBundlesParams) (*GetAccountBundlesOK, error)

GetAccountBundles retrieves bundles for account

func (*Client) GetAccountBundlesPaginated

func (a *Client) GetAccountBundlesPaginated(ctx context.Context, params *GetAccountBundlesPaginatedParams) (*GetAccountBundlesPaginatedOK, error)

GetAccountBundlesPaginated retrieves paginated bundles for account

func (*Client) GetAccountByKey

func (a *Client) GetAccountByKey(ctx context.Context, params *GetAccountByKeyParams) (*GetAccountByKeyOK, error)

GetAccountByKey retrieves an account by external key

func (*Client) GetAccountCustomFields

func (a *Client) GetAccountCustomFields(ctx context.Context, params *GetAccountCustomFieldsParams) (*GetAccountCustomFieldsOK, error)

GetAccountCustomFields retrieves account custom fields

func (*Client) GetAccountEmailAuditLogsWithHistory

func (a *Client) GetAccountEmailAuditLogsWithHistory(ctx context.Context, params *GetAccountEmailAuditLogsWithHistoryParams) (*GetAccountEmailAuditLogsWithHistoryOK, error)

GetAccountEmailAuditLogsWithHistory retrieves account email audit logs with history by id

func (*Client) GetAccountTags

func (a *Client) GetAccountTags(ctx context.Context, params *GetAccountTagsParams) (*GetAccountTagsOK, error)

GetAccountTags retrieves account tags

func (*Client) GetAccountTimeline

func (a *Client) GetAccountTimeline(ctx context.Context, params *GetAccountTimelineParams) (*GetAccountTimelineOK, error)

GetAccountTimeline retrieves account timeline

func (*Client) GetAccounts

func (a *Client) GetAccounts(ctx context.Context, params *GetAccountsParams) (*GetAccountsOK, error)

GetAccounts lists accounts

func (*Client) GetAllCustomFields

func (a *Client) GetAllCustomFields(ctx context.Context, params *GetAllCustomFieldsParams) (*GetAllCustomFieldsOK, error)

GetAllCustomFields retrieves account custom fields

func (*Client) GetAllTags

func (a *Client) GetAllTags(ctx context.Context, params *GetAllTagsParams) (*GetAllTagsOK, error)

GetAllTags retrieves account tags

func (*Client) GetBlockingStateAuditLogsWithHistory

func (a *Client) GetBlockingStateAuditLogsWithHistory(ctx context.Context, params *GetBlockingStateAuditLogsWithHistoryParams) (*GetBlockingStateAuditLogsWithHistoryOK, error)

GetBlockingStateAuditLogsWithHistory retrieves blocking state audit logs with history by id

func (*Client) GetBlockingStates

func (a *Client) GetBlockingStates(ctx context.Context, params *GetBlockingStatesParams) (*GetBlockingStatesOK, error)

GetBlockingStates retrieves blocking states for account

func (*Client) GetChildrenAccounts

func (a *Client) GetChildrenAccounts(ctx context.Context, params *GetChildrenAccountsParams) (*GetChildrenAccountsOK, error)

GetChildrenAccounts lists children accounts

func (*Client) GetEmails

func (a *Client) GetEmails(ctx context.Context, params *GetEmailsParams) (*GetEmailsOK, error)

GetEmails retrieves an account emails

func (*Client) GetInvoicePayments

func (a *Client) GetInvoicePayments(ctx context.Context, params *GetInvoicePaymentsParams) (*GetInvoicePaymentsOK, error)

GetInvoicePayments retrieves account invoice payments

func (*Client) GetInvoicesForAccount

func (a *Client) GetInvoicesForAccount(ctx context.Context, params *GetInvoicesForAccountParams) (*GetInvoicesForAccountOK, error)

GetInvoicesForAccount retrieves account invoices

func (*Client) GetInvoicesForAccountPaginated

func (a *Client) GetInvoicesForAccountPaginated(ctx context.Context, params *GetInvoicesForAccountPaginatedParams) (*GetInvoicesForAccountPaginatedOK, error)

GetInvoicesForAccountPaginated retrieves paginated invoices for account

func (*Client) GetOverdueAccount

func (a *Client) GetOverdueAccount(ctx context.Context, params *GetOverdueAccountParams) (*GetOverdueAccountOK, error)

GetOverdueAccount retrieves overdue state for account

func (*Client) GetPaymentMethodsForAccount

func (a *Client) GetPaymentMethodsForAccount(ctx context.Context, params *GetPaymentMethodsForAccountParams) (*GetPaymentMethodsForAccountOK, error)

GetPaymentMethodsForAccount retrieves account payment methods

func (*Client) GetPaymentsForAccount

func (a *Client) GetPaymentsForAccount(ctx context.Context, params *GetPaymentsForAccountParams) (*GetPaymentsForAccountOK, error)

GetPaymentsForAccount retrieves account payments

func (*Client) ModifyAccountCustomFields

func (a *Client) ModifyAccountCustomFields(ctx context.Context, params *ModifyAccountCustomFieldsParams) (*ModifyAccountCustomFieldsNoContent, error)

ModifyAccountCustomFields modifies custom fields to account

func (*Client) PayAllInvoices

PayAllInvoices triggers a payment for all unpaid invoices

func (*Client) ProcessPayment

func (a *Client) ProcessPayment(ctx context.Context, params *ProcessPaymentParams) (*ProcessPaymentCreated, error)

ProcessPayment triggers a payment authorization purchase or credit

func (*Client) ProcessPaymentByExternalKey

func (a *Client) ProcessPaymentByExternalKey(ctx context.Context, params *ProcessPaymentByExternalKeyParams) (*ProcessPaymentByExternalKeyCreated, error)

ProcessPaymentByExternalKey triggers a payment using the account external key authorization purchase or credit

func (*Client) RebalanceExistingCBAOnAccount

RebalanceExistingCBAOnAccount rebalances account c b a

func (*Client) RefreshPaymentMethods

func (a *Client) RefreshPaymentMethods(ctx context.Context, params *RefreshPaymentMethodsParams) (*RefreshPaymentMethodsNoContent, error)

RefreshPaymentMethods refreshes account payment methods

func (*Client) RemoveEmail

func (a *Client) RemoveEmail(ctx context.Context, params *RemoveEmailParams) (*RemoveEmailNoContent, error)

RemoveEmail deletes email from account

func (*Client) SearchAccounts

func (a *Client) SearchAccounts(ctx context.Context, params *SearchAccountsParams) (*SearchAccountsOK, error)

SearchAccounts searches accounts

func (*Client) SetDefaultPaymentMethod

func (a *Client) SetDefaultPaymentMethod(ctx context.Context, params *SetDefaultPaymentMethodParams) (*SetDefaultPaymentMethodNoContent, error)

SetDefaultPaymentMethod sets the default payment method

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TransferChildCreditToParent

func (a *Client) TransferChildCreditToParent(ctx context.Context, params *TransferChildCreditToParentParams) (*TransferChildCreditToParentNoContent, error)

TransferChildCreditToParent moves a given child credit to the parent level

func (*Client) UpdateAccount

func (a *Client) UpdateAccount(ctx context.Context, params *UpdateAccountParams) (*UpdateAccountNoContent, error)

UpdateAccount updates account

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddAccountBlockingState(ctx context.Context, params *AddAccountBlockingStateParams) (*AddAccountBlockingStateCreated, error)

	AddEmail(ctx context.Context, params *AddEmailParams) (*AddEmailCreated, error)

	CloseAccount(ctx context.Context, params *CloseAccountParams) (*CloseAccountNoContent, error)

	CreateAccount(ctx context.Context, params *CreateAccountParams) (*CreateAccountCreated, error)

	CreateAccountCustomFields(ctx context.Context, params *CreateAccountCustomFieldsParams) (*CreateAccountCustomFieldsCreated, error)

	CreateAccountTags(ctx context.Context, params *CreateAccountTagsParams) (*CreateAccountTagsCreated, error)

	CreatePaymentMethod(ctx context.Context, params *CreatePaymentMethodParams) (*CreatePaymentMethodCreated, error)

	DeleteAccountCustomFields(ctx context.Context, params *DeleteAccountCustomFieldsParams) (*DeleteAccountCustomFieldsNoContent, error)

	DeleteAccountTags(ctx context.Context, params *DeleteAccountTagsParams) (*DeleteAccountTagsNoContent, error)

	GetAccount(ctx context.Context, params *GetAccountParams) (*GetAccountOK, error)

	GetAccountAuditLogs(ctx context.Context, params *GetAccountAuditLogsParams) (*GetAccountAuditLogsOK, error)

	GetAccountAuditLogsWithHistory(ctx context.Context, params *GetAccountAuditLogsWithHistoryParams) (*GetAccountAuditLogsWithHistoryOK, error)

	GetAccountBundles(ctx context.Context, params *GetAccountBundlesParams) (*GetAccountBundlesOK, error)

	GetAccountBundlesPaginated(ctx context.Context, params *GetAccountBundlesPaginatedParams) (*GetAccountBundlesPaginatedOK, error)

	GetAccountByKey(ctx context.Context, params *GetAccountByKeyParams) (*GetAccountByKeyOK, error)

	GetAccountCustomFields(ctx context.Context, params *GetAccountCustomFieldsParams) (*GetAccountCustomFieldsOK, error)

	GetAccountEmailAuditLogsWithHistory(ctx context.Context, params *GetAccountEmailAuditLogsWithHistoryParams) (*GetAccountEmailAuditLogsWithHistoryOK, error)

	GetAccountTags(ctx context.Context, params *GetAccountTagsParams) (*GetAccountTagsOK, error)

	GetAccountTimeline(ctx context.Context, params *GetAccountTimelineParams) (*GetAccountTimelineOK, error)

	GetAccounts(ctx context.Context, params *GetAccountsParams) (*GetAccountsOK, error)

	GetAllCustomFields(ctx context.Context, params *GetAllCustomFieldsParams) (*GetAllCustomFieldsOK, error)

	GetAllTags(ctx context.Context, params *GetAllTagsParams) (*GetAllTagsOK, error)

	GetBlockingStateAuditLogsWithHistory(ctx context.Context, params *GetBlockingStateAuditLogsWithHistoryParams) (*GetBlockingStateAuditLogsWithHistoryOK, error)

	GetBlockingStates(ctx context.Context, params *GetBlockingStatesParams) (*GetBlockingStatesOK, error)

	GetChildrenAccounts(ctx context.Context, params *GetChildrenAccountsParams) (*GetChildrenAccountsOK, error)

	GetEmails(ctx context.Context, params *GetEmailsParams) (*GetEmailsOK, error)

	GetInvoicePayments(ctx context.Context, params *GetInvoicePaymentsParams) (*GetInvoicePaymentsOK, error)

	GetInvoicesForAccount(ctx context.Context, params *GetInvoicesForAccountParams) (*GetInvoicesForAccountOK, error)

	GetInvoicesForAccountPaginated(ctx context.Context, params *GetInvoicesForAccountPaginatedParams) (*GetInvoicesForAccountPaginatedOK, error)

	GetOverdueAccount(ctx context.Context, params *GetOverdueAccountParams) (*GetOverdueAccountOK, error)

	GetPaymentMethodsForAccount(ctx context.Context, params *GetPaymentMethodsForAccountParams) (*GetPaymentMethodsForAccountOK, error)

	GetPaymentsForAccount(ctx context.Context, params *GetPaymentsForAccountParams) (*GetPaymentsForAccountOK, error)

	ModifyAccountCustomFields(ctx context.Context, params *ModifyAccountCustomFieldsParams) (*ModifyAccountCustomFieldsNoContent, error)

	PayAllInvoices(ctx context.Context, params *PayAllInvoicesParams) (*PayAllInvoicesCreated, *PayAllInvoicesNoContent, error)

	ProcessPayment(ctx context.Context, params *ProcessPaymentParams) (*ProcessPaymentCreated, error)

	ProcessPaymentByExternalKey(ctx context.Context, params *ProcessPaymentByExternalKeyParams) (*ProcessPaymentByExternalKeyCreated, error)

	RebalanceExistingCBAOnAccount(ctx context.Context, params *RebalanceExistingCBAOnAccountParams) (*RebalanceExistingCBAOnAccountNoContent, error)

	RefreshPaymentMethods(ctx context.Context, params *RefreshPaymentMethodsParams) (*RefreshPaymentMethodsNoContent, error)

	RemoveEmail(ctx context.Context, params *RemoveEmailParams) (*RemoveEmailNoContent, error)

	SearchAccounts(ctx context.Context, params *SearchAccountsParams) (*SearchAccountsOK, error)

	SetDefaultPaymentMethod(ctx context.Context, params *SetDefaultPaymentMethodParams) (*SetDefaultPaymentMethodNoContent, error)

	TransferChildCreditToParent(ctx context.Context, params *TransferChildCreditToParentParams) (*TransferChildCreditToParentNoContent, error)

	UpdateAccount(ctx context.Context, params *UpdateAccountParams) (*UpdateAccountNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

type CloseAccountBadRequest

type CloseAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewCloseAccountBadRequest

func NewCloseAccountBadRequest() *CloseAccountBadRequest

NewCloseAccountBadRequest creates a CloseAccountBadRequest with default headers values

func (*CloseAccountBadRequest) Code

func (o *CloseAccountBadRequest) Code() int

Code gets the status code for the close account bad request response

func (*CloseAccountBadRequest) Error

func (o *CloseAccountBadRequest) Error() string

func (*CloseAccountBadRequest) IsClientError

func (o *CloseAccountBadRequest) IsClientError() bool

IsClientError returns true when this close account bad request response has a 4xx status code

func (*CloseAccountBadRequest) IsCode

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

IsCode returns true when this close account bad request response a status code equal to that given

func (*CloseAccountBadRequest) IsRedirect

func (o *CloseAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this close account bad request response has a 3xx status code

func (*CloseAccountBadRequest) IsServerError

func (o *CloseAccountBadRequest) IsServerError() bool

IsServerError returns true when this close account bad request response has a 5xx status code

func (*CloseAccountBadRequest) IsSuccess

func (o *CloseAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this close account bad request response has a 2xx status code

func (*CloseAccountBadRequest) String

func (o *CloseAccountBadRequest) String() string

type CloseAccountNoContent

type CloseAccountNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewCloseAccountNoContent

func NewCloseAccountNoContent() *CloseAccountNoContent

NewCloseAccountNoContent creates a CloseAccountNoContent with default headers values

func (*CloseAccountNoContent) Code

func (o *CloseAccountNoContent) Code() int

Code gets the status code for the close account no content response

func (*CloseAccountNoContent) Error

func (o *CloseAccountNoContent) Error() string

func (*CloseAccountNoContent) IsClientError

func (o *CloseAccountNoContent) IsClientError() bool

IsClientError returns true when this close account no content response has a 4xx status code

func (*CloseAccountNoContent) IsCode

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

IsCode returns true when this close account no content response a status code equal to that given

func (*CloseAccountNoContent) IsRedirect

func (o *CloseAccountNoContent) IsRedirect() bool

IsRedirect returns true when this close account no content response has a 3xx status code

func (*CloseAccountNoContent) IsServerError

func (o *CloseAccountNoContent) IsServerError() bool

IsServerError returns true when this close account no content response has a 5xx status code

func (*CloseAccountNoContent) IsSuccess

func (o *CloseAccountNoContent) IsSuccess() bool

IsSuccess returns true when this close account no content response has a 2xx status code

func (*CloseAccountNoContent) String

func (o *CloseAccountNoContent) String() string

type CloseAccountParams

type CloseAccountParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// CancelAllSubscriptions.
	CancelAllSubscriptions *bool

	// ItemAdjustUnpaidInvoices.
	ItemAdjustUnpaidInvoices *bool

	// RemoveFutureNotifications.
	//
	// Default: true
	RemoveFutureNotifications *bool

	// WriteOffUnpaidInvoices.
	WriteOffUnpaidInvoices *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
}

CloseAccountParams contains all the parameters to send to the API endpoint

for the close account operation.

Typically these are written to a http.Request.

func NewCloseAccountParams

func NewCloseAccountParams() *CloseAccountParams

NewCloseAccountParams creates a new CloseAccountParams 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 NewCloseAccountParamsWithContext

func NewCloseAccountParamsWithContext(ctx context.Context) *CloseAccountParams

NewCloseAccountParamsWithContext creates a new CloseAccountParams object with the ability to set a context for a request.

func NewCloseAccountParamsWithHTTPClient

func NewCloseAccountParamsWithHTTPClient(client *http.Client) *CloseAccountParams

NewCloseAccountParamsWithHTTPClient creates a new CloseAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCloseAccountParamsWithTimeout

func NewCloseAccountParamsWithTimeout(timeout time.Duration) *CloseAccountParams

NewCloseAccountParamsWithTimeout creates a new CloseAccountParams object with the ability to set a timeout on a request.

func (*CloseAccountParams) SetAccountID

func (o *CloseAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the close account params

func (*CloseAccountParams) SetCancelAllSubscriptions

func (o *CloseAccountParams) SetCancelAllSubscriptions(cancelAllSubscriptions *bool)

SetCancelAllSubscriptions adds the cancelAllSubscriptions to the close account params

func (*CloseAccountParams) SetContext

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

SetContext adds the context to the close account params

func (*CloseAccountParams) SetDefaults

func (o *CloseAccountParams) SetDefaults()

SetDefaults hydrates default values in the close account params (not the query body).

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

func (*CloseAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the close account params

func (*CloseAccountParams) SetItemAdjustUnpaidInvoices

func (o *CloseAccountParams) SetItemAdjustUnpaidInvoices(itemAdjustUnpaidInvoices *bool)

SetItemAdjustUnpaidInvoices adds the itemAdjustUnpaidInvoices to the close account params

func (*CloseAccountParams) SetRemoveFutureNotifications

func (o *CloseAccountParams) SetRemoveFutureNotifications(removeFutureNotifications *bool)

SetRemoveFutureNotifications adds the removeFutureNotifications to the close account params

func (*CloseAccountParams) SetTimeout

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

SetTimeout adds the timeout to the close account params

func (*CloseAccountParams) SetWriteOffUnpaidInvoices

func (o *CloseAccountParams) SetWriteOffUnpaidInvoices(writeOffUnpaidInvoices *bool)

SetWriteOffUnpaidInvoices adds the writeOffUnpaidInvoices to the close account params

func (*CloseAccountParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the close account params

func (*CloseAccountParams) SetXKillbillCreatedBy

func (o *CloseAccountParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the close account params

func (*CloseAccountParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the close account params

func (*CloseAccountParams) WithAccountID

func (o *CloseAccountParams) WithAccountID(accountID strfmt.UUID) *CloseAccountParams

WithAccountID adds the accountID to the close account params

func (*CloseAccountParams) WithCancelAllSubscriptions

func (o *CloseAccountParams) WithCancelAllSubscriptions(cancelAllSubscriptions *bool) *CloseAccountParams

WithCancelAllSubscriptions adds the cancelAllSubscriptions to the close account params

func (*CloseAccountParams) WithContext

WithContext adds the context to the close account params

func (*CloseAccountParams) WithDefaults

func (o *CloseAccountParams) WithDefaults() *CloseAccountParams

WithDefaults hydrates default values in the close account params (not the query body).

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

func (*CloseAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the close account params

func (*CloseAccountParams) WithItemAdjustUnpaidInvoices

func (o *CloseAccountParams) WithItemAdjustUnpaidInvoices(itemAdjustUnpaidInvoices *bool) *CloseAccountParams

WithItemAdjustUnpaidInvoices adds the itemAdjustUnpaidInvoices to the close account params

func (*CloseAccountParams) WithRemoveFutureNotifications

func (o *CloseAccountParams) WithRemoveFutureNotifications(removeFutureNotifications *bool) *CloseAccountParams

WithRemoveFutureNotifications adds the removeFutureNotifications to the close account params

func (*CloseAccountParams) WithTimeout

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

WithTimeout adds the timeout to the close account params

func (*CloseAccountParams) WithWriteOffUnpaidInvoices

func (o *CloseAccountParams) WithWriteOffUnpaidInvoices(writeOffUnpaidInvoices *bool) *CloseAccountParams

WithWriteOffUnpaidInvoices adds the writeOffUnpaidInvoices to the close account params

func (*CloseAccountParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the close account params

func (*CloseAccountParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the close account params

func (*CloseAccountParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the close account params

func (*CloseAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CloseAccountReader

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

CloseAccountReader is a Reader for the CloseAccount structure.

func (*CloseAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAccountBadRequest

type CreateAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account data supplied

func NewCreateAccountBadRequest

func NewCreateAccountBadRequest() *CreateAccountBadRequest

NewCreateAccountBadRequest creates a CreateAccountBadRequest with default headers values

func (*CreateAccountBadRequest) Code

func (o *CreateAccountBadRequest) Code() int

Code gets the status code for the create account bad request response

func (*CreateAccountBadRequest) Error

func (o *CreateAccountBadRequest) Error() string

func (*CreateAccountBadRequest) IsClientError

func (o *CreateAccountBadRequest) IsClientError() bool

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

func (*CreateAccountBadRequest) IsCode

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

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

func (*CreateAccountBadRequest) IsRedirect

func (o *CreateAccountBadRequest) IsRedirect() bool

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

func (*CreateAccountBadRequest) IsServerError

func (o *CreateAccountBadRequest) IsServerError() bool

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

func (*CreateAccountBadRequest) IsSuccess

func (o *CreateAccountBadRequest) IsSuccess() bool

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

func (*CreateAccountBadRequest) String

func (o *CreateAccountBadRequest) String() string

type CreateAccountCreated

type CreateAccountCreated struct {
	Payload      *kbmodel.Account
	HttpResponse runtime.ClientResponse
}

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

Account created successfully

func NewCreateAccountCreated

func NewCreateAccountCreated() *CreateAccountCreated

NewCreateAccountCreated creates a CreateAccountCreated with default headers values

func (*CreateAccountCreated) Code

func (o *CreateAccountCreated) Code() int

Code gets the status code for the create account created response

func (*CreateAccountCreated) Error

func (o *CreateAccountCreated) Error() string

func (*CreateAccountCreated) GetPayload

func (o *CreateAccountCreated) GetPayload() *kbmodel.Account

func (*CreateAccountCreated) IsClientError

func (o *CreateAccountCreated) IsClientError() bool

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

func (*CreateAccountCreated) IsCode

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

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

func (*CreateAccountCreated) IsRedirect

func (o *CreateAccountCreated) IsRedirect() bool

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

func (*CreateAccountCreated) IsServerError

func (o *CreateAccountCreated) IsServerError() bool

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

func (*CreateAccountCreated) IsSuccess

func (o *CreateAccountCreated) IsSuccess() bool

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

func (*CreateAccountCreated) String

func (o *CreateAccountCreated) String() string

type CreateAccountCustomFieldsBadRequest

type CreateAccountCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewCreateAccountCustomFieldsBadRequest

func NewCreateAccountCustomFieldsBadRequest() *CreateAccountCustomFieldsBadRequest

NewCreateAccountCustomFieldsBadRequest creates a CreateAccountCustomFieldsBadRequest with default headers values

func (*CreateAccountCustomFieldsBadRequest) Code

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

func (*CreateAccountCustomFieldsBadRequest) Error

func (*CreateAccountCustomFieldsBadRequest) IsClientError

func (o *CreateAccountCustomFieldsBadRequest) IsClientError() bool

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

func (*CreateAccountCustomFieldsBadRequest) IsCode

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

func (*CreateAccountCustomFieldsBadRequest) IsRedirect

func (o *CreateAccountCustomFieldsBadRequest) IsRedirect() bool

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

func (*CreateAccountCustomFieldsBadRequest) IsServerError

func (o *CreateAccountCustomFieldsBadRequest) IsServerError() bool

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

func (*CreateAccountCustomFieldsBadRequest) IsSuccess

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

func (*CreateAccountCustomFieldsBadRequest) String

type CreateAccountCustomFieldsCreated

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

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

Custom field created successfully

func NewCreateAccountCustomFieldsCreated

func NewCreateAccountCustomFieldsCreated() *CreateAccountCustomFieldsCreated

NewCreateAccountCustomFieldsCreated creates a CreateAccountCustomFieldsCreated with default headers values

func (*CreateAccountCustomFieldsCreated) Code

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

func (*CreateAccountCustomFieldsCreated) Error

func (*CreateAccountCustomFieldsCreated) GetPayload

func (*CreateAccountCustomFieldsCreated) IsClientError

func (o *CreateAccountCustomFieldsCreated) IsClientError() bool

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

func (*CreateAccountCustomFieldsCreated) IsCode

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

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

func (*CreateAccountCustomFieldsCreated) IsRedirect

func (o *CreateAccountCustomFieldsCreated) IsRedirect() bool

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

func (*CreateAccountCustomFieldsCreated) IsServerError

func (o *CreateAccountCustomFieldsCreated) IsServerError() bool

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

func (*CreateAccountCustomFieldsCreated) IsSuccess

func (o *CreateAccountCustomFieldsCreated) IsSuccess() bool

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

func (*CreateAccountCustomFieldsCreated) String

type CreateAccountCustomFieldsParams

type CreateAccountCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body []*kbmodel.CustomField

	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
}

CreateAccountCustomFieldsParams contains all the parameters to send to the API endpoint

for the create account custom fields operation.

Typically these are written to a http.Request.

func NewCreateAccountCustomFieldsParams

func NewCreateAccountCustomFieldsParams() *CreateAccountCustomFieldsParams

NewCreateAccountCustomFieldsParams creates a new CreateAccountCustomFieldsParams 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 NewCreateAccountCustomFieldsParamsWithContext

func NewCreateAccountCustomFieldsParamsWithContext(ctx context.Context) *CreateAccountCustomFieldsParams

NewCreateAccountCustomFieldsParamsWithContext creates a new CreateAccountCustomFieldsParams object with the ability to set a context for a request.

func NewCreateAccountCustomFieldsParamsWithHTTPClient

func NewCreateAccountCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateAccountCustomFieldsParams

NewCreateAccountCustomFieldsParamsWithHTTPClient creates a new CreateAccountCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAccountCustomFieldsParamsWithTimeout

func NewCreateAccountCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateAccountCustomFieldsParams

NewCreateAccountCustomFieldsParamsWithTimeout creates a new CreateAccountCustomFieldsParams object with the ability to set a timeout on a request.

func (*CreateAccountCustomFieldsParams) SetAccountID

func (o *CreateAccountCustomFieldsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetBody

SetBody adds the body to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetContext

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

SetContext adds the context to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetDefaults

func (o *CreateAccountCustomFieldsParams) SetDefaults()

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

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

func (*CreateAccountCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetXKillbillCreatedBy

func (o *CreateAccountCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create account custom fields params

func (*CreateAccountCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithAccountID

WithAccountID adds the accountID to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithBody

WithBody adds the body to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithContext

WithContext adds the context to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithDefaults

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

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

func (*CreateAccountCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create account custom fields params

func (*CreateAccountCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAccountCustomFieldsReader

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

CreateAccountCustomFieldsReader is a Reader for the CreateAccountCustomFields structure.

func (*CreateAccountCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAccountParams

type CreateAccountParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.Account

	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
}

CreateAccountParams contains all the parameters to send to the API endpoint

for the create account operation.

Typically these are written to a http.Request.

func NewCreateAccountParams

func NewCreateAccountParams() *CreateAccountParams

NewCreateAccountParams creates a new CreateAccountParams 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 NewCreateAccountParamsWithContext

func NewCreateAccountParamsWithContext(ctx context.Context) *CreateAccountParams

NewCreateAccountParamsWithContext creates a new CreateAccountParams object with the ability to set a context for a request.

func NewCreateAccountParamsWithHTTPClient

func NewCreateAccountParamsWithHTTPClient(client *http.Client) *CreateAccountParams

NewCreateAccountParamsWithHTTPClient creates a new CreateAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAccountParamsWithTimeout

func NewCreateAccountParamsWithTimeout(timeout time.Duration) *CreateAccountParams

NewCreateAccountParamsWithTimeout creates a new CreateAccountParams object with the ability to set a timeout on a request.

func (*CreateAccountParams) SetBody

func (o *CreateAccountParams) SetBody(body *kbmodel.Account)

SetBody adds the body to the create account params

func (*CreateAccountParams) SetContext

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

SetContext adds the context to the create account params

func (*CreateAccountParams) SetDefaults

func (o *CreateAccountParams) SetDefaults()

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

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

func (*CreateAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create account params

func (*CreateAccountParams) SetTimeout

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

SetTimeout adds the timeout to the create account params

func (*CreateAccountParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create account params

func (*CreateAccountParams) SetXKillbillCreatedBy

func (o *CreateAccountParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create account params

func (*CreateAccountParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create account params

func (*CreateAccountParams) WithBody

WithBody adds the body to the create account params

func (*CreateAccountParams) WithContext

WithContext adds the context to the create account params

func (*CreateAccountParams) WithDefaults

func (o *CreateAccountParams) WithDefaults() *CreateAccountParams

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

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

func (*CreateAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create account params

func (*CreateAccountParams) WithTimeout

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

WithTimeout adds the timeout to the create account params

func (*CreateAccountParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create account params

func (*CreateAccountParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create account params

func (*CreateAccountParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create account params

func (*CreateAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateAccountReader

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

CreateAccountReader is a Reader for the CreateAccount structure.

func (*CreateAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAccountTagsBadRequest

type CreateAccountTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewCreateAccountTagsBadRequest

func NewCreateAccountTagsBadRequest() *CreateAccountTagsBadRequest

NewCreateAccountTagsBadRequest creates a CreateAccountTagsBadRequest with default headers values

func (*CreateAccountTagsBadRequest) Code

func (o *CreateAccountTagsBadRequest) Code() int

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

func (*CreateAccountTagsBadRequest) Error

func (*CreateAccountTagsBadRequest) IsClientError

func (o *CreateAccountTagsBadRequest) IsClientError() bool

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

func (*CreateAccountTagsBadRequest) IsCode

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

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

func (*CreateAccountTagsBadRequest) IsRedirect

func (o *CreateAccountTagsBadRequest) IsRedirect() bool

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

func (*CreateAccountTagsBadRequest) IsServerError

func (o *CreateAccountTagsBadRequest) IsServerError() bool

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

func (*CreateAccountTagsBadRequest) IsSuccess

func (o *CreateAccountTagsBadRequest) IsSuccess() bool

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

func (*CreateAccountTagsBadRequest) String

func (o *CreateAccountTagsBadRequest) String() string

type CreateAccountTagsCreated

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

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

Tag created successfully

func NewCreateAccountTagsCreated

func NewCreateAccountTagsCreated() *CreateAccountTagsCreated

NewCreateAccountTagsCreated creates a CreateAccountTagsCreated with default headers values

func (*CreateAccountTagsCreated) Code

func (o *CreateAccountTagsCreated) Code() int

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

func (*CreateAccountTagsCreated) Error

func (o *CreateAccountTagsCreated) Error() string

func (*CreateAccountTagsCreated) GetPayload

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

func (*CreateAccountTagsCreated) IsClientError

func (o *CreateAccountTagsCreated) IsClientError() bool

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

func (*CreateAccountTagsCreated) IsCode

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

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

func (*CreateAccountTagsCreated) IsRedirect

func (o *CreateAccountTagsCreated) IsRedirect() bool

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

func (*CreateAccountTagsCreated) IsServerError

func (o *CreateAccountTagsCreated) IsServerError() bool

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

func (*CreateAccountTagsCreated) IsSuccess

func (o *CreateAccountTagsCreated) IsSuccess() bool

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

func (*CreateAccountTagsCreated) String

func (o *CreateAccountTagsCreated) String() string

type CreateAccountTagsParams

type CreateAccountTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body []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
}

CreateAccountTagsParams contains all the parameters to send to the API endpoint

for the create account tags operation.

Typically these are written to a http.Request.

func NewCreateAccountTagsParams

func NewCreateAccountTagsParams() *CreateAccountTagsParams

NewCreateAccountTagsParams creates a new CreateAccountTagsParams 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 NewCreateAccountTagsParamsWithContext

func NewCreateAccountTagsParamsWithContext(ctx context.Context) *CreateAccountTagsParams

NewCreateAccountTagsParamsWithContext creates a new CreateAccountTagsParams object with the ability to set a context for a request.

func NewCreateAccountTagsParamsWithHTTPClient

func NewCreateAccountTagsParamsWithHTTPClient(client *http.Client) *CreateAccountTagsParams

NewCreateAccountTagsParamsWithHTTPClient creates a new CreateAccountTagsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAccountTagsParamsWithTimeout

func NewCreateAccountTagsParamsWithTimeout(timeout time.Duration) *CreateAccountTagsParams

NewCreateAccountTagsParamsWithTimeout creates a new CreateAccountTagsParams object with the ability to set a timeout on a request.

func (*CreateAccountTagsParams) SetAccountID

func (o *CreateAccountTagsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the create account tags params

func (*CreateAccountTagsParams) SetBody

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

SetBody adds the body to the create account tags params

func (*CreateAccountTagsParams) SetContext

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

SetContext adds the context to the create account tags params

func (*CreateAccountTagsParams) SetDefaults

func (o *CreateAccountTagsParams) SetDefaults()

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

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

func (*CreateAccountTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create account tags params

func (*CreateAccountTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create account tags params

func (*CreateAccountTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create account tags params

func (*CreateAccountTagsParams) SetXKillbillCreatedBy

func (o *CreateAccountTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create account tags params

func (*CreateAccountTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create account tags params

func (*CreateAccountTagsParams) WithAccountID

func (o *CreateAccountTagsParams) WithAccountID(accountID strfmt.UUID) *CreateAccountTagsParams

WithAccountID adds the accountID to the create account tags params

func (*CreateAccountTagsParams) WithBody

WithBody adds the body to the create account tags params

func (*CreateAccountTagsParams) WithContext

WithContext adds the context to the create account tags params

func (*CreateAccountTagsParams) WithDefaults

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

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

func (*CreateAccountTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create account tags params

func (*CreateAccountTagsParams) WithTimeout

WithTimeout adds the timeout to the create account tags params

func (*CreateAccountTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create account tags params

func (*CreateAccountTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create account tags params

func (*CreateAccountTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create account tags params

func (*CreateAccountTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAccountTagsReader

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

CreateAccountTagsReader is a Reader for the CreateAccountTags structure.

func (*CreateAccountTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePaymentMethodBadRequest

type CreatePaymentMethodBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewCreatePaymentMethodBadRequest

func NewCreatePaymentMethodBadRequest() *CreatePaymentMethodBadRequest

NewCreatePaymentMethodBadRequest creates a CreatePaymentMethodBadRequest with default headers values

func (*CreatePaymentMethodBadRequest) Code

Code gets the status code for the create payment method bad request response

func (*CreatePaymentMethodBadRequest) Error

func (*CreatePaymentMethodBadRequest) IsClientError

func (o *CreatePaymentMethodBadRequest) IsClientError() bool

IsClientError returns true when this create payment method bad request response has a 4xx status code

func (*CreatePaymentMethodBadRequest) IsCode

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

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

func (*CreatePaymentMethodBadRequest) IsRedirect

func (o *CreatePaymentMethodBadRequest) IsRedirect() bool

IsRedirect returns true when this create payment method bad request response has a 3xx status code

func (*CreatePaymentMethodBadRequest) IsServerError

func (o *CreatePaymentMethodBadRequest) IsServerError() bool

IsServerError returns true when this create payment method bad request response has a 5xx status code

func (*CreatePaymentMethodBadRequest) IsSuccess

func (o *CreatePaymentMethodBadRequest) IsSuccess() bool

IsSuccess returns true when this create payment method bad request response has a 2xx status code

func (*CreatePaymentMethodBadRequest) String

type CreatePaymentMethodCreated

type CreatePaymentMethodCreated struct {
	Payload      *kbmodel.PaymentMethod
	HttpResponse runtime.ClientResponse
}

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

Payment method created

func NewCreatePaymentMethodCreated

func NewCreatePaymentMethodCreated() *CreatePaymentMethodCreated

NewCreatePaymentMethodCreated creates a CreatePaymentMethodCreated with default headers values

func (*CreatePaymentMethodCreated) Code

func (o *CreatePaymentMethodCreated) Code() int

Code gets the status code for the create payment method created response

func (*CreatePaymentMethodCreated) Error

func (*CreatePaymentMethodCreated) GetPayload

func (*CreatePaymentMethodCreated) IsClientError

func (o *CreatePaymentMethodCreated) IsClientError() bool

IsClientError returns true when this create payment method created response has a 4xx status code

func (*CreatePaymentMethodCreated) IsCode

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

IsCode returns true when this create payment method created response a status code equal to that given

func (*CreatePaymentMethodCreated) IsRedirect

func (o *CreatePaymentMethodCreated) IsRedirect() bool

IsRedirect returns true when this create payment method created response has a 3xx status code

func (*CreatePaymentMethodCreated) IsServerError

func (o *CreatePaymentMethodCreated) IsServerError() bool

IsServerError returns true when this create payment method created response has a 5xx status code

func (*CreatePaymentMethodCreated) IsSuccess

func (o *CreatePaymentMethodCreated) IsSuccess() bool

IsSuccess returns true when this create payment method created response has a 2xx status code

func (*CreatePaymentMethodCreated) String

func (o *CreatePaymentMethodCreated) String() string

type CreatePaymentMethodNotFound

type CreatePaymentMethodNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewCreatePaymentMethodNotFound

func NewCreatePaymentMethodNotFound() *CreatePaymentMethodNotFound

NewCreatePaymentMethodNotFound creates a CreatePaymentMethodNotFound with default headers values

func (*CreatePaymentMethodNotFound) Code

func (o *CreatePaymentMethodNotFound) Code() int

Code gets the status code for the create payment method not found response

func (*CreatePaymentMethodNotFound) Error

func (*CreatePaymentMethodNotFound) IsClientError

func (o *CreatePaymentMethodNotFound) IsClientError() bool

IsClientError returns true when this create payment method not found response has a 4xx status code

func (*CreatePaymentMethodNotFound) IsCode

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

IsCode returns true when this create payment method not found response a status code equal to that given

func (*CreatePaymentMethodNotFound) IsRedirect

func (o *CreatePaymentMethodNotFound) IsRedirect() bool

IsRedirect returns true when this create payment method not found response has a 3xx status code

func (*CreatePaymentMethodNotFound) IsServerError

func (o *CreatePaymentMethodNotFound) IsServerError() bool

IsServerError returns true when this create payment method not found response has a 5xx status code

func (*CreatePaymentMethodNotFound) IsSuccess

func (o *CreatePaymentMethodNotFound) IsSuccess() bool

IsSuccess returns true when this create payment method not found response has a 2xx status code

func (*CreatePaymentMethodNotFound) String

func (o *CreatePaymentMethodNotFound) String() string

type CreatePaymentMethodParams

type CreatePaymentMethodParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.PaymentMethod

	// ControlPluginName.
	ControlPluginName []string

	// IsDefault.
	IsDefault *bool

	// PayAllUnpaidInvoices.
	PayAllUnpaidInvoices *bool

	// PluginProperty.
	PluginProperty []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
}

CreatePaymentMethodParams contains all the parameters to send to the API endpoint

for the create payment method operation.

Typically these are written to a http.Request.

func NewCreatePaymentMethodParams

func NewCreatePaymentMethodParams() *CreatePaymentMethodParams

NewCreatePaymentMethodParams creates a new CreatePaymentMethodParams 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 NewCreatePaymentMethodParamsWithContext

func NewCreatePaymentMethodParamsWithContext(ctx context.Context) *CreatePaymentMethodParams

NewCreatePaymentMethodParamsWithContext creates a new CreatePaymentMethodParams object with the ability to set a context for a request.

func NewCreatePaymentMethodParamsWithHTTPClient

func NewCreatePaymentMethodParamsWithHTTPClient(client *http.Client) *CreatePaymentMethodParams

NewCreatePaymentMethodParamsWithHTTPClient creates a new CreatePaymentMethodParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePaymentMethodParamsWithTimeout

func NewCreatePaymentMethodParamsWithTimeout(timeout time.Duration) *CreatePaymentMethodParams

NewCreatePaymentMethodParamsWithTimeout creates a new CreatePaymentMethodParams object with the ability to set a timeout on a request.

func (*CreatePaymentMethodParams) SetAccountID

func (o *CreatePaymentMethodParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the create payment method params

func (*CreatePaymentMethodParams) SetBody

SetBody adds the body to the create payment method params

func (*CreatePaymentMethodParams) SetContext

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

SetContext adds the context to the create payment method params

func (*CreatePaymentMethodParams) SetControlPluginName

func (o *CreatePaymentMethodParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the create payment method params

func (*CreatePaymentMethodParams) SetDefaults

func (o *CreatePaymentMethodParams) SetDefaults()

SetDefaults hydrates default values in the create payment method params (not the query body).

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

func (*CreatePaymentMethodParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create payment method params

func (*CreatePaymentMethodParams) SetIsDefault

func (o *CreatePaymentMethodParams) SetIsDefault(isDefault *bool)

SetIsDefault adds the isDefault to the create payment method params

func (*CreatePaymentMethodParams) SetPayAllUnpaidInvoices

func (o *CreatePaymentMethodParams) SetPayAllUnpaidInvoices(payAllUnpaidInvoices *bool)

SetPayAllUnpaidInvoices adds the payAllUnpaidInvoices to the create payment method params

func (*CreatePaymentMethodParams) SetPluginProperty

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

SetPluginProperty adds the pluginProperty to the create payment method params

func (*CreatePaymentMethodParams) SetTimeout

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

SetTimeout adds the timeout to the create payment method params

func (*CreatePaymentMethodParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the create payment method params

func (*CreatePaymentMethodParams) SetXKillbillCreatedBy

func (o *CreatePaymentMethodParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment method params

func (*CreatePaymentMethodParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the create payment method params

func (*CreatePaymentMethodParams) WithAccountID

func (o *CreatePaymentMethodParams) WithAccountID(accountID strfmt.UUID) *CreatePaymentMethodParams

WithAccountID adds the accountID to the create payment method params

func (*CreatePaymentMethodParams) WithBody

WithBody adds the body to the create payment method params

func (*CreatePaymentMethodParams) WithContext

WithContext adds the context to the create payment method params

func (*CreatePaymentMethodParams) WithControlPluginName

func (o *CreatePaymentMethodParams) WithControlPluginName(controlPluginName []string) *CreatePaymentMethodParams

WithControlPluginName adds the controlPluginName to the create payment method params

func (*CreatePaymentMethodParams) WithDefaults

WithDefaults hydrates default values in the create payment method params (not the query body).

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

func (*CreatePaymentMethodParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create payment method params

func (*CreatePaymentMethodParams) WithIsDefault

func (o *CreatePaymentMethodParams) WithIsDefault(isDefault *bool) *CreatePaymentMethodParams

WithIsDefault adds the isDefault to the create payment method params

func (*CreatePaymentMethodParams) WithPayAllUnpaidInvoices

func (o *CreatePaymentMethodParams) WithPayAllUnpaidInvoices(payAllUnpaidInvoices *bool) *CreatePaymentMethodParams

WithPayAllUnpaidInvoices adds the payAllUnpaidInvoices to the create payment method params

func (*CreatePaymentMethodParams) WithPluginProperty

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

WithPluginProperty adds the pluginProperty to the create payment method params

func (*CreatePaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the create payment method params

func (*CreatePaymentMethodParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the create payment method params

func (*CreatePaymentMethodParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create payment method params

func (*CreatePaymentMethodParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the create payment method params

func (*CreatePaymentMethodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePaymentMethodReader

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

CreatePaymentMethodReader is a Reader for the CreatePaymentMethod structure.

func (*CreatePaymentMethodReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAccountCustomFieldsBadRequest

type DeleteAccountCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewDeleteAccountCustomFieldsBadRequest

func NewDeleteAccountCustomFieldsBadRequest() *DeleteAccountCustomFieldsBadRequest

NewDeleteAccountCustomFieldsBadRequest creates a DeleteAccountCustomFieldsBadRequest with default headers values

func (*DeleteAccountCustomFieldsBadRequest) Code

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

func (*DeleteAccountCustomFieldsBadRequest) Error

func (*DeleteAccountCustomFieldsBadRequest) IsClientError

func (o *DeleteAccountCustomFieldsBadRequest) IsClientError() bool

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

func (*DeleteAccountCustomFieldsBadRequest) IsCode

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

func (*DeleteAccountCustomFieldsBadRequest) IsRedirect

func (o *DeleteAccountCustomFieldsBadRequest) IsRedirect() bool

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

func (*DeleteAccountCustomFieldsBadRequest) IsServerError

func (o *DeleteAccountCustomFieldsBadRequest) IsServerError() bool

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

func (*DeleteAccountCustomFieldsBadRequest) IsSuccess

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

func (*DeleteAccountCustomFieldsBadRequest) String

type DeleteAccountCustomFieldsNoContent

type DeleteAccountCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewDeleteAccountCustomFieldsNoContent

func NewDeleteAccountCustomFieldsNoContent() *DeleteAccountCustomFieldsNoContent

NewDeleteAccountCustomFieldsNoContent creates a DeleteAccountCustomFieldsNoContent with default headers values

func (*DeleteAccountCustomFieldsNoContent) Code

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

func (*DeleteAccountCustomFieldsNoContent) Error

func (*DeleteAccountCustomFieldsNoContent) IsClientError

func (o *DeleteAccountCustomFieldsNoContent) IsClientError() bool

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

func (*DeleteAccountCustomFieldsNoContent) IsCode

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

func (*DeleteAccountCustomFieldsNoContent) IsRedirect

func (o *DeleteAccountCustomFieldsNoContent) IsRedirect() bool

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

func (*DeleteAccountCustomFieldsNoContent) IsServerError

func (o *DeleteAccountCustomFieldsNoContent) IsServerError() bool

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

func (*DeleteAccountCustomFieldsNoContent) IsSuccess

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

func (*DeleteAccountCustomFieldsNoContent) String

type DeleteAccountCustomFieldsParams

type DeleteAccountCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID 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
}

DeleteAccountCustomFieldsParams contains all the parameters to send to the API endpoint

for the delete account custom fields operation.

Typically these are written to a http.Request.

func NewDeleteAccountCustomFieldsParams

func NewDeleteAccountCustomFieldsParams() *DeleteAccountCustomFieldsParams

NewDeleteAccountCustomFieldsParams creates a new DeleteAccountCustomFieldsParams 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 NewDeleteAccountCustomFieldsParamsWithContext

func NewDeleteAccountCustomFieldsParamsWithContext(ctx context.Context) *DeleteAccountCustomFieldsParams

NewDeleteAccountCustomFieldsParamsWithContext creates a new DeleteAccountCustomFieldsParams object with the ability to set a context for a request.

func NewDeleteAccountCustomFieldsParamsWithHTTPClient

func NewDeleteAccountCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteAccountCustomFieldsParams

NewDeleteAccountCustomFieldsParamsWithHTTPClient creates a new DeleteAccountCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAccountCustomFieldsParamsWithTimeout

func NewDeleteAccountCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteAccountCustomFieldsParams

NewDeleteAccountCustomFieldsParamsWithTimeout creates a new DeleteAccountCustomFieldsParams object with the ability to set a timeout on a request.

func (*DeleteAccountCustomFieldsParams) SetAccountID

func (o *DeleteAccountCustomFieldsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetContext

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

SetContext adds the context to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetCustomField

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

SetCustomField adds the customField to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetDefaults

func (o *DeleteAccountCustomFieldsParams) SetDefaults()

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

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

func (*DeleteAccountCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetXKillbillCreatedBy

func (o *DeleteAccountCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithAccountID

WithAccountID adds the accountID to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithContext

WithContext adds the context to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithCustomField

WithCustomField adds the customField to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithDefaults

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

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

func (*DeleteAccountCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete account custom fields params

func (*DeleteAccountCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccountCustomFieldsReader

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

DeleteAccountCustomFieldsReader is a Reader for the DeleteAccountCustomFields structure.

func (*DeleteAccountCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAccountTagsBadRequest

type DeleteAccountTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied or account does not have a default payment method (AUTO_PAY_OFF tag only)

func NewDeleteAccountTagsBadRequest

func NewDeleteAccountTagsBadRequest() *DeleteAccountTagsBadRequest

NewDeleteAccountTagsBadRequest creates a DeleteAccountTagsBadRequest with default headers values

func (*DeleteAccountTagsBadRequest) Code

func (o *DeleteAccountTagsBadRequest) Code() int

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

func (*DeleteAccountTagsBadRequest) Error

func (*DeleteAccountTagsBadRequest) IsClientError

func (o *DeleteAccountTagsBadRequest) IsClientError() bool

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

func (*DeleteAccountTagsBadRequest) IsCode

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

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

func (*DeleteAccountTagsBadRequest) IsRedirect

func (o *DeleteAccountTagsBadRequest) IsRedirect() bool

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

func (*DeleteAccountTagsBadRequest) IsServerError

func (o *DeleteAccountTagsBadRequest) IsServerError() bool

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

func (*DeleteAccountTagsBadRequest) IsSuccess

func (o *DeleteAccountTagsBadRequest) IsSuccess() bool

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

func (*DeleteAccountTagsBadRequest) String

func (o *DeleteAccountTagsBadRequest) String() string

type DeleteAccountTagsNoContent

type DeleteAccountTagsNoContent struct {
	HttpResponse runtime.ClientResponse
}

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

Successful operation

func NewDeleteAccountTagsNoContent

func NewDeleteAccountTagsNoContent() *DeleteAccountTagsNoContent

NewDeleteAccountTagsNoContent creates a DeleteAccountTagsNoContent with default headers values

func (*DeleteAccountTagsNoContent) Code

func (o *DeleteAccountTagsNoContent) Code() int

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

func (*DeleteAccountTagsNoContent) Error

func (*DeleteAccountTagsNoContent) IsClientError

func (o *DeleteAccountTagsNoContent) IsClientError() bool

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

func (*DeleteAccountTagsNoContent) IsCode

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

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

func (*DeleteAccountTagsNoContent) IsRedirect

func (o *DeleteAccountTagsNoContent) IsRedirect() bool

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

func (*DeleteAccountTagsNoContent) IsServerError

func (o *DeleteAccountTagsNoContent) IsServerError() bool

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

func (*DeleteAccountTagsNoContent) IsSuccess

func (o *DeleteAccountTagsNoContent) IsSuccess() bool

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

func (*DeleteAccountTagsNoContent) String

func (o *DeleteAccountTagsNoContent) String() string

type DeleteAccountTagsParams

type DeleteAccountTagsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID 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
}

DeleteAccountTagsParams contains all the parameters to send to the API endpoint

for the delete account tags operation.

Typically these are written to a http.Request.

func NewDeleteAccountTagsParams

func NewDeleteAccountTagsParams() *DeleteAccountTagsParams

NewDeleteAccountTagsParams creates a new DeleteAccountTagsParams 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 NewDeleteAccountTagsParamsWithContext

func NewDeleteAccountTagsParamsWithContext(ctx context.Context) *DeleteAccountTagsParams

NewDeleteAccountTagsParamsWithContext creates a new DeleteAccountTagsParams object with the ability to set a context for a request.

func NewDeleteAccountTagsParamsWithHTTPClient

func NewDeleteAccountTagsParamsWithHTTPClient(client *http.Client) *DeleteAccountTagsParams

NewDeleteAccountTagsParamsWithHTTPClient creates a new DeleteAccountTagsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAccountTagsParamsWithTimeout

func NewDeleteAccountTagsParamsWithTimeout(timeout time.Duration) *DeleteAccountTagsParams

NewDeleteAccountTagsParamsWithTimeout creates a new DeleteAccountTagsParams object with the ability to set a timeout on a request.

func (*DeleteAccountTagsParams) SetAccountID

func (o *DeleteAccountTagsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the delete account tags params

func (*DeleteAccountTagsParams) SetContext

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

SetContext adds the context to the delete account tags params

func (*DeleteAccountTagsParams) SetDefaults

func (o *DeleteAccountTagsParams) SetDefaults()

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

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

func (*DeleteAccountTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete account tags params

func (*DeleteAccountTagsParams) SetTagDef

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

SetTagDef adds the tagDef to the delete account tags params

func (*DeleteAccountTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete account tags params

func (*DeleteAccountTagsParams) SetXKillbillComment

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

SetXKillbillComment adds the xKillbillComment to the delete account tags params

func (*DeleteAccountTagsParams) SetXKillbillCreatedBy

func (o *DeleteAccountTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete account tags params

func (*DeleteAccountTagsParams) SetXKillbillReason

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

SetXKillbillReason adds the xKillbillReason to the delete account tags params

func (*DeleteAccountTagsParams) WithAccountID

func (o *DeleteAccountTagsParams) WithAccountID(accountID strfmt.UUID) *DeleteAccountTagsParams

WithAccountID adds the accountID to the delete account tags params

func (*DeleteAccountTagsParams) WithContext

WithContext adds the context to the delete account tags params

func (*DeleteAccountTagsParams) WithDefaults

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

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

func (*DeleteAccountTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete account tags params

func (*DeleteAccountTagsParams) WithTagDef

WithTagDef adds the tagDef to the delete account tags params

func (*DeleteAccountTagsParams) WithTimeout

WithTimeout adds the timeout to the delete account tags params

func (*DeleteAccountTagsParams) WithXKillbillComment

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

WithXKillbillComment adds the xKillbillComment to the delete account tags params

func (*DeleteAccountTagsParams) WithXKillbillCreatedBy

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

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete account tags params

func (*DeleteAccountTagsParams) WithXKillbillReason

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

WithXKillbillReason adds the xKillbillReason to the delete account tags params

func (*DeleteAccountTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAccountTagsReader

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

DeleteAccountTagsReader is a Reader for the DeleteAccountTags structure.

func (*DeleteAccountTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountAuditLogsNotFound

type GetAccountAuditLogsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountAuditLogsNotFound

func NewGetAccountAuditLogsNotFound() *GetAccountAuditLogsNotFound

NewGetAccountAuditLogsNotFound creates a GetAccountAuditLogsNotFound with default headers values

func (*GetAccountAuditLogsNotFound) Code

func (o *GetAccountAuditLogsNotFound) Code() int

Code gets the status code for the get account audit logs not found response

func (*GetAccountAuditLogsNotFound) Error

func (*GetAccountAuditLogsNotFound) IsClientError

func (o *GetAccountAuditLogsNotFound) IsClientError() bool

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

func (*GetAccountAuditLogsNotFound) IsCode

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

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

func (*GetAccountAuditLogsNotFound) IsRedirect

func (o *GetAccountAuditLogsNotFound) IsRedirect() bool

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

func (*GetAccountAuditLogsNotFound) IsServerError

func (o *GetAccountAuditLogsNotFound) IsServerError() bool

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

func (*GetAccountAuditLogsNotFound) IsSuccess

func (o *GetAccountAuditLogsNotFound) IsSuccess() bool

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

func (*GetAccountAuditLogsNotFound) String

func (o *GetAccountAuditLogsNotFound) String() string

type GetAccountAuditLogsOK

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

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

successful operation

func NewGetAccountAuditLogsOK

func NewGetAccountAuditLogsOK() *GetAccountAuditLogsOK

NewGetAccountAuditLogsOK creates a GetAccountAuditLogsOK with default headers values

func (*GetAccountAuditLogsOK) Code

func (o *GetAccountAuditLogsOK) Code() int

Code gets the status code for the get account audit logs o k response

func (*GetAccountAuditLogsOK) Error

func (o *GetAccountAuditLogsOK) Error() string

func (*GetAccountAuditLogsOK) GetPayload

func (o *GetAccountAuditLogsOK) GetPayload() []*kbmodel.AuditLog

func (*GetAccountAuditLogsOK) IsClientError

func (o *GetAccountAuditLogsOK) IsClientError() bool

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

func (*GetAccountAuditLogsOK) IsCode

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

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

func (*GetAccountAuditLogsOK) IsRedirect

func (o *GetAccountAuditLogsOK) IsRedirect() bool

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

func (*GetAccountAuditLogsOK) IsServerError

func (o *GetAccountAuditLogsOK) IsServerError() bool

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

func (*GetAccountAuditLogsOK) IsSuccess

func (o *GetAccountAuditLogsOK) IsSuccess() bool

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

func (*GetAccountAuditLogsOK) String

func (o *GetAccountAuditLogsOK) String() string

type GetAccountAuditLogsParams

type GetAccountAuditLogsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID 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
}

GetAccountAuditLogsParams contains all the parameters to send to the API endpoint

for the get account audit logs operation.

Typically these are written to a http.Request.

func NewGetAccountAuditLogsParams

func NewGetAccountAuditLogsParams() *GetAccountAuditLogsParams

NewGetAccountAuditLogsParams creates a new GetAccountAuditLogsParams 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 NewGetAccountAuditLogsParamsWithContext

func NewGetAccountAuditLogsParamsWithContext(ctx context.Context) *GetAccountAuditLogsParams

NewGetAccountAuditLogsParamsWithContext creates a new GetAccountAuditLogsParams object with the ability to set a context for a request.

func NewGetAccountAuditLogsParamsWithHTTPClient

func NewGetAccountAuditLogsParamsWithHTTPClient(client *http.Client) *GetAccountAuditLogsParams

NewGetAccountAuditLogsParamsWithHTTPClient creates a new GetAccountAuditLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountAuditLogsParamsWithTimeout

func NewGetAccountAuditLogsParamsWithTimeout(timeout time.Duration) *GetAccountAuditLogsParams

NewGetAccountAuditLogsParamsWithTimeout creates a new GetAccountAuditLogsParams object with the ability to set a timeout on a request.

func (*GetAccountAuditLogsParams) SetAccountID

func (o *GetAccountAuditLogsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account audit logs params

func (*GetAccountAuditLogsParams) SetContext

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

SetContext adds the context to the get account audit logs params

func (*GetAccountAuditLogsParams) SetDefaults

func (o *GetAccountAuditLogsParams) SetDefaults()

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

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

func (*GetAccountAuditLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account audit logs params

func (*GetAccountAuditLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get account audit logs params

func (*GetAccountAuditLogsParams) WithAccountID

func (o *GetAccountAuditLogsParams) WithAccountID(accountID strfmt.UUID) *GetAccountAuditLogsParams

WithAccountID adds the accountID to the get account audit logs params

func (*GetAccountAuditLogsParams) WithContext

WithContext adds the context to the get account audit logs params

func (*GetAccountAuditLogsParams) WithDefaults

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

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

func (*GetAccountAuditLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account audit logs params

func (*GetAccountAuditLogsParams) WithTimeout

WithTimeout adds the timeout to the get account audit logs params

func (*GetAccountAuditLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountAuditLogsReader

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

GetAccountAuditLogsReader is a Reader for the GetAccountAuditLogs structure.

func (*GetAccountAuditLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountAuditLogsWithHistoryNotFound

type GetAccountAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountAuditLogsWithHistoryNotFound

func NewGetAccountAuditLogsWithHistoryNotFound() *GetAccountAuditLogsWithHistoryNotFound

NewGetAccountAuditLogsWithHistoryNotFound creates a GetAccountAuditLogsWithHistoryNotFound with default headers values

func (*GetAccountAuditLogsWithHistoryNotFound) Code

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

func (*GetAccountAuditLogsWithHistoryNotFound) Error

func (*GetAccountAuditLogsWithHistoryNotFound) IsClientError

func (o *GetAccountAuditLogsWithHistoryNotFound) IsClientError() bool

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

func (*GetAccountAuditLogsWithHistoryNotFound) IsCode

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

func (*GetAccountAuditLogsWithHistoryNotFound) IsRedirect

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

func (*GetAccountAuditLogsWithHistoryNotFound) IsServerError

func (o *GetAccountAuditLogsWithHistoryNotFound) IsServerError() bool

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

func (*GetAccountAuditLogsWithHistoryNotFound) IsSuccess

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

func (*GetAccountAuditLogsWithHistoryNotFound) String

type GetAccountAuditLogsWithHistoryOK

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

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

successful operation

func NewGetAccountAuditLogsWithHistoryOK

func NewGetAccountAuditLogsWithHistoryOK() *GetAccountAuditLogsWithHistoryOK

NewGetAccountAuditLogsWithHistoryOK creates a GetAccountAuditLogsWithHistoryOK with default headers values

func (*GetAccountAuditLogsWithHistoryOK) Code

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

func (*GetAccountAuditLogsWithHistoryOK) Error

func (*GetAccountAuditLogsWithHistoryOK) GetPayload

func (*GetAccountAuditLogsWithHistoryOK) IsClientError

func (o *GetAccountAuditLogsWithHistoryOK) IsClientError() bool

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

func (*GetAccountAuditLogsWithHistoryOK) IsCode

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

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

func (*GetAccountAuditLogsWithHistoryOK) IsRedirect

func (o *GetAccountAuditLogsWithHistoryOK) IsRedirect() bool

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

func (*GetAccountAuditLogsWithHistoryOK) IsServerError

func (o *GetAccountAuditLogsWithHistoryOK) IsServerError() bool

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

func (*GetAccountAuditLogsWithHistoryOK) IsSuccess

func (o *GetAccountAuditLogsWithHistoryOK) IsSuccess() bool

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

func (*GetAccountAuditLogsWithHistoryOK) String

type GetAccountAuditLogsWithHistoryParams

type GetAccountAuditLogsWithHistoryParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID 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
}

GetAccountAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get account audit logs with history operation.

Typically these are written to a http.Request.

func NewGetAccountAuditLogsWithHistoryParams

func NewGetAccountAuditLogsWithHistoryParams() *GetAccountAuditLogsWithHistoryParams

NewGetAccountAuditLogsWithHistoryParams creates a new GetAccountAuditLogsWithHistoryParams 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 NewGetAccountAuditLogsWithHistoryParamsWithContext

func NewGetAccountAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetAccountAuditLogsWithHistoryParams

NewGetAccountAuditLogsWithHistoryParamsWithContext creates a new GetAccountAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetAccountAuditLogsWithHistoryParamsWithHTTPClient

func NewGetAccountAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetAccountAuditLogsWithHistoryParams

NewGetAccountAuditLogsWithHistoryParamsWithHTTPClient creates a new GetAccountAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountAuditLogsWithHistoryParamsWithTimeout

func NewGetAccountAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetAccountAuditLogsWithHistoryParams

NewGetAccountAuditLogsWithHistoryParamsWithTimeout creates a new GetAccountAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetAccountAuditLogsWithHistoryParams) SetAccountID

func (o *GetAccountAuditLogsWithHistoryParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) SetContext

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

func (*GetAccountAuditLogsWithHistoryParams) SetDefaults

func (o *GetAccountAuditLogsWithHistoryParams) SetDefaults()

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

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

func (*GetAccountAuditLogsWithHistoryParams) SetHTTPClient

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

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

func (*GetAccountAuditLogsWithHistoryParams) SetTimeout

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

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

func (*GetAccountAuditLogsWithHistoryParams) WithAccountID

WithAccountID adds the accountID to the get account audit logs with history params

func (*GetAccountAuditLogsWithHistoryParams) WithContext

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

func (*GetAccountAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetAccountAuditLogsWithHistoryParams) WithHTTPClient

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

func (*GetAccountAuditLogsWithHistoryParams) WithTimeout

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

func (*GetAccountAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountAuditLogsWithHistoryReader

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

GetAccountAuditLogsWithHistoryReader is a Reader for the GetAccountAuditLogsWithHistory structure.

func (*GetAccountAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountBadRequest

type GetAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetAccountBadRequest

func NewGetAccountBadRequest() *GetAccountBadRequest

NewGetAccountBadRequest creates a GetAccountBadRequest with default headers values

func (*GetAccountBadRequest) Code

func (o *GetAccountBadRequest) Code() int

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

func (*GetAccountBadRequest) Error

func (o *GetAccountBadRequest) Error() string

func (*GetAccountBadRequest) IsClientError

func (o *GetAccountBadRequest) IsClientError() bool

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

func (*GetAccountBadRequest) IsCode

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

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

func (*GetAccountBadRequest) IsRedirect

func (o *GetAccountBadRequest) IsRedirect() bool

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

func (*GetAccountBadRequest) IsServerError

func (o *GetAccountBadRequest) IsServerError() bool

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

func (*GetAccountBadRequest) IsSuccess

func (o *GetAccountBadRequest) IsSuccess() bool

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

func (*GetAccountBadRequest) String

func (o *GetAccountBadRequest) String() string

type GetAccountBundlesBadRequest

type GetAccountBundlesBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetAccountBundlesBadRequest

func NewGetAccountBundlesBadRequest() *GetAccountBundlesBadRequest

NewGetAccountBundlesBadRequest creates a GetAccountBundlesBadRequest with default headers values

func (*GetAccountBundlesBadRequest) Code

func (o *GetAccountBundlesBadRequest) Code() int

Code gets the status code for the get account bundles bad request response

func (*GetAccountBundlesBadRequest) Error

func (*GetAccountBundlesBadRequest) IsClientError

func (o *GetAccountBundlesBadRequest) IsClientError() bool

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

func (*GetAccountBundlesBadRequest) IsCode

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

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

func (*GetAccountBundlesBadRequest) IsRedirect

func (o *GetAccountBundlesBadRequest) IsRedirect() bool

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

func (*GetAccountBundlesBadRequest) IsServerError

func (o *GetAccountBundlesBadRequest) IsServerError() bool

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

func (*GetAccountBundlesBadRequest) IsSuccess

func (o *GetAccountBundlesBadRequest) IsSuccess() bool

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

func (*GetAccountBundlesBadRequest) String

func (o *GetAccountBundlesBadRequest) String() string

type GetAccountBundlesNotFound

type GetAccountBundlesNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountBundlesNotFound

func NewGetAccountBundlesNotFound() *GetAccountBundlesNotFound

NewGetAccountBundlesNotFound creates a GetAccountBundlesNotFound with default headers values

func (*GetAccountBundlesNotFound) Code

func (o *GetAccountBundlesNotFound) Code() int

Code gets the status code for the get account bundles not found response

func (*GetAccountBundlesNotFound) Error

func (o *GetAccountBundlesNotFound) Error() string

func (*GetAccountBundlesNotFound) IsClientError

func (o *GetAccountBundlesNotFound) IsClientError() bool

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

func (*GetAccountBundlesNotFound) IsCode

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

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

func (*GetAccountBundlesNotFound) IsRedirect

func (o *GetAccountBundlesNotFound) IsRedirect() bool

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

func (*GetAccountBundlesNotFound) IsServerError

func (o *GetAccountBundlesNotFound) IsServerError() bool

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

func (*GetAccountBundlesNotFound) IsSuccess

func (o *GetAccountBundlesNotFound) IsSuccess() bool

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

func (*GetAccountBundlesNotFound) String

func (o *GetAccountBundlesNotFound) String() string

type GetAccountBundlesOK

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

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

successful operation

func NewGetAccountBundlesOK

func NewGetAccountBundlesOK() *GetAccountBundlesOK

NewGetAccountBundlesOK creates a GetAccountBundlesOK with default headers values

func (*GetAccountBundlesOK) Code

func (o *GetAccountBundlesOK) Code() int

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

func (*GetAccountBundlesOK) Error

func (o *GetAccountBundlesOK) Error() string

func (*GetAccountBundlesOK) GetPayload

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

func (*GetAccountBundlesOK) IsClientError

func (o *GetAccountBundlesOK) IsClientError() bool

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

func (*GetAccountBundlesOK) IsCode

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

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

func (*GetAccountBundlesOK) IsRedirect

func (o *GetAccountBundlesOK) IsRedirect() bool

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

func (*GetAccountBundlesOK) IsServerError

func (o *GetAccountBundlesOK) IsServerError() bool

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

func (*GetAccountBundlesOK) IsSuccess

func (o *GetAccountBundlesOK) IsSuccess() bool

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

func (*GetAccountBundlesOK) String

func (o *GetAccountBundlesOK) String() string

type GetAccountBundlesPaginatedBadRequest

type GetAccountBundlesPaginatedBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetAccountBundlesPaginatedBadRequest

func NewGetAccountBundlesPaginatedBadRequest() *GetAccountBundlesPaginatedBadRequest

NewGetAccountBundlesPaginatedBadRequest creates a GetAccountBundlesPaginatedBadRequest with default headers values

func (*GetAccountBundlesPaginatedBadRequest) Code

Code gets the status code for the get account bundles paginated bad request response

func (*GetAccountBundlesPaginatedBadRequest) Error

func (*GetAccountBundlesPaginatedBadRequest) IsClientError

func (o *GetAccountBundlesPaginatedBadRequest) IsClientError() bool

IsClientError returns true when this get account bundles paginated bad request response has a 4xx status code

func (*GetAccountBundlesPaginatedBadRequest) IsCode

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

func (*GetAccountBundlesPaginatedBadRequest) IsRedirect

IsRedirect returns true when this get account bundles paginated bad request response has a 3xx status code

func (*GetAccountBundlesPaginatedBadRequest) IsServerError

func (o *GetAccountBundlesPaginatedBadRequest) IsServerError() bool

IsServerError returns true when this get account bundles paginated bad request response has a 5xx status code

func (*GetAccountBundlesPaginatedBadRequest) IsSuccess

IsSuccess returns true when this get account bundles paginated bad request response has a 2xx status code

func (*GetAccountBundlesPaginatedBadRequest) String

type GetAccountBundlesPaginatedNotFound

type GetAccountBundlesPaginatedNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountBundlesPaginatedNotFound

func NewGetAccountBundlesPaginatedNotFound() *GetAccountBundlesPaginatedNotFound

NewGetAccountBundlesPaginatedNotFound creates a GetAccountBundlesPaginatedNotFound with default headers values

func (*GetAccountBundlesPaginatedNotFound) Code

Code gets the status code for the get account bundles paginated not found response

func (*GetAccountBundlesPaginatedNotFound) Error

func (*GetAccountBundlesPaginatedNotFound) IsClientError

func (o *GetAccountBundlesPaginatedNotFound) IsClientError() bool

IsClientError returns true when this get account bundles paginated not found response has a 4xx status code

func (*GetAccountBundlesPaginatedNotFound) IsCode

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

func (*GetAccountBundlesPaginatedNotFound) IsRedirect

func (o *GetAccountBundlesPaginatedNotFound) IsRedirect() bool

IsRedirect returns true when this get account bundles paginated not found response has a 3xx status code

func (*GetAccountBundlesPaginatedNotFound) IsServerError

func (o *GetAccountBundlesPaginatedNotFound) IsServerError() bool

IsServerError returns true when this get account bundles paginated not found response has a 5xx status code

func (*GetAccountBundlesPaginatedNotFound) IsSuccess

IsSuccess returns true when this get account bundles paginated not found response has a 2xx status code

func (*GetAccountBundlesPaginatedNotFound) String

type GetAccountBundlesPaginatedOK

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

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

successful operation

func NewGetAccountBundlesPaginatedOK

func NewGetAccountBundlesPaginatedOK() *GetAccountBundlesPaginatedOK

NewGetAccountBundlesPaginatedOK creates a GetAccountBundlesPaginatedOK with default headers values

func (*GetAccountBundlesPaginatedOK) Code

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

func (*GetAccountBundlesPaginatedOK) Error

func (*GetAccountBundlesPaginatedOK) GetPayload

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

func (*GetAccountBundlesPaginatedOK) IsClientError

func (o *GetAccountBundlesPaginatedOK) IsClientError() bool

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

func (*GetAccountBundlesPaginatedOK) IsCode

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

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

func (*GetAccountBundlesPaginatedOK) IsRedirect

func (o *GetAccountBundlesPaginatedOK) IsRedirect() bool

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

func (*GetAccountBundlesPaginatedOK) IsServerError

func (o *GetAccountBundlesPaginatedOK) IsServerError() bool

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

func (*GetAccountBundlesPaginatedOK) IsSuccess

func (o *GetAccountBundlesPaginatedOK) IsSuccess() bool

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

func (*GetAccountBundlesPaginatedOK) String

type GetAccountBundlesPaginatedParams

type GetAccountBundlesPaginatedParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// 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
}

GetAccountBundlesPaginatedParams contains all the parameters to send to the API endpoint

for the get account bundles paginated operation.

Typically these are written to a http.Request.

func NewGetAccountBundlesPaginatedParams

func NewGetAccountBundlesPaginatedParams() *GetAccountBundlesPaginatedParams

NewGetAccountBundlesPaginatedParams creates a new GetAccountBundlesPaginatedParams 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 NewGetAccountBundlesPaginatedParamsWithContext

func NewGetAccountBundlesPaginatedParamsWithContext(ctx context.Context) *GetAccountBundlesPaginatedParams

NewGetAccountBundlesPaginatedParamsWithContext creates a new GetAccountBundlesPaginatedParams object with the ability to set a context for a request.

func NewGetAccountBundlesPaginatedParamsWithHTTPClient

func NewGetAccountBundlesPaginatedParamsWithHTTPClient(client *http.Client) *GetAccountBundlesPaginatedParams

NewGetAccountBundlesPaginatedParamsWithHTTPClient creates a new GetAccountBundlesPaginatedParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountBundlesPaginatedParamsWithTimeout

func NewGetAccountBundlesPaginatedParamsWithTimeout(timeout time.Duration) *GetAccountBundlesPaginatedParams

NewGetAccountBundlesPaginatedParamsWithTimeout creates a new GetAccountBundlesPaginatedParams object with the ability to set a timeout on a request.

func (*GetAccountBundlesPaginatedParams) SetAccountID

func (o *GetAccountBundlesPaginatedParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) SetAudit

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

SetAudit adds the audit to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) SetContext

SetContext adds the context to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) SetDefaults

func (o *GetAccountBundlesPaginatedParams) SetDefaults()

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

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

func (*GetAccountBundlesPaginatedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) SetLimit

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

SetLimit adds the limit to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) SetOffset

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

SetOffset adds the offset to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) SetTimeout

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

SetTimeout adds the timeout to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) WithAccountID

WithAccountID adds the accountID to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) WithAudit

WithAudit adds the audit to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) WithContext

WithContext adds the context to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) WithDefaults

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

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

func (*GetAccountBundlesPaginatedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) WithLimit

WithLimit adds the limit to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) WithOffset

WithOffset adds the offset to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) WithTimeout

WithTimeout adds the timeout to the get account bundles paginated params

func (*GetAccountBundlesPaginatedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountBundlesPaginatedReader

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

GetAccountBundlesPaginatedReader is a Reader for the GetAccountBundlesPaginated structure.

func (*GetAccountBundlesPaginatedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountBundlesParams

type GetAccountBundlesParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

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

	// BundlesFilter.
	BundlesFilter *string

	// ExternalKey.
	ExternalKey *string

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

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

GetAccountBundlesParams contains all the parameters to send to the API endpoint

for the get account bundles operation.

Typically these are written to a http.Request.

func NewGetAccountBundlesParams

func NewGetAccountBundlesParams() *GetAccountBundlesParams

NewGetAccountBundlesParams creates a new GetAccountBundlesParams 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 NewGetAccountBundlesParamsWithContext

func NewGetAccountBundlesParamsWithContext(ctx context.Context) *GetAccountBundlesParams

NewGetAccountBundlesParamsWithContext creates a new GetAccountBundlesParams object with the ability to set a context for a request.

func NewGetAccountBundlesParamsWithHTTPClient

func NewGetAccountBundlesParamsWithHTTPClient(client *http.Client) *GetAccountBundlesParams

NewGetAccountBundlesParamsWithHTTPClient creates a new GetAccountBundlesParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountBundlesParamsWithTimeout

func NewGetAccountBundlesParamsWithTimeout(timeout time.Duration) *GetAccountBundlesParams

NewGetAccountBundlesParamsWithTimeout creates a new GetAccountBundlesParams object with the ability to set a timeout on a request.

func (*GetAccountBundlesParams) SetAccountID

func (o *GetAccountBundlesParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account bundles params

func (*GetAccountBundlesParams) SetAudit

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

SetAudit adds the audit to the get account bundles params

func (*GetAccountBundlesParams) SetBundlesFilter

func (o *GetAccountBundlesParams) SetBundlesFilter(bundlesFilter *string)

SetBundlesFilter adds the bundlesFilter to the get account bundles params

func (*GetAccountBundlesParams) SetContext

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

SetContext adds the context to the get account bundles params

func (*GetAccountBundlesParams) SetDefaults

func (o *GetAccountBundlesParams) SetDefaults()

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

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

func (*GetAccountBundlesParams) SetExternalKey

func (o *GetAccountBundlesParams) SetExternalKey(externalKey *string)

SetExternalKey adds the externalKey to the get account bundles params

func (*GetAccountBundlesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account bundles params

func (*GetAccountBundlesParams) SetTimeout

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

SetTimeout adds the timeout to the get account bundles params

func (*GetAccountBundlesParams) WithAccountID

func (o *GetAccountBundlesParams) WithAccountID(accountID strfmt.UUID) *GetAccountBundlesParams

WithAccountID adds the accountID to the get account bundles params

func (*GetAccountBundlesParams) WithAudit

WithAudit adds the audit to the get account bundles params

func (*GetAccountBundlesParams) WithBundlesFilter

func (o *GetAccountBundlesParams) WithBundlesFilter(bundlesFilter *string) *GetAccountBundlesParams

WithBundlesFilter adds the bundlesFilter to the get account bundles params

func (*GetAccountBundlesParams) WithContext

WithContext adds the context to the get account bundles params

func (*GetAccountBundlesParams) WithDefaults

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

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

func (*GetAccountBundlesParams) WithExternalKey

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

WithExternalKey adds the externalKey to the get account bundles params

func (*GetAccountBundlesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account bundles params

func (*GetAccountBundlesParams) WithTimeout

WithTimeout adds the timeout to the get account bundles params

func (*GetAccountBundlesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountBundlesReader

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

GetAccountBundlesReader is a Reader for the GetAccountBundles structure.

func (*GetAccountBundlesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountByKeyNotFound

type GetAccountByKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountByKeyNotFound

func NewGetAccountByKeyNotFound() *GetAccountByKeyNotFound

NewGetAccountByKeyNotFound creates a GetAccountByKeyNotFound with default headers values

func (*GetAccountByKeyNotFound) Code

func (o *GetAccountByKeyNotFound) Code() int

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

func (*GetAccountByKeyNotFound) Error

func (o *GetAccountByKeyNotFound) Error() string

func (*GetAccountByKeyNotFound) IsClientError

func (o *GetAccountByKeyNotFound) IsClientError() bool

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

func (*GetAccountByKeyNotFound) IsCode

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

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

func (*GetAccountByKeyNotFound) IsRedirect

func (o *GetAccountByKeyNotFound) IsRedirect() bool

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

func (*GetAccountByKeyNotFound) IsServerError

func (o *GetAccountByKeyNotFound) IsServerError() bool

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

func (*GetAccountByKeyNotFound) IsSuccess

func (o *GetAccountByKeyNotFound) IsSuccess() bool

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

func (*GetAccountByKeyNotFound) String

func (o *GetAccountByKeyNotFound) String() string

type GetAccountByKeyOK

type GetAccountByKeyOK struct {
	Payload      *kbmodel.Account
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetAccountByKeyOK

func NewGetAccountByKeyOK() *GetAccountByKeyOK

NewGetAccountByKeyOK creates a GetAccountByKeyOK with default headers values

func (*GetAccountByKeyOK) Code

func (o *GetAccountByKeyOK) Code() int

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

func (*GetAccountByKeyOK) Error

func (o *GetAccountByKeyOK) Error() string

func (*GetAccountByKeyOK) GetPayload

func (o *GetAccountByKeyOK) GetPayload() *kbmodel.Account

func (*GetAccountByKeyOK) IsClientError

func (o *GetAccountByKeyOK) IsClientError() bool

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

func (*GetAccountByKeyOK) IsCode

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

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

func (*GetAccountByKeyOK) IsRedirect

func (o *GetAccountByKeyOK) IsRedirect() bool

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

func (*GetAccountByKeyOK) IsServerError

func (o *GetAccountByKeyOK) IsServerError() bool

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

func (*GetAccountByKeyOK) IsSuccess

func (o *GetAccountByKeyOK) IsSuccess() bool

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

func (*GetAccountByKeyOK) String

func (o *GetAccountByKeyOK) String() string

type GetAccountByKeyParams

type GetAccountByKeyParams struct {

	// AccountWithBalance.
	AccountWithBalance *bool

	// AccountWithBalanceAndCBA.
	AccountWithBalanceAndCBA *bool

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

	// ExternalKey.
	ExternalKey string

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

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

GetAccountByKeyParams contains all the parameters to send to the API endpoint

for the get account by key operation.

Typically these are written to a http.Request.

func NewGetAccountByKeyParams

func NewGetAccountByKeyParams() *GetAccountByKeyParams

NewGetAccountByKeyParams creates a new GetAccountByKeyParams 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 NewGetAccountByKeyParamsWithContext

func NewGetAccountByKeyParamsWithContext(ctx context.Context) *GetAccountByKeyParams

NewGetAccountByKeyParamsWithContext creates a new GetAccountByKeyParams object with the ability to set a context for a request.

func NewGetAccountByKeyParamsWithHTTPClient

func NewGetAccountByKeyParamsWithHTTPClient(client *http.Client) *GetAccountByKeyParams

NewGetAccountByKeyParamsWithHTTPClient creates a new GetAccountByKeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountByKeyParamsWithTimeout

func NewGetAccountByKeyParamsWithTimeout(timeout time.Duration) *GetAccountByKeyParams

NewGetAccountByKeyParamsWithTimeout creates a new GetAccountByKeyParams object with the ability to set a timeout on a request.

func (*GetAccountByKeyParams) SetAccountWithBalance

func (o *GetAccountByKeyParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the get account by key params

func (*GetAccountByKeyParams) SetAccountWithBalanceAndCBA

func (o *GetAccountByKeyParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get account by key params

func (*GetAccountByKeyParams) SetAudit

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

SetAudit adds the audit to the get account by key params

func (*GetAccountByKeyParams) SetContext

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

SetContext adds the context to the get account by key params

func (*GetAccountByKeyParams) SetDefaults

func (o *GetAccountByKeyParams) SetDefaults()

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

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

func (*GetAccountByKeyParams) SetExternalKey

func (o *GetAccountByKeyParams) SetExternalKey(externalKey string)

SetExternalKey adds the externalKey to the get account by key params

func (*GetAccountByKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account by key params

func (*GetAccountByKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get account by key params

func (*GetAccountByKeyParams) WithAccountWithBalance

func (o *GetAccountByKeyParams) WithAccountWithBalance(accountWithBalance *bool) *GetAccountByKeyParams

WithAccountWithBalance adds the accountWithBalance to the get account by key params

func (*GetAccountByKeyParams) WithAccountWithBalanceAndCBA

func (o *GetAccountByKeyParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *GetAccountByKeyParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get account by key params

func (*GetAccountByKeyParams) WithAudit

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

WithAudit adds the audit to the get account by key params

func (*GetAccountByKeyParams) WithContext

WithContext adds the context to the get account by key params

func (*GetAccountByKeyParams) WithDefaults

func (o *GetAccountByKeyParams) WithDefaults() *GetAccountByKeyParams

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

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

func (*GetAccountByKeyParams) WithExternalKey

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

WithExternalKey adds the externalKey to the get account by key params

func (*GetAccountByKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account by key params

func (*GetAccountByKeyParams) WithTimeout

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

WithTimeout adds the timeout to the get account by key params

func (*GetAccountByKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountByKeyReader

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

GetAccountByKeyReader is a Reader for the GetAccountByKey structure.

func (*GetAccountByKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountCustomFieldsBadRequest

type GetAccountCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetAccountCustomFieldsBadRequest

func NewGetAccountCustomFieldsBadRequest() *GetAccountCustomFieldsBadRequest

NewGetAccountCustomFieldsBadRequest creates a GetAccountCustomFieldsBadRequest with default headers values

func (*GetAccountCustomFieldsBadRequest) Code

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

func (*GetAccountCustomFieldsBadRequest) Error

func (*GetAccountCustomFieldsBadRequest) IsClientError

func (o *GetAccountCustomFieldsBadRequest) IsClientError() bool

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

func (*GetAccountCustomFieldsBadRequest) IsCode

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

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

func (*GetAccountCustomFieldsBadRequest) IsRedirect

func (o *GetAccountCustomFieldsBadRequest) IsRedirect() bool

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

func (*GetAccountCustomFieldsBadRequest) IsServerError

func (o *GetAccountCustomFieldsBadRequest) IsServerError() bool

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

func (*GetAccountCustomFieldsBadRequest) IsSuccess

func (o *GetAccountCustomFieldsBadRequest) IsSuccess() bool

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

func (*GetAccountCustomFieldsBadRequest) String

type GetAccountCustomFieldsOK

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

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

successful operation

func NewGetAccountCustomFieldsOK

func NewGetAccountCustomFieldsOK() *GetAccountCustomFieldsOK

NewGetAccountCustomFieldsOK creates a GetAccountCustomFieldsOK with default headers values

func (*GetAccountCustomFieldsOK) Code

func (o *GetAccountCustomFieldsOK) Code() int

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

func (*GetAccountCustomFieldsOK) Error

func (o *GetAccountCustomFieldsOK) Error() string

func (*GetAccountCustomFieldsOK) GetPayload

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

func (*GetAccountCustomFieldsOK) IsClientError

func (o *GetAccountCustomFieldsOK) IsClientError() bool

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

func (*GetAccountCustomFieldsOK) IsCode

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

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

func (*GetAccountCustomFieldsOK) IsRedirect

func (o *GetAccountCustomFieldsOK) IsRedirect() bool

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

func (*GetAccountCustomFieldsOK) IsServerError

func (o *GetAccountCustomFieldsOK) IsServerError() bool

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

func (*GetAccountCustomFieldsOK) IsSuccess

func (o *GetAccountCustomFieldsOK) IsSuccess() bool

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

func (*GetAccountCustomFieldsOK) String

func (o *GetAccountCustomFieldsOK) String() string

type GetAccountCustomFieldsParams

type GetAccountCustomFieldsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *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
}

GetAccountCustomFieldsParams contains all the parameters to send to the API endpoint

for the get account custom fields operation.

Typically these are written to a http.Request.

func NewGetAccountCustomFieldsParams

func NewGetAccountCustomFieldsParams() *GetAccountCustomFieldsParams

NewGetAccountCustomFieldsParams creates a new GetAccountCustomFieldsParams 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 NewGetAccountCustomFieldsParamsWithContext

func NewGetAccountCustomFieldsParamsWithContext(ctx context.Context) *GetAccountCustomFieldsParams

NewGetAccountCustomFieldsParamsWithContext creates a new GetAccountCustomFieldsParams object with the ability to set a context for a request.

func NewGetAccountCustomFieldsParamsWithHTTPClient

func NewGetAccountCustomFieldsParamsWithHTTPClient(client *http.Client) *GetAccountCustomFieldsParams

NewGetAccountCustomFieldsParamsWithHTTPClient creates a new GetAccountCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountCustomFieldsParamsWithTimeout

func NewGetAccountCustomFieldsParamsWithTimeout(timeout time.Duration) *GetAccountCustomFieldsParams

NewGetAccountCustomFieldsParamsWithTimeout creates a new GetAccountCustomFieldsParams object with the ability to set a timeout on a request.

func (*GetAccountCustomFieldsParams) SetAccountID

func (o *GetAccountCustomFieldsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account custom fields params

func (*GetAccountCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get account custom fields params

func (*GetAccountCustomFieldsParams) SetContext

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

SetContext adds the context to the get account custom fields params

func (*GetAccountCustomFieldsParams) SetDefaults

func (o *GetAccountCustomFieldsParams) SetDefaults()

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

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

func (*GetAccountCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account custom fields params

func (*GetAccountCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithAccountID

WithAccountID adds the accountID to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithAudit

WithAudit adds the audit to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithContext

WithContext adds the context to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithDefaults

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

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

func (*GetAccountCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account custom fields params

func (*GetAccountCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get account custom fields params

func (*GetAccountCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountCustomFieldsReader

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

GetAccountCustomFieldsReader is a Reader for the GetAccountCustomFields structure.

func (*GetAccountCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountEmailAuditLogsWithHistoryNotFound

type GetAccountEmailAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountEmailAuditLogsWithHistoryNotFound

func NewGetAccountEmailAuditLogsWithHistoryNotFound() *GetAccountEmailAuditLogsWithHistoryNotFound

NewGetAccountEmailAuditLogsWithHistoryNotFound creates a GetAccountEmailAuditLogsWithHistoryNotFound with default headers values

func (*GetAccountEmailAuditLogsWithHistoryNotFound) Code

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

func (*GetAccountEmailAuditLogsWithHistoryNotFound) Error

func (*GetAccountEmailAuditLogsWithHistoryNotFound) IsClientError

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

func (*GetAccountEmailAuditLogsWithHistoryNotFound) IsCode

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

func (*GetAccountEmailAuditLogsWithHistoryNotFound) IsRedirect

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

func (*GetAccountEmailAuditLogsWithHistoryNotFound) IsServerError

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

func (*GetAccountEmailAuditLogsWithHistoryNotFound) IsSuccess

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

func (*GetAccountEmailAuditLogsWithHistoryNotFound) String

type GetAccountEmailAuditLogsWithHistoryOK

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

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

successful operation

func NewGetAccountEmailAuditLogsWithHistoryOK

func NewGetAccountEmailAuditLogsWithHistoryOK() *GetAccountEmailAuditLogsWithHistoryOK

NewGetAccountEmailAuditLogsWithHistoryOK creates a GetAccountEmailAuditLogsWithHistoryOK with default headers values

func (*GetAccountEmailAuditLogsWithHistoryOK) Code

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

func (*GetAccountEmailAuditLogsWithHistoryOK) Error

func (*GetAccountEmailAuditLogsWithHistoryOK) GetPayload

func (*GetAccountEmailAuditLogsWithHistoryOK) IsClientError

func (o *GetAccountEmailAuditLogsWithHistoryOK) IsClientError() bool

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

func (*GetAccountEmailAuditLogsWithHistoryOK) IsCode

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

func (*GetAccountEmailAuditLogsWithHistoryOK) IsRedirect

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

func (*GetAccountEmailAuditLogsWithHistoryOK) IsServerError

func (o *GetAccountEmailAuditLogsWithHistoryOK) IsServerError() bool

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

func (*GetAccountEmailAuditLogsWithHistoryOK) IsSuccess

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

func (*GetAccountEmailAuditLogsWithHistoryOK) String

type GetAccountEmailAuditLogsWithHistoryParams

type GetAccountEmailAuditLogsWithHistoryParams struct {

	// AccountEmailID.
	//
	// Format: uuid
	AccountEmailID strfmt.UUID

	// AccountID.
	//
	// Format: uuid
	AccountID 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
}

GetAccountEmailAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get account email audit logs with history operation.

Typically these are written to a http.Request.

func NewGetAccountEmailAuditLogsWithHistoryParams

func NewGetAccountEmailAuditLogsWithHistoryParams() *GetAccountEmailAuditLogsWithHistoryParams

NewGetAccountEmailAuditLogsWithHistoryParams creates a new GetAccountEmailAuditLogsWithHistoryParams 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 NewGetAccountEmailAuditLogsWithHistoryParamsWithContext

func NewGetAccountEmailAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetAccountEmailAuditLogsWithHistoryParams

NewGetAccountEmailAuditLogsWithHistoryParamsWithContext creates a new GetAccountEmailAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetAccountEmailAuditLogsWithHistoryParamsWithHTTPClient

func NewGetAccountEmailAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetAccountEmailAuditLogsWithHistoryParams

NewGetAccountEmailAuditLogsWithHistoryParamsWithHTTPClient creates a new GetAccountEmailAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountEmailAuditLogsWithHistoryParamsWithTimeout

func NewGetAccountEmailAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetAccountEmailAuditLogsWithHistoryParams

NewGetAccountEmailAuditLogsWithHistoryParamsWithTimeout creates a new GetAccountEmailAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetAccountEmailAuditLogsWithHistoryParams) SetAccountEmailID

func (o *GetAccountEmailAuditLogsWithHistoryParams) SetAccountEmailID(accountEmailID strfmt.UUID)

SetAccountEmailID adds the accountEmailId to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) SetAccountID

func (o *GetAccountEmailAuditLogsWithHistoryParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) SetContext

SetContext adds the context to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) SetDefaults

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

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

func (*GetAccountEmailAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) SetTimeout

SetTimeout adds the timeout to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithAccountEmailID

WithAccountEmailID adds the accountEmailID to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithAccountID

WithAccountID adds the accountID to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetAccountEmailAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get account email audit logs with history params

func (*GetAccountEmailAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountEmailAuditLogsWithHistoryReader

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

GetAccountEmailAuditLogsWithHistoryReader is a Reader for the GetAccountEmailAuditLogsWithHistory structure.

func (*GetAccountEmailAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountNotFound

type GetAccountNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountNotFound

func NewGetAccountNotFound() *GetAccountNotFound

NewGetAccountNotFound creates a GetAccountNotFound with default headers values

func (*GetAccountNotFound) Code

func (o *GetAccountNotFound) Code() int

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

func (*GetAccountNotFound) Error

func (o *GetAccountNotFound) Error() string

func (*GetAccountNotFound) IsClientError

func (o *GetAccountNotFound) IsClientError() bool

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

func (*GetAccountNotFound) IsCode

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

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

func (*GetAccountNotFound) IsRedirect

func (o *GetAccountNotFound) IsRedirect() bool

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

func (*GetAccountNotFound) IsServerError

func (o *GetAccountNotFound) IsServerError() bool

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

func (*GetAccountNotFound) IsSuccess

func (o *GetAccountNotFound) IsSuccess() bool

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

func (*GetAccountNotFound) String

func (o *GetAccountNotFound) String() string

type GetAccountOK

type GetAccountOK struct {
	Payload      *kbmodel.Account
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetAccountOK

func NewGetAccountOK() *GetAccountOK

NewGetAccountOK creates a GetAccountOK with default headers values

func (*GetAccountOK) Code

func (o *GetAccountOK) Code() int

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

func (*GetAccountOK) Error

func (o *GetAccountOK) Error() string

func (*GetAccountOK) GetPayload

func (o *GetAccountOK) GetPayload() *kbmodel.Account

func (*GetAccountOK) IsClientError

func (o *GetAccountOK) IsClientError() bool

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

func (*GetAccountOK) IsCode

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

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

func (*GetAccountOK) IsRedirect

func (o *GetAccountOK) IsRedirect() bool

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

func (*GetAccountOK) IsServerError

func (o *GetAccountOK) IsServerError() bool

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

func (*GetAccountOK) IsSuccess

func (o *GetAccountOK) IsSuccess() bool

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

func (*GetAccountOK) String

func (o *GetAccountOK) String() string

type GetAccountParams

type GetAccountParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// AccountWithBalance.
	AccountWithBalance *bool

	// AccountWithBalanceAndCBA.
	AccountWithBalanceAndCBA *bool

	// Audit.
	//
	// Default: "NONE"
	Audit *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
}

GetAccountParams contains all the parameters to send to the API endpoint

for the get account operation.

Typically these are written to a http.Request.

func NewGetAccountParams

func NewGetAccountParams() *GetAccountParams

NewGetAccountParams creates a new GetAccountParams 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 NewGetAccountParamsWithContext

func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams

NewGetAccountParamsWithContext creates a new GetAccountParams object with the ability to set a context for a request.

func NewGetAccountParamsWithHTTPClient

func NewGetAccountParamsWithHTTPClient(client *http.Client) *GetAccountParams

NewGetAccountParamsWithHTTPClient creates a new GetAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountParamsWithTimeout

func NewGetAccountParamsWithTimeout(timeout time.Duration) *GetAccountParams

NewGetAccountParamsWithTimeout creates a new GetAccountParams object with the ability to set a timeout on a request.

func (*GetAccountParams) SetAccountID

func (o *GetAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account params

func (*GetAccountParams) SetAccountWithBalance

func (o *GetAccountParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the get account params

func (*GetAccountParams) SetAccountWithBalanceAndCBA

func (o *GetAccountParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get account params

func (*GetAccountParams) SetAudit

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

SetAudit adds the audit to the get account params

func (*GetAccountParams) SetContext

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

SetContext adds the context to the get account params

func (*GetAccountParams) SetDefaults

func (o *GetAccountParams) SetDefaults()

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

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

func (*GetAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account params

func (*GetAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get account params

func (*GetAccountParams) WithAccountID

func (o *GetAccountParams) WithAccountID(accountID strfmt.UUID) *GetAccountParams

WithAccountID adds the accountID to the get account params

func (*GetAccountParams) WithAccountWithBalance

func (o *GetAccountParams) WithAccountWithBalance(accountWithBalance *bool) *GetAccountParams

WithAccountWithBalance adds the accountWithBalance to the get account params

func (*GetAccountParams) WithAccountWithBalanceAndCBA

func (o *GetAccountParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *GetAccountParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get account params

func (*GetAccountParams) WithAudit

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

WithAudit adds the audit to the get account params

func (*GetAccountParams) WithContext

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

WithContext adds the context to the get account params

func (*GetAccountParams) WithDefaults

func (o *GetAccountParams) WithDefaults() *GetAccountParams

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

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

func (*GetAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account params

func (*GetAccountParams) WithTimeout

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

WithTimeout adds the timeout to the get account params

func (*GetAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountReader

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

GetAccountReader is a Reader for the GetAccount structure.

func (*GetAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountTagsBadRequest

type GetAccountTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetAccountTagsBadRequest

func NewGetAccountTagsBadRequest() *GetAccountTagsBadRequest

NewGetAccountTagsBadRequest creates a GetAccountTagsBadRequest with default headers values

func (*GetAccountTagsBadRequest) Code

func (o *GetAccountTagsBadRequest) Code() int

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

func (*GetAccountTagsBadRequest) Error

func (o *GetAccountTagsBadRequest) Error() string

func (*GetAccountTagsBadRequest) IsClientError

func (o *GetAccountTagsBadRequest) IsClientError() bool

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

func (*GetAccountTagsBadRequest) IsCode

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

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

func (*GetAccountTagsBadRequest) IsRedirect

func (o *GetAccountTagsBadRequest) IsRedirect() bool

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

func (*GetAccountTagsBadRequest) IsServerError

func (o *GetAccountTagsBadRequest) IsServerError() bool

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

func (*GetAccountTagsBadRequest) IsSuccess

func (o *GetAccountTagsBadRequest) IsSuccess() bool

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

func (*GetAccountTagsBadRequest) String

func (o *GetAccountTagsBadRequest) String() string

type GetAccountTagsNotFound

type GetAccountTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountTagsNotFound

func NewGetAccountTagsNotFound() *GetAccountTagsNotFound

NewGetAccountTagsNotFound creates a GetAccountTagsNotFound with default headers values

func (*GetAccountTagsNotFound) Code

func (o *GetAccountTagsNotFound) Code() int

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

func (*GetAccountTagsNotFound) Error

func (o *GetAccountTagsNotFound) Error() string

func (*GetAccountTagsNotFound) IsClientError

func (o *GetAccountTagsNotFound) IsClientError() bool

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

func (*GetAccountTagsNotFound) IsCode

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

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

func (*GetAccountTagsNotFound) IsRedirect

func (o *GetAccountTagsNotFound) IsRedirect() bool

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

func (*GetAccountTagsNotFound) IsServerError

func (o *GetAccountTagsNotFound) IsServerError() bool

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

func (*GetAccountTagsNotFound) IsSuccess

func (o *GetAccountTagsNotFound) IsSuccess() bool

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

func (*GetAccountTagsNotFound) String

func (o *GetAccountTagsNotFound) String() string

type GetAccountTagsOK

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

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

successful operation

func NewGetAccountTagsOK

func NewGetAccountTagsOK() *GetAccountTagsOK

NewGetAccountTagsOK creates a GetAccountTagsOK with default headers values

func (*GetAccountTagsOK) Code

func (o *GetAccountTagsOK) Code() int

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

func (*GetAccountTagsOK) Error

func (o *GetAccountTagsOK) Error() string

func (*GetAccountTagsOK) GetPayload

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

func (*GetAccountTagsOK) IsClientError

func (o *GetAccountTagsOK) IsClientError() bool

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

func (*GetAccountTagsOK) IsCode

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

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

func (*GetAccountTagsOK) IsRedirect

func (o *GetAccountTagsOK) IsRedirect() bool

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

func (*GetAccountTagsOK) IsServerError

func (o *GetAccountTagsOK) IsServerError() bool

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

func (*GetAccountTagsOK) IsSuccess

func (o *GetAccountTagsOK) IsSuccess() bool

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

func (*GetAccountTagsOK) String

func (o *GetAccountTagsOK) String() string

type GetAccountTagsParams

type GetAccountTagsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *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
}

GetAccountTagsParams contains all the parameters to send to the API endpoint

for the get account tags operation.

Typically these are written to a http.Request.

func NewGetAccountTagsParams

func NewGetAccountTagsParams() *GetAccountTagsParams

NewGetAccountTagsParams creates a new GetAccountTagsParams 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 NewGetAccountTagsParamsWithContext

func NewGetAccountTagsParamsWithContext(ctx context.Context) *GetAccountTagsParams

NewGetAccountTagsParamsWithContext creates a new GetAccountTagsParams object with the ability to set a context for a request.

func NewGetAccountTagsParamsWithHTTPClient

func NewGetAccountTagsParamsWithHTTPClient(client *http.Client) *GetAccountTagsParams

NewGetAccountTagsParamsWithHTTPClient creates a new GetAccountTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountTagsParamsWithTimeout

func NewGetAccountTagsParamsWithTimeout(timeout time.Duration) *GetAccountTagsParams

NewGetAccountTagsParamsWithTimeout creates a new GetAccountTagsParams object with the ability to set a timeout on a request.

func (*GetAccountTagsParams) SetAccountID

func (o *GetAccountTagsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account tags params

func (*GetAccountTagsParams) SetAudit

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

SetAudit adds the audit to the get account tags params

func (*GetAccountTagsParams) SetContext

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

SetContext adds the context to the get account tags params

func (*GetAccountTagsParams) SetDefaults

func (o *GetAccountTagsParams) SetDefaults()

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

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

func (*GetAccountTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account tags params

func (*GetAccountTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get account tags params

func (*GetAccountTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get account tags params

func (*GetAccountTagsParams) WithAccountID

func (o *GetAccountTagsParams) WithAccountID(accountID strfmt.UUID) *GetAccountTagsParams

WithAccountID adds the accountID to the get account tags params

func (*GetAccountTagsParams) WithAudit

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

WithAudit adds the audit to the get account tags params

func (*GetAccountTagsParams) WithContext

WithContext adds the context to the get account tags params

func (*GetAccountTagsParams) WithDefaults

func (o *GetAccountTagsParams) WithDefaults() *GetAccountTagsParams

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

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

func (*GetAccountTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account tags params

func (*GetAccountTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get account tags params

func (*GetAccountTagsParams) WithTimeout

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

WithTimeout adds the timeout to the get account tags params

func (*GetAccountTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountTagsReader

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

GetAccountTagsReader is a Reader for the GetAccountTags structure.

func (*GetAccountTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountTimelineBadRequest

type GetAccountTimelineBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetAccountTimelineBadRequest

func NewGetAccountTimelineBadRequest() *GetAccountTimelineBadRequest

NewGetAccountTimelineBadRequest creates a GetAccountTimelineBadRequest with default headers values

func (*GetAccountTimelineBadRequest) Code

Code gets the status code for the get account timeline bad request response

func (*GetAccountTimelineBadRequest) Error

func (*GetAccountTimelineBadRequest) IsClientError

func (o *GetAccountTimelineBadRequest) IsClientError() bool

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

func (*GetAccountTimelineBadRequest) IsCode

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

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

func (*GetAccountTimelineBadRequest) IsRedirect

func (o *GetAccountTimelineBadRequest) IsRedirect() bool

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

func (*GetAccountTimelineBadRequest) IsServerError

func (o *GetAccountTimelineBadRequest) IsServerError() bool

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

func (*GetAccountTimelineBadRequest) IsSuccess

func (o *GetAccountTimelineBadRequest) IsSuccess() bool

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

func (*GetAccountTimelineBadRequest) String

type GetAccountTimelineNotFound

type GetAccountTimelineNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAccountTimelineNotFound

func NewGetAccountTimelineNotFound() *GetAccountTimelineNotFound

NewGetAccountTimelineNotFound creates a GetAccountTimelineNotFound with default headers values

func (*GetAccountTimelineNotFound) Code

func (o *GetAccountTimelineNotFound) Code() int

Code gets the status code for the get account timeline not found response

func (*GetAccountTimelineNotFound) Error

func (*GetAccountTimelineNotFound) IsClientError

func (o *GetAccountTimelineNotFound) IsClientError() bool

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

func (*GetAccountTimelineNotFound) IsCode

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

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

func (*GetAccountTimelineNotFound) IsRedirect

func (o *GetAccountTimelineNotFound) IsRedirect() bool

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

func (*GetAccountTimelineNotFound) IsServerError

func (o *GetAccountTimelineNotFound) IsServerError() bool

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

func (*GetAccountTimelineNotFound) IsSuccess

func (o *GetAccountTimelineNotFound) IsSuccess() bool

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

func (*GetAccountTimelineNotFound) String

func (o *GetAccountTimelineNotFound) String() string

type GetAccountTimelineOK

type GetAccountTimelineOK struct {
	Payload      *kbmodel.AccountTimeline
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetAccountTimelineOK

func NewGetAccountTimelineOK() *GetAccountTimelineOK

NewGetAccountTimelineOK creates a GetAccountTimelineOK with default headers values

func (*GetAccountTimelineOK) Code

func (o *GetAccountTimelineOK) Code() int

Code gets the status code for the get account timeline o k response

func (*GetAccountTimelineOK) Error

func (o *GetAccountTimelineOK) Error() string

func (*GetAccountTimelineOK) GetPayload

func (o *GetAccountTimelineOK) GetPayload() *kbmodel.AccountTimeline

func (*GetAccountTimelineOK) IsClientError

func (o *GetAccountTimelineOK) IsClientError() bool

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

func (*GetAccountTimelineOK) IsCode

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

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

func (*GetAccountTimelineOK) IsRedirect

func (o *GetAccountTimelineOK) IsRedirect() bool

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

func (*GetAccountTimelineOK) IsServerError

func (o *GetAccountTimelineOK) IsServerError() bool

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

func (*GetAccountTimelineOK) IsSuccess

func (o *GetAccountTimelineOK) IsSuccess() bool

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

func (*GetAccountTimelineOK) String

func (o *GetAccountTimelineOK) String() string

type GetAccountTimelineParams

type GetAccountTimelineParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

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

	// Parallel.
	Parallel *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
}

GetAccountTimelineParams contains all the parameters to send to the API endpoint

for the get account timeline operation.

Typically these are written to a http.Request.

func NewGetAccountTimelineParams

func NewGetAccountTimelineParams() *GetAccountTimelineParams

NewGetAccountTimelineParams creates a new GetAccountTimelineParams 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 NewGetAccountTimelineParamsWithContext

func NewGetAccountTimelineParamsWithContext(ctx context.Context) *GetAccountTimelineParams

NewGetAccountTimelineParamsWithContext creates a new GetAccountTimelineParams object with the ability to set a context for a request.

func NewGetAccountTimelineParamsWithHTTPClient

func NewGetAccountTimelineParamsWithHTTPClient(client *http.Client) *GetAccountTimelineParams

NewGetAccountTimelineParamsWithHTTPClient creates a new GetAccountTimelineParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountTimelineParamsWithTimeout

func NewGetAccountTimelineParamsWithTimeout(timeout time.Duration) *GetAccountTimelineParams

NewGetAccountTimelineParamsWithTimeout creates a new GetAccountTimelineParams object with the ability to set a timeout on a request.

func (*GetAccountTimelineParams) SetAccountID

func (o *GetAccountTimelineParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get account timeline params

func (*GetAccountTimelineParams) SetAudit

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

SetAudit adds the audit to the get account timeline params

func (*GetAccountTimelineParams) SetContext

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

SetContext adds the context to the get account timeline params

func (*GetAccountTimelineParams) SetDefaults

func (o *GetAccountTimelineParams) SetDefaults()

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

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

func (*GetAccountTimelineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account timeline params

func (*GetAccountTimelineParams) SetParallel

func (o *GetAccountTimelineParams) SetParallel(parallel *bool)

SetParallel adds the parallel to the get account timeline params

func (*GetAccountTimelineParams) SetTimeout

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

SetTimeout adds the timeout to the get account timeline params

func (*GetAccountTimelineParams) WithAccountID

func (o *GetAccountTimelineParams) WithAccountID(accountID strfmt.UUID) *GetAccountTimelineParams

WithAccountID adds the accountID to the get account timeline params

func (*GetAccountTimelineParams) WithAudit

WithAudit adds the audit to the get account timeline params

func (*GetAccountTimelineParams) WithContext

WithContext adds the context to the get account timeline params

func (*GetAccountTimelineParams) WithDefaults

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

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

func (*GetAccountTimelineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account timeline params

func (*GetAccountTimelineParams) WithParallel

func (o *GetAccountTimelineParams) WithParallel(parallel *bool) *GetAccountTimelineParams

WithParallel adds the parallel to the get account timeline params

func (*GetAccountTimelineParams) WithTimeout

WithTimeout adds the timeout to the get account timeline params

func (*GetAccountTimelineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountTimelineReader

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

GetAccountTimelineReader is a Reader for the GetAccountTimeline structure.

func (*GetAccountTimelineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsOK

type GetAccountsOK struct {
	Payload      []*kbmodel.Account
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetAccountsOK

func NewGetAccountsOK() *GetAccountsOK

NewGetAccountsOK creates a GetAccountsOK with default headers values

func (*GetAccountsOK) Code

func (o *GetAccountsOK) Code() int

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

func (*GetAccountsOK) Error

func (o *GetAccountsOK) Error() string

func (*GetAccountsOK) GetPayload

func (o *GetAccountsOK) GetPayload() []*kbmodel.Account

func (*GetAccountsOK) IsClientError

func (o *GetAccountsOK) IsClientError() bool

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

func (*GetAccountsOK) IsCode

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

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

func (*GetAccountsOK) IsRedirect

func (o *GetAccountsOK) IsRedirect() bool

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

func (*GetAccountsOK) IsServerError

func (o *GetAccountsOK) IsServerError() bool

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

func (*GetAccountsOK) IsSuccess

func (o *GetAccountsOK) IsSuccess() bool

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

func (*GetAccountsOK) String

func (o *GetAccountsOK) String() string

type GetAccountsParams

type GetAccountsParams struct {

	// AccountWithBalance.
	AccountWithBalance *bool

	// AccountWithBalanceAndCBA.
	AccountWithBalanceAndCBA *bool

	// 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
}

GetAccountsParams contains all the parameters to send to the API endpoint

for the get accounts operation.

Typically these are written to a http.Request.

func NewGetAccountsParams

func NewGetAccountsParams() *GetAccountsParams

NewGetAccountsParams creates a new GetAccountsParams 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 NewGetAccountsParamsWithContext

func NewGetAccountsParamsWithContext(ctx context.Context) *GetAccountsParams

NewGetAccountsParamsWithContext creates a new GetAccountsParams object with the ability to set a context for a request.

func NewGetAccountsParamsWithHTTPClient

func NewGetAccountsParamsWithHTTPClient(client *http.Client) *GetAccountsParams

NewGetAccountsParamsWithHTTPClient creates a new GetAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountsParamsWithTimeout

func NewGetAccountsParamsWithTimeout(timeout time.Duration) *GetAccountsParams

NewGetAccountsParamsWithTimeout creates a new GetAccountsParams object with the ability to set a timeout on a request.

func (*GetAccountsParams) SetAccountWithBalance

func (o *GetAccountsParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the get accounts params

func (*GetAccountsParams) SetAccountWithBalanceAndCBA

func (o *GetAccountsParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get accounts params

func (*GetAccountsParams) SetAudit

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

SetAudit adds the audit to the get accounts params

func (*GetAccountsParams) SetContext

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

SetContext adds the context to the get accounts params

func (*GetAccountsParams) SetDefaults

func (o *GetAccountsParams) SetDefaults()

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

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

func (*GetAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get accounts params

func (*GetAccountsParams) SetLimit

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

SetLimit adds the limit to the get accounts params

func (*GetAccountsParams) SetOffset

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

SetOffset adds the offset to the get accounts params

func (*GetAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get accounts params

func (*GetAccountsParams) WithAccountWithBalance

func (o *GetAccountsParams) WithAccountWithBalance(accountWithBalance *bool) *GetAccountsParams

WithAccountWithBalance adds the accountWithBalance to the get accounts params

func (*GetAccountsParams) WithAccountWithBalanceAndCBA

func (o *GetAccountsParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *GetAccountsParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get accounts params

func (*GetAccountsParams) WithAudit

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

WithAudit adds the audit to the get accounts params

func (*GetAccountsParams) WithContext

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

WithContext adds the context to the get accounts params

func (*GetAccountsParams) WithDefaults

func (o *GetAccountsParams) WithDefaults() *GetAccountsParams

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

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

func (*GetAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get accounts params

func (*GetAccountsParams) WithLimit

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

WithLimit adds the limit to the get accounts params

func (*GetAccountsParams) WithOffset

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

WithOffset adds the offset to the get accounts params

func (*GetAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the get accounts params

func (*GetAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountsReader

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

GetAccountsReader is a Reader for the GetAccounts structure.

func (*GetAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllCustomFieldsBadRequest

type GetAllCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetAllCustomFieldsBadRequest

func NewGetAllCustomFieldsBadRequest() *GetAllCustomFieldsBadRequest

NewGetAllCustomFieldsBadRequest creates a GetAllCustomFieldsBadRequest with default headers values

func (*GetAllCustomFieldsBadRequest) Code

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

func (*GetAllCustomFieldsBadRequest) Error

func (*GetAllCustomFieldsBadRequest) IsClientError

func (o *GetAllCustomFieldsBadRequest) IsClientError() bool

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

func (*GetAllCustomFieldsBadRequest) IsCode

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

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

func (*GetAllCustomFieldsBadRequest) IsRedirect

func (o *GetAllCustomFieldsBadRequest) IsRedirect() bool

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

func (*GetAllCustomFieldsBadRequest) IsServerError

func (o *GetAllCustomFieldsBadRequest) IsServerError() bool

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

func (*GetAllCustomFieldsBadRequest) IsSuccess

func (o *GetAllCustomFieldsBadRequest) IsSuccess() bool

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

func (*GetAllCustomFieldsBadRequest) String

type GetAllCustomFieldsNotFound

type GetAllCustomFieldsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAllCustomFieldsNotFound

func NewGetAllCustomFieldsNotFound() *GetAllCustomFieldsNotFound

NewGetAllCustomFieldsNotFound creates a GetAllCustomFieldsNotFound with default headers values

func (*GetAllCustomFieldsNotFound) Code

func (o *GetAllCustomFieldsNotFound) Code() int

Code gets the status code for the get all custom fields not found response

func (*GetAllCustomFieldsNotFound) Error

func (*GetAllCustomFieldsNotFound) IsClientError

func (o *GetAllCustomFieldsNotFound) IsClientError() bool

IsClientError returns true when this get all custom fields not found response has a 4xx status code

func (*GetAllCustomFieldsNotFound) IsCode

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

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

func (*GetAllCustomFieldsNotFound) IsRedirect

func (o *GetAllCustomFieldsNotFound) IsRedirect() bool

IsRedirect returns true when this get all custom fields not found response has a 3xx status code

func (*GetAllCustomFieldsNotFound) IsServerError

func (o *GetAllCustomFieldsNotFound) IsServerError() bool

IsServerError returns true when this get all custom fields not found response has a 5xx status code

func (*GetAllCustomFieldsNotFound) IsSuccess

func (o *GetAllCustomFieldsNotFound) IsSuccess() bool

IsSuccess returns true when this get all custom fields not found response has a 2xx status code

func (*GetAllCustomFieldsNotFound) String

func (o *GetAllCustomFieldsNotFound) String() string

type GetAllCustomFieldsOK

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

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

successful operation

func NewGetAllCustomFieldsOK

func NewGetAllCustomFieldsOK() *GetAllCustomFieldsOK

NewGetAllCustomFieldsOK creates a GetAllCustomFieldsOK with default headers values

func (*GetAllCustomFieldsOK) Code

func (o *GetAllCustomFieldsOK) Code() int

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

func (*GetAllCustomFieldsOK) Error

func (o *GetAllCustomFieldsOK) Error() string

func (*GetAllCustomFieldsOK) GetPayload

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

func (*GetAllCustomFieldsOK) IsClientError

func (o *GetAllCustomFieldsOK) IsClientError() bool

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

func (*GetAllCustomFieldsOK) IsCode

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

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

func (*GetAllCustomFieldsOK) IsRedirect

func (o *GetAllCustomFieldsOK) IsRedirect() bool

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

func (*GetAllCustomFieldsOK) IsServerError

func (o *GetAllCustomFieldsOK) IsServerError() bool

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

func (*GetAllCustomFieldsOK) IsSuccess

func (o *GetAllCustomFieldsOK) IsSuccess() bool

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

func (*GetAllCustomFieldsOK) String

func (o *GetAllCustomFieldsOK) String() string

type GetAllCustomFieldsParams

type GetAllCustomFieldsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

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

	// ObjectType.
	ObjectType *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
}

GetAllCustomFieldsParams contains all the parameters to send to the API endpoint

for the get all custom fields operation.

Typically these are written to a http.Request.

func NewGetAllCustomFieldsParams

func NewGetAllCustomFieldsParams() *GetAllCustomFieldsParams

NewGetAllCustomFieldsParams creates a new GetAllCustomFieldsParams 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 NewGetAllCustomFieldsParamsWithContext

func NewGetAllCustomFieldsParamsWithContext(ctx context.Context) *GetAllCustomFieldsParams

NewGetAllCustomFieldsParamsWithContext creates a new GetAllCustomFieldsParams object with the ability to set a context for a request.

func NewGetAllCustomFieldsParamsWithHTTPClient

func NewGetAllCustomFieldsParamsWithHTTPClient(client *http.Client) *GetAllCustomFieldsParams

NewGetAllCustomFieldsParamsWithHTTPClient creates a new GetAllCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAllCustomFieldsParamsWithTimeout

func NewGetAllCustomFieldsParamsWithTimeout(timeout time.Duration) *GetAllCustomFieldsParams

NewGetAllCustomFieldsParamsWithTimeout creates a new GetAllCustomFieldsParams object with the ability to set a timeout on a request.

func (*GetAllCustomFieldsParams) SetAccountID

func (o *GetAllCustomFieldsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get all custom fields params

func (*GetAllCustomFieldsParams) SetAudit

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

SetAudit adds the audit to the get all custom fields params

func (*GetAllCustomFieldsParams) SetContext

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

SetContext adds the context to the get all custom fields params

func (*GetAllCustomFieldsParams) SetDefaults

func (o *GetAllCustomFieldsParams) SetDefaults()

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

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

func (*GetAllCustomFieldsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all custom fields params

func (*GetAllCustomFieldsParams) SetObjectType

func (o *GetAllCustomFieldsParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get all custom fields params

func (*GetAllCustomFieldsParams) SetTimeout

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

SetTimeout adds the timeout to the get all custom fields params

func (*GetAllCustomFieldsParams) WithAccountID

func (o *GetAllCustomFieldsParams) WithAccountID(accountID strfmt.UUID) *GetAllCustomFieldsParams

WithAccountID adds the accountID to the get all custom fields params

func (*GetAllCustomFieldsParams) WithAudit

WithAudit adds the audit to the get all custom fields params

func (*GetAllCustomFieldsParams) WithContext

WithContext adds the context to the get all custom fields params

func (*GetAllCustomFieldsParams) WithDefaults

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

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

func (*GetAllCustomFieldsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all custom fields params

func (*GetAllCustomFieldsParams) WithObjectType

func (o *GetAllCustomFieldsParams) WithObjectType(objectType *string) *GetAllCustomFieldsParams

WithObjectType adds the objectType to the get all custom fields params

func (*GetAllCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the get all custom fields params

func (*GetAllCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAllCustomFieldsReader

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

GetAllCustomFieldsReader is a Reader for the GetAllCustomFields structure.

func (*GetAllCustomFieldsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllTagsBadRequest

type GetAllTagsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetAllTagsBadRequest

func NewGetAllTagsBadRequest() *GetAllTagsBadRequest

NewGetAllTagsBadRequest creates a GetAllTagsBadRequest with default headers values

func (*GetAllTagsBadRequest) Code

func (o *GetAllTagsBadRequest) Code() int

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

func (*GetAllTagsBadRequest) Error

func (o *GetAllTagsBadRequest) Error() string

func (*GetAllTagsBadRequest) IsClientError

func (o *GetAllTagsBadRequest) IsClientError() bool

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

func (*GetAllTagsBadRequest) IsCode

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

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

func (*GetAllTagsBadRequest) IsRedirect

func (o *GetAllTagsBadRequest) IsRedirect() bool

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

func (*GetAllTagsBadRequest) IsServerError

func (o *GetAllTagsBadRequest) IsServerError() bool

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

func (*GetAllTagsBadRequest) IsSuccess

func (o *GetAllTagsBadRequest) IsSuccess() bool

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

func (*GetAllTagsBadRequest) String

func (o *GetAllTagsBadRequest) String() string

type GetAllTagsNotFound

type GetAllTagsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Account not found

func NewGetAllTagsNotFound

func NewGetAllTagsNotFound() *GetAllTagsNotFound

NewGetAllTagsNotFound creates a GetAllTagsNotFound with default headers values

func (*GetAllTagsNotFound) Code

func (o *GetAllTagsNotFound) Code() int

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

func (*GetAllTagsNotFound) Error

func (o *GetAllTagsNotFound) Error() string

func (*GetAllTagsNotFound) IsClientError

func (o *GetAllTagsNotFound) IsClientError() bool

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

func (*GetAllTagsNotFound) IsCode

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

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

func (*GetAllTagsNotFound) IsRedirect

func (o *GetAllTagsNotFound) IsRedirect() bool

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

func (*GetAllTagsNotFound) IsServerError

func (o *GetAllTagsNotFound) IsServerError() bool

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

func (*GetAllTagsNotFound) IsSuccess

func (o *GetAllTagsNotFound) IsSuccess() bool

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

func (*GetAllTagsNotFound) String

func (o *GetAllTagsNotFound) String() string

type GetAllTagsOK

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

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

successful operation

func NewGetAllTagsOK

func NewGetAllTagsOK() *GetAllTagsOK

NewGetAllTagsOK creates a GetAllTagsOK with default headers values

func (*GetAllTagsOK) Code

func (o *GetAllTagsOK) Code() int

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

func (*GetAllTagsOK) Error

func (o *GetAllTagsOK) Error() string

func (*GetAllTagsOK) GetPayload

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

func (*GetAllTagsOK) IsClientError

func (o *GetAllTagsOK) IsClientError() bool

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

func (*GetAllTagsOK) IsCode

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

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

func (*GetAllTagsOK) IsRedirect

func (o *GetAllTagsOK) IsRedirect() bool

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

func (*GetAllTagsOK) IsServerError

func (o *GetAllTagsOK) IsServerError() bool

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

func (*GetAllTagsOK) IsSuccess

func (o *GetAllTagsOK) IsSuccess() bool

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

func (*GetAllTagsOK) String

func (o *GetAllTagsOK) String() string

type GetAllTagsParams

type GetAllTagsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

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

	// IncludedDeleted.
	IncludedDeleted *bool

	// ObjectType.
	ObjectType *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
}

GetAllTagsParams contains all the parameters to send to the API endpoint

for the get all tags operation.

Typically these are written to a http.Request.

func NewGetAllTagsParams

func NewGetAllTagsParams() *GetAllTagsParams

NewGetAllTagsParams creates a new GetAllTagsParams 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 NewGetAllTagsParamsWithContext

func NewGetAllTagsParamsWithContext(ctx context.Context) *GetAllTagsParams

NewGetAllTagsParamsWithContext creates a new GetAllTagsParams object with the ability to set a context for a request.

func NewGetAllTagsParamsWithHTTPClient

func NewGetAllTagsParamsWithHTTPClient(client *http.Client) *GetAllTagsParams

NewGetAllTagsParamsWithHTTPClient creates a new GetAllTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAllTagsParamsWithTimeout

func NewGetAllTagsParamsWithTimeout(timeout time.Duration) *GetAllTagsParams

NewGetAllTagsParamsWithTimeout creates a new GetAllTagsParams object with the ability to set a timeout on a request.

func (*GetAllTagsParams) SetAccountID

func (o *GetAllTagsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get all tags params

func (*GetAllTagsParams) SetAudit

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

SetAudit adds the audit to the get all tags params

func (*GetAllTagsParams) SetContext

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

SetContext adds the context to the get all tags params

func (*GetAllTagsParams) SetDefaults

func (o *GetAllTagsParams) SetDefaults()

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

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

func (*GetAllTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all tags params

func (*GetAllTagsParams) SetIncludedDeleted

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

SetIncludedDeleted adds the includedDeleted to the get all tags params

func (*GetAllTagsParams) SetObjectType

func (o *GetAllTagsParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get all tags params

func (*GetAllTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get all tags params

func (*GetAllTagsParams) WithAccountID

func (o *GetAllTagsParams) WithAccountID(accountID strfmt.UUID) *GetAllTagsParams

WithAccountID adds the accountID to the get all tags params

func (*GetAllTagsParams) WithAudit

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

WithAudit adds the audit to the get all tags params

func (*GetAllTagsParams) WithContext

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

WithContext adds the context to the get all tags params

func (*GetAllTagsParams) WithDefaults

func (o *GetAllTagsParams) WithDefaults() *GetAllTagsParams

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

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

func (*GetAllTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all tags params

func (*GetAllTagsParams) WithIncludedDeleted

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

WithIncludedDeleted adds the includedDeleted to the get all tags params

func (*GetAllTagsParams) WithObjectType

func (o *GetAllTagsParams) WithObjectType(objectType *string) *GetAllTagsParams

WithObjectType adds the objectType to the get all tags params

func (*GetAllTagsParams) WithTimeout

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

WithTimeout adds the timeout to the get all tags params

func (*GetAllTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAllTagsReader

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

GetAllTagsReader is a Reader for the GetAllTags structure.

func (*GetAllTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlockingStateAuditLogsWithHistoryNotFound

type GetBlockingStateAuditLogsWithHistoryNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Blocking state not found

func NewGetBlockingStateAuditLogsWithHistoryNotFound

func NewGetBlockingStateAuditLogsWithHistoryNotFound() *GetBlockingStateAuditLogsWithHistoryNotFound

NewGetBlockingStateAuditLogsWithHistoryNotFound creates a GetBlockingStateAuditLogsWithHistoryNotFound with default headers values

func (*GetBlockingStateAuditLogsWithHistoryNotFound) Code

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

func (*GetBlockingStateAuditLogsWithHistoryNotFound) Error

func (*GetBlockingStateAuditLogsWithHistoryNotFound) IsClientError

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

func (*GetBlockingStateAuditLogsWithHistoryNotFound) IsCode

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

func (*GetBlockingStateAuditLogsWithHistoryNotFound) IsRedirect

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

func (*GetBlockingStateAuditLogsWithHistoryNotFound) IsServerError

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

func (*GetBlockingStateAuditLogsWithHistoryNotFound) IsSuccess

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

func (*GetBlockingStateAuditLogsWithHistoryNotFound) String

type GetBlockingStateAuditLogsWithHistoryOK

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

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

successful operation

func NewGetBlockingStateAuditLogsWithHistoryOK

func NewGetBlockingStateAuditLogsWithHistoryOK() *GetBlockingStateAuditLogsWithHistoryOK

NewGetBlockingStateAuditLogsWithHistoryOK creates a GetBlockingStateAuditLogsWithHistoryOK with default headers values

func (*GetBlockingStateAuditLogsWithHistoryOK) Code

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

func (*GetBlockingStateAuditLogsWithHistoryOK) Error

func (*GetBlockingStateAuditLogsWithHistoryOK) GetPayload

func (*GetBlockingStateAuditLogsWithHistoryOK) IsClientError

func (o *GetBlockingStateAuditLogsWithHistoryOK) IsClientError() bool

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

func (*GetBlockingStateAuditLogsWithHistoryOK) IsCode

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

func (*GetBlockingStateAuditLogsWithHistoryOK) IsRedirect

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

func (*GetBlockingStateAuditLogsWithHistoryOK) IsServerError

func (o *GetBlockingStateAuditLogsWithHistoryOK) IsServerError() bool

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

func (*GetBlockingStateAuditLogsWithHistoryOK) IsSuccess

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

func (*GetBlockingStateAuditLogsWithHistoryOK) String

type GetBlockingStateAuditLogsWithHistoryParams

type GetBlockingStateAuditLogsWithHistoryParams struct {

	// BlockingID.
	//
	// Format: uuid
	BlockingID 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
}

GetBlockingStateAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint

for the get blocking state audit logs with history operation.

Typically these are written to a http.Request.

func NewGetBlockingStateAuditLogsWithHistoryParams

func NewGetBlockingStateAuditLogsWithHistoryParams() *GetBlockingStateAuditLogsWithHistoryParams

NewGetBlockingStateAuditLogsWithHistoryParams creates a new GetBlockingStateAuditLogsWithHistoryParams 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 NewGetBlockingStateAuditLogsWithHistoryParamsWithContext

func NewGetBlockingStateAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetBlockingStateAuditLogsWithHistoryParams

NewGetBlockingStateAuditLogsWithHistoryParamsWithContext creates a new GetBlockingStateAuditLogsWithHistoryParams object with the ability to set a context for a request.

func NewGetBlockingStateAuditLogsWithHistoryParamsWithHTTPClient

func NewGetBlockingStateAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetBlockingStateAuditLogsWithHistoryParams

NewGetBlockingStateAuditLogsWithHistoryParamsWithHTTPClient creates a new GetBlockingStateAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetBlockingStateAuditLogsWithHistoryParamsWithTimeout

func NewGetBlockingStateAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetBlockingStateAuditLogsWithHistoryParams

NewGetBlockingStateAuditLogsWithHistoryParamsWithTimeout creates a new GetBlockingStateAuditLogsWithHistoryParams object with the ability to set a timeout on a request.

func (*GetBlockingStateAuditLogsWithHistoryParams) SetBlockingID

func (o *GetBlockingStateAuditLogsWithHistoryParams) SetBlockingID(blockingID strfmt.UUID)

SetBlockingID adds the blockingId to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) SetContext

SetContext adds the context to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) SetDefaults

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

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

func (*GetBlockingStateAuditLogsWithHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) SetTimeout

SetTimeout adds the timeout to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WithBlockingID

WithBlockingID adds the blockingID to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WithDefaults

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

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

func (*GetBlockingStateAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get blocking state audit logs with history params

func (*GetBlockingStateAuditLogsWithHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBlockingStateAuditLogsWithHistoryReader

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

GetBlockingStateAuditLogsWithHistoryReader is a Reader for the GetBlockingStateAuditLogsWithHistory structure.

func (*GetBlockingStateAuditLogsWithHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlockingStatesBadRequest

type GetBlockingStatesBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetBlockingStatesBadRequest

func NewGetBlockingStatesBadRequest() *GetBlockingStatesBadRequest

NewGetBlockingStatesBadRequest creates a GetBlockingStatesBadRequest with default headers values

func (*GetBlockingStatesBadRequest) Code

func (o *GetBlockingStatesBadRequest) Code() int

Code gets the status code for the get blocking states bad request response

func (*GetBlockingStatesBadRequest) Error

func (*GetBlockingStatesBadRequest) IsClientError

func (o *GetBlockingStatesBadRequest) IsClientError() bool

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

func (*GetBlockingStatesBadRequest) IsCode

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

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

func (*GetBlockingStatesBadRequest) IsRedirect

func (o *GetBlockingStatesBadRequest) IsRedirect() bool

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

func (*GetBlockingStatesBadRequest) IsServerError

func (o *GetBlockingStatesBadRequest) IsServerError() bool

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

func (*GetBlockingStatesBadRequest) IsSuccess

func (o *GetBlockingStatesBadRequest) IsSuccess() bool

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

func (*GetBlockingStatesBadRequest) String

func (o *GetBlockingStatesBadRequest) String() string

type GetBlockingStatesOK

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

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

successful operation

func NewGetBlockingStatesOK

func NewGetBlockingStatesOK() *GetBlockingStatesOK

NewGetBlockingStatesOK creates a GetBlockingStatesOK with default headers values

func (*GetBlockingStatesOK) Code

func (o *GetBlockingStatesOK) Code() int

Code gets the status code for the get blocking states o k response

func (*GetBlockingStatesOK) Error

func (o *GetBlockingStatesOK) Error() string

func (*GetBlockingStatesOK) GetPayload

func (o *GetBlockingStatesOK) GetPayload() []*kbmodel.BlockingState

func (*GetBlockingStatesOK) IsClientError

func (o *GetBlockingStatesOK) IsClientError() bool

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

func (*GetBlockingStatesOK) IsCode

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

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

func (*GetBlockingStatesOK) IsRedirect

func (o *GetBlockingStatesOK) IsRedirect() bool

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

func (*GetBlockingStatesOK) IsServerError

func (o *GetBlockingStatesOK) IsServerError() bool

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

func (*GetBlockingStatesOK) IsSuccess

func (o *GetBlockingStatesOK) IsSuccess() bool

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

func (*GetBlockingStatesOK) String

func (o *GetBlockingStatesOK) String() string

type GetBlockingStatesParams

type GetBlockingStatesParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

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

	// BlockingStateSvcs.
	BlockingStateSvcs []string

	// BlockingStateTypes.
	BlockingStateTypes []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
}

GetBlockingStatesParams contains all the parameters to send to the API endpoint

for the get blocking states operation.

Typically these are written to a http.Request.

func NewGetBlockingStatesParams

func NewGetBlockingStatesParams() *GetBlockingStatesParams

NewGetBlockingStatesParams creates a new GetBlockingStatesParams 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 NewGetBlockingStatesParamsWithContext

func NewGetBlockingStatesParamsWithContext(ctx context.Context) *GetBlockingStatesParams

NewGetBlockingStatesParamsWithContext creates a new GetBlockingStatesParams object with the ability to set a context for a request.

func NewGetBlockingStatesParamsWithHTTPClient

func NewGetBlockingStatesParamsWithHTTPClient(client *http.Client) *GetBlockingStatesParams

NewGetBlockingStatesParamsWithHTTPClient creates a new GetBlockingStatesParams object with the ability to set a custom HTTPClient for a request.

func NewGetBlockingStatesParamsWithTimeout

func NewGetBlockingStatesParamsWithTimeout(timeout time.Duration) *GetBlockingStatesParams

NewGetBlockingStatesParamsWithTimeout creates a new GetBlockingStatesParams object with the ability to set a timeout on a request.

func (*GetBlockingStatesParams) SetAccountID

func (o *GetBlockingStatesParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get blocking states params

func (*GetBlockingStatesParams) SetAudit

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

SetAudit adds the audit to the get blocking states params

func (*GetBlockingStatesParams) SetBlockingStateSvcs

func (o *GetBlockingStatesParams) SetBlockingStateSvcs(blockingStateSvcs []string)

SetBlockingStateSvcs adds the blockingStateSvcs to the get blocking states params

func (*GetBlockingStatesParams) SetBlockingStateTypes

func (o *GetBlockingStatesParams) SetBlockingStateTypes(blockingStateTypes []string)

SetBlockingStateTypes adds the blockingStateTypes to the get blocking states params

func (*GetBlockingStatesParams) SetContext

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

SetContext adds the context to the get blocking states params

func (*GetBlockingStatesParams) SetDefaults

func (o *GetBlockingStatesParams) SetDefaults()

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

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

func (*GetBlockingStatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get blocking states params

func (*GetBlockingStatesParams) SetTimeout

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

SetTimeout adds the timeout to the get blocking states params

func (*GetBlockingStatesParams) WithAccountID

func (o *GetBlockingStatesParams) WithAccountID(accountID strfmt.UUID) *GetBlockingStatesParams

WithAccountID adds the accountID to the get blocking states params

func (*GetBlockingStatesParams) WithAudit

WithAudit adds the audit to the get blocking states params

func (*GetBlockingStatesParams) WithBlockingStateSvcs

func (o *GetBlockingStatesParams) WithBlockingStateSvcs(blockingStateSvcs []string) *GetBlockingStatesParams

WithBlockingStateSvcs adds the blockingStateSvcs to the get blocking states params

func (*GetBlockingStatesParams) WithBlockingStateTypes

func (o *GetBlockingStatesParams) WithBlockingStateTypes(blockingStateTypes []string) *GetBlockingStatesParams

WithBlockingStateTypes adds the blockingStateTypes to the get blocking states params

func (*GetBlockingStatesParams) WithContext

WithContext adds the context to the get blocking states params

func (*GetBlockingStatesParams) WithDefaults

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

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

func (*GetBlockingStatesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get blocking states params

func (*GetBlockingStatesParams) WithTimeout

WithTimeout adds the timeout to the get blocking states params

func (*GetBlockingStatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBlockingStatesReader

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

GetBlockingStatesReader is a Reader for the GetBlockingStates structure.

func (*GetBlockingStatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetChildrenAccountsBadRequest

type GetChildrenAccountsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid parent account id supplied

func NewGetChildrenAccountsBadRequest

func NewGetChildrenAccountsBadRequest() *GetChildrenAccountsBadRequest

NewGetChildrenAccountsBadRequest creates a GetChildrenAccountsBadRequest with default headers values

func (*GetChildrenAccountsBadRequest) Code

Code gets the status code for the get children accounts bad request response

func (*GetChildrenAccountsBadRequest) Error

func (*GetChildrenAccountsBadRequest) IsClientError

func (o *GetChildrenAccountsBadRequest) IsClientError() bool

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

func (*GetChildrenAccountsBadRequest) IsCode

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

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

func (*GetChildrenAccountsBadRequest) IsRedirect

func (o *GetChildrenAccountsBadRequest) IsRedirect() bool

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

func (*GetChildrenAccountsBadRequest) IsServerError

func (o *GetChildrenAccountsBadRequest) IsServerError() bool

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

func (*GetChildrenAccountsBadRequest) IsSuccess

func (o *GetChildrenAccountsBadRequest) IsSuccess() bool

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

func (*GetChildrenAccountsBadRequest) String

type GetChildrenAccountsNotFound

type GetChildrenAccountsNotFound struct {
	HttpResponse runtime.ClientResponse
}

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

Parent Account not found

func NewGetChildrenAccountsNotFound

func NewGetChildrenAccountsNotFound() *GetChildrenAccountsNotFound

NewGetChildrenAccountsNotFound creates a GetChildrenAccountsNotFound with default headers values

func (*GetChildrenAccountsNotFound) Code

func (o *GetChildrenAccountsNotFound) Code() int

Code gets the status code for the get children accounts not found response

func (*GetChildrenAccountsNotFound) Error

func (*GetChildrenAccountsNotFound) IsClientError

func (o *GetChildrenAccountsNotFound) IsClientError() bool

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

func (*GetChildrenAccountsNotFound) IsCode

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

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

func (*GetChildrenAccountsNotFound) IsRedirect

func (o *GetChildrenAccountsNotFound) IsRedirect() bool

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

func (*GetChildrenAccountsNotFound) IsServerError

func (o *GetChildrenAccountsNotFound) IsServerError() bool

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

func (*GetChildrenAccountsNotFound) IsSuccess

func (o *GetChildrenAccountsNotFound) IsSuccess() bool

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

func (*GetChildrenAccountsNotFound) String

func (o *GetChildrenAccountsNotFound) String() string

type GetChildrenAccountsOK

type GetChildrenAccountsOK struct {
	Payload      []*kbmodel.Account
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetChildrenAccountsOK

func NewGetChildrenAccountsOK() *GetChildrenAccountsOK

NewGetChildrenAccountsOK creates a GetChildrenAccountsOK with default headers values

func (*GetChildrenAccountsOK) Code

func (o *GetChildrenAccountsOK) Code() int

Code gets the status code for the get children accounts o k response

func (*GetChildrenAccountsOK) Error

func (o *GetChildrenAccountsOK) Error() string

func (*GetChildrenAccountsOK) GetPayload

func (o *GetChildrenAccountsOK) GetPayload() []*kbmodel.Account

func (*GetChildrenAccountsOK) IsClientError

func (o *GetChildrenAccountsOK) IsClientError() bool

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

func (*GetChildrenAccountsOK) IsCode

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

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

func (*GetChildrenAccountsOK) IsRedirect

func (o *GetChildrenAccountsOK) IsRedirect() bool

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

func (*GetChildrenAccountsOK) IsServerError

func (o *GetChildrenAccountsOK) IsServerError() bool

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

func (*GetChildrenAccountsOK) IsSuccess

func (o *GetChildrenAccountsOK) IsSuccess() bool

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

func (*GetChildrenAccountsOK) String

func (o *GetChildrenAccountsOK) String() string

type GetChildrenAccountsParams

type GetChildrenAccountsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// AccountWithBalance.
	AccountWithBalance *bool

	// AccountWithBalanceAndCBA.
	AccountWithBalanceAndCBA *bool

	// Audit.
	//
	// Default: "NONE"
	Audit *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
}

GetChildrenAccountsParams contains all the parameters to send to the API endpoint

for the get children accounts operation.

Typically these are written to a http.Request.

func NewGetChildrenAccountsParams

func NewGetChildrenAccountsParams() *GetChildrenAccountsParams

NewGetChildrenAccountsParams creates a new GetChildrenAccountsParams 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 NewGetChildrenAccountsParamsWithContext

func NewGetChildrenAccountsParamsWithContext(ctx context.Context) *GetChildrenAccountsParams

NewGetChildrenAccountsParamsWithContext creates a new GetChildrenAccountsParams object with the ability to set a context for a request.

func NewGetChildrenAccountsParamsWithHTTPClient

func NewGetChildrenAccountsParamsWithHTTPClient(client *http.Client) *GetChildrenAccountsParams

NewGetChildrenAccountsParamsWithHTTPClient creates a new GetChildrenAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewGetChildrenAccountsParamsWithTimeout

func NewGetChildrenAccountsParamsWithTimeout(timeout time.Duration) *GetChildrenAccountsParams

NewGetChildrenAccountsParamsWithTimeout creates a new GetChildrenAccountsParams object with the ability to set a timeout on a request.

func (*GetChildrenAccountsParams) SetAccountID

func (o *GetChildrenAccountsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get children accounts params

func (*GetChildrenAccountsParams) SetAccountWithBalance

func (o *GetChildrenAccountsParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the get children accounts params

func (*GetChildrenAccountsParams) SetAccountWithBalanceAndCBA

func (o *GetChildrenAccountsParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get children accounts params

func (*GetChildrenAccountsParams) SetAudit

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

SetAudit adds the audit to the get children accounts params

func (*GetChildrenAccountsParams) SetContext

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

SetContext adds the context to the get children accounts params

func (*GetChildrenAccountsParams) SetDefaults

func (o *GetChildrenAccountsParams) SetDefaults()

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

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

func (*GetChildrenAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get children accounts params

func (*GetChildrenAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get children accounts params

func (*GetChildrenAccountsParams) WithAccountID

func (o *GetChildrenAccountsParams) WithAccountID(accountID strfmt.UUID) *GetChildrenAccountsParams

WithAccountID adds the accountID to the get children accounts params

func (*GetChildrenAccountsParams) WithAccountWithBalance

func (o *GetChildrenAccountsParams) WithAccountWithBalance(accountWithBalance *bool) *GetChildrenAccountsParams

WithAccountWithBalance adds the accountWithBalance to the get children accounts params

func (*GetChildrenAccountsParams) WithAccountWithBalanceAndCBA

func (o *GetChildrenAccountsParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *GetChildrenAccountsParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the get children accounts params

func (*GetChildrenAccountsParams) WithAudit

WithAudit adds the audit to the get children accounts params

func (*GetChildrenAccountsParams) WithContext

WithContext adds the context to the get children accounts params

func (*GetChildrenAccountsParams) WithDefaults

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

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

func (*GetChildrenAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get children accounts params

func (*GetChildrenAccountsParams) WithTimeout

WithTimeout adds the timeout to the get children accounts params

func (*GetChildrenAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetChildrenAccountsReader

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

GetChildrenAccountsReader is a Reader for the GetChildrenAccounts structure.

func (*GetChildrenAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEmailsBadRequest

type GetEmailsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetEmailsBadRequest

func NewGetEmailsBadRequest() *GetEmailsBadRequest

NewGetEmailsBadRequest creates a GetEmailsBadRequest with default headers values

func (*GetEmailsBadRequest) Code

func (o *GetEmailsBadRequest) Code() int

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

func (*GetEmailsBadRequest) Error

func (o *GetEmailsBadRequest) Error() string

func (*GetEmailsBadRequest) IsClientError

func (o *GetEmailsBadRequest) IsClientError() bool

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

func (*GetEmailsBadRequest) IsCode

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

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

func (*GetEmailsBadRequest) IsRedirect

func (o *GetEmailsBadRequest) IsRedirect() bool

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

func (*GetEmailsBadRequest) IsServerError

func (o *GetEmailsBadRequest) IsServerError() bool

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

func (*GetEmailsBadRequest) IsSuccess

func (o *GetEmailsBadRequest) IsSuccess() bool

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

func (*GetEmailsBadRequest) String

func (o *GetEmailsBadRequest) String() string

type GetEmailsOK

type GetEmailsOK struct {
	Payload      []*kbmodel.AccountEmail
	HttpResponse runtime.ClientResponse
}

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

successful operation

func NewGetEmailsOK

func NewGetEmailsOK() *GetEmailsOK

NewGetEmailsOK creates a GetEmailsOK with default headers values

func (*GetEmailsOK) Code

func (o *GetEmailsOK) Code() int

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

func (*GetEmailsOK) Error

func (o *GetEmailsOK) Error() string

func (*GetEmailsOK) GetPayload

func (o *GetEmailsOK) GetPayload() []*kbmodel.AccountEmail

func (*GetEmailsOK) IsClientError

func (o *GetEmailsOK) IsClientError() bool

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

func (*GetEmailsOK) IsCode

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

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

func (*GetEmailsOK) IsRedirect

func (o *GetEmailsOK) IsRedirect() bool

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

func (*GetEmailsOK) IsServerError

func (o *GetEmailsOK) IsServerError() bool

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

func (*GetEmailsOK) IsSuccess

func (o *GetEmailsOK) IsSuccess() bool

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

func (*GetEmailsOK) String

func (o *GetEmailsOK) String() string

type GetEmailsParams

type GetEmailsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID 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
}

GetEmailsParams contains all the parameters to send to the API endpoint

for the get emails operation.

Typically these are written to a http.Request.

func NewGetEmailsParams

func NewGetEmailsParams() *GetEmailsParams

NewGetEmailsParams creates a new GetEmailsParams 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 NewGetEmailsParamsWithContext

func NewGetEmailsParamsWithContext(ctx context.Context) *GetEmailsParams

NewGetEmailsParamsWithContext creates a new GetEmailsParams object with the ability to set a context for a request.

func NewGetEmailsParamsWithHTTPClient

func NewGetEmailsParamsWithHTTPClient(client *http.Client) *GetEmailsParams

NewGetEmailsParamsWithHTTPClient creates a new GetEmailsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEmailsParamsWithTimeout

func NewGetEmailsParamsWithTimeout(timeout time.Duration) *GetEmailsParams

NewGetEmailsParamsWithTimeout creates a new GetEmailsParams object with the ability to set a timeout on a request.

func (*GetEmailsParams) SetAccountID

func (o *GetEmailsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get emails params

func (*GetEmailsParams) SetContext

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

SetContext adds the context to the get emails params

func (*GetEmailsParams) SetDefaults

func (o *GetEmailsParams) SetDefaults()

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

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

func (*GetEmailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get emails params

func (*GetEmailsParams) SetTimeout

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

SetTimeout adds the timeout to the get emails params

func (*GetEmailsParams) WithAccountID

func (o *GetEmailsParams) WithAccountID(accountID strfmt.UUID) *GetEmailsParams

WithAccountID adds the accountID to the get emails params

func (*GetEmailsParams) WithContext

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

WithContext adds the context to the get emails params

func (*GetEmailsParams) WithDefaults

func (o *GetEmailsParams) WithDefaults() *GetEmailsParams

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

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

func (*GetEmailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get emails params

func (*GetEmailsParams) WithTimeout

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

WithTimeout adds the timeout to the get emails params

func (*GetEmailsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetEmailsReader

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

GetEmailsReader is a Reader for the GetEmails structure.

func (*GetEmailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvoicePaymentsBadRequest

type GetInvoicePaymentsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

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

Invalid account id supplied

func NewGetInvoicePaymentsBadRequest

func NewGetInvoicePaymentsBadRequest() *GetInvoicePaymentsBadRequest

NewGetInvoicePaymentsBadRequest creates a GetInvoicePaymentsBadRequest with default headers values

func (*GetInvoicePaymentsBadRequest) Code

Code gets the status code for the get invoice payments bad request response

func (*GetInvoicePaymentsBadRequest) Error

func (*GetInvoicePaymentsBadRequest) IsClientError

func (o *GetInvoicePaymentsBadRequest) IsClientError() bool

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

func (*GetInvoicePaymentsBadRequest) IsCode

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

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

func (*GetInvoicePaymentsBadRequest) IsRedirect

func (o *GetInvoicePaymentsBadRequest) IsRedirect() bool

IsRedirect returns true when this get invoice payments bad request response has a 3xx status code

func (*GetInvoicePaymentsBadRequest) IsServerError

func (o *GetInvoicePaymentsBadRequest) IsServerError() bool

IsServerError returns true when this get invoice payments bad request response has a 5xx status code

func (*GetInvoicePaymentsBadRequest) IsSuccess

func (o *GetInvoicePaymentsBadRequest) IsSuccess() bool

IsSuccess returns true when this get invoice payments bad request response has a 2xx status code

func (*GetInvoicePaymentsBadRequest) String

type GetInvoicePaymentsNotFound

type GetInvoicePaymentsNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicePaymentsNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetInvoicePaymentsNotFound

func NewGetInvoicePaymentsNotFound() *GetInvoicePaymentsNotFound

NewGetInvoicePaymentsNotFound creates a GetInvoicePaymentsNotFound with default headers values

func (*GetInvoicePaymentsNotFound) Code

func (o *GetInvoicePaymentsNotFound) Code() int

Code gets the status code for the get invoice payments not found response

func (*GetInvoicePaymentsNotFound) Error

func (*GetInvoicePaymentsNotFound) IsClientError

func (o *GetInvoicePaymentsNotFound) IsClientError() bool

IsClientError returns true when this get invoice payments not found response has a 4xx status code

func (*GetInvoicePaymentsNotFound) IsCode

func (o *GetInvoicePaymentsNotFound) IsCode(code int) bool

IsCode returns true when this get invoice payments not found response a status code equal to that given

func (*GetInvoicePaymentsNotFound) IsRedirect

func (o *GetInvoicePaymentsNotFound) IsRedirect() bool

IsRedirect returns true when this get invoice payments not found response has a 3xx status code

func (*GetInvoicePaymentsNotFound) IsServerError

func (o *GetInvoicePaymentsNotFound) IsServerError() bool

IsServerError returns true when this get invoice payments not found response has a 5xx status code

func (*GetInvoicePaymentsNotFound) IsSuccess

func (o *GetInvoicePaymentsNotFound) IsSuccess() bool

IsSuccess returns true when this get invoice payments not found response has a 2xx status code

func (*GetInvoicePaymentsNotFound) String

func (o *GetInvoicePaymentsNotFound) String() string

type GetInvoicePaymentsOK

type GetInvoicePaymentsOK struct {
	Payload      []*kbmodel.InvoicePayment
	HttpResponse runtime.ClientResponse
}

GetInvoicePaymentsOK describes a response with status code 200, with default header values.

successful operation

func NewGetInvoicePaymentsOK

func NewGetInvoicePaymentsOK() *GetInvoicePaymentsOK

NewGetInvoicePaymentsOK creates a GetInvoicePaymentsOK with default headers values

func (*GetInvoicePaymentsOK) Code

func (o *GetInvoicePaymentsOK) Code() int

Code gets the status code for the get invoice payments o k response

func (*GetInvoicePaymentsOK) Error

func (o *GetInvoicePaymentsOK) Error() string

func (*GetInvoicePaymentsOK) GetPayload

func (o *GetInvoicePaymentsOK) GetPayload() []*kbmodel.InvoicePayment

func (*GetInvoicePaymentsOK) IsClientError

func (o *GetInvoicePaymentsOK) IsClientError() bool

IsClientError returns true when this get invoice payments o k response has a 4xx status code

func (*GetInvoicePaymentsOK) IsCode

func (o *GetInvoicePaymentsOK) IsCode(code int) bool

IsCode returns true when this get invoice payments o k response a status code equal to that given

func (*GetInvoicePaymentsOK) IsRedirect

func (o *GetInvoicePaymentsOK) IsRedirect() bool

IsRedirect returns true when this get invoice payments o k response has a 3xx status code

func (*GetInvoicePaymentsOK) IsServerError

func (o *GetInvoicePaymentsOK) IsServerError() bool

IsServerError returns true when this get invoice payments o k response has a 5xx status code

func (*GetInvoicePaymentsOK) IsSuccess

func (o *GetInvoicePaymentsOK) IsSuccess() bool

IsSuccess returns true when this get invoice payments o k response has a 2xx status code

func (*GetInvoicePaymentsOK) String

func (o *GetInvoicePaymentsOK) String() string

type GetInvoicePaymentsParams

type GetInvoicePaymentsParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *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
}

GetInvoicePaymentsParams contains all the parameters to send to the API endpoint

for the get invoice payments operation.

Typically these are written to a http.Request.

func NewGetInvoicePaymentsParams

func NewGetInvoicePaymentsParams() *GetInvoicePaymentsParams

NewGetInvoicePaymentsParams creates a new GetInvoicePaymentsParams 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 NewGetInvoicePaymentsParamsWithContext

func NewGetInvoicePaymentsParamsWithContext(ctx context.Context) *GetInvoicePaymentsParams

NewGetInvoicePaymentsParamsWithContext creates a new GetInvoicePaymentsParams object with the ability to set a context for a request.

func NewGetInvoicePaymentsParamsWithHTTPClient

func NewGetInvoicePaymentsParamsWithHTTPClient(client *http.Client) *GetInvoicePaymentsParams

NewGetInvoicePaymentsParamsWithHTTPClient creates a new GetInvoicePaymentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoicePaymentsParamsWithTimeout

func NewGetInvoicePaymentsParamsWithTimeout(timeout time.Duration) *GetInvoicePaymentsParams

NewGetInvoicePaymentsParamsWithTimeout creates a new GetInvoicePaymentsParams object with the ability to set a timeout on a request.

func (*GetInvoicePaymentsParams) SetAccountID

func (o *GetInvoicePaymentsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get invoice payments params

func (*GetInvoicePaymentsParams) SetAudit

func (o *GetInvoicePaymentsParams) SetAudit(audit *string)

SetAudit adds the audit to the get invoice payments params

func (*GetInvoicePaymentsParams) SetContext

func (o *GetInvoicePaymentsParams) SetContext(ctx context.Context)

SetContext adds the context to the get invoice payments params

func (*GetInvoicePaymentsParams) SetDefaults

func (o *GetInvoicePaymentsParams) SetDefaults()

SetDefaults hydrates default values in the get invoice payments params (not the query body).

All values with no default are reset to their zero value.

func (*GetInvoicePaymentsParams) SetHTTPClient

func (o *GetInvoicePaymentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get invoice payments params

func (*GetInvoicePaymentsParams) SetPluginProperty

func (o *GetInvoicePaymentsParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the get invoice payments params

func (*GetInvoicePaymentsParams) SetTimeout

func (o *GetInvoicePaymentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get invoice payments params

func (*GetInvoicePaymentsParams) SetWithAttempts

func (o *GetInvoicePaymentsParams) SetWithAttempts(withAttempts *bool)

SetWithAttempts adds the withAttempts to the get invoice payments params

func (*GetInvoicePaymentsParams) SetWithPluginInfo

func (o *GetInvoicePaymentsParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get invoice payments params

func (*GetInvoicePaymentsParams) WithAccountID

func (o *GetInvoicePaymentsParams) WithAccountID(accountID strfmt.UUID) *GetInvoicePaymentsParams

WithAccountID adds the accountID to the get invoice payments params

func (*GetInvoicePaymentsParams) WithAudit

WithAudit adds the audit to the get invoice payments params

func (*GetInvoicePaymentsParams) WithContext

WithContext adds the context to the get invoice payments params

func (*GetInvoicePaymentsParams) WithDefaults

WithDefaults hydrates default values in the get invoice payments params (not the query body).

All values with no default are reset to their zero value.

func (*GetInvoicePaymentsParams) WithHTTPClient

func (o *GetInvoicePaymentsParams) WithHTTPClient(client *http.Client) *GetInvoicePaymentsParams

WithHTTPClient adds the HTTPClient to the get invoice payments params

func (*GetInvoicePaymentsParams) WithPluginProperty

func (o *GetInvoicePaymentsParams) WithPluginProperty(pluginProperty []string) *GetInvoicePaymentsParams

WithPluginProperty adds the pluginProperty to the get invoice payments params

func (*GetInvoicePaymentsParams) WithTimeout

WithTimeout adds the timeout to the get invoice payments params

func (*GetInvoicePaymentsParams) WithWithAttempts

func (o *GetInvoicePaymentsParams) WithWithAttempts(withAttempts *bool) *GetInvoicePaymentsParams

WithWithAttempts adds the withAttempts to the get invoice payments params

func (*GetInvoicePaymentsParams) WithWithPluginInfo

func (o *GetInvoicePaymentsParams) WithWithPluginInfo(withPluginInfo *bool) *GetInvoicePaymentsParams

WithWithPluginInfo adds the withPluginInfo to the get invoice payments params

func (*GetInvoicePaymentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicePaymentsReader

type GetInvoicePaymentsReader struct {
	// contains filtered or unexported fields
}

GetInvoicePaymentsReader is a Reader for the GetInvoicePayments structure.

func (*GetInvoicePaymentsReader) ReadResponse

func (o *GetInvoicePaymentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetInvoicesForAccountBadRequest

type GetInvoicesForAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewGetInvoicesForAccountBadRequest

func NewGetInvoicesForAccountBadRequest() *GetInvoicesForAccountBadRequest

NewGetInvoicesForAccountBadRequest creates a GetInvoicesForAccountBadRequest with default headers values

func (*GetInvoicesForAccountBadRequest) Code

Code gets the status code for the get invoices for account bad request response

func (*GetInvoicesForAccountBadRequest) Error

func (*GetInvoicesForAccountBadRequest) IsClientError

func (o *GetInvoicesForAccountBadRequest) IsClientError() bool

IsClientError returns true when this get invoices for account bad request response has a 4xx status code

func (*GetInvoicesForAccountBadRequest) IsCode

func (o *GetInvoicesForAccountBadRequest) IsCode(code int) bool

IsCode returns true when this get invoices for account bad request response a status code equal to that given

func (*GetInvoicesForAccountBadRequest) IsRedirect

func (o *GetInvoicesForAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this get invoices for account bad request response has a 3xx status code

func (*GetInvoicesForAccountBadRequest) IsServerError

func (o *GetInvoicesForAccountBadRequest) IsServerError() bool

IsServerError returns true when this get invoices for account bad request response has a 5xx status code

func (*GetInvoicesForAccountBadRequest) IsSuccess

func (o *GetInvoicesForAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this get invoices for account bad request response has a 2xx status code

func (*GetInvoicesForAccountBadRequest) String

type GetInvoicesForAccountNotFound

type GetInvoicesForAccountNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetInvoicesForAccountNotFound

func NewGetInvoicesForAccountNotFound() *GetInvoicesForAccountNotFound

NewGetInvoicesForAccountNotFound creates a GetInvoicesForAccountNotFound with default headers values

func (*GetInvoicesForAccountNotFound) Code

Code gets the status code for the get invoices for account not found response

func (*GetInvoicesForAccountNotFound) Error

func (*GetInvoicesForAccountNotFound) IsClientError

func (o *GetInvoicesForAccountNotFound) IsClientError() bool

IsClientError returns true when this get invoices for account not found response has a 4xx status code

func (*GetInvoicesForAccountNotFound) IsCode

func (o *GetInvoicesForAccountNotFound) IsCode(code int) bool

IsCode returns true when this get invoices for account not found response a status code equal to that given

func (*GetInvoicesForAccountNotFound) IsRedirect

func (o *GetInvoicesForAccountNotFound) IsRedirect() bool

IsRedirect returns true when this get invoices for account not found response has a 3xx status code

func (*GetInvoicesForAccountNotFound) IsServerError

func (o *GetInvoicesForAccountNotFound) IsServerError() bool

IsServerError returns true when this get invoices for account not found response has a 5xx status code

func (*GetInvoicesForAccountNotFound) IsSuccess

func (o *GetInvoicesForAccountNotFound) IsSuccess() bool

IsSuccess returns true when this get invoices for account not found response has a 2xx status code

func (*GetInvoicesForAccountNotFound) String

type GetInvoicesForAccountOK

type GetInvoicesForAccountOK struct {
	Payload      []*kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountOK describes a response with status code 200, with default header values.

successful operation

func NewGetInvoicesForAccountOK

func NewGetInvoicesForAccountOK() *GetInvoicesForAccountOK

NewGetInvoicesForAccountOK creates a GetInvoicesForAccountOK with default headers values

func (*GetInvoicesForAccountOK) Code

func (o *GetInvoicesForAccountOK) Code() int

Code gets the status code for the get invoices for account o k response

func (*GetInvoicesForAccountOK) Error

func (o *GetInvoicesForAccountOK) Error() string

func (*GetInvoicesForAccountOK) GetPayload

func (o *GetInvoicesForAccountOK) GetPayload() []*kbmodel.Invoice

func (*GetInvoicesForAccountOK) IsClientError

func (o *GetInvoicesForAccountOK) IsClientError() bool

IsClientError returns true when this get invoices for account o k response has a 4xx status code

func (*GetInvoicesForAccountOK) IsCode

func (o *GetInvoicesForAccountOK) IsCode(code int) bool

IsCode returns true when this get invoices for account o k response a status code equal to that given

func (*GetInvoicesForAccountOK) IsRedirect

func (o *GetInvoicesForAccountOK) IsRedirect() bool

IsRedirect returns true when this get invoices for account o k response has a 3xx status code

func (*GetInvoicesForAccountOK) IsServerError

func (o *GetInvoicesForAccountOK) IsServerError() bool

IsServerError returns true when this get invoices for account o k response has a 5xx status code

func (*GetInvoicesForAccountOK) IsSuccess

func (o *GetInvoicesForAccountOK) IsSuccess() bool

IsSuccess returns true when this get invoices for account o k response has a 2xx status code

func (*GetInvoicesForAccountOK) String

func (o *GetInvoicesForAccountOK) String() string

type GetInvoicesForAccountPaginatedBadRequest

type GetInvoicesForAccountPaginatedBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountPaginatedBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewGetInvoicesForAccountPaginatedBadRequest

func NewGetInvoicesForAccountPaginatedBadRequest() *GetInvoicesForAccountPaginatedBadRequest

NewGetInvoicesForAccountPaginatedBadRequest creates a GetInvoicesForAccountPaginatedBadRequest with default headers values

func (*GetInvoicesForAccountPaginatedBadRequest) Code

Code gets the status code for the get invoices for account paginated bad request response

func (*GetInvoicesForAccountPaginatedBadRequest) Error

func (*GetInvoicesForAccountPaginatedBadRequest) IsClientError

IsClientError returns true when this get invoices for account paginated bad request response has a 4xx status code

func (*GetInvoicesForAccountPaginatedBadRequest) IsCode

IsCode returns true when this get invoices for account paginated bad request response a status code equal to that given

func (*GetInvoicesForAccountPaginatedBadRequest) IsRedirect

IsRedirect returns true when this get invoices for account paginated bad request response has a 3xx status code

func (*GetInvoicesForAccountPaginatedBadRequest) IsServerError

IsServerError returns true when this get invoices for account paginated bad request response has a 5xx status code

func (*GetInvoicesForAccountPaginatedBadRequest) IsSuccess

IsSuccess returns true when this get invoices for account paginated bad request response has a 2xx status code

func (*GetInvoicesForAccountPaginatedBadRequest) String

type GetInvoicesForAccountPaginatedNotFound

type GetInvoicesForAccountPaginatedNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountPaginatedNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetInvoicesForAccountPaginatedNotFound

func NewGetInvoicesForAccountPaginatedNotFound() *GetInvoicesForAccountPaginatedNotFound

NewGetInvoicesForAccountPaginatedNotFound creates a GetInvoicesForAccountPaginatedNotFound with default headers values

func (*GetInvoicesForAccountPaginatedNotFound) Code

Code gets the status code for the get invoices for account paginated not found response

func (*GetInvoicesForAccountPaginatedNotFound) Error

func (*GetInvoicesForAccountPaginatedNotFound) IsClientError

func (o *GetInvoicesForAccountPaginatedNotFound) IsClientError() bool

IsClientError returns true when this get invoices for account paginated not found response has a 4xx status code

func (*GetInvoicesForAccountPaginatedNotFound) IsCode

IsCode returns true when this get invoices for account paginated not found response a status code equal to that given

func (*GetInvoicesForAccountPaginatedNotFound) IsRedirect

IsRedirect returns true when this get invoices for account paginated not found response has a 3xx status code

func (*GetInvoicesForAccountPaginatedNotFound) IsServerError

func (o *GetInvoicesForAccountPaginatedNotFound) IsServerError() bool

IsServerError returns true when this get invoices for account paginated not found response has a 5xx status code

func (*GetInvoicesForAccountPaginatedNotFound) IsSuccess

IsSuccess returns true when this get invoices for account paginated not found response has a 2xx status code

func (*GetInvoicesForAccountPaginatedNotFound) String

type GetInvoicesForAccountPaginatedOK

type GetInvoicesForAccountPaginatedOK struct {
	Payload      []*kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

GetInvoicesForAccountPaginatedOK describes a response with status code 200, with default header values.

successful operation

func NewGetInvoicesForAccountPaginatedOK

func NewGetInvoicesForAccountPaginatedOK() *GetInvoicesForAccountPaginatedOK

NewGetInvoicesForAccountPaginatedOK creates a GetInvoicesForAccountPaginatedOK with default headers values

func (*GetInvoicesForAccountPaginatedOK) Code

Code gets the status code for the get invoices for account paginated o k response

func (*GetInvoicesForAccountPaginatedOK) Error

func (*GetInvoicesForAccountPaginatedOK) GetPayload

func (*GetInvoicesForAccountPaginatedOK) IsClientError

func (o *GetInvoicesForAccountPaginatedOK) IsClientError() bool

IsClientError returns true when this get invoices for account paginated o k response has a 4xx status code

func (*GetInvoicesForAccountPaginatedOK) IsCode

func (o *GetInvoicesForAccountPaginatedOK) IsCode(code int) bool

IsCode returns true when this get invoices for account paginated o k response a status code equal to that given

func (*GetInvoicesForAccountPaginatedOK) IsRedirect

func (o *GetInvoicesForAccountPaginatedOK) IsRedirect() bool

IsRedirect returns true when this get invoices for account paginated o k response has a 3xx status code

func (*GetInvoicesForAccountPaginatedOK) IsServerError

func (o *GetInvoicesForAccountPaginatedOK) IsServerError() bool

IsServerError returns true when this get invoices for account paginated o k response has a 5xx status code

func (*GetInvoicesForAccountPaginatedOK) IsSuccess

func (o *GetInvoicesForAccountPaginatedOK) IsSuccess() bool

IsSuccess returns true when this get invoices for account paginated o k response has a 2xx status code

func (*GetInvoicesForAccountPaginatedOK) String

type GetInvoicesForAccountPaginatedParams

type GetInvoicesForAccountPaginatedParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// 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
}

GetInvoicesForAccountPaginatedParams contains all the parameters to send to the API endpoint

for the get invoices for account paginated operation.

Typically these are written to a http.Request.

func NewGetInvoicesForAccountPaginatedParams

func NewGetInvoicesForAccountPaginatedParams() *GetInvoicesForAccountPaginatedParams

NewGetInvoicesForAccountPaginatedParams creates a new GetInvoicesForAccountPaginatedParams 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 NewGetInvoicesForAccountPaginatedParamsWithContext

func NewGetInvoicesForAccountPaginatedParamsWithContext(ctx context.Context) *GetInvoicesForAccountPaginatedParams

NewGetInvoicesForAccountPaginatedParamsWithContext creates a new GetInvoicesForAccountPaginatedParams object with the ability to set a context for a request.

func NewGetInvoicesForAccountPaginatedParamsWithHTTPClient

func NewGetInvoicesForAccountPaginatedParamsWithHTTPClient(client *http.Client) *GetInvoicesForAccountPaginatedParams

NewGetInvoicesForAccountPaginatedParamsWithHTTPClient creates a new GetInvoicesForAccountPaginatedParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoicesForAccountPaginatedParamsWithTimeout

func NewGetInvoicesForAccountPaginatedParamsWithTimeout(timeout time.Duration) *GetInvoicesForAccountPaginatedParams

NewGetInvoicesForAccountPaginatedParamsWithTimeout creates a new GetInvoicesForAccountPaginatedParams object with the ability to set a timeout on a request.

func (*GetInvoicesForAccountPaginatedParams) SetAccountID

func (o *GetInvoicesForAccountPaginatedParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) SetAudit

func (o *GetInvoicesForAccountPaginatedParams) SetAudit(audit *string)

SetAudit adds the audit to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) SetContext

SetContext adds the context to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) SetDefaults

func (o *GetInvoicesForAccountPaginatedParams) SetDefaults()

SetDefaults hydrates default values in the get invoices for account paginated params (not the query body).

All values with no default are reset to their zero value.

func (*GetInvoicesForAccountPaginatedParams) SetHTTPClient

func (o *GetInvoicesForAccountPaginatedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) SetLimit

func (o *GetInvoicesForAccountPaginatedParams) SetLimit(limit *int64)

SetLimit adds the limit to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) SetOffset

func (o *GetInvoicesForAccountPaginatedParams) SetOffset(offset *int64)

SetOffset adds the offset to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) SetTimeout

func (o *GetInvoicesForAccountPaginatedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) WithAccountID

WithAccountID adds the accountID to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) WithAudit

WithAudit adds the audit to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) WithContext

WithContext adds the context to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) WithDefaults

WithDefaults hydrates default values in the get invoices for account paginated params (not the query body).

All values with no default are reset to their zero value.

func (*GetInvoicesForAccountPaginatedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) WithLimit

WithLimit adds the limit to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) WithOffset

WithOffset adds the offset to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) WithTimeout

WithTimeout adds the timeout to the get invoices for account paginated params

func (*GetInvoicesForAccountPaginatedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicesForAccountPaginatedReader

type GetInvoicesForAccountPaginatedReader struct {
	// contains filtered or unexported fields
}

GetInvoicesForAccountPaginatedReader is a Reader for the GetInvoicesForAccountPaginated structure.

func (*GetInvoicesForAccountPaginatedReader) ReadResponse

func (o *GetInvoicesForAccountPaginatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetInvoicesForAccountParams

type GetInvoicesForAccountParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// EndDate.
	//
	// Format: date
	EndDate *strfmt.Date

	// IncludeInvoiceComponents.
	IncludeInvoiceComponents *bool

	// IncludeVoidedInvoices.
	IncludeVoidedInvoices *bool

	// InvoicesFilter.
	InvoicesFilter *string

	// StartDate.
	//
	// Format: date
	StartDate *strfmt.Date

	// UnpaidInvoicesOnly.
	UnpaidInvoicesOnly *bool

	// WithMigrationInvoices.
	WithMigrationInvoices *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
}

GetInvoicesForAccountParams contains all the parameters to send to the API endpoint

for the get invoices for account operation.

Typically these are written to a http.Request.

func NewGetInvoicesForAccountParams

func NewGetInvoicesForAccountParams() *GetInvoicesForAccountParams

NewGetInvoicesForAccountParams creates a new GetInvoicesForAccountParams 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 NewGetInvoicesForAccountParamsWithContext

func NewGetInvoicesForAccountParamsWithContext(ctx context.Context) *GetInvoicesForAccountParams

NewGetInvoicesForAccountParamsWithContext creates a new GetInvoicesForAccountParams object with the ability to set a context for a request.

func NewGetInvoicesForAccountParamsWithHTTPClient

func NewGetInvoicesForAccountParamsWithHTTPClient(client *http.Client) *GetInvoicesForAccountParams

NewGetInvoicesForAccountParamsWithHTTPClient creates a new GetInvoicesForAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvoicesForAccountParamsWithTimeout

func NewGetInvoicesForAccountParamsWithTimeout(timeout time.Duration) *GetInvoicesForAccountParams

NewGetInvoicesForAccountParamsWithTimeout creates a new GetInvoicesForAccountParams object with the ability to set a timeout on a request.

func (*GetInvoicesForAccountParams) SetAccountID

func (o *GetInvoicesForAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get invoices for account params

func (*GetInvoicesForAccountParams) SetAudit

func (o *GetInvoicesForAccountParams) SetAudit(audit *string)

SetAudit adds the audit to the get invoices for account params

func (*GetInvoicesForAccountParams) SetContext

func (o *GetInvoicesForAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the get invoices for account params

func (*GetInvoicesForAccountParams) SetDefaults

func (o *GetInvoicesForAccountParams) SetDefaults()

SetDefaults hydrates default values in the get invoices for account params (not the query body).

All values with no default are reset to their zero value.

func (*GetInvoicesForAccountParams) SetEndDate

func (o *GetInvoicesForAccountParams) SetEndDate(endDate *strfmt.Date)

SetEndDate adds the endDate to the get invoices for account params

func (*GetInvoicesForAccountParams) SetHTTPClient

func (o *GetInvoicesForAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get invoices for account params

func (*GetInvoicesForAccountParams) SetIncludeInvoiceComponents

func (o *GetInvoicesForAccountParams) SetIncludeInvoiceComponents(includeInvoiceComponents *bool)

SetIncludeInvoiceComponents adds the includeInvoiceComponents to the get invoices for account params

func (*GetInvoicesForAccountParams) SetIncludeVoidedInvoices

func (o *GetInvoicesForAccountParams) SetIncludeVoidedInvoices(includeVoidedInvoices *bool)

SetIncludeVoidedInvoices adds the includeVoidedInvoices to the get invoices for account params

func (*GetInvoicesForAccountParams) SetInvoicesFilter

func (o *GetInvoicesForAccountParams) SetInvoicesFilter(invoicesFilter *string)

SetInvoicesFilter adds the invoicesFilter to the get invoices for account params

func (*GetInvoicesForAccountParams) SetStartDate

func (o *GetInvoicesForAccountParams) SetStartDate(startDate *strfmt.Date)

SetStartDate adds the startDate to the get invoices for account params

func (*GetInvoicesForAccountParams) SetTimeout

func (o *GetInvoicesForAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get invoices for account params

func (*GetInvoicesForAccountParams) SetUnpaidInvoicesOnly

func (o *GetInvoicesForAccountParams) SetUnpaidInvoicesOnly(unpaidInvoicesOnly *bool)

SetUnpaidInvoicesOnly adds the unpaidInvoicesOnly to the get invoices for account params

func (*GetInvoicesForAccountParams) SetWithMigrationInvoices

func (o *GetInvoicesForAccountParams) SetWithMigrationInvoices(withMigrationInvoices *bool)

SetWithMigrationInvoices adds the withMigrationInvoices to the get invoices for account params

func (*GetInvoicesForAccountParams) WithAccountID

WithAccountID adds the accountID to the get invoices for account params

func (*GetInvoicesForAccountParams) WithAudit

WithAudit adds the audit to the get invoices for account params

func (*GetInvoicesForAccountParams) WithContext

WithContext adds the context to the get invoices for account params

func (*GetInvoicesForAccountParams) WithDefaults

WithDefaults hydrates default values in the get invoices for account params (not the query body).

All values with no default are reset to their zero value.

func (*GetInvoicesForAccountParams) WithEndDate

WithEndDate adds the endDate to the get invoices for account params

func (*GetInvoicesForAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invoices for account params

func (*GetInvoicesForAccountParams) WithIncludeInvoiceComponents

func (o *GetInvoicesForAccountParams) WithIncludeInvoiceComponents(includeInvoiceComponents *bool) *GetInvoicesForAccountParams

WithIncludeInvoiceComponents adds the includeInvoiceComponents to the get invoices for account params

func (*GetInvoicesForAccountParams) WithIncludeVoidedInvoices

func (o *GetInvoicesForAccountParams) WithIncludeVoidedInvoices(includeVoidedInvoices *bool) *GetInvoicesForAccountParams

WithIncludeVoidedInvoices adds the includeVoidedInvoices to the get invoices for account params

func (*GetInvoicesForAccountParams) WithInvoicesFilter

func (o *GetInvoicesForAccountParams) WithInvoicesFilter(invoicesFilter *string) *GetInvoicesForAccountParams

WithInvoicesFilter adds the invoicesFilter to the get invoices for account params

func (*GetInvoicesForAccountParams) WithStartDate

WithStartDate adds the startDate to the get invoices for account params

func (*GetInvoicesForAccountParams) WithTimeout

WithTimeout adds the timeout to the get invoices for account params

func (*GetInvoicesForAccountParams) WithUnpaidInvoicesOnly

func (o *GetInvoicesForAccountParams) WithUnpaidInvoicesOnly(unpaidInvoicesOnly *bool) *GetInvoicesForAccountParams

WithUnpaidInvoicesOnly adds the unpaidInvoicesOnly to the get invoices for account params

func (*GetInvoicesForAccountParams) WithWithMigrationInvoices

func (o *GetInvoicesForAccountParams) WithWithMigrationInvoices(withMigrationInvoices *bool) *GetInvoicesForAccountParams

WithWithMigrationInvoices adds the withMigrationInvoices to the get invoices for account params

func (*GetInvoicesForAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvoicesForAccountReader

type GetInvoicesForAccountReader struct {
	// contains filtered or unexported fields
}

GetInvoicesForAccountReader is a Reader for the GetInvoicesForAccount structure.

func (*GetInvoicesForAccountReader) ReadResponse

func (o *GetInvoicesForAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOverdueAccountBadRequest

type GetOverdueAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetOverdueAccountBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewGetOverdueAccountBadRequest

func NewGetOverdueAccountBadRequest() *GetOverdueAccountBadRequest

NewGetOverdueAccountBadRequest creates a GetOverdueAccountBadRequest with default headers values

func (*GetOverdueAccountBadRequest) Code

func (o *GetOverdueAccountBadRequest) Code() int

Code gets the status code for the get overdue account bad request response

func (*GetOverdueAccountBadRequest) Error

func (*GetOverdueAccountBadRequest) IsClientError

func (o *GetOverdueAccountBadRequest) IsClientError() bool

IsClientError returns true when this get overdue account bad request response has a 4xx status code

func (*GetOverdueAccountBadRequest) IsCode

func (o *GetOverdueAccountBadRequest) IsCode(code int) bool

IsCode returns true when this get overdue account bad request response a status code equal to that given

func (*GetOverdueAccountBadRequest) IsRedirect

func (o *GetOverdueAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this get overdue account bad request response has a 3xx status code

func (*GetOverdueAccountBadRequest) IsServerError

func (o *GetOverdueAccountBadRequest) IsServerError() bool

IsServerError returns true when this get overdue account bad request response has a 5xx status code

func (*GetOverdueAccountBadRequest) IsSuccess

func (o *GetOverdueAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this get overdue account bad request response has a 2xx status code

func (*GetOverdueAccountBadRequest) String

func (o *GetOverdueAccountBadRequest) String() string

type GetOverdueAccountNotFound

type GetOverdueAccountNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetOverdueAccountNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetOverdueAccountNotFound

func NewGetOverdueAccountNotFound() *GetOverdueAccountNotFound

NewGetOverdueAccountNotFound creates a GetOverdueAccountNotFound with default headers values

func (*GetOverdueAccountNotFound) Code

func (o *GetOverdueAccountNotFound) Code() int

Code gets the status code for the get overdue account not found response

func (*GetOverdueAccountNotFound) Error

func (o *GetOverdueAccountNotFound) Error() string

func (*GetOverdueAccountNotFound) IsClientError

func (o *GetOverdueAccountNotFound) IsClientError() bool

IsClientError returns true when this get overdue account not found response has a 4xx status code

func (*GetOverdueAccountNotFound) IsCode

func (o *GetOverdueAccountNotFound) IsCode(code int) bool

IsCode returns true when this get overdue account not found response a status code equal to that given

func (*GetOverdueAccountNotFound) IsRedirect

func (o *GetOverdueAccountNotFound) IsRedirect() bool

IsRedirect returns true when this get overdue account not found response has a 3xx status code

func (*GetOverdueAccountNotFound) IsServerError

func (o *GetOverdueAccountNotFound) IsServerError() bool

IsServerError returns true when this get overdue account not found response has a 5xx status code

func (*GetOverdueAccountNotFound) IsSuccess

func (o *GetOverdueAccountNotFound) IsSuccess() bool

IsSuccess returns true when this get overdue account not found response has a 2xx status code

func (*GetOverdueAccountNotFound) String

func (o *GetOverdueAccountNotFound) String() string

type GetOverdueAccountOK

type GetOverdueAccountOK struct {
	Payload      *kbmodel.OverdueState
	HttpResponse runtime.ClientResponse
}

GetOverdueAccountOK describes a response with status code 200, with default header values.

successful operation

func NewGetOverdueAccountOK

func NewGetOverdueAccountOK() *GetOverdueAccountOK

NewGetOverdueAccountOK creates a GetOverdueAccountOK with default headers values

func (*GetOverdueAccountOK) Code

func (o *GetOverdueAccountOK) Code() int

Code gets the status code for the get overdue account o k response

func (*GetOverdueAccountOK) Error

func (o *GetOverdueAccountOK) Error() string

func (*GetOverdueAccountOK) GetPayload

func (o *GetOverdueAccountOK) GetPayload() *kbmodel.OverdueState

func (*GetOverdueAccountOK) IsClientError

func (o *GetOverdueAccountOK) IsClientError() bool

IsClientError returns true when this get overdue account o k response has a 4xx status code

func (*GetOverdueAccountOK) IsCode

func (o *GetOverdueAccountOK) IsCode(code int) bool

IsCode returns true when this get overdue account o k response a status code equal to that given

func (*GetOverdueAccountOK) IsRedirect

func (o *GetOverdueAccountOK) IsRedirect() bool

IsRedirect returns true when this get overdue account o k response has a 3xx status code

func (*GetOverdueAccountOK) IsServerError

func (o *GetOverdueAccountOK) IsServerError() bool

IsServerError returns true when this get overdue account o k response has a 5xx status code

func (*GetOverdueAccountOK) IsSuccess

func (o *GetOverdueAccountOK) IsSuccess() bool

IsSuccess returns true when this get overdue account o k response has a 2xx status code

func (*GetOverdueAccountOK) String

func (o *GetOverdueAccountOK) String() string

type GetOverdueAccountParams

type GetOverdueAccountParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID 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
}

GetOverdueAccountParams contains all the parameters to send to the API endpoint

for the get overdue account operation.

Typically these are written to a http.Request.

func NewGetOverdueAccountParams

func NewGetOverdueAccountParams() *GetOverdueAccountParams

NewGetOverdueAccountParams creates a new GetOverdueAccountParams 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 NewGetOverdueAccountParamsWithContext

func NewGetOverdueAccountParamsWithContext(ctx context.Context) *GetOverdueAccountParams

NewGetOverdueAccountParamsWithContext creates a new GetOverdueAccountParams object with the ability to set a context for a request.

func NewGetOverdueAccountParamsWithHTTPClient

func NewGetOverdueAccountParamsWithHTTPClient(client *http.Client) *GetOverdueAccountParams

NewGetOverdueAccountParamsWithHTTPClient creates a new GetOverdueAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetOverdueAccountParamsWithTimeout

func NewGetOverdueAccountParamsWithTimeout(timeout time.Duration) *GetOverdueAccountParams

NewGetOverdueAccountParamsWithTimeout creates a new GetOverdueAccountParams object with the ability to set a timeout on a request.

func (*GetOverdueAccountParams) SetAccountID

func (o *GetOverdueAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get overdue account params

func (*GetOverdueAccountParams) SetContext

func (o *GetOverdueAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the get overdue account params

func (*GetOverdueAccountParams) SetDefaults

func (o *GetOverdueAccountParams) SetDefaults()

SetDefaults hydrates default values in the get overdue account params (not the query body).

All values with no default are reset to their zero value.

func (*GetOverdueAccountParams) SetHTTPClient

func (o *GetOverdueAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get overdue account params

func (*GetOverdueAccountParams) SetTimeout

func (o *GetOverdueAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get overdue account params

func (*GetOverdueAccountParams) WithAccountID

func (o *GetOverdueAccountParams) WithAccountID(accountID strfmt.UUID) *GetOverdueAccountParams

WithAccountID adds the accountID to the get overdue account params

func (*GetOverdueAccountParams) WithContext

WithContext adds the context to the get overdue account params

func (*GetOverdueAccountParams) WithDefaults

WithDefaults hydrates default values in the get overdue account params (not the query body).

All values with no default are reset to their zero value.

func (*GetOverdueAccountParams) WithHTTPClient

func (o *GetOverdueAccountParams) WithHTTPClient(client *http.Client) *GetOverdueAccountParams

WithHTTPClient adds the HTTPClient to the get overdue account params

func (*GetOverdueAccountParams) WithTimeout

WithTimeout adds the timeout to the get overdue account params

func (*GetOverdueAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOverdueAccountReader

type GetOverdueAccountReader struct {
	// contains filtered or unexported fields
}

GetOverdueAccountReader is a Reader for the GetOverdueAccount structure.

func (*GetOverdueAccountReader) ReadResponse

func (o *GetOverdueAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPaymentMethodsForAccountBadRequest

type GetPaymentMethodsForAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodsForAccountBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewGetPaymentMethodsForAccountBadRequest

func NewGetPaymentMethodsForAccountBadRequest() *GetPaymentMethodsForAccountBadRequest

NewGetPaymentMethodsForAccountBadRequest creates a GetPaymentMethodsForAccountBadRequest with default headers values

func (*GetPaymentMethodsForAccountBadRequest) Code

Code gets the status code for the get payment methods for account bad request response

func (*GetPaymentMethodsForAccountBadRequest) Error

func (*GetPaymentMethodsForAccountBadRequest) IsClientError

func (o *GetPaymentMethodsForAccountBadRequest) IsClientError() bool

IsClientError returns true when this get payment methods for account bad request response has a 4xx status code

func (*GetPaymentMethodsForAccountBadRequest) IsCode

IsCode returns true when this get payment methods for account bad request response a status code equal to that given

func (*GetPaymentMethodsForAccountBadRequest) IsRedirect

IsRedirect returns true when this get payment methods for account bad request response has a 3xx status code

func (*GetPaymentMethodsForAccountBadRequest) IsServerError

func (o *GetPaymentMethodsForAccountBadRequest) IsServerError() bool

IsServerError returns true when this get payment methods for account bad request response has a 5xx status code

func (*GetPaymentMethodsForAccountBadRequest) IsSuccess

IsSuccess returns true when this get payment methods for account bad request response has a 2xx status code

func (*GetPaymentMethodsForAccountBadRequest) String

type GetPaymentMethodsForAccountNotFound

type GetPaymentMethodsForAccountNotFound struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodsForAccountNotFound describes a response with status code 404, with default header values.

Account not found

func NewGetPaymentMethodsForAccountNotFound

func NewGetPaymentMethodsForAccountNotFound() *GetPaymentMethodsForAccountNotFound

NewGetPaymentMethodsForAccountNotFound creates a GetPaymentMethodsForAccountNotFound with default headers values

func (*GetPaymentMethodsForAccountNotFound) Code

Code gets the status code for the get payment methods for account not found response

func (*GetPaymentMethodsForAccountNotFound) Error

func (*GetPaymentMethodsForAccountNotFound) IsClientError

func (o *GetPaymentMethodsForAccountNotFound) IsClientError() bool

IsClientError returns true when this get payment methods for account not found response has a 4xx status code

func (*GetPaymentMethodsForAccountNotFound) IsCode

IsCode returns true when this get payment methods for account not found response a status code equal to that given

func (*GetPaymentMethodsForAccountNotFound) IsRedirect

func (o *GetPaymentMethodsForAccountNotFound) IsRedirect() bool

IsRedirect returns true when this get payment methods for account not found response has a 3xx status code

func (*GetPaymentMethodsForAccountNotFound) IsServerError

func (o *GetPaymentMethodsForAccountNotFound) IsServerError() bool

IsServerError returns true when this get payment methods for account not found response has a 5xx status code

func (*GetPaymentMethodsForAccountNotFound) IsSuccess

IsSuccess returns true when this get payment methods for account not found response has a 2xx status code

func (*GetPaymentMethodsForAccountNotFound) String

type GetPaymentMethodsForAccountOK

type GetPaymentMethodsForAccountOK struct {
	Payload      []*kbmodel.PaymentMethod
	HttpResponse runtime.ClientResponse
}

GetPaymentMethodsForAccountOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentMethodsForAccountOK

func NewGetPaymentMethodsForAccountOK() *GetPaymentMethodsForAccountOK

NewGetPaymentMethodsForAccountOK creates a GetPaymentMethodsForAccountOK with default headers values

func (*GetPaymentMethodsForAccountOK) Code

Code gets the status code for the get payment methods for account o k response

func (*GetPaymentMethodsForAccountOK) Error

func (*GetPaymentMethodsForAccountOK) GetPayload

func (*GetPaymentMethodsForAccountOK) IsClientError

func (o *GetPaymentMethodsForAccountOK) IsClientError() bool

IsClientError returns true when this get payment methods for account o k response has a 4xx status code

func (*GetPaymentMethodsForAccountOK) IsCode

func (o *GetPaymentMethodsForAccountOK) IsCode(code int) bool

IsCode returns true when this get payment methods for account o k response a status code equal to that given

func (*GetPaymentMethodsForAccountOK) IsRedirect

func (o *GetPaymentMethodsForAccountOK) IsRedirect() bool

IsRedirect returns true when this get payment methods for account o k response has a 3xx status code

func (*GetPaymentMethodsForAccountOK) IsServerError

func (o *GetPaymentMethodsForAccountOK) IsServerError() bool

IsServerError returns true when this get payment methods for account o k response has a 5xx status code

func (*GetPaymentMethodsForAccountOK) IsSuccess

func (o *GetPaymentMethodsForAccountOK) IsSuccess() bool

IsSuccess returns true when this get payment methods for account o k response has a 2xx status code

func (*GetPaymentMethodsForAccountOK) String

type GetPaymentMethodsForAccountParams

type GetPaymentMethodsForAccountParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// IncludedDeleted.
	IncludedDeleted *bool

	// PluginProperty.
	PluginProperty []string

	// WithPluginInfo.
	WithPluginInfo *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
}

GetPaymentMethodsForAccountParams contains all the parameters to send to the API endpoint

for the get payment methods for account operation.

Typically these are written to a http.Request.

func NewGetPaymentMethodsForAccountParams

func NewGetPaymentMethodsForAccountParams() *GetPaymentMethodsForAccountParams

NewGetPaymentMethodsForAccountParams creates a new GetPaymentMethodsForAccountParams 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 NewGetPaymentMethodsForAccountParamsWithContext

func NewGetPaymentMethodsForAccountParamsWithContext(ctx context.Context) *GetPaymentMethodsForAccountParams

NewGetPaymentMethodsForAccountParamsWithContext creates a new GetPaymentMethodsForAccountParams object with the ability to set a context for a request.

func NewGetPaymentMethodsForAccountParamsWithHTTPClient

func NewGetPaymentMethodsForAccountParamsWithHTTPClient(client *http.Client) *GetPaymentMethodsForAccountParams

NewGetPaymentMethodsForAccountParamsWithHTTPClient creates a new GetPaymentMethodsForAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentMethodsForAccountParamsWithTimeout

func NewGetPaymentMethodsForAccountParamsWithTimeout(timeout time.Duration) *GetPaymentMethodsForAccountParams

NewGetPaymentMethodsForAccountParamsWithTimeout creates a new GetPaymentMethodsForAccountParams object with the ability to set a timeout on a request.

func (*GetPaymentMethodsForAccountParams) SetAccountID

func (o *GetPaymentMethodsForAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetAudit

func (o *GetPaymentMethodsForAccountParams) SetAudit(audit *string)

SetAudit adds the audit to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetContext

SetContext adds the context to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetDefaults

func (o *GetPaymentMethodsForAccountParams) SetDefaults()

SetDefaults hydrates default values in the get payment methods for account params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentMethodsForAccountParams) SetHTTPClient

func (o *GetPaymentMethodsForAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetIncludedDeleted

func (o *GetPaymentMethodsForAccountParams) SetIncludedDeleted(includedDeleted *bool)

SetIncludedDeleted adds the includedDeleted to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetPluginProperty

func (o *GetPaymentMethodsForAccountParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetTimeout

func (o *GetPaymentMethodsForAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) SetWithPluginInfo

func (o *GetPaymentMethodsForAccountParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithAccountID

WithAccountID adds the accountID to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithAudit

WithAudit adds the audit to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithContext

WithContext adds the context to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithDefaults

WithDefaults hydrates default values in the get payment methods for account params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentMethodsForAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithIncludedDeleted

func (o *GetPaymentMethodsForAccountParams) WithIncludedDeleted(includedDeleted *bool) *GetPaymentMethodsForAccountParams

WithIncludedDeleted adds the includedDeleted to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithPluginProperty

func (o *GetPaymentMethodsForAccountParams) WithPluginProperty(pluginProperty []string) *GetPaymentMethodsForAccountParams

WithPluginProperty adds the pluginProperty to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithTimeout

WithTimeout adds the timeout to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WithWithPluginInfo

func (o *GetPaymentMethodsForAccountParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentMethodsForAccountParams

WithWithPluginInfo adds the withPluginInfo to the get payment methods for account params

func (*GetPaymentMethodsForAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentMethodsForAccountReader

type GetPaymentMethodsForAccountReader struct {
	// contains filtered or unexported fields
}

GetPaymentMethodsForAccountReader is a Reader for the GetPaymentMethodsForAccount structure.

func (*GetPaymentMethodsForAccountReader) ReadResponse

func (o *GetPaymentMethodsForAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPaymentsForAccountBadRequest

type GetPaymentsForAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

GetPaymentsForAccountBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewGetPaymentsForAccountBadRequest

func NewGetPaymentsForAccountBadRequest() *GetPaymentsForAccountBadRequest

NewGetPaymentsForAccountBadRequest creates a GetPaymentsForAccountBadRequest with default headers values

func (*GetPaymentsForAccountBadRequest) Code

Code gets the status code for the get payments for account bad request response

func (*GetPaymentsForAccountBadRequest) Error

func (*GetPaymentsForAccountBadRequest) IsClientError

func (o *GetPaymentsForAccountBadRequest) IsClientError() bool

IsClientError returns true when this get payments for account bad request response has a 4xx status code

func (*GetPaymentsForAccountBadRequest) IsCode

func (o *GetPaymentsForAccountBadRequest) IsCode(code int) bool

IsCode returns true when this get payments for account bad request response a status code equal to that given

func (*GetPaymentsForAccountBadRequest) IsRedirect

func (o *GetPaymentsForAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this get payments for account bad request response has a 3xx status code

func (*GetPaymentsForAccountBadRequest) IsServerError

func (o *GetPaymentsForAccountBadRequest) IsServerError() bool

IsServerError returns true when this get payments for account bad request response has a 5xx status code

func (*GetPaymentsForAccountBadRequest) IsSuccess

func (o *GetPaymentsForAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this get payments for account bad request response has a 2xx status code

func (*GetPaymentsForAccountBadRequest) String

type GetPaymentsForAccountOK

type GetPaymentsForAccountOK struct {
	Payload      []*kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

GetPaymentsForAccountOK describes a response with status code 200, with default header values.

successful operation

func NewGetPaymentsForAccountOK

func NewGetPaymentsForAccountOK() *GetPaymentsForAccountOK

NewGetPaymentsForAccountOK creates a GetPaymentsForAccountOK with default headers values

func (*GetPaymentsForAccountOK) Code

func (o *GetPaymentsForAccountOK) Code() int

Code gets the status code for the get payments for account o k response

func (*GetPaymentsForAccountOK) Error

func (o *GetPaymentsForAccountOK) Error() string

func (*GetPaymentsForAccountOK) GetPayload

func (o *GetPaymentsForAccountOK) GetPayload() []*kbmodel.Payment

func (*GetPaymentsForAccountOK) IsClientError

func (o *GetPaymentsForAccountOK) IsClientError() bool

IsClientError returns true when this get payments for account o k response has a 4xx status code

func (*GetPaymentsForAccountOK) IsCode

func (o *GetPaymentsForAccountOK) IsCode(code int) bool

IsCode returns true when this get payments for account o k response a status code equal to that given

func (*GetPaymentsForAccountOK) IsRedirect

func (o *GetPaymentsForAccountOK) IsRedirect() bool

IsRedirect returns true when this get payments for account o k response has a 3xx status code

func (*GetPaymentsForAccountOK) IsServerError

func (o *GetPaymentsForAccountOK) IsServerError() bool

IsServerError returns true when this get payments for account o k response has a 5xx status code

func (*GetPaymentsForAccountOK) IsSuccess

func (o *GetPaymentsForAccountOK) IsSuccess() bool

IsSuccess returns true when this get payments for account o k response has a 2xx status code

func (*GetPaymentsForAccountOK) String

func (o *GetPaymentsForAccountOK) String() string

type GetPaymentsForAccountParams

type GetPaymentsForAccountParams struct {

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Audit.
	//
	// Default: "NONE"
	Audit *string

	// PluginProperty.
	PluginProperty []string

	// WithAttempts.
	WithAttempts *bool

	// WithPluginInfo.
	WithPluginInfo *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
}

GetPaymentsForAccountParams contains all the parameters to send to the API endpoint

for the get payments for account operation.

Typically these are written to a http.Request.

func NewGetPaymentsForAccountParams

func NewGetPaymentsForAccountParams() *GetPaymentsForAccountParams

NewGetPaymentsForAccountParams creates a new GetPaymentsForAccountParams 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 NewGetPaymentsForAccountParamsWithContext

func NewGetPaymentsForAccountParamsWithContext(ctx context.Context) *GetPaymentsForAccountParams

NewGetPaymentsForAccountParamsWithContext creates a new GetPaymentsForAccountParams object with the ability to set a context for a request.

func NewGetPaymentsForAccountParamsWithHTTPClient

func NewGetPaymentsForAccountParamsWithHTTPClient(client *http.Client) *GetPaymentsForAccountParams

NewGetPaymentsForAccountParamsWithHTTPClient creates a new GetPaymentsForAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentsForAccountParamsWithTimeout

func NewGetPaymentsForAccountParamsWithTimeout(timeout time.Duration) *GetPaymentsForAccountParams

NewGetPaymentsForAccountParamsWithTimeout creates a new GetPaymentsForAccountParams object with the ability to set a timeout on a request.

func (*GetPaymentsForAccountParams) SetAccountID

func (o *GetPaymentsForAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the get payments for account params

func (*GetPaymentsForAccountParams) SetAudit

func (o *GetPaymentsForAccountParams) SetAudit(audit *string)

SetAudit adds the audit to the get payments for account params

func (*GetPaymentsForAccountParams) SetContext

func (o *GetPaymentsForAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the get payments for account params

func (*GetPaymentsForAccountParams) SetDefaults

func (o *GetPaymentsForAccountParams) SetDefaults()

SetDefaults hydrates default values in the get payments for account params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentsForAccountParams) SetHTTPClient

func (o *GetPaymentsForAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get payments for account params

func (*GetPaymentsForAccountParams) SetPluginProperty

func (o *GetPaymentsForAccountParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the get payments for account params

func (*GetPaymentsForAccountParams) SetTimeout

func (o *GetPaymentsForAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get payments for account params

func (*GetPaymentsForAccountParams) SetWithAttempts

func (o *GetPaymentsForAccountParams) SetWithAttempts(withAttempts *bool)

SetWithAttempts adds the withAttempts to the get payments for account params

func (*GetPaymentsForAccountParams) SetWithPluginInfo

func (o *GetPaymentsForAccountParams) SetWithPluginInfo(withPluginInfo *bool)

SetWithPluginInfo adds the withPluginInfo to the get payments for account params

func (*GetPaymentsForAccountParams) WithAccountID

WithAccountID adds the accountID to the get payments for account params

func (*GetPaymentsForAccountParams) WithAudit

WithAudit adds the audit to the get payments for account params

func (*GetPaymentsForAccountParams) WithContext

WithContext adds the context to the get payments for account params

func (*GetPaymentsForAccountParams) WithDefaults

WithDefaults hydrates default values in the get payments for account params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentsForAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payments for account params

func (*GetPaymentsForAccountParams) WithPluginProperty

func (o *GetPaymentsForAccountParams) WithPluginProperty(pluginProperty []string) *GetPaymentsForAccountParams

WithPluginProperty adds the pluginProperty to the get payments for account params

func (*GetPaymentsForAccountParams) WithTimeout

WithTimeout adds the timeout to the get payments for account params

func (*GetPaymentsForAccountParams) WithWithAttempts

func (o *GetPaymentsForAccountParams) WithWithAttempts(withAttempts *bool) *GetPaymentsForAccountParams

WithWithAttempts adds the withAttempts to the get payments for account params

func (*GetPaymentsForAccountParams) WithWithPluginInfo

func (o *GetPaymentsForAccountParams) WithWithPluginInfo(withPluginInfo *bool) *GetPaymentsForAccountParams

WithWithPluginInfo adds the withPluginInfo to the get payments for account params

func (*GetPaymentsForAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentsForAccountReader

type GetPaymentsForAccountReader struct {
	// contains filtered or unexported fields
}

GetPaymentsForAccountReader is a Reader for the GetPaymentsForAccount structure.

func (*GetPaymentsForAccountReader) ReadResponse

func (o *GetPaymentsForAccountReader) 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 ModifyAccountCustomFieldsBadRequest

type ModifyAccountCustomFieldsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ModifyAccountCustomFieldsBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewModifyAccountCustomFieldsBadRequest

func NewModifyAccountCustomFieldsBadRequest() *ModifyAccountCustomFieldsBadRequest

NewModifyAccountCustomFieldsBadRequest creates a ModifyAccountCustomFieldsBadRequest with default headers values

func (*ModifyAccountCustomFieldsBadRequest) Code

Code gets the status code for the modify account custom fields bad request response

func (*ModifyAccountCustomFieldsBadRequest) Error

func (*ModifyAccountCustomFieldsBadRequest) IsClientError

func (o *ModifyAccountCustomFieldsBadRequest) IsClientError() bool

IsClientError returns true when this modify account custom fields bad request response has a 4xx status code

func (*ModifyAccountCustomFieldsBadRequest) IsCode

IsCode returns true when this modify account custom fields bad request response a status code equal to that given

func (*ModifyAccountCustomFieldsBadRequest) IsRedirect

func (o *ModifyAccountCustomFieldsBadRequest) IsRedirect() bool

IsRedirect returns true when this modify account custom fields bad request response has a 3xx status code

func (*ModifyAccountCustomFieldsBadRequest) IsServerError

func (o *ModifyAccountCustomFieldsBadRequest) IsServerError() bool

IsServerError returns true when this modify account custom fields bad request response has a 5xx status code

func (*ModifyAccountCustomFieldsBadRequest) IsSuccess

IsSuccess returns true when this modify account custom fields bad request response has a 2xx status code

func (*ModifyAccountCustomFieldsBadRequest) String

type ModifyAccountCustomFieldsNoContent

type ModifyAccountCustomFieldsNoContent struct {
	HttpResponse runtime.ClientResponse
}

ModifyAccountCustomFieldsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewModifyAccountCustomFieldsNoContent

func NewModifyAccountCustomFieldsNoContent() *ModifyAccountCustomFieldsNoContent

NewModifyAccountCustomFieldsNoContent creates a ModifyAccountCustomFieldsNoContent with default headers values

func (*ModifyAccountCustomFieldsNoContent) Code

Code gets the status code for the modify account custom fields no content response

func (*ModifyAccountCustomFieldsNoContent) Error

func (*ModifyAccountCustomFieldsNoContent) IsClientError

func (o *ModifyAccountCustomFieldsNoContent) IsClientError() bool

IsClientError returns true when this modify account custom fields no content response has a 4xx status code

func (*ModifyAccountCustomFieldsNoContent) IsCode

IsCode returns true when this modify account custom fields no content response a status code equal to that given

func (*ModifyAccountCustomFieldsNoContent) IsRedirect

func (o *ModifyAccountCustomFieldsNoContent) IsRedirect() bool

IsRedirect returns true when this modify account custom fields no content response has a 3xx status code

func (*ModifyAccountCustomFieldsNoContent) IsServerError

func (o *ModifyAccountCustomFieldsNoContent) IsServerError() bool

IsServerError returns true when this modify account custom fields no content response has a 5xx status code

func (*ModifyAccountCustomFieldsNoContent) IsSuccess

IsSuccess returns true when this modify account custom fields no content response has a 2xx status code

func (*ModifyAccountCustomFieldsNoContent) String

type ModifyAccountCustomFieldsParams

type ModifyAccountCustomFieldsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body []*kbmodel.CustomField

	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
}

ModifyAccountCustomFieldsParams contains all the parameters to send to the API endpoint

for the modify account custom fields operation.

Typically these are written to a http.Request.

func NewModifyAccountCustomFieldsParams

func NewModifyAccountCustomFieldsParams() *ModifyAccountCustomFieldsParams

NewModifyAccountCustomFieldsParams creates a new ModifyAccountCustomFieldsParams 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 NewModifyAccountCustomFieldsParamsWithContext

func NewModifyAccountCustomFieldsParamsWithContext(ctx context.Context) *ModifyAccountCustomFieldsParams

NewModifyAccountCustomFieldsParamsWithContext creates a new ModifyAccountCustomFieldsParams object with the ability to set a context for a request.

func NewModifyAccountCustomFieldsParamsWithHTTPClient

func NewModifyAccountCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyAccountCustomFieldsParams

NewModifyAccountCustomFieldsParamsWithHTTPClient creates a new ModifyAccountCustomFieldsParams object with the ability to set a custom HTTPClient for a request.

func NewModifyAccountCustomFieldsParamsWithTimeout

func NewModifyAccountCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyAccountCustomFieldsParams

NewModifyAccountCustomFieldsParamsWithTimeout creates a new ModifyAccountCustomFieldsParams object with the ability to set a timeout on a request.

func (*ModifyAccountCustomFieldsParams) SetAccountID

func (o *ModifyAccountCustomFieldsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetBody

SetBody adds the body to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetContext

func (o *ModifyAccountCustomFieldsParams) SetContext(ctx context.Context)

SetContext adds the context to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetDefaults

func (o *ModifyAccountCustomFieldsParams) SetDefaults()

SetDefaults hydrates default values in the modify account custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyAccountCustomFieldsParams) SetHTTPClient

func (o *ModifyAccountCustomFieldsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetTimeout

func (o *ModifyAccountCustomFieldsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetXKillbillComment

func (o *ModifyAccountCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetXKillbillCreatedBy

func (o *ModifyAccountCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) SetXKillbillReason

func (o *ModifyAccountCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithAccountID

WithAccountID adds the accountID to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithBody

WithBody adds the body to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithContext

WithContext adds the context to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithDefaults

WithDefaults hydrates default values in the modify account custom fields params (not the query body).

All values with no default are reset to their zero value.

func (*ModifyAccountCustomFieldsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithTimeout

WithTimeout adds the timeout to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithXKillbillComment

func (o *ModifyAccountCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyAccountCustomFieldsParams

WithXKillbillComment adds the xKillbillComment to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithXKillbillCreatedBy

func (o *ModifyAccountCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyAccountCustomFieldsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WithXKillbillReason

func (o *ModifyAccountCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyAccountCustomFieldsParams

WithXKillbillReason adds the xKillbillReason to the modify account custom fields params

func (*ModifyAccountCustomFieldsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ModifyAccountCustomFieldsReader

type ModifyAccountCustomFieldsReader struct {
	// contains filtered or unexported fields
}

ModifyAccountCustomFieldsReader is a Reader for the ModifyAccountCustomFields structure.

func (*ModifyAccountCustomFieldsReader) ReadResponse

func (o *ModifyAccountCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PayAllInvoicesCreated

type PayAllInvoicesCreated struct {
	Payload      []*kbmodel.Invoice
	HttpResponse runtime.ClientResponse
}

PayAllInvoicesCreated describes a response with status code 201, with default header values.

Successful operation

func NewPayAllInvoicesCreated

func NewPayAllInvoicesCreated() *PayAllInvoicesCreated

NewPayAllInvoicesCreated creates a PayAllInvoicesCreated with default headers values

func (*PayAllInvoicesCreated) Code

func (o *PayAllInvoicesCreated) Code() int

Code gets the status code for the pay all invoices created response

func (*PayAllInvoicesCreated) Error

func (o *PayAllInvoicesCreated) Error() string

func (*PayAllInvoicesCreated) GetPayload

func (o *PayAllInvoicesCreated) GetPayload() []*kbmodel.Invoice

func (*PayAllInvoicesCreated) IsClientError

func (o *PayAllInvoicesCreated) IsClientError() bool

IsClientError returns true when this pay all invoices created response has a 4xx status code

func (*PayAllInvoicesCreated) IsCode

func (o *PayAllInvoicesCreated) IsCode(code int) bool

IsCode returns true when this pay all invoices created response a status code equal to that given

func (*PayAllInvoicesCreated) IsRedirect

func (o *PayAllInvoicesCreated) IsRedirect() bool

IsRedirect returns true when this pay all invoices created response has a 3xx status code

func (*PayAllInvoicesCreated) IsServerError

func (o *PayAllInvoicesCreated) IsServerError() bool

IsServerError returns true when this pay all invoices created response has a 5xx status code

func (*PayAllInvoicesCreated) IsSuccess

func (o *PayAllInvoicesCreated) IsSuccess() bool

IsSuccess returns true when this pay all invoices created response has a 2xx status code

func (*PayAllInvoicesCreated) String

func (o *PayAllInvoicesCreated) String() string

type PayAllInvoicesNoContent

type PayAllInvoicesNoContent struct {
	HttpResponse runtime.ClientResponse
}

PayAllInvoicesNoContent describes a response with status code 204, with default header values.

Nothing to pay

func NewPayAllInvoicesNoContent

func NewPayAllInvoicesNoContent() *PayAllInvoicesNoContent

NewPayAllInvoicesNoContent creates a PayAllInvoicesNoContent with default headers values

func (*PayAllInvoicesNoContent) Code

func (o *PayAllInvoicesNoContent) Code() int

Code gets the status code for the pay all invoices no content response

func (*PayAllInvoicesNoContent) Error

func (o *PayAllInvoicesNoContent) Error() string

func (*PayAllInvoicesNoContent) IsClientError

func (o *PayAllInvoicesNoContent) IsClientError() bool

IsClientError returns true when this pay all invoices no content response has a 4xx status code

func (*PayAllInvoicesNoContent) IsCode

func (o *PayAllInvoicesNoContent) IsCode(code int) bool

IsCode returns true when this pay all invoices no content response a status code equal to that given

func (*PayAllInvoicesNoContent) IsRedirect

func (o *PayAllInvoicesNoContent) IsRedirect() bool

IsRedirect returns true when this pay all invoices no content response has a 3xx status code

func (*PayAllInvoicesNoContent) IsServerError

func (o *PayAllInvoicesNoContent) IsServerError() bool

IsServerError returns true when this pay all invoices no content response has a 5xx status code

func (*PayAllInvoicesNoContent) IsSuccess

func (o *PayAllInvoicesNoContent) IsSuccess() bool

IsSuccess returns true when this pay all invoices no content response has a 2xx status code

func (*PayAllInvoicesNoContent) String

func (o *PayAllInvoicesNoContent) String() string

type PayAllInvoicesNotFound

type PayAllInvoicesNotFound struct {
	HttpResponse runtime.ClientResponse
}

PayAllInvoicesNotFound describes a response with status code 404, with default header values.

Invalid account id supplied

func NewPayAllInvoicesNotFound

func NewPayAllInvoicesNotFound() *PayAllInvoicesNotFound

NewPayAllInvoicesNotFound creates a PayAllInvoicesNotFound with default headers values

func (*PayAllInvoicesNotFound) Code

func (o *PayAllInvoicesNotFound) Code() int

Code gets the status code for the pay all invoices not found response

func (*PayAllInvoicesNotFound) Error

func (o *PayAllInvoicesNotFound) Error() string

func (*PayAllInvoicesNotFound) IsClientError

func (o *PayAllInvoicesNotFound) IsClientError() bool

IsClientError returns true when this pay all invoices not found response has a 4xx status code

func (*PayAllInvoicesNotFound) IsCode

func (o *PayAllInvoicesNotFound) IsCode(code int) bool

IsCode returns true when this pay all invoices not found response a status code equal to that given

func (*PayAllInvoicesNotFound) IsRedirect

func (o *PayAllInvoicesNotFound) IsRedirect() bool

IsRedirect returns true when this pay all invoices not found response has a 3xx status code

func (*PayAllInvoicesNotFound) IsServerError

func (o *PayAllInvoicesNotFound) IsServerError() bool

IsServerError returns true when this pay all invoices not found response has a 5xx status code

func (*PayAllInvoicesNotFound) IsSuccess

func (o *PayAllInvoicesNotFound) IsSuccess() bool

IsSuccess returns true when this pay all invoices not found response has a 2xx status code

func (*PayAllInvoicesNotFound) String

func (o *PayAllInvoicesNotFound) String() string

type PayAllInvoicesParams

type PayAllInvoicesParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// ExternalPayment.
	ExternalPayment *bool

	// PaymentAmount.
	PaymentAmount *float64

	// PaymentMethodID.
	//
	// Format: uuid
	PaymentMethodID *strfmt.UUID

	// PluginProperty.
	PluginProperty []string

	// TargetDate.
	//
	// Format: date
	TargetDate *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
}

PayAllInvoicesParams contains all the parameters to send to the API endpoint

for the pay all invoices operation.

Typically these are written to a http.Request.

func NewPayAllInvoicesParams

func NewPayAllInvoicesParams() *PayAllInvoicesParams

NewPayAllInvoicesParams creates a new PayAllInvoicesParams 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 NewPayAllInvoicesParamsWithContext

func NewPayAllInvoicesParamsWithContext(ctx context.Context) *PayAllInvoicesParams

NewPayAllInvoicesParamsWithContext creates a new PayAllInvoicesParams object with the ability to set a context for a request.

func NewPayAllInvoicesParamsWithHTTPClient

func NewPayAllInvoicesParamsWithHTTPClient(client *http.Client) *PayAllInvoicesParams

NewPayAllInvoicesParamsWithHTTPClient creates a new PayAllInvoicesParams object with the ability to set a custom HTTPClient for a request.

func NewPayAllInvoicesParamsWithTimeout

func NewPayAllInvoicesParamsWithTimeout(timeout time.Duration) *PayAllInvoicesParams

NewPayAllInvoicesParamsWithTimeout creates a new PayAllInvoicesParams object with the ability to set a timeout on a request.

func (*PayAllInvoicesParams) SetAccountID

func (o *PayAllInvoicesParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the pay all invoices params

func (*PayAllInvoicesParams) SetContext

func (o *PayAllInvoicesParams) SetContext(ctx context.Context)

SetContext adds the context to the pay all invoices params

func (*PayAllInvoicesParams) SetDefaults

func (o *PayAllInvoicesParams) SetDefaults()

SetDefaults hydrates default values in the pay all invoices params (not the query body).

All values with no default are reset to their zero value.

func (*PayAllInvoicesParams) SetExternalPayment

func (o *PayAllInvoicesParams) SetExternalPayment(externalPayment *bool)

SetExternalPayment adds the externalPayment to the pay all invoices params

func (*PayAllInvoicesParams) SetHTTPClient

func (o *PayAllInvoicesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the pay all invoices params

func (*PayAllInvoicesParams) SetPaymentAmount

func (o *PayAllInvoicesParams) SetPaymentAmount(paymentAmount *float64)

SetPaymentAmount adds the paymentAmount to the pay all invoices params

func (*PayAllInvoicesParams) SetPaymentMethodID

func (o *PayAllInvoicesParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the pay all invoices params

func (*PayAllInvoicesParams) SetPluginProperty

func (o *PayAllInvoicesParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the pay all invoices params

func (*PayAllInvoicesParams) SetTargetDate

func (o *PayAllInvoicesParams) SetTargetDate(targetDate *strfmt.Date)

SetTargetDate adds the targetDate to the pay all invoices params

func (*PayAllInvoicesParams) SetTimeout

func (o *PayAllInvoicesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the pay all invoices params

func (*PayAllInvoicesParams) SetXKillbillComment

func (o *PayAllInvoicesParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the pay all invoices params

func (*PayAllInvoicesParams) SetXKillbillCreatedBy

func (o *PayAllInvoicesParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the pay all invoices params

func (*PayAllInvoicesParams) SetXKillbillReason

func (o *PayAllInvoicesParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the pay all invoices params

func (*PayAllInvoicesParams) WithAccountID

func (o *PayAllInvoicesParams) WithAccountID(accountID strfmt.UUID) *PayAllInvoicesParams

WithAccountID adds the accountID to the pay all invoices params

func (*PayAllInvoicesParams) WithContext

WithContext adds the context to the pay all invoices params

func (*PayAllInvoicesParams) WithDefaults

func (o *PayAllInvoicesParams) WithDefaults() *PayAllInvoicesParams

WithDefaults hydrates default values in the pay all invoices params (not the query body).

All values with no default are reset to their zero value.

func (*PayAllInvoicesParams) WithExternalPayment

func (o *PayAllInvoicesParams) WithExternalPayment(externalPayment *bool) *PayAllInvoicesParams

WithExternalPayment adds the externalPayment to the pay all invoices params

func (*PayAllInvoicesParams) WithHTTPClient

func (o *PayAllInvoicesParams) WithHTTPClient(client *http.Client) *PayAllInvoicesParams

WithHTTPClient adds the HTTPClient to the pay all invoices params

func (*PayAllInvoicesParams) WithPaymentAmount

func (o *PayAllInvoicesParams) WithPaymentAmount(paymentAmount *float64) *PayAllInvoicesParams

WithPaymentAmount adds the paymentAmount to the pay all invoices params

func (*PayAllInvoicesParams) WithPaymentMethodID

func (o *PayAllInvoicesParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *PayAllInvoicesParams

WithPaymentMethodID adds the paymentMethodID to the pay all invoices params

func (*PayAllInvoicesParams) WithPluginProperty

func (o *PayAllInvoicesParams) WithPluginProperty(pluginProperty []string) *PayAllInvoicesParams

WithPluginProperty adds the pluginProperty to the pay all invoices params

func (*PayAllInvoicesParams) WithTargetDate

func (o *PayAllInvoicesParams) WithTargetDate(targetDate *strfmt.Date) *PayAllInvoicesParams

WithTargetDate adds the targetDate to the pay all invoices params

func (*PayAllInvoicesParams) WithTimeout

func (o *PayAllInvoicesParams) WithTimeout(timeout time.Duration) *PayAllInvoicesParams

WithTimeout adds the timeout to the pay all invoices params

func (*PayAllInvoicesParams) WithXKillbillComment

func (o *PayAllInvoicesParams) WithXKillbillComment(xKillbillComment *string) *PayAllInvoicesParams

WithXKillbillComment adds the xKillbillComment to the pay all invoices params

func (*PayAllInvoicesParams) WithXKillbillCreatedBy

func (o *PayAllInvoicesParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *PayAllInvoicesParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the pay all invoices params

func (*PayAllInvoicesParams) WithXKillbillReason

func (o *PayAllInvoicesParams) WithXKillbillReason(xKillbillReason *string) *PayAllInvoicesParams

WithXKillbillReason adds the xKillbillReason to the pay all invoices params

func (*PayAllInvoicesParams) WriteToRequest

func (o *PayAllInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PayAllInvoicesReader

type PayAllInvoicesReader struct {
	// contains filtered or unexported fields
}

PayAllInvoicesReader is a Reader for the PayAllInvoices structure.

func (*PayAllInvoicesReader) ReadResponse

func (o *PayAllInvoicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProcessPaymentBadGateway

type ProcessPaymentBadGateway struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewProcessPaymentBadGateway

func NewProcessPaymentBadGateway() *ProcessPaymentBadGateway

NewProcessPaymentBadGateway creates a ProcessPaymentBadGateway with default headers values

func (*ProcessPaymentBadGateway) Code

func (o *ProcessPaymentBadGateway) Code() int

Code gets the status code for the process payment bad gateway response

func (*ProcessPaymentBadGateway) Error

func (o *ProcessPaymentBadGateway) Error() string

func (*ProcessPaymentBadGateway) IsClientError

func (o *ProcessPaymentBadGateway) IsClientError() bool

IsClientError returns true when this process payment bad gateway response has a 4xx status code

func (*ProcessPaymentBadGateway) IsCode

func (o *ProcessPaymentBadGateway) IsCode(code int) bool

IsCode returns true when this process payment bad gateway response a status code equal to that given

func (*ProcessPaymentBadGateway) IsRedirect

func (o *ProcessPaymentBadGateway) IsRedirect() bool

IsRedirect returns true when this process payment bad gateway response has a 3xx status code

func (*ProcessPaymentBadGateway) IsServerError

func (o *ProcessPaymentBadGateway) IsServerError() bool

IsServerError returns true when this process payment bad gateway response has a 5xx status code

func (*ProcessPaymentBadGateway) IsSuccess

func (o *ProcessPaymentBadGateway) IsSuccess() bool

IsSuccess returns true when this process payment bad gateway response has a 2xx status code

func (*ProcessPaymentBadGateway) String

func (o *ProcessPaymentBadGateway) String() string

type ProcessPaymentBadRequest

type ProcessPaymentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewProcessPaymentBadRequest

func NewProcessPaymentBadRequest() *ProcessPaymentBadRequest

NewProcessPaymentBadRequest creates a ProcessPaymentBadRequest with default headers values

func (*ProcessPaymentBadRequest) Code

func (o *ProcessPaymentBadRequest) Code() int

Code gets the status code for the process payment bad request response

func (*ProcessPaymentBadRequest) Error

func (o *ProcessPaymentBadRequest) Error() string

func (*ProcessPaymentBadRequest) IsClientError

func (o *ProcessPaymentBadRequest) IsClientError() bool

IsClientError returns true when this process payment bad request response has a 4xx status code

func (*ProcessPaymentBadRequest) IsCode

func (o *ProcessPaymentBadRequest) IsCode(code int) bool

IsCode returns true when this process payment bad request response a status code equal to that given

func (*ProcessPaymentBadRequest) IsRedirect

func (o *ProcessPaymentBadRequest) IsRedirect() bool

IsRedirect returns true when this process payment bad request response has a 3xx status code

func (*ProcessPaymentBadRequest) IsServerError

func (o *ProcessPaymentBadRequest) IsServerError() bool

IsServerError returns true when this process payment bad request response has a 5xx status code

func (*ProcessPaymentBadRequest) IsSuccess

func (o *ProcessPaymentBadRequest) IsSuccess() bool

IsSuccess returns true when this process payment bad request response has a 2xx status code

func (*ProcessPaymentBadRequest) String

func (o *ProcessPaymentBadRequest) String() string

type ProcessPaymentByExternalKeyBadGateway

type ProcessPaymentByExternalKeyBadGateway struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyBadGateway describes a response with status code 502, with default header values.

Failed to submit payment transaction

func NewProcessPaymentByExternalKeyBadGateway

func NewProcessPaymentByExternalKeyBadGateway() *ProcessPaymentByExternalKeyBadGateway

NewProcessPaymentByExternalKeyBadGateway creates a ProcessPaymentByExternalKeyBadGateway with default headers values

func (*ProcessPaymentByExternalKeyBadGateway) Code

Code gets the status code for the process payment by external key bad gateway response

func (*ProcessPaymentByExternalKeyBadGateway) Error

func (*ProcessPaymentByExternalKeyBadGateway) IsClientError

func (o *ProcessPaymentByExternalKeyBadGateway) IsClientError() bool

IsClientError returns true when this process payment by external key bad gateway response has a 4xx status code

func (*ProcessPaymentByExternalKeyBadGateway) IsCode

IsCode returns true when this process payment by external key bad gateway response a status code equal to that given

func (*ProcessPaymentByExternalKeyBadGateway) IsRedirect

IsRedirect returns true when this process payment by external key bad gateway response has a 3xx status code

func (*ProcessPaymentByExternalKeyBadGateway) IsServerError

func (o *ProcessPaymentByExternalKeyBadGateway) IsServerError() bool

IsServerError returns true when this process payment by external key bad gateway response has a 5xx status code

func (*ProcessPaymentByExternalKeyBadGateway) IsSuccess

IsSuccess returns true when this process payment by external key bad gateway response has a 2xx status code

func (*ProcessPaymentByExternalKeyBadGateway) String

type ProcessPaymentByExternalKeyBadRequest

type ProcessPaymentByExternalKeyBadRequest struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyBadRequest describes a response with status code 400, with default header values.

Invalid account external key supplied

func NewProcessPaymentByExternalKeyBadRequest

func NewProcessPaymentByExternalKeyBadRequest() *ProcessPaymentByExternalKeyBadRequest

NewProcessPaymentByExternalKeyBadRequest creates a ProcessPaymentByExternalKeyBadRequest with default headers values

func (*ProcessPaymentByExternalKeyBadRequest) Code

Code gets the status code for the process payment by external key bad request response

func (*ProcessPaymentByExternalKeyBadRequest) Error

func (*ProcessPaymentByExternalKeyBadRequest) IsClientError

func (o *ProcessPaymentByExternalKeyBadRequest) IsClientError() bool

IsClientError returns true when this process payment by external key bad request response has a 4xx status code

func (*ProcessPaymentByExternalKeyBadRequest) IsCode

IsCode returns true when this process payment by external key bad request response a status code equal to that given

func (*ProcessPaymentByExternalKeyBadRequest) IsRedirect

IsRedirect returns true when this process payment by external key bad request response has a 3xx status code

func (*ProcessPaymentByExternalKeyBadRequest) IsServerError

func (o *ProcessPaymentByExternalKeyBadRequest) IsServerError() bool

IsServerError returns true when this process payment by external key bad request response has a 5xx status code

func (*ProcessPaymentByExternalKeyBadRequest) IsSuccess

IsSuccess returns true when this process payment by external key bad request response has a 2xx status code

func (*ProcessPaymentByExternalKeyBadRequest) String

type ProcessPaymentByExternalKeyCreated

type ProcessPaymentByExternalKeyCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewProcessPaymentByExternalKeyCreated

func NewProcessPaymentByExternalKeyCreated() *ProcessPaymentByExternalKeyCreated

NewProcessPaymentByExternalKeyCreated creates a ProcessPaymentByExternalKeyCreated with default headers values

func (*ProcessPaymentByExternalKeyCreated) Code

Code gets the status code for the process payment by external key created response

func (*ProcessPaymentByExternalKeyCreated) Error

func (*ProcessPaymentByExternalKeyCreated) GetPayload

func (*ProcessPaymentByExternalKeyCreated) IsClientError

func (o *ProcessPaymentByExternalKeyCreated) IsClientError() bool

IsClientError returns true when this process payment by external key created response has a 4xx status code

func (*ProcessPaymentByExternalKeyCreated) IsCode

IsCode returns true when this process payment by external key created response a status code equal to that given

func (*ProcessPaymentByExternalKeyCreated) IsRedirect

func (o *ProcessPaymentByExternalKeyCreated) IsRedirect() bool

IsRedirect returns true when this process payment by external key created response has a 3xx status code

func (*ProcessPaymentByExternalKeyCreated) IsServerError

func (o *ProcessPaymentByExternalKeyCreated) IsServerError() bool

IsServerError returns true when this process payment by external key created response has a 5xx status code

func (*ProcessPaymentByExternalKeyCreated) IsSuccess

IsSuccess returns true when this process payment by external key created response has a 2xx status code

func (*ProcessPaymentByExternalKeyCreated) String

type ProcessPaymentByExternalKeyGatewayTimeout

type ProcessPaymentByExternalKeyGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewProcessPaymentByExternalKeyGatewayTimeout

func NewProcessPaymentByExternalKeyGatewayTimeout() *ProcessPaymentByExternalKeyGatewayTimeout

NewProcessPaymentByExternalKeyGatewayTimeout creates a ProcessPaymentByExternalKeyGatewayTimeout with default headers values

func (*ProcessPaymentByExternalKeyGatewayTimeout) Code

Code gets the status code for the process payment by external key gateway timeout response

func (*ProcessPaymentByExternalKeyGatewayTimeout) Error

func (*ProcessPaymentByExternalKeyGatewayTimeout) IsClientError

IsClientError returns true when this process payment by external key gateway timeout response has a 4xx status code

func (*ProcessPaymentByExternalKeyGatewayTimeout) IsCode

IsCode returns true when this process payment by external key gateway timeout response a status code equal to that given

func (*ProcessPaymentByExternalKeyGatewayTimeout) IsRedirect

IsRedirect returns true when this process payment by external key gateway timeout response has a 3xx status code

func (*ProcessPaymentByExternalKeyGatewayTimeout) IsServerError

IsServerError returns true when this process payment by external key gateway timeout response has a 5xx status code

func (*ProcessPaymentByExternalKeyGatewayTimeout) IsSuccess

IsSuccess returns true when this process payment by external key gateway timeout response has a 2xx status code

func (*ProcessPaymentByExternalKeyGatewayTimeout) String

type ProcessPaymentByExternalKeyNotFound

type ProcessPaymentByExternalKeyNotFound struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyNotFound describes a response with status code 404, with default header values.

Account not found

func NewProcessPaymentByExternalKeyNotFound

func NewProcessPaymentByExternalKeyNotFound() *ProcessPaymentByExternalKeyNotFound

NewProcessPaymentByExternalKeyNotFound creates a ProcessPaymentByExternalKeyNotFound with default headers values

func (*ProcessPaymentByExternalKeyNotFound) Code

Code gets the status code for the process payment by external key not found response

func (*ProcessPaymentByExternalKeyNotFound) Error

func (*ProcessPaymentByExternalKeyNotFound) IsClientError

func (o *ProcessPaymentByExternalKeyNotFound) IsClientError() bool

IsClientError returns true when this process payment by external key not found response has a 4xx status code

func (*ProcessPaymentByExternalKeyNotFound) IsCode

IsCode returns true when this process payment by external key not found response a status code equal to that given

func (*ProcessPaymentByExternalKeyNotFound) IsRedirect

func (o *ProcessPaymentByExternalKeyNotFound) IsRedirect() bool

IsRedirect returns true when this process payment by external key not found response has a 3xx status code

func (*ProcessPaymentByExternalKeyNotFound) IsServerError

func (o *ProcessPaymentByExternalKeyNotFound) IsServerError() bool

IsServerError returns true when this process payment by external key not found response has a 5xx status code

func (*ProcessPaymentByExternalKeyNotFound) IsSuccess

IsSuccess returns true when this process payment by external key not found response has a 2xx status code

func (*ProcessPaymentByExternalKeyNotFound) String

type ProcessPaymentByExternalKeyParams

type ProcessPaymentByExternalKeyParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// ExternalKey.
	ExternalKey string

	// PaymentMethodID.
	//
	// Format: uuid
	PaymentMethodID *strfmt.UUID

	// PluginProperty.
	PluginProperty []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
}

ProcessPaymentByExternalKeyParams contains all the parameters to send to the API endpoint

for the process payment by external key operation.

Typically these are written to a http.Request.

func NewProcessPaymentByExternalKeyParams

func NewProcessPaymentByExternalKeyParams() *ProcessPaymentByExternalKeyParams

NewProcessPaymentByExternalKeyParams creates a new ProcessPaymentByExternalKeyParams 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 NewProcessPaymentByExternalKeyParamsWithContext

func NewProcessPaymentByExternalKeyParamsWithContext(ctx context.Context) *ProcessPaymentByExternalKeyParams

NewProcessPaymentByExternalKeyParamsWithContext creates a new ProcessPaymentByExternalKeyParams object with the ability to set a context for a request.

func NewProcessPaymentByExternalKeyParamsWithHTTPClient

func NewProcessPaymentByExternalKeyParamsWithHTTPClient(client *http.Client) *ProcessPaymentByExternalKeyParams

NewProcessPaymentByExternalKeyParamsWithHTTPClient creates a new ProcessPaymentByExternalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewProcessPaymentByExternalKeyParamsWithTimeout

func NewProcessPaymentByExternalKeyParamsWithTimeout(timeout time.Duration) *ProcessPaymentByExternalKeyParams

NewProcessPaymentByExternalKeyParamsWithTimeout creates a new ProcessPaymentByExternalKeyParams object with the ability to set a timeout on a request.

func (*ProcessPaymentByExternalKeyParams) SetBody

SetBody adds the body to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetContext

SetContext adds the context to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetControlPluginName

func (o *ProcessPaymentByExternalKeyParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetDefaults

func (o *ProcessPaymentByExternalKeyParams) SetDefaults()

SetDefaults hydrates default values in the process payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*ProcessPaymentByExternalKeyParams) SetExternalKey

func (o *ProcessPaymentByExternalKeyParams) SetExternalKey(externalKey string)

SetExternalKey adds the externalKey to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetHTTPClient

func (o *ProcessPaymentByExternalKeyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetPaymentMethodID

func (o *ProcessPaymentByExternalKeyParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetPluginProperty

func (o *ProcessPaymentByExternalKeyParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetTimeout

func (o *ProcessPaymentByExternalKeyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetXKillbillComment

func (o *ProcessPaymentByExternalKeyParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetXKillbillCreatedBy

func (o *ProcessPaymentByExternalKeyParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) SetXKillbillReason

func (o *ProcessPaymentByExternalKeyParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithBody

WithBody adds the body to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithContext

WithContext adds the context to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithControlPluginName

func (o *ProcessPaymentByExternalKeyParams) WithControlPluginName(controlPluginName []string) *ProcessPaymentByExternalKeyParams

WithControlPluginName adds the controlPluginName to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithDefaults

WithDefaults hydrates default values in the process payment by external key params (not the query body).

All values with no default are reset to their zero value.

func (*ProcessPaymentByExternalKeyParams) WithExternalKey

WithExternalKey adds the externalKey to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithPaymentMethodID

func (o *ProcessPaymentByExternalKeyParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *ProcessPaymentByExternalKeyParams

WithPaymentMethodID adds the paymentMethodID to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithPluginProperty

func (o *ProcessPaymentByExternalKeyParams) WithPluginProperty(pluginProperty []string) *ProcessPaymentByExternalKeyParams

WithPluginProperty adds the pluginProperty to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithTimeout

WithTimeout adds the timeout to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithXKillbillComment

func (o *ProcessPaymentByExternalKeyParams) WithXKillbillComment(xKillbillComment *string) *ProcessPaymentByExternalKeyParams

WithXKillbillComment adds the xKillbillComment to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithXKillbillCreatedBy

func (o *ProcessPaymentByExternalKeyParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ProcessPaymentByExternalKeyParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WithXKillbillReason

func (o *ProcessPaymentByExternalKeyParams) WithXKillbillReason(xKillbillReason *string) *ProcessPaymentByExternalKeyParams

WithXKillbillReason adds the xKillbillReason to the process payment by external key params

func (*ProcessPaymentByExternalKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProcessPaymentByExternalKeyPaymentRequired

type ProcessPaymentByExternalKeyPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewProcessPaymentByExternalKeyPaymentRequired

func NewProcessPaymentByExternalKeyPaymentRequired() *ProcessPaymentByExternalKeyPaymentRequired

NewProcessPaymentByExternalKeyPaymentRequired creates a ProcessPaymentByExternalKeyPaymentRequired with default headers values

func (*ProcessPaymentByExternalKeyPaymentRequired) Code

Code gets the status code for the process payment by external key payment required response

func (*ProcessPaymentByExternalKeyPaymentRequired) Error

func (*ProcessPaymentByExternalKeyPaymentRequired) IsClientError

IsClientError returns true when this process payment by external key payment required response has a 4xx status code

func (*ProcessPaymentByExternalKeyPaymentRequired) IsCode

IsCode returns true when this process payment by external key payment required response a status code equal to that given

func (*ProcessPaymentByExternalKeyPaymentRequired) IsRedirect

IsRedirect returns true when this process payment by external key payment required response has a 3xx status code

func (*ProcessPaymentByExternalKeyPaymentRequired) IsServerError

IsServerError returns true when this process payment by external key payment required response has a 5xx status code

func (*ProcessPaymentByExternalKeyPaymentRequired) IsSuccess

IsSuccess returns true when this process payment by external key payment required response has a 2xx status code

func (*ProcessPaymentByExternalKeyPaymentRequired) String

type ProcessPaymentByExternalKeyReader

type ProcessPaymentByExternalKeyReader struct {
	// contains filtered or unexported fields
}

ProcessPaymentByExternalKeyReader is a Reader for the ProcessPaymentByExternalKey structure.

func (*ProcessPaymentByExternalKeyReader) ReadResponse

func (o *ProcessPaymentByExternalKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProcessPaymentByExternalKeyServiceUnavailable

type ProcessPaymentByExternalKeyServiceUnavailable struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewProcessPaymentByExternalKeyServiceUnavailable

func NewProcessPaymentByExternalKeyServiceUnavailable() *ProcessPaymentByExternalKeyServiceUnavailable

NewProcessPaymentByExternalKeyServiceUnavailable creates a ProcessPaymentByExternalKeyServiceUnavailable with default headers values

func (*ProcessPaymentByExternalKeyServiceUnavailable) Code

Code gets the status code for the process payment by external key service unavailable response

func (*ProcessPaymentByExternalKeyServiceUnavailable) Error

func (*ProcessPaymentByExternalKeyServiceUnavailable) IsClientError

IsClientError returns true when this process payment by external key service unavailable response has a 4xx status code

func (*ProcessPaymentByExternalKeyServiceUnavailable) IsCode

IsCode returns true when this process payment by external key service unavailable response a status code equal to that given

func (*ProcessPaymentByExternalKeyServiceUnavailable) IsRedirect

IsRedirect returns true when this process payment by external key service unavailable response has a 3xx status code

func (*ProcessPaymentByExternalKeyServiceUnavailable) IsServerError

IsServerError returns true when this process payment by external key service unavailable response has a 5xx status code

func (*ProcessPaymentByExternalKeyServiceUnavailable) IsSuccess

IsSuccess returns true when this process payment by external key service unavailable response has a 2xx status code

func (*ProcessPaymentByExternalKeyServiceUnavailable) String

type ProcessPaymentByExternalKeyUnprocessableEntity

type ProcessPaymentByExternalKeyUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentByExternalKeyUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewProcessPaymentByExternalKeyUnprocessableEntity

func NewProcessPaymentByExternalKeyUnprocessableEntity() *ProcessPaymentByExternalKeyUnprocessableEntity

NewProcessPaymentByExternalKeyUnprocessableEntity creates a ProcessPaymentByExternalKeyUnprocessableEntity with default headers values

func (*ProcessPaymentByExternalKeyUnprocessableEntity) Code

Code gets the status code for the process payment by external key unprocessable entity response

func (*ProcessPaymentByExternalKeyUnprocessableEntity) Error

func (*ProcessPaymentByExternalKeyUnprocessableEntity) IsClientError

IsClientError returns true when this process payment by external key unprocessable entity response has a 4xx status code

func (*ProcessPaymentByExternalKeyUnprocessableEntity) IsCode

IsCode returns true when this process payment by external key unprocessable entity response a status code equal to that given

func (*ProcessPaymentByExternalKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this process payment by external key unprocessable entity response has a 3xx status code

func (*ProcessPaymentByExternalKeyUnprocessableEntity) IsServerError

IsServerError returns true when this process payment by external key unprocessable entity response has a 5xx status code

func (*ProcessPaymentByExternalKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this process payment by external key unprocessable entity response has a 2xx status code

func (*ProcessPaymentByExternalKeyUnprocessableEntity) String

type ProcessPaymentCreated

type ProcessPaymentCreated struct {
	Payload      *kbmodel.Payment
	HttpResponse runtime.ClientResponse
}

ProcessPaymentCreated describes a response with status code 201, with default header values.

Payment transaction created successfully

func NewProcessPaymentCreated

func NewProcessPaymentCreated() *ProcessPaymentCreated

NewProcessPaymentCreated creates a ProcessPaymentCreated with default headers values

func (*ProcessPaymentCreated) Code

func (o *ProcessPaymentCreated) Code() int

Code gets the status code for the process payment created response

func (*ProcessPaymentCreated) Error

func (o *ProcessPaymentCreated) Error() string

func (*ProcessPaymentCreated) GetPayload

func (o *ProcessPaymentCreated) GetPayload() *kbmodel.Payment

func (*ProcessPaymentCreated) IsClientError

func (o *ProcessPaymentCreated) IsClientError() bool

IsClientError returns true when this process payment created response has a 4xx status code

func (*ProcessPaymentCreated) IsCode

func (o *ProcessPaymentCreated) IsCode(code int) bool

IsCode returns true when this process payment created response a status code equal to that given

func (*ProcessPaymentCreated) IsRedirect

func (o *ProcessPaymentCreated) IsRedirect() bool

IsRedirect returns true when this process payment created response has a 3xx status code

func (*ProcessPaymentCreated) IsServerError

func (o *ProcessPaymentCreated) IsServerError() bool

IsServerError returns true when this process payment created response has a 5xx status code

func (*ProcessPaymentCreated) IsSuccess

func (o *ProcessPaymentCreated) IsSuccess() bool

IsSuccess returns true when this process payment created response has a 2xx status code

func (*ProcessPaymentCreated) String

func (o *ProcessPaymentCreated) String() string

type ProcessPaymentGatewayTimeout

type ProcessPaymentGatewayTimeout struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentGatewayTimeout describes a response with status code 504, with default header values.

Payment operation timeout

func NewProcessPaymentGatewayTimeout

func NewProcessPaymentGatewayTimeout() *ProcessPaymentGatewayTimeout

NewProcessPaymentGatewayTimeout creates a ProcessPaymentGatewayTimeout with default headers values

func (*ProcessPaymentGatewayTimeout) Code

Code gets the status code for the process payment gateway timeout response

func (*ProcessPaymentGatewayTimeout) Error

func (*ProcessPaymentGatewayTimeout) IsClientError

func (o *ProcessPaymentGatewayTimeout) IsClientError() bool

IsClientError returns true when this process payment gateway timeout response has a 4xx status code

func (*ProcessPaymentGatewayTimeout) IsCode

func (o *ProcessPaymentGatewayTimeout) IsCode(code int) bool

IsCode returns true when this process payment gateway timeout response a status code equal to that given

func (*ProcessPaymentGatewayTimeout) IsRedirect

func (o *ProcessPaymentGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this process payment gateway timeout response has a 3xx status code

func (*ProcessPaymentGatewayTimeout) IsServerError

func (o *ProcessPaymentGatewayTimeout) IsServerError() bool

IsServerError returns true when this process payment gateway timeout response has a 5xx status code

func (*ProcessPaymentGatewayTimeout) IsSuccess

func (o *ProcessPaymentGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this process payment gateway timeout response has a 2xx status code

func (*ProcessPaymentGatewayTimeout) String

type ProcessPaymentNotFound

type ProcessPaymentNotFound struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentNotFound describes a response with status code 404, with default header values.

Account not found

func NewProcessPaymentNotFound

func NewProcessPaymentNotFound() *ProcessPaymentNotFound

NewProcessPaymentNotFound creates a ProcessPaymentNotFound with default headers values

func (*ProcessPaymentNotFound) Code

func (o *ProcessPaymentNotFound) Code() int

Code gets the status code for the process payment not found response

func (*ProcessPaymentNotFound) Error

func (o *ProcessPaymentNotFound) Error() string

func (*ProcessPaymentNotFound) IsClientError

func (o *ProcessPaymentNotFound) IsClientError() bool

IsClientError returns true when this process payment not found response has a 4xx status code

func (*ProcessPaymentNotFound) IsCode

func (o *ProcessPaymentNotFound) IsCode(code int) bool

IsCode returns true when this process payment not found response a status code equal to that given

func (*ProcessPaymentNotFound) IsRedirect

func (o *ProcessPaymentNotFound) IsRedirect() bool

IsRedirect returns true when this process payment not found response has a 3xx status code

func (*ProcessPaymentNotFound) IsServerError

func (o *ProcessPaymentNotFound) IsServerError() bool

IsServerError returns true when this process payment not found response has a 5xx status code

func (*ProcessPaymentNotFound) IsSuccess

func (o *ProcessPaymentNotFound) IsSuccess() bool

IsSuccess returns true when this process payment not found response has a 2xx status code

func (*ProcessPaymentNotFound) String

func (o *ProcessPaymentNotFound) String() string

type ProcessPaymentParams

type ProcessPaymentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.PaymentTransaction

	// ControlPluginName.
	ControlPluginName []string

	// PaymentMethodID.
	//
	// Format: uuid
	PaymentMethodID *strfmt.UUID

	// PluginProperty.
	PluginProperty []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
}

ProcessPaymentParams contains all the parameters to send to the API endpoint

for the process payment operation.

Typically these are written to a http.Request.

func NewProcessPaymentParams

func NewProcessPaymentParams() *ProcessPaymentParams

NewProcessPaymentParams creates a new ProcessPaymentParams 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 NewProcessPaymentParamsWithContext

func NewProcessPaymentParamsWithContext(ctx context.Context) *ProcessPaymentParams

NewProcessPaymentParamsWithContext creates a new ProcessPaymentParams object with the ability to set a context for a request.

func NewProcessPaymentParamsWithHTTPClient

func NewProcessPaymentParamsWithHTTPClient(client *http.Client) *ProcessPaymentParams

NewProcessPaymentParamsWithHTTPClient creates a new ProcessPaymentParams object with the ability to set a custom HTTPClient for a request.

func NewProcessPaymentParamsWithTimeout

func NewProcessPaymentParamsWithTimeout(timeout time.Duration) *ProcessPaymentParams

NewProcessPaymentParamsWithTimeout creates a new ProcessPaymentParams object with the ability to set a timeout on a request.

func (*ProcessPaymentParams) SetAccountID

func (o *ProcessPaymentParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the process payment params

func (*ProcessPaymentParams) SetBody

SetBody adds the body to the process payment params

func (*ProcessPaymentParams) SetContext

func (o *ProcessPaymentParams) SetContext(ctx context.Context)

SetContext adds the context to the process payment params

func (*ProcessPaymentParams) SetControlPluginName

func (o *ProcessPaymentParams) SetControlPluginName(controlPluginName []string)

SetControlPluginName adds the controlPluginName to the process payment params

func (*ProcessPaymentParams) SetDefaults

func (o *ProcessPaymentParams) SetDefaults()

SetDefaults hydrates default values in the process payment params (not the query body).

All values with no default are reset to their zero value.

func (*ProcessPaymentParams) SetHTTPClient

func (o *ProcessPaymentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the process payment params

func (*ProcessPaymentParams) SetPaymentMethodID

func (o *ProcessPaymentParams) SetPaymentMethodID(paymentMethodID *strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the process payment params

func (*ProcessPaymentParams) SetPluginProperty

func (o *ProcessPaymentParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the process payment params

func (*ProcessPaymentParams) SetTimeout

func (o *ProcessPaymentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the process payment params

func (*ProcessPaymentParams) SetXKillbillComment

func (o *ProcessPaymentParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the process payment params

func (*ProcessPaymentParams) SetXKillbillCreatedBy

func (o *ProcessPaymentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the process payment params

func (*ProcessPaymentParams) SetXKillbillReason

func (o *ProcessPaymentParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the process payment params

func (*ProcessPaymentParams) WithAccountID

func (o *ProcessPaymentParams) WithAccountID(accountID strfmt.UUID) *ProcessPaymentParams

WithAccountID adds the accountID to the process payment params

func (*ProcessPaymentParams) WithBody

WithBody adds the body to the process payment params

func (*ProcessPaymentParams) WithContext

WithContext adds the context to the process payment params

func (*ProcessPaymentParams) WithControlPluginName

func (o *ProcessPaymentParams) WithControlPluginName(controlPluginName []string) *ProcessPaymentParams

WithControlPluginName adds the controlPluginName to the process payment params

func (*ProcessPaymentParams) WithDefaults

func (o *ProcessPaymentParams) WithDefaults() *ProcessPaymentParams

WithDefaults hydrates default values in the process payment params (not the query body).

All values with no default are reset to their zero value.

func (*ProcessPaymentParams) WithHTTPClient

func (o *ProcessPaymentParams) WithHTTPClient(client *http.Client) *ProcessPaymentParams

WithHTTPClient adds the HTTPClient to the process payment params

func (*ProcessPaymentParams) WithPaymentMethodID

func (o *ProcessPaymentParams) WithPaymentMethodID(paymentMethodID *strfmt.UUID) *ProcessPaymentParams

WithPaymentMethodID adds the paymentMethodID to the process payment params

func (*ProcessPaymentParams) WithPluginProperty

func (o *ProcessPaymentParams) WithPluginProperty(pluginProperty []string) *ProcessPaymentParams

WithPluginProperty adds the pluginProperty to the process payment params

func (*ProcessPaymentParams) WithTimeout

func (o *ProcessPaymentParams) WithTimeout(timeout time.Duration) *ProcessPaymentParams

WithTimeout adds the timeout to the process payment params

func (*ProcessPaymentParams) WithXKillbillComment

func (o *ProcessPaymentParams) WithXKillbillComment(xKillbillComment *string) *ProcessPaymentParams

WithXKillbillComment adds the xKillbillComment to the process payment params

func (*ProcessPaymentParams) WithXKillbillCreatedBy

func (o *ProcessPaymentParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ProcessPaymentParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the process payment params

func (*ProcessPaymentParams) WithXKillbillReason

func (o *ProcessPaymentParams) WithXKillbillReason(xKillbillReason *string) *ProcessPaymentParams

WithXKillbillReason adds the xKillbillReason to the process payment params

func (*ProcessPaymentParams) WriteToRequest

func (o *ProcessPaymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProcessPaymentPaymentRequired

type ProcessPaymentPaymentRequired struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentPaymentRequired describes a response with status code 402, with default header values.

Transaction declined by gateway

func NewProcessPaymentPaymentRequired

func NewProcessPaymentPaymentRequired() *ProcessPaymentPaymentRequired

NewProcessPaymentPaymentRequired creates a ProcessPaymentPaymentRequired with default headers values

func (*ProcessPaymentPaymentRequired) Code

Code gets the status code for the process payment payment required response

func (*ProcessPaymentPaymentRequired) Error

func (*ProcessPaymentPaymentRequired) IsClientError

func (o *ProcessPaymentPaymentRequired) IsClientError() bool

IsClientError returns true when this process payment payment required response has a 4xx status code

func (*ProcessPaymentPaymentRequired) IsCode

func (o *ProcessPaymentPaymentRequired) IsCode(code int) bool

IsCode returns true when this process payment payment required response a status code equal to that given

func (*ProcessPaymentPaymentRequired) IsRedirect

func (o *ProcessPaymentPaymentRequired) IsRedirect() bool

IsRedirect returns true when this process payment payment required response has a 3xx status code

func (*ProcessPaymentPaymentRequired) IsServerError

func (o *ProcessPaymentPaymentRequired) IsServerError() bool

IsServerError returns true when this process payment payment required response has a 5xx status code

func (*ProcessPaymentPaymentRequired) IsSuccess

func (o *ProcessPaymentPaymentRequired) IsSuccess() bool

IsSuccess returns true when this process payment payment required response has a 2xx status code

func (*ProcessPaymentPaymentRequired) String

type ProcessPaymentReader

type ProcessPaymentReader struct {
	// contains filtered or unexported fields
}

ProcessPaymentReader is a Reader for the ProcessPayment structure.

func (*ProcessPaymentReader) ReadResponse

func (o *ProcessPaymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProcessPaymentServiceUnavailable

type ProcessPaymentServiceUnavailable struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentServiceUnavailable describes a response with status code 503, with default header values.

Payment in unknown status, failed to receive gateway response

func NewProcessPaymentServiceUnavailable

func NewProcessPaymentServiceUnavailable() *ProcessPaymentServiceUnavailable

NewProcessPaymentServiceUnavailable creates a ProcessPaymentServiceUnavailable with default headers values

func (*ProcessPaymentServiceUnavailable) Code

Code gets the status code for the process payment service unavailable response

func (*ProcessPaymentServiceUnavailable) Error

func (*ProcessPaymentServiceUnavailable) IsClientError

func (o *ProcessPaymentServiceUnavailable) IsClientError() bool

IsClientError returns true when this process payment service unavailable response has a 4xx status code

func (*ProcessPaymentServiceUnavailable) IsCode

func (o *ProcessPaymentServiceUnavailable) IsCode(code int) bool

IsCode returns true when this process payment service unavailable response a status code equal to that given

func (*ProcessPaymentServiceUnavailable) IsRedirect

func (o *ProcessPaymentServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this process payment service unavailable response has a 3xx status code

func (*ProcessPaymentServiceUnavailable) IsServerError

func (o *ProcessPaymentServiceUnavailable) IsServerError() bool

IsServerError returns true when this process payment service unavailable response has a 5xx status code

func (*ProcessPaymentServiceUnavailable) IsSuccess

func (o *ProcessPaymentServiceUnavailable) IsSuccess() bool

IsSuccess returns true when this process payment service unavailable response has a 2xx status code

func (*ProcessPaymentServiceUnavailable) String

type ProcessPaymentUnprocessableEntity

type ProcessPaymentUnprocessableEntity struct {
	HttpResponse runtime.ClientResponse
}

ProcessPaymentUnprocessableEntity describes a response with status code 422, with default header values.

Payment is aborted by a control plugin

func NewProcessPaymentUnprocessableEntity

func NewProcessPaymentUnprocessableEntity() *ProcessPaymentUnprocessableEntity

NewProcessPaymentUnprocessableEntity creates a ProcessPaymentUnprocessableEntity with default headers values

func (*ProcessPaymentUnprocessableEntity) Code

Code gets the status code for the process payment unprocessable entity response

func (*ProcessPaymentUnprocessableEntity) Error

func (*ProcessPaymentUnprocessableEntity) IsClientError

func (o *ProcessPaymentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this process payment unprocessable entity response has a 4xx status code

func (*ProcessPaymentUnprocessableEntity) IsCode

func (o *ProcessPaymentUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this process payment unprocessable entity response a status code equal to that given

func (*ProcessPaymentUnprocessableEntity) IsRedirect

func (o *ProcessPaymentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this process payment unprocessable entity response has a 3xx status code

func (*ProcessPaymentUnprocessableEntity) IsServerError

func (o *ProcessPaymentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this process payment unprocessable entity response has a 5xx status code

func (*ProcessPaymentUnprocessableEntity) IsSuccess

func (o *ProcessPaymentUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this process payment unprocessable entity response has a 2xx status code

func (*ProcessPaymentUnprocessableEntity) String

type RebalanceExistingCBAOnAccountBadRequest

type RebalanceExistingCBAOnAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

RebalanceExistingCBAOnAccountBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewRebalanceExistingCBAOnAccountBadRequest

func NewRebalanceExistingCBAOnAccountBadRequest() *RebalanceExistingCBAOnAccountBadRequest

NewRebalanceExistingCBAOnAccountBadRequest creates a RebalanceExistingCBAOnAccountBadRequest with default headers values

func (*RebalanceExistingCBAOnAccountBadRequest) Code

Code gets the status code for the rebalance existing c b a on account bad request response

func (*RebalanceExistingCBAOnAccountBadRequest) Error

func (*RebalanceExistingCBAOnAccountBadRequest) IsClientError

func (o *RebalanceExistingCBAOnAccountBadRequest) IsClientError() bool

IsClientError returns true when this rebalance existing c b a on account bad request response has a 4xx status code

func (*RebalanceExistingCBAOnAccountBadRequest) IsCode

IsCode returns true when this rebalance existing c b a on account bad request response a status code equal to that given

func (*RebalanceExistingCBAOnAccountBadRequest) IsRedirect

IsRedirect returns true when this rebalance existing c b a on account bad request response has a 3xx status code

func (*RebalanceExistingCBAOnAccountBadRequest) IsServerError

func (o *RebalanceExistingCBAOnAccountBadRequest) IsServerError() bool

IsServerError returns true when this rebalance existing c b a on account bad request response has a 5xx status code

func (*RebalanceExistingCBAOnAccountBadRequest) IsSuccess

IsSuccess returns true when this rebalance existing c b a on account bad request response has a 2xx status code

func (*RebalanceExistingCBAOnAccountBadRequest) String

type RebalanceExistingCBAOnAccountNoContent

type RebalanceExistingCBAOnAccountNoContent struct {
	HttpResponse runtime.ClientResponse
}

RebalanceExistingCBAOnAccountNoContent describes a response with status code 204, with default header values.

Successful operation

func NewRebalanceExistingCBAOnAccountNoContent

func NewRebalanceExistingCBAOnAccountNoContent() *RebalanceExistingCBAOnAccountNoContent

NewRebalanceExistingCBAOnAccountNoContent creates a RebalanceExistingCBAOnAccountNoContent with default headers values

func (*RebalanceExistingCBAOnAccountNoContent) Code

Code gets the status code for the rebalance existing c b a on account no content response

func (*RebalanceExistingCBAOnAccountNoContent) Error

func (*RebalanceExistingCBAOnAccountNoContent) IsClientError

func (o *RebalanceExistingCBAOnAccountNoContent) IsClientError() bool

IsClientError returns true when this rebalance existing c b a on account no content response has a 4xx status code

func (*RebalanceExistingCBAOnAccountNoContent) IsCode

IsCode returns true when this rebalance existing c b a on account no content response a status code equal to that given

func (*RebalanceExistingCBAOnAccountNoContent) IsRedirect

IsRedirect returns true when this rebalance existing c b a on account no content response has a 3xx status code

func (*RebalanceExistingCBAOnAccountNoContent) IsServerError

func (o *RebalanceExistingCBAOnAccountNoContent) IsServerError() bool

IsServerError returns true when this rebalance existing c b a on account no content response has a 5xx status code

func (*RebalanceExistingCBAOnAccountNoContent) IsSuccess

IsSuccess returns true when this rebalance existing c b a on account no content response has a 2xx status code

func (*RebalanceExistingCBAOnAccountNoContent) String

type RebalanceExistingCBAOnAccountParams

type RebalanceExistingCBAOnAccountParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID 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
}

RebalanceExistingCBAOnAccountParams contains all the parameters to send to the API endpoint

for the rebalance existing c b a on account operation.

Typically these are written to a http.Request.

func NewRebalanceExistingCBAOnAccountParams

func NewRebalanceExistingCBAOnAccountParams() *RebalanceExistingCBAOnAccountParams

NewRebalanceExistingCBAOnAccountParams creates a new RebalanceExistingCBAOnAccountParams 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 NewRebalanceExistingCBAOnAccountParamsWithContext

func NewRebalanceExistingCBAOnAccountParamsWithContext(ctx context.Context) *RebalanceExistingCBAOnAccountParams

NewRebalanceExistingCBAOnAccountParamsWithContext creates a new RebalanceExistingCBAOnAccountParams object with the ability to set a context for a request.

func NewRebalanceExistingCBAOnAccountParamsWithHTTPClient

func NewRebalanceExistingCBAOnAccountParamsWithHTTPClient(client *http.Client) *RebalanceExistingCBAOnAccountParams

NewRebalanceExistingCBAOnAccountParamsWithHTTPClient creates a new RebalanceExistingCBAOnAccountParams object with the ability to set a custom HTTPClient for a request.

func NewRebalanceExistingCBAOnAccountParamsWithTimeout

func NewRebalanceExistingCBAOnAccountParamsWithTimeout(timeout time.Duration) *RebalanceExistingCBAOnAccountParams

NewRebalanceExistingCBAOnAccountParamsWithTimeout creates a new RebalanceExistingCBAOnAccountParams object with the ability to set a timeout on a request.

func (*RebalanceExistingCBAOnAccountParams) SetAccountID

func (o *RebalanceExistingCBAOnAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetContext

SetContext adds the context to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetDefaults

func (o *RebalanceExistingCBAOnAccountParams) SetDefaults()

SetDefaults hydrates default values in the rebalance existing c b a on account params (not the query body).

All values with no default are reset to their zero value.

func (*RebalanceExistingCBAOnAccountParams) SetHTTPClient

func (o *RebalanceExistingCBAOnAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetTimeout

func (o *RebalanceExistingCBAOnAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetXKillbillComment

func (o *RebalanceExistingCBAOnAccountParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetXKillbillCreatedBy

func (o *RebalanceExistingCBAOnAccountParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) SetXKillbillReason

func (o *RebalanceExistingCBAOnAccountParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithAccountID

WithAccountID adds the accountID to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithContext

WithContext adds the context to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithDefaults

WithDefaults hydrates default values in the rebalance existing c b a on account params (not the query body).

All values with no default are reset to their zero value.

func (*RebalanceExistingCBAOnAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithTimeout

WithTimeout adds the timeout to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithXKillbillComment

func (o *RebalanceExistingCBAOnAccountParams) WithXKillbillComment(xKillbillComment *string) *RebalanceExistingCBAOnAccountParams

WithXKillbillComment adds the xKillbillComment to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithXKillbillCreatedBy

func (o *RebalanceExistingCBAOnAccountParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *RebalanceExistingCBAOnAccountParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WithXKillbillReason

func (o *RebalanceExistingCBAOnAccountParams) WithXKillbillReason(xKillbillReason *string) *RebalanceExistingCBAOnAccountParams

WithXKillbillReason adds the xKillbillReason to the rebalance existing c b a on account params

func (*RebalanceExistingCBAOnAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RebalanceExistingCBAOnAccountReader

type RebalanceExistingCBAOnAccountReader struct {
	// contains filtered or unexported fields
}

RebalanceExistingCBAOnAccountReader is a Reader for the RebalanceExistingCBAOnAccount structure.

func (*RebalanceExistingCBAOnAccountReader) ReadResponse

func (o *RebalanceExistingCBAOnAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RefreshPaymentMethodsBadRequest

type RefreshPaymentMethodsBadRequest struct {
	HttpResponse runtime.ClientResponse
}

RefreshPaymentMethodsBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewRefreshPaymentMethodsBadRequest

func NewRefreshPaymentMethodsBadRequest() *RefreshPaymentMethodsBadRequest

NewRefreshPaymentMethodsBadRequest creates a RefreshPaymentMethodsBadRequest with default headers values

func (*RefreshPaymentMethodsBadRequest) Code

Code gets the status code for the refresh payment methods bad request response

func (*RefreshPaymentMethodsBadRequest) Error

func (*RefreshPaymentMethodsBadRequest) IsClientError

func (o *RefreshPaymentMethodsBadRequest) IsClientError() bool

IsClientError returns true when this refresh payment methods bad request response has a 4xx status code

func (*RefreshPaymentMethodsBadRequest) IsCode

func (o *RefreshPaymentMethodsBadRequest) IsCode(code int) bool

IsCode returns true when this refresh payment methods bad request response a status code equal to that given

func (*RefreshPaymentMethodsBadRequest) IsRedirect

func (o *RefreshPaymentMethodsBadRequest) IsRedirect() bool

IsRedirect returns true when this refresh payment methods bad request response has a 3xx status code

func (*RefreshPaymentMethodsBadRequest) IsServerError

func (o *RefreshPaymentMethodsBadRequest) IsServerError() bool

IsServerError returns true when this refresh payment methods bad request response has a 5xx status code

func (*RefreshPaymentMethodsBadRequest) IsSuccess

func (o *RefreshPaymentMethodsBadRequest) IsSuccess() bool

IsSuccess returns true when this refresh payment methods bad request response has a 2xx status code

func (*RefreshPaymentMethodsBadRequest) String

type RefreshPaymentMethodsNoContent

type RefreshPaymentMethodsNoContent struct {
	HttpResponse runtime.ClientResponse
}

RefreshPaymentMethodsNoContent describes a response with status code 204, with default header values.

Successful operation

func NewRefreshPaymentMethodsNoContent

func NewRefreshPaymentMethodsNoContent() *RefreshPaymentMethodsNoContent

NewRefreshPaymentMethodsNoContent creates a RefreshPaymentMethodsNoContent with default headers values

func (*RefreshPaymentMethodsNoContent) Code

Code gets the status code for the refresh payment methods no content response

func (*RefreshPaymentMethodsNoContent) Error

func (*RefreshPaymentMethodsNoContent) IsClientError

func (o *RefreshPaymentMethodsNoContent) IsClientError() bool

IsClientError returns true when this refresh payment methods no content response has a 4xx status code

func (*RefreshPaymentMethodsNoContent) IsCode

func (o *RefreshPaymentMethodsNoContent) IsCode(code int) bool

IsCode returns true when this refresh payment methods no content response a status code equal to that given

func (*RefreshPaymentMethodsNoContent) IsRedirect

func (o *RefreshPaymentMethodsNoContent) IsRedirect() bool

IsRedirect returns true when this refresh payment methods no content response has a 3xx status code

func (*RefreshPaymentMethodsNoContent) IsServerError

func (o *RefreshPaymentMethodsNoContent) IsServerError() bool

IsServerError returns true when this refresh payment methods no content response has a 5xx status code

func (*RefreshPaymentMethodsNoContent) IsSuccess

func (o *RefreshPaymentMethodsNoContent) IsSuccess() bool

IsSuccess returns true when this refresh payment methods no content response has a 2xx status code

func (*RefreshPaymentMethodsNoContent) String

type RefreshPaymentMethodsNotFound

type RefreshPaymentMethodsNotFound struct {
	HttpResponse runtime.ClientResponse
}

RefreshPaymentMethodsNotFound describes a response with status code 404, with default header values.

Account not found

func NewRefreshPaymentMethodsNotFound

func NewRefreshPaymentMethodsNotFound() *RefreshPaymentMethodsNotFound

NewRefreshPaymentMethodsNotFound creates a RefreshPaymentMethodsNotFound with default headers values

func (*RefreshPaymentMethodsNotFound) Code

Code gets the status code for the refresh payment methods not found response

func (*RefreshPaymentMethodsNotFound) Error

func (*RefreshPaymentMethodsNotFound) IsClientError

func (o *RefreshPaymentMethodsNotFound) IsClientError() bool

IsClientError returns true when this refresh payment methods not found response has a 4xx status code

func (*RefreshPaymentMethodsNotFound) IsCode

func (o *RefreshPaymentMethodsNotFound) IsCode(code int) bool

IsCode returns true when this refresh payment methods not found response a status code equal to that given

func (*RefreshPaymentMethodsNotFound) IsRedirect

func (o *RefreshPaymentMethodsNotFound) IsRedirect() bool

IsRedirect returns true when this refresh payment methods not found response has a 3xx status code

func (*RefreshPaymentMethodsNotFound) IsServerError

func (o *RefreshPaymentMethodsNotFound) IsServerError() bool

IsServerError returns true when this refresh payment methods not found response has a 5xx status code

func (*RefreshPaymentMethodsNotFound) IsSuccess

func (o *RefreshPaymentMethodsNotFound) IsSuccess() bool

IsSuccess returns true when this refresh payment methods not found response has a 2xx status code

func (*RefreshPaymentMethodsNotFound) String

type RefreshPaymentMethodsParams

type RefreshPaymentMethodsParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// PluginName.
	PluginName *string

	// PluginProperty.
	PluginProperty []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
}

RefreshPaymentMethodsParams contains all the parameters to send to the API endpoint

for the refresh payment methods operation.

Typically these are written to a http.Request.

func NewRefreshPaymentMethodsParams

func NewRefreshPaymentMethodsParams() *RefreshPaymentMethodsParams

NewRefreshPaymentMethodsParams creates a new RefreshPaymentMethodsParams 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 NewRefreshPaymentMethodsParamsWithContext

func NewRefreshPaymentMethodsParamsWithContext(ctx context.Context) *RefreshPaymentMethodsParams

NewRefreshPaymentMethodsParamsWithContext creates a new RefreshPaymentMethodsParams object with the ability to set a context for a request.

func NewRefreshPaymentMethodsParamsWithHTTPClient

func NewRefreshPaymentMethodsParamsWithHTTPClient(client *http.Client) *RefreshPaymentMethodsParams

NewRefreshPaymentMethodsParamsWithHTTPClient creates a new RefreshPaymentMethodsParams object with the ability to set a custom HTTPClient for a request.

func NewRefreshPaymentMethodsParamsWithTimeout

func NewRefreshPaymentMethodsParamsWithTimeout(timeout time.Duration) *RefreshPaymentMethodsParams

NewRefreshPaymentMethodsParamsWithTimeout creates a new RefreshPaymentMethodsParams object with the ability to set a timeout on a request.

func (*RefreshPaymentMethodsParams) SetAccountID

func (o *RefreshPaymentMethodsParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetContext

func (o *RefreshPaymentMethodsParams) SetContext(ctx context.Context)

SetContext adds the context to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetDefaults

func (o *RefreshPaymentMethodsParams) SetDefaults()

SetDefaults hydrates default values in the refresh payment methods params (not the query body).

All values with no default are reset to their zero value.

func (*RefreshPaymentMethodsParams) SetHTTPClient

func (o *RefreshPaymentMethodsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetPluginName

func (o *RefreshPaymentMethodsParams) SetPluginName(pluginName *string)

SetPluginName adds the pluginName to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetPluginProperty

func (o *RefreshPaymentMethodsParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetTimeout

func (o *RefreshPaymentMethodsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetXKillbillComment

func (o *RefreshPaymentMethodsParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetXKillbillCreatedBy

func (o *RefreshPaymentMethodsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the refresh payment methods params

func (*RefreshPaymentMethodsParams) SetXKillbillReason

func (o *RefreshPaymentMethodsParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithAccountID

WithAccountID adds the accountID to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithContext

WithContext adds the context to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithDefaults

WithDefaults hydrates default values in the refresh payment methods params (not the query body).

All values with no default are reset to their zero value.

func (*RefreshPaymentMethodsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithPluginName

func (o *RefreshPaymentMethodsParams) WithPluginName(pluginName *string) *RefreshPaymentMethodsParams

WithPluginName adds the pluginName to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithPluginProperty

func (o *RefreshPaymentMethodsParams) WithPluginProperty(pluginProperty []string) *RefreshPaymentMethodsParams

WithPluginProperty adds the pluginProperty to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithTimeout

WithTimeout adds the timeout to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithXKillbillComment

func (o *RefreshPaymentMethodsParams) WithXKillbillComment(xKillbillComment *string) *RefreshPaymentMethodsParams

WithXKillbillComment adds the xKillbillComment to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithXKillbillCreatedBy

func (o *RefreshPaymentMethodsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *RefreshPaymentMethodsParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WithXKillbillReason

func (o *RefreshPaymentMethodsParams) WithXKillbillReason(xKillbillReason *string) *RefreshPaymentMethodsParams

WithXKillbillReason adds the xKillbillReason to the refresh payment methods params

func (*RefreshPaymentMethodsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RefreshPaymentMethodsReader

type RefreshPaymentMethodsReader struct {
	// contains filtered or unexported fields
}

RefreshPaymentMethodsReader is a Reader for the RefreshPaymentMethods structure.

func (*RefreshPaymentMethodsReader) ReadResponse

func (o *RefreshPaymentMethodsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveEmailBadRequest

type RemoveEmailBadRequest struct {
	HttpResponse runtime.ClientResponse
}

RemoveEmailBadRequest describes a response with status code 400, with default header values.

Invalid account id supplied

func NewRemoveEmailBadRequest

func NewRemoveEmailBadRequest() *RemoveEmailBadRequest

NewRemoveEmailBadRequest creates a RemoveEmailBadRequest with default headers values

func (*RemoveEmailBadRequest) Code

func (o *RemoveEmailBadRequest) Code() int

Code gets the status code for the remove email bad request response

func (*RemoveEmailBadRequest) Error

func (o *RemoveEmailBadRequest) Error() string

func (*RemoveEmailBadRequest) IsClientError

func (o *RemoveEmailBadRequest) IsClientError() bool

IsClientError returns true when this remove email bad request response has a 4xx status code

func (*RemoveEmailBadRequest) IsCode

func (o *RemoveEmailBadRequest) IsCode(code int) bool

IsCode returns true when this remove email bad request response a status code equal to that given

func (*RemoveEmailBadRequest) IsRedirect

func (o *RemoveEmailBadRequest) IsRedirect() bool

IsRedirect returns true when this remove email bad request response has a 3xx status code

func (*RemoveEmailBadRequest) IsServerError

func (o *RemoveEmailBadRequest) IsServerError() bool

IsServerError returns true when this remove email bad request response has a 5xx status code

func (*RemoveEmailBadRequest) IsSuccess

func (o *RemoveEmailBadRequest) IsSuccess() bool

IsSuccess returns true when this remove email bad request response has a 2xx status code

func (*RemoveEmailBadRequest) String

func (o *RemoveEmailBadRequest) String() string

type RemoveEmailNoContent

type RemoveEmailNoContent struct {
	HttpResponse runtime.ClientResponse
}

RemoveEmailNoContent describes a response with status code 204, with default header values.

Successful operation

func NewRemoveEmailNoContent

func NewRemoveEmailNoContent() *RemoveEmailNoContent

NewRemoveEmailNoContent creates a RemoveEmailNoContent with default headers values

func (*RemoveEmailNoContent) Code

func (o *RemoveEmailNoContent) Code() int

Code gets the status code for the remove email no content response

func (*RemoveEmailNoContent) Error

func (o *RemoveEmailNoContent) Error() string

func (*RemoveEmailNoContent) IsClientError

func (o *RemoveEmailNoContent) IsClientError() bool

IsClientError returns true when this remove email no content response has a 4xx status code

func (*RemoveEmailNoContent) IsCode

func (o *RemoveEmailNoContent) IsCode(code int) bool

IsCode returns true when this remove email no content response a status code equal to that given

func (*RemoveEmailNoContent) IsRedirect

func (o *RemoveEmailNoContent) IsRedirect() bool

IsRedirect returns true when this remove email no content response has a 3xx status code

func (*RemoveEmailNoContent) IsServerError

func (o *RemoveEmailNoContent) IsServerError() bool

IsServerError returns true when this remove email no content response has a 5xx status code

func (*RemoveEmailNoContent) IsSuccess

func (o *RemoveEmailNoContent) IsSuccess() bool

IsSuccess returns true when this remove email no content response has a 2xx status code

func (*RemoveEmailNoContent) String

func (o *RemoveEmailNoContent) String() string

type RemoveEmailParams

type RemoveEmailParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Email.
	Email 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
}

RemoveEmailParams contains all the parameters to send to the API endpoint

for the remove email operation.

Typically these are written to a http.Request.

func NewRemoveEmailParams

func NewRemoveEmailParams() *RemoveEmailParams

NewRemoveEmailParams creates a new RemoveEmailParams 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 NewRemoveEmailParamsWithContext

func NewRemoveEmailParamsWithContext(ctx context.Context) *RemoveEmailParams

NewRemoveEmailParamsWithContext creates a new RemoveEmailParams object with the ability to set a context for a request.

func NewRemoveEmailParamsWithHTTPClient

func NewRemoveEmailParamsWithHTTPClient(client *http.Client) *RemoveEmailParams

NewRemoveEmailParamsWithHTTPClient creates a new RemoveEmailParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveEmailParamsWithTimeout

func NewRemoveEmailParamsWithTimeout(timeout time.Duration) *RemoveEmailParams

NewRemoveEmailParamsWithTimeout creates a new RemoveEmailParams object with the ability to set a timeout on a request.

func (*RemoveEmailParams) SetAccountID

func (o *RemoveEmailParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the remove email params

func (*RemoveEmailParams) SetContext

func (o *RemoveEmailParams) SetContext(ctx context.Context)

SetContext adds the context to the remove email params

func (*RemoveEmailParams) SetDefaults

func (o *RemoveEmailParams) SetDefaults()

SetDefaults hydrates default values in the remove email params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveEmailParams) SetEmail

func (o *RemoveEmailParams) SetEmail(email string)

SetEmail adds the email to the remove email params

func (*RemoveEmailParams) SetHTTPClient

func (o *RemoveEmailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove email params

func (*RemoveEmailParams) SetTimeout

func (o *RemoveEmailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove email params

func (*RemoveEmailParams) SetXKillbillComment

func (o *RemoveEmailParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the remove email params

func (*RemoveEmailParams) SetXKillbillCreatedBy

func (o *RemoveEmailParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the remove email params

func (*RemoveEmailParams) SetXKillbillReason

func (o *RemoveEmailParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the remove email params

func (*RemoveEmailParams) WithAccountID

func (o *RemoveEmailParams) WithAccountID(accountID strfmt.UUID) *RemoveEmailParams

WithAccountID adds the accountID to the remove email params

func (*RemoveEmailParams) WithContext

func (o *RemoveEmailParams) WithContext(ctx context.Context) *RemoveEmailParams

WithContext adds the context to the remove email params

func (*RemoveEmailParams) WithDefaults

func (o *RemoveEmailParams) WithDefaults() *RemoveEmailParams

WithDefaults hydrates default values in the remove email params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveEmailParams) WithEmail

func (o *RemoveEmailParams) WithEmail(email string) *RemoveEmailParams

WithEmail adds the email to the remove email params

func (*RemoveEmailParams) WithHTTPClient

func (o *RemoveEmailParams) WithHTTPClient(client *http.Client) *RemoveEmailParams

WithHTTPClient adds the HTTPClient to the remove email params

func (*RemoveEmailParams) WithTimeout

func (o *RemoveEmailParams) WithTimeout(timeout time.Duration) *RemoveEmailParams

WithTimeout adds the timeout to the remove email params

func (*RemoveEmailParams) WithXKillbillComment

func (o *RemoveEmailParams) WithXKillbillComment(xKillbillComment *string) *RemoveEmailParams

WithXKillbillComment adds the xKillbillComment to the remove email params

func (*RemoveEmailParams) WithXKillbillCreatedBy

func (o *RemoveEmailParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *RemoveEmailParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the remove email params

func (*RemoveEmailParams) WithXKillbillReason

func (o *RemoveEmailParams) WithXKillbillReason(xKillbillReason *string) *RemoveEmailParams

WithXKillbillReason adds the xKillbillReason to the remove email params

func (*RemoveEmailParams) WriteToRequest

func (o *RemoveEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RemoveEmailReader

type RemoveEmailReader struct {
	// contains filtered or unexported fields
}

RemoveEmailReader is a Reader for the RemoveEmail structure.

func (*RemoveEmailReader) ReadResponse

func (o *RemoveEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SearchAccountsOK

type SearchAccountsOK struct {
	Payload      []*kbmodel.Account
	HttpResponse runtime.ClientResponse
}

SearchAccountsOK describes a response with status code 200, with default header values.

successful operation

func NewSearchAccountsOK

func NewSearchAccountsOK() *SearchAccountsOK

NewSearchAccountsOK creates a SearchAccountsOK with default headers values

func (*SearchAccountsOK) Code

func (o *SearchAccountsOK) Code() int

Code gets the status code for the search accounts o k response

func (*SearchAccountsOK) Error

func (o *SearchAccountsOK) Error() string

func (*SearchAccountsOK) GetPayload

func (o *SearchAccountsOK) GetPayload() []*kbmodel.Account

func (*SearchAccountsOK) IsClientError

func (o *SearchAccountsOK) IsClientError() bool

IsClientError returns true when this search accounts o k response has a 4xx status code

func (*SearchAccountsOK) IsCode

func (o *SearchAccountsOK) IsCode(code int) bool

IsCode returns true when this search accounts o k response a status code equal to that given

func (*SearchAccountsOK) IsRedirect

func (o *SearchAccountsOK) IsRedirect() bool

IsRedirect returns true when this search accounts o k response has a 3xx status code

func (*SearchAccountsOK) IsServerError

func (o *SearchAccountsOK) IsServerError() bool

IsServerError returns true when this search accounts o k response has a 5xx status code

func (*SearchAccountsOK) IsSuccess

func (o *SearchAccountsOK) IsSuccess() bool

IsSuccess returns true when this search accounts o k response has a 2xx status code

func (*SearchAccountsOK) String

func (o *SearchAccountsOK) String() string

type SearchAccountsParams

type SearchAccountsParams struct {

	// AccountWithBalance.
	AccountWithBalance *bool

	// AccountWithBalanceAndCBA.
	AccountWithBalanceAndCBA *bool

	// 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
}

SearchAccountsParams contains all the parameters to send to the API endpoint

for the search accounts operation.

Typically these are written to a http.Request.

func NewSearchAccountsParams

func NewSearchAccountsParams() *SearchAccountsParams

NewSearchAccountsParams creates a new SearchAccountsParams 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 NewSearchAccountsParamsWithContext

func NewSearchAccountsParamsWithContext(ctx context.Context) *SearchAccountsParams

NewSearchAccountsParamsWithContext creates a new SearchAccountsParams object with the ability to set a context for a request.

func NewSearchAccountsParamsWithHTTPClient

func NewSearchAccountsParamsWithHTTPClient(client *http.Client) *SearchAccountsParams

NewSearchAccountsParamsWithHTTPClient creates a new SearchAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchAccountsParamsWithTimeout

func NewSearchAccountsParamsWithTimeout(timeout time.Duration) *SearchAccountsParams

NewSearchAccountsParamsWithTimeout creates a new SearchAccountsParams object with the ability to set a timeout on a request.

func (*SearchAccountsParams) SetAccountWithBalance

func (o *SearchAccountsParams) SetAccountWithBalance(accountWithBalance *bool)

SetAccountWithBalance adds the accountWithBalance to the search accounts params

func (*SearchAccountsParams) SetAccountWithBalanceAndCBA

func (o *SearchAccountsParams) SetAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool)

SetAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the search accounts params

func (*SearchAccountsParams) SetAudit

func (o *SearchAccountsParams) SetAudit(audit *string)

SetAudit adds the audit to the search accounts params

func (*SearchAccountsParams) SetContext

func (o *SearchAccountsParams) SetContext(ctx context.Context)

SetContext adds the context to the search accounts params

func (*SearchAccountsParams) SetDefaults

func (o *SearchAccountsParams) SetDefaults()

SetDefaults hydrates default values in the search accounts params (not the query body).

All values with no default are reset to their zero value.

func (*SearchAccountsParams) SetHTTPClient

func (o *SearchAccountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search accounts params

func (*SearchAccountsParams) SetLimit

func (o *SearchAccountsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search accounts params

func (*SearchAccountsParams) SetOffset

func (o *SearchAccountsParams) SetOffset(offset *int64)

SetOffset adds the offset to the search accounts params

func (*SearchAccountsParams) SetSearchKey

func (o *SearchAccountsParams) SetSearchKey(searchKey string)

SetSearchKey adds the searchKey to the search accounts params

func (*SearchAccountsParams) SetTimeout

func (o *SearchAccountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search accounts params

func (*SearchAccountsParams) WithAccountWithBalance

func (o *SearchAccountsParams) WithAccountWithBalance(accountWithBalance *bool) *SearchAccountsParams

WithAccountWithBalance adds the accountWithBalance to the search accounts params

func (*SearchAccountsParams) WithAccountWithBalanceAndCBA

func (o *SearchAccountsParams) WithAccountWithBalanceAndCBA(accountWithBalanceAndCBA *bool) *SearchAccountsParams

WithAccountWithBalanceAndCBA adds the accountWithBalanceAndCBA to the search accounts params

func (*SearchAccountsParams) WithAudit

func (o *SearchAccountsParams) WithAudit(audit *string) *SearchAccountsParams

WithAudit adds the audit to the search accounts params

func (*SearchAccountsParams) WithContext

WithContext adds the context to the search accounts params

func (*SearchAccountsParams) WithDefaults

func (o *SearchAccountsParams) WithDefaults() *SearchAccountsParams

WithDefaults hydrates default values in the search accounts params (not the query body).

All values with no default are reset to their zero value.

func (*SearchAccountsParams) WithHTTPClient

func (o *SearchAccountsParams) WithHTTPClient(client *http.Client) *SearchAccountsParams

WithHTTPClient adds the HTTPClient to the search accounts params

func (*SearchAccountsParams) WithLimit

func (o *SearchAccountsParams) WithLimit(limit *int64) *SearchAccountsParams

WithLimit adds the limit to the search accounts params

func (*SearchAccountsParams) WithOffset

func (o *SearchAccountsParams) WithOffset(offset *int64) *SearchAccountsParams

WithOffset adds the offset to the search accounts params

func (*SearchAccountsParams) WithSearchKey

func (o *SearchAccountsParams) WithSearchKey(searchKey string) *SearchAccountsParams

WithSearchKey adds the searchKey to the search accounts params

func (*SearchAccountsParams) WithTimeout

func (o *SearchAccountsParams) WithTimeout(timeout time.Duration) *SearchAccountsParams

WithTimeout adds the timeout to the search accounts params

func (*SearchAccountsParams) WriteToRequest

func (o *SearchAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SearchAccountsReader

type SearchAccountsReader struct {
	// contains filtered or unexported fields
}

SearchAccountsReader is a Reader for the SearchAccounts structure.

func (*SearchAccountsReader) ReadResponse

func (o *SearchAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetDefaultPaymentMethodBadRequest

type SetDefaultPaymentMethodBadRequest struct {
	HttpResponse runtime.ClientResponse
}

SetDefaultPaymentMethodBadRequest describes a response with status code 400, with default header values.

Invalid account id or payment method id supplied

func NewSetDefaultPaymentMethodBadRequest

func NewSetDefaultPaymentMethodBadRequest() *SetDefaultPaymentMethodBadRequest

NewSetDefaultPaymentMethodBadRequest creates a SetDefaultPaymentMethodBadRequest with default headers values

func (*SetDefaultPaymentMethodBadRequest) Code

Code gets the status code for the set default payment method bad request response

func (*SetDefaultPaymentMethodBadRequest) Error

func (*SetDefaultPaymentMethodBadRequest) IsClientError

func (o *SetDefaultPaymentMethodBadRequest) IsClientError() bool

IsClientError returns true when this set default payment method bad request response has a 4xx status code

func (*SetDefaultPaymentMethodBadRequest) IsCode

func (o *SetDefaultPaymentMethodBadRequest) IsCode(code int) bool

IsCode returns true when this set default payment method bad request response a status code equal to that given

func (*SetDefaultPaymentMethodBadRequest) IsRedirect

func (o *SetDefaultPaymentMethodBadRequest) IsRedirect() bool

IsRedirect returns true when this set default payment method bad request response has a 3xx status code

func (*SetDefaultPaymentMethodBadRequest) IsServerError

func (o *SetDefaultPaymentMethodBadRequest) IsServerError() bool

IsServerError returns true when this set default payment method bad request response has a 5xx status code

func (*SetDefaultPaymentMethodBadRequest) IsSuccess

func (o *SetDefaultPaymentMethodBadRequest) IsSuccess() bool

IsSuccess returns true when this set default payment method bad request response has a 2xx status code

func (*SetDefaultPaymentMethodBadRequest) String

type SetDefaultPaymentMethodNoContent

type SetDefaultPaymentMethodNoContent struct {
	HttpResponse runtime.ClientResponse
}

SetDefaultPaymentMethodNoContent describes a response with status code 204, with default header values.

Successful operation

func NewSetDefaultPaymentMethodNoContent

func NewSetDefaultPaymentMethodNoContent() *SetDefaultPaymentMethodNoContent

NewSetDefaultPaymentMethodNoContent creates a SetDefaultPaymentMethodNoContent with default headers values

func (*SetDefaultPaymentMethodNoContent) Code

Code gets the status code for the set default payment method no content response

func (*SetDefaultPaymentMethodNoContent) Error

func (*SetDefaultPaymentMethodNoContent) IsClientError

func (o *SetDefaultPaymentMethodNoContent) IsClientError() bool

IsClientError returns true when this set default payment method no content response has a 4xx status code

func (*SetDefaultPaymentMethodNoContent) IsCode

func (o *SetDefaultPaymentMethodNoContent) IsCode(code int) bool

IsCode returns true when this set default payment method no content response a status code equal to that given

func (*SetDefaultPaymentMethodNoContent) IsRedirect

func (o *SetDefaultPaymentMethodNoContent) IsRedirect() bool

IsRedirect returns true when this set default payment method no content response has a 3xx status code

func (*SetDefaultPaymentMethodNoContent) IsServerError

func (o *SetDefaultPaymentMethodNoContent) IsServerError() bool

IsServerError returns true when this set default payment method no content response has a 5xx status code

func (*SetDefaultPaymentMethodNoContent) IsSuccess

func (o *SetDefaultPaymentMethodNoContent) IsSuccess() bool

IsSuccess returns true when this set default payment method no content response has a 2xx status code

func (*SetDefaultPaymentMethodNoContent) String

type SetDefaultPaymentMethodNotFound

type SetDefaultPaymentMethodNotFound struct {
	HttpResponse runtime.ClientResponse
}

SetDefaultPaymentMethodNotFound describes a response with status code 404, with default header values.

Account not found

func NewSetDefaultPaymentMethodNotFound

func NewSetDefaultPaymentMethodNotFound() *SetDefaultPaymentMethodNotFound

NewSetDefaultPaymentMethodNotFound creates a SetDefaultPaymentMethodNotFound with default headers values

func (*SetDefaultPaymentMethodNotFound) Code

Code gets the status code for the set default payment method not found response

func (*SetDefaultPaymentMethodNotFound) Error

func (*SetDefaultPaymentMethodNotFound) IsClientError

func (o *SetDefaultPaymentMethodNotFound) IsClientError() bool

IsClientError returns true when this set default payment method not found response has a 4xx status code

func (*SetDefaultPaymentMethodNotFound) IsCode

func (o *SetDefaultPaymentMethodNotFound) IsCode(code int) bool

IsCode returns true when this set default payment method not found response a status code equal to that given

func (*SetDefaultPaymentMethodNotFound) IsRedirect

func (o *SetDefaultPaymentMethodNotFound) IsRedirect() bool

IsRedirect returns true when this set default payment method not found response has a 3xx status code

func (*SetDefaultPaymentMethodNotFound) IsServerError

func (o *SetDefaultPaymentMethodNotFound) IsServerError() bool

IsServerError returns true when this set default payment method not found response has a 5xx status code

func (*SetDefaultPaymentMethodNotFound) IsSuccess

func (o *SetDefaultPaymentMethodNotFound) IsSuccess() bool

IsSuccess returns true when this set default payment method not found response has a 2xx status code

func (*SetDefaultPaymentMethodNotFound) String

type SetDefaultPaymentMethodParams

type SetDefaultPaymentMethodParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// PayAllUnpaidInvoices.
	PayAllUnpaidInvoices *bool

	// PaymentMethodID.
	//
	// Format: uuid
	PaymentMethodID strfmt.UUID

	// PluginProperty.
	PluginProperty []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
}

SetDefaultPaymentMethodParams contains all the parameters to send to the API endpoint

for the set default payment method operation.

Typically these are written to a http.Request.

func NewSetDefaultPaymentMethodParams

func NewSetDefaultPaymentMethodParams() *SetDefaultPaymentMethodParams

NewSetDefaultPaymentMethodParams creates a new SetDefaultPaymentMethodParams 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 NewSetDefaultPaymentMethodParamsWithContext

func NewSetDefaultPaymentMethodParamsWithContext(ctx context.Context) *SetDefaultPaymentMethodParams

NewSetDefaultPaymentMethodParamsWithContext creates a new SetDefaultPaymentMethodParams object with the ability to set a context for a request.

func NewSetDefaultPaymentMethodParamsWithHTTPClient

func NewSetDefaultPaymentMethodParamsWithHTTPClient(client *http.Client) *SetDefaultPaymentMethodParams

NewSetDefaultPaymentMethodParamsWithHTTPClient creates a new SetDefaultPaymentMethodParams object with the ability to set a custom HTTPClient for a request.

func NewSetDefaultPaymentMethodParamsWithTimeout

func NewSetDefaultPaymentMethodParamsWithTimeout(timeout time.Duration) *SetDefaultPaymentMethodParams

NewSetDefaultPaymentMethodParamsWithTimeout creates a new SetDefaultPaymentMethodParams object with the ability to set a timeout on a request.

func (*SetDefaultPaymentMethodParams) SetAccountID

func (o *SetDefaultPaymentMethodParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetContext

func (o *SetDefaultPaymentMethodParams) SetContext(ctx context.Context)

SetContext adds the context to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetDefaults

func (o *SetDefaultPaymentMethodParams) SetDefaults()

SetDefaults hydrates default values in the set default payment method params (not the query body).

All values with no default are reset to their zero value.

func (*SetDefaultPaymentMethodParams) SetHTTPClient

func (o *SetDefaultPaymentMethodParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetPayAllUnpaidInvoices

func (o *SetDefaultPaymentMethodParams) SetPayAllUnpaidInvoices(payAllUnpaidInvoices *bool)

SetPayAllUnpaidInvoices adds the payAllUnpaidInvoices to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetPaymentMethodID

func (o *SetDefaultPaymentMethodParams) SetPaymentMethodID(paymentMethodID strfmt.UUID)

SetPaymentMethodID adds the paymentMethodId to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetPluginProperty

func (o *SetDefaultPaymentMethodParams) SetPluginProperty(pluginProperty []string)

SetPluginProperty adds the pluginProperty to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetTimeout

func (o *SetDefaultPaymentMethodParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetXKillbillComment

func (o *SetDefaultPaymentMethodParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetXKillbillCreatedBy

func (o *SetDefaultPaymentMethodParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the set default payment method params

func (*SetDefaultPaymentMethodParams) SetXKillbillReason

func (o *SetDefaultPaymentMethodParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithAccountID

WithAccountID adds the accountID to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithContext

WithContext adds the context to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithDefaults

WithDefaults hydrates default values in the set default payment method params (not the query body).

All values with no default are reset to their zero value.

func (*SetDefaultPaymentMethodParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithPayAllUnpaidInvoices

func (o *SetDefaultPaymentMethodParams) WithPayAllUnpaidInvoices(payAllUnpaidInvoices *bool) *SetDefaultPaymentMethodParams

WithPayAllUnpaidInvoices adds the payAllUnpaidInvoices to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithPaymentMethodID

func (o *SetDefaultPaymentMethodParams) WithPaymentMethodID(paymentMethodID strfmt.UUID) *SetDefaultPaymentMethodParams

WithPaymentMethodID adds the paymentMethodID to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithPluginProperty

func (o *SetDefaultPaymentMethodParams) WithPluginProperty(pluginProperty []string) *SetDefaultPaymentMethodParams

WithPluginProperty adds the pluginProperty to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithXKillbillComment

func (o *SetDefaultPaymentMethodParams) WithXKillbillComment(xKillbillComment *string) *SetDefaultPaymentMethodParams

WithXKillbillComment adds the xKillbillComment to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithXKillbillCreatedBy

func (o *SetDefaultPaymentMethodParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *SetDefaultPaymentMethodParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the set default payment method params

func (*SetDefaultPaymentMethodParams) WithXKillbillReason

func (o *SetDefaultPaymentMethodParams) WithXKillbillReason(xKillbillReason *string) *SetDefaultPaymentMethodParams

WithXKillbillReason adds the xKillbillReason to the set default payment method params

func (*SetDefaultPaymentMethodParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDefaultPaymentMethodReader

type SetDefaultPaymentMethodReader struct {
	// contains filtered or unexported fields
}

SetDefaultPaymentMethodReader is a Reader for the SetDefaultPaymentMethod structure.

func (*SetDefaultPaymentMethodReader) ReadResponse

func (o *SetDefaultPaymentMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TransferChildCreditToParentBadRequest

type TransferChildCreditToParentBadRequest struct {
	HttpResponse runtime.ClientResponse
}

TransferChildCreditToParentBadRequest describes a response with status code 400, with default header values.

Account does not have credit

func NewTransferChildCreditToParentBadRequest

func NewTransferChildCreditToParentBadRequest() *TransferChildCreditToParentBadRequest

NewTransferChildCreditToParentBadRequest creates a TransferChildCreditToParentBadRequest with default headers values

func (*TransferChildCreditToParentBadRequest) Code

Code gets the status code for the transfer child credit to parent bad request response

func (*TransferChildCreditToParentBadRequest) Error

func (*TransferChildCreditToParentBadRequest) IsClientError

func (o *TransferChildCreditToParentBadRequest) IsClientError() bool

IsClientError returns true when this transfer child credit to parent bad request response has a 4xx status code

func (*TransferChildCreditToParentBadRequest) IsCode

IsCode returns true when this transfer child credit to parent bad request response a status code equal to that given

func (*TransferChildCreditToParentBadRequest) IsRedirect

IsRedirect returns true when this transfer child credit to parent bad request response has a 3xx status code

func (*TransferChildCreditToParentBadRequest) IsServerError

func (o *TransferChildCreditToParentBadRequest) IsServerError() bool

IsServerError returns true when this transfer child credit to parent bad request response has a 5xx status code

func (*TransferChildCreditToParentBadRequest) IsSuccess

IsSuccess returns true when this transfer child credit to parent bad request response has a 2xx status code

func (*TransferChildCreditToParentBadRequest) String

type TransferChildCreditToParentNoContent

type TransferChildCreditToParentNoContent struct {
	HttpResponse runtime.ClientResponse
}

TransferChildCreditToParentNoContent describes a response with status code 204, with default header values.

Successful operation

func NewTransferChildCreditToParentNoContent

func NewTransferChildCreditToParentNoContent() *TransferChildCreditToParentNoContent

NewTransferChildCreditToParentNoContent creates a TransferChildCreditToParentNoContent with default headers values

func (*TransferChildCreditToParentNoContent) Code

Code gets the status code for the transfer child credit to parent no content response

func (*TransferChildCreditToParentNoContent) Error

func (*TransferChildCreditToParentNoContent) IsClientError

func (o *TransferChildCreditToParentNoContent) IsClientError() bool

IsClientError returns true when this transfer child credit to parent no content response has a 4xx status code

func (*TransferChildCreditToParentNoContent) IsCode

IsCode returns true when this transfer child credit to parent no content response a status code equal to that given

func (*TransferChildCreditToParentNoContent) IsRedirect

IsRedirect returns true when this transfer child credit to parent no content response has a 3xx status code

func (*TransferChildCreditToParentNoContent) IsServerError

func (o *TransferChildCreditToParentNoContent) IsServerError() bool

IsServerError returns true when this transfer child credit to parent no content response has a 5xx status code

func (*TransferChildCreditToParentNoContent) IsSuccess

IsSuccess returns true when this transfer child credit to parent no content response has a 2xx status code

func (*TransferChildCreditToParentNoContent) String

type TransferChildCreditToParentNotFound

type TransferChildCreditToParentNotFound struct {
	HttpResponse runtime.ClientResponse
}

TransferChildCreditToParentNotFound describes a response with status code 404, with default header values.

Account not found

func NewTransferChildCreditToParentNotFound

func NewTransferChildCreditToParentNotFound() *TransferChildCreditToParentNotFound

NewTransferChildCreditToParentNotFound creates a TransferChildCreditToParentNotFound with default headers values

func (*TransferChildCreditToParentNotFound) Code

Code gets the status code for the transfer child credit to parent not found response

func (*TransferChildCreditToParentNotFound) Error

func (*TransferChildCreditToParentNotFound) IsClientError

func (o *TransferChildCreditToParentNotFound) IsClientError() bool

IsClientError returns true when this transfer child credit to parent not found response has a 4xx status code

func (*TransferChildCreditToParentNotFound) IsCode

IsCode returns true when this transfer child credit to parent not found response a status code equal to that given

func (*TransferChildCreditToParentNotFound) IsRedirect

func (o *TransferChildCreditToParentNotFound) IsRedirect() bool

IsRedirect returns true when this transfer child credit to parent not found response has a 3xx status code

func (*TransferChildCreditToParentNotFound) IsServerError

func (o *TransferChildCreditToParentNotFound) IsServerError() bool

IsServerError returns true when this transfer child credit to parent not found response has a 5xx status code

func (*TransferChildCreditToParentNotFound) IsSuccess

IsSuccess returns true when this transfer child credit to parent not found response has a 2xx status code

func (*TransferChildCreditToParentNotFound) String

type TransferChildCreditToParentParams

type TransferChildCreditToParentParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// ChildAccountID.
	//
	// Format: uuid
	ChildAccountID 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
}

TransferChildCreditToParentParams contains all the parameters to send to the API endpoint

for the transfer child credit to parent operation.

Typically these are written to a http.Request.

func NewTransferChildCreditToParentParams

func NewTransferChildCreditToParentParams() *TransferChildCreditToParentParams

NewTransferChildCreditToParentParams creates a new TransferChildCreditToParentParams 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 NewTransferChildCreditToParentParamsWithContext

func NewTransferChildCreditToParentParamsWithContext(ctx context.Context) *TransferChildCreditToParentParams

NewTransferChildCreditToParentParamsWithContext creates a new TransferChildCreditToParentParams object with the ability to set a context for a request.

func NewTransferChildCreditToParentParamsWithHTTPClient

func NewTransferChildCreditToParentParamsWithHTTPClient(client *http.Client) *TransferChildCreditToParentParams

NewTransferChildCreditToParentParamsWithHTTPClient creates a new TransferChildCreditToParentParams object with the ability to set a custom HTTPClient for a request.

func NewTransferChildCreditToParentParamsWithTimeout

func NewTransferChildCreditToParentParamsWithTimeout(timeout time.Duration) *TransferChildCreditToParentParams

NewTransferChildCreditToParentParamsWithTimeout creates a new TransferChildCreditToParentParams object with the ability to set a timeout on a request.

func (*TransferChildCreditToParentParams) SetChildAccountID

func (o *TransferChildCreditToParentParams) SetChildAccountID(childAccountID strfmt.UUID)

SetChildAccountID adds the childAccountId to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetContext

SetContext adds the context to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetDefaults

func (o *TransferChildCreditToParentParams) SetDefaults()

SetDefaults hydrates default values in the transfer child credit to parent params (not the query body).

All values with no default are reset to their zero value.

func (*TransferChildCreditToParentParams) SetHTTPClient

func (o *TransferChildCreditToParentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetTimeout

func (o *TransferChildCreditToParentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetXKillbillComment

func (o *TransferChildCreditToParentParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetXKillbillCreatedBy

func (o *TransferChildCreditToParentParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) SetXKillbillReason

func (o *TransferChildCreditToParentParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithChildAccountID

func (o *TransferChildCreditToParentParams) WithChildAccountID(childAccountID strfmt.UUID) *TransferChildCreditToParentParams

WithChildAccountID adds the childAccountID to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithContext

WithContext adds the context to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithDefaults

WithDefaults hydrates default values in the transfer child credit to parent params (not the query body).

All values with no default are reset to their zero value.

func (*TransferChildCreditToParentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithTimeout

WithTimeout adds the timeout to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithXKillbillComment

func (o *TransferChildCreditToParentParams) WithXKillbillComment(xKillbillComment *string) *TransferChildCreditToParentParams

WithXKillbillComment adds the xKillbillComment to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithXKillbillCreatedBy

func (o *TransferChildCreditToParentParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *TransferChildCreditToParentParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WithXKillbillReason

func (o *TransferChildCreditToParentParams) WithXKillbillReason(xKillbillReason *string) *TransferChildCreditToParentParams

WithXKillbillReason adds the xKillbillReason to the transfer child credit to parent params

func (*TransferChildCreditToParentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TransferChildCreditToParentReader

type TransferChildCreditToParentReader struct {
	// contains filtered or unexported fields
}

TransferChildCreditToParentReader is a Reader for the TransferChildCreditToParent structure.

func (*TransferChildCreditToParentReader) ReadResponse

func (o *TransferChildCreditToParentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateAccountBadRequest

type UpdateAccountBadRequest struct {
	HttpResponse runtime.ClientResponse
}

UpdateAccountBadRequest describes a response with status code 400, with default header values.

Invalid account data supplied

func NewUpdateAccountBadRequest

func NewUpdateAccountBadRequest() *UpdateAccountBadRequest

NewUpdateAccountBadRequest creates a UpdateAccountBadRequest with default headers values

func (*UpdateAccountBadRequest) Code

func (o *UpdateAccountBadRequest) Code() int

Code gets the status code for the update account bad request response

func (*UpdateAccountBadRequest) Error

func (o *UpdateAccountBadRequest) Error() string

func (*UpdateAccountBadRequest) IsClientError

func (o *UpdateAccountBadRequest) IsClientError() bool

IsClientError returns true when this update account bad request response has a 4xx status code

func (*UpdateAccountBadRequest) IsCode

func (o *UpdateAccountBadRequest) IsCode(code int) bool

IsCode returns true when this update account bad request response a status code equal to that given

func (*UpdateAccountBadRequest) IsRedirect

func (o *UpdateAccountBadRequest) IsRedirect() bool

IsRedirect returns true when this update account bad request response has a 3xx status code

func (*UpdateAccountBadRequest) IsServerError

func (o *UpdateAccountBadRequest) IsServerError() bool

IsServerError returns true when this update account bad request response has a 5xx status code

func (*UpdateAccountBadRequest) IsSuccess

func (o *UpdateAccountBadRequest) IsSuccess() bool

IsSuccess returns true when this update account bad request response has a 2xx status code

func (*UpdateAccountBadRequest) String

func (o *UpdateAccountBadRequest) String() string

type UpdateAccountNoContent

type UpdateAccountNoContent struct {
	HttpResponse runtime.ClientResponse
}

UpdateAccountNoContent describes a response with status code 204, with default header values.

Successful operation

func NewUpdateAccountNoContent

func NewUpdateAccountNoContent() *UpdateAccountNoContent

NewUpdateAccountNoContent creates a UpdateAccountNoContent with default headers values

func (*UpdateAccountNoContent) Code

func (o *UpdateAccountNoContent) Code() int

Code gets the status code for the update account no content response

func (*UpdateAccountNoContent) Error

func (o *UpdateAccountNoContent) Error() string

func (*UpdateAccountNoContent) IsClientError

func (o *UpdateAccountNoContent) IsClientError() bool

IsClientError returns true when this update account no content response has a 4xx status code

func (*UpdateAccountNoContent) IsCode

func (o *UpdateAccountNoContent) IsCode(code int) bool

IsCode returns true when this update account no content response a status code equal to that given

func (*UpdateAccountNoContent) IsRedirect

func (o *UpdateAccountNoContent) IsRedirect() bool

IsRedirect returns true when this update account no content response has a 3xx status code

func (*UpdateAccountNoContent) IsServerError

func (o *UpdateAccountNoContent) IsServerError() bool

IsServerError returns true when this update account no content response has a 5xx status code

func (*UpdateAccountNoContent) IsSuccess

func (o *UpdateAccountNoContent) IsSuccess() bool

IsSuccess returns true when this update account no content response has a 2xx status code

func (*UpdateAccountNoContent) String

func (o *UpdateAccountNoContent) String() string

type UpdateAccountParams

type UpdateAccountParams struct {

	// XKillbillComment.
	XKillbillComment *string

	// XKillbillCreatedBy.
	XKillbillCreatedBy string

	// XKillbillReason.
	XKillbillReason *string

	// AccountID.
	//
	// Format: uuid
	AccountID strfmt.UUID

	// Body.
	Body *kbmodel.Account

	// TreatNullAsReset.
	TreatNullAsReset *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
}

UpdateAccountParams contains all the parameters to send to the API endpoint

for the update account operation.

Typically these are written to a http.Request.

func NewUpdateAccountParams

func NewUpdateAccountParams() *UpdateAccountParams

NewUpdateAccountParams creates a new UpdateAccountParams 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 NewUpdateAccountParamsWithContext

func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParams

NewUpdateAccountParamsWithContext creates a new UpdateAccountParams object with the ability to set a context for a request.

func NewUpdateAccountParamsWithHTTPClient

func NewUpdateAccountParamsWithHTTPClient(client *http.Client) *UpdateAccountParams

NewUpdateAccountParamsWithHTTPClient creates a new UpdateAccountParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAccountParamsWithTimeout

func NewUpdateAccountParamsWithTimeout(timeout time.Duration) *UpdateAccountParams

NewUpdateAccountParamsWithTimeout creates a new UpdateAccountParams object with the ability to set a timeout on a request.

func (*UpdateAccountParams) SetAccountID

func (o *UpdateAccountParams) SetAccountID(accountID strfmt.UUID)

SetAccountID adds the accountId to the update account params

func (*UpdateAccountParams) SetBody

func (o *UpdateAccountParams) SetBody(body *kbmodel.Account)

SetBody adds the body to the update account params

func (*UpdateAccountParams) SetContext

func (o *UpdateAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the update account params

func (*UpdateAccountParams) SetDefaults

func (o *UpdateAccountParams) SetDefaults()

SetDefaults hydrates default values in the update account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateAccountParams) SetHTTPClient

func (o *UpdateAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update account params

func (*UpdateAccountParams) SetTimeout

func (o *UpdateAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update account params

func (*UpdateAccountParams) SetTreatNullAsReset

func (o *UpdateAccountParams) SetTreatNullAsReset(treatNullAsReset *bool)

SetTreatNullAsReset adds the treatNullAsReset to the update account params

func (*UpdateAccountParams) SetXKillbillComment

func (o *UpdateAccountParams) SetXKillbillComment(xKillbillComment *string)

SetXKillbillComment adds the xKillbillComment to the update account params

func (*UpdateAccountParams) SetXKillbillCreatedBy

func (o *UpdateAccountParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)

SetXKillbillCreatedBy adds the xKillbillCreatedBy to the update account params

func (*UpdateAccountParams) SetXKillbillReason

func (o *UpdateAccountParams) SetXKillbillReason(xKillbillReason *string)

SetXKillbillReason adds the xKillbillReason to the update account params

func (*UpdateAccountParams) WithAccountID

func (o *UpdateAccountParams) WithAccountID(accountID strfmt.UUID) *UpdateAccountParams

WithAccountID adds the accountID to the update account params

func (*UpdateAccountParams) WithBody

WithBody adds the body to the update account params

func (*UpdateAccountParams) WithContext

WithContext adds the context to the update account params

func (*UpdateAccountParams) WithDefaults

func (o *UpdateAccountParams) WithDefaults() *UpdateAccountParams

WithDefaults hydrates default values in the update account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateAccountParams) WithHTTPClient

func (o *UpdateAccountParams) WithHTTPClient(client *http.Client) *UpdateAccountParams

WithHTTPClient adds the HTTPClient to the update account params

func (*UpdateAccountParams) WithTimeout

func (o *UpdateAccountParams) WithTimeout(timeout time.Duration) *UpdateAccountParams

WithTimeout adds the timeout to the update account params

func (*UpdateAccountParams) WithTreatNullAsReset

func (o *UpdateAccountParams) WithTreatNullAsReset(treatNullAsReset *bool) *UpdateAccountParams

WithTreatNullAsReset adds the treatNullAsReset to the update account params

func (*UpdateAccountParams) WithXKillbillComment

func (o *UpdateAccountParams) WithXKillbillComment(xKillbillComment *string) *UpdateAccountParams

WithXKillbillComment adds the xKillbillComment to the update account params

func (*UpdateAccountParams) WithXKillbillCreatedBy

func (o *UpdateAccountParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *UpdateAccountParams

WithXKillbillCreatedBy adds the xKillbillCreatedBy to the update account params

func (*UpdateAccountParams) WithXKillbillReason

func (o *UpdateAccountParams) WithXKillbillReason(xKillbillReason *string) *UpdateAccountParams

WithXKillbillReason adds the xKillbillReason to the update account params

func (*UpdateAccountParams) WriteToRequest

func (o *UpdateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateAccountReader

type UpdateAccountReader struct {
	// contains filtered or unexported fields
}

UpdateAccountReader is a Reader for the UpdateAccount structure.

func (*UpdateAccountReader) ReadResponse

func (o *UpdateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL