Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateInvoiceItemCustomFields(ctx context.Context, params *CreateInvoiceItemCustomFieldsParams) (*CreateInvoiceItemCustomFieldsCreated, error)
- func (a *Client) CreateInvoiceItemTags(ctx context.Context, params *CreateInvoiceItemTagsParams) (*CreateInvoiceItemTagsCreated, error)
- func (a *Client) DeleteInvoiceItemCustomFields(ctx context.Context, params *DeleteInvoiceItemCustomFieldsParams) (*DeleteInvoiceItemCustomFieldsNoContent, error)
- func (a *Client) DeleteInvoiceItemTags(ctx context.Context, params *DeleteInvoiceItemTagsParams) (*DeleteInvoiceItemTagsNoContent, error)
- func (a *Client) GetInvoiceItemAuditLogsWithHistory(ctx context.Context, params *GetInvoiceItemAuditLogsWithHistoryParams) (*GetInvoiceItemAuditLogsWithHistoryOK, error)
- func (a *Client) GetInvoiceItemCustomFields(ctx context.Context, params *GetInvoiceItemCustomFieldsParams) (*GetInvoiceItemCustomFieldsOK, error)
- func (a *Client) GetInvoiceItemTags(ctx context.Context, params *GetInvoiceItemTagsParams) (*GetInvoiceItemTagsOK, error)
- func (a *Client) ModifyInvoiceItemCustomFields(ctx context.Context, params *ModifyInvoiceItemCustomFieldsParams) (*ModifyInvoiceItemCustomFieldsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateInvoiceItemCustomFieldsBadRequest
- func (o *CreateInvoiceItemCustomFieldsBadRequest) Code() int
- func (o *CreateInvoiceItemCustomFieldsBadRequest) Error() string
- func (o *CreateInvoiceItemCustomFieldsBadRequest) IsClientError() bool
- func (o *CreateInvoiceItemCustomFieldsBadRequest) IsCode(code int) bool
- func (o *CreateInvoiceItemCustomFieldsBadRequest) IsRedirect() bool
- func (o *CreateInvoiceItemCustomFieldsBadRequest) IsServerError() bool
- func (o *CreateInvoiceItemCustomFieldsBadRequest) IsSuccess() bool
- func (o *CreateInvoiceItemCustomFieldsBadRequest) String() string
- type CreateInvoiceItemCustomFieldsCreated
- func (o *CreateInvoiceItemCustomFieldsCreated) Code() int
- func (o *CreateInvoiceItemCustomFieldsCreated) Error() string
- func (o *CreateInvoiceItemCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
- func (o *CreateInvoiceItemCustomFieldsCreated) IsClientError() bool
- func (o *CreateInvoiceItemCustomFieldsCreated) IsCode(code int) bool
- func (o *CreateInvoiceItemCustomFieldsCreated) IsRedirect() bool
- func (o *CreateInvoiceItemCustomFieldsCreated) IsServerError() bool
- func (o *CreateInvoiceItemCustomFieldsCreated) IsSuccess() bool
- func (o *CreateInvoiceItemCustomFieldsCreated) String() string
- type CreateInvoiceItemCustomFieldsParams
- func NewCreateInvoiceItemCustomFieldsParams() *CreateInvoiceItemCustomFieldsParams
- func NewCreateInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams
- func NewCreateInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoiceItemCustomFieldsParams
- func NewCreateInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *CreateInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
- func (o *CreateInvoiceItemCustomFieldsParams) SetDefaults()
- func (o *CreateInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *CreateInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInvoiceItemCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithDefaults() *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoiceItemCustomFieldsParams
- func (o *CreateInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoiceItemCustomFieldsReader
- type CreateInvoiceItemTagsBadRequest
- func (o *CreateInvoiceItemTagsBadRequest) Code() int
- func (o *CreateInvoiceItemTagsBadRequest) Error() string
- func (o *CreateInvoiceItemTagsBadRequest) IsClientError() bool
- func (o *CreateInvoiceItemTagsBadRequest) IsCode(code int) bool
- func (o *CreateInvoiceItemTagsBadRequest) IsRedirect() bool
- func (o *CreateInvoiceItemTagsBadRequest) IsServerError() bool
- func (o *CreateInvoiceItemTagsBadRequest) IsSuccess() bool
- func (o *CreateInvoiceItemTagsBadRequest) String() string
- type CreateInvoiceItemTagsCreated
- func (o *CreateInvoiceItemTagsCreated) Code() int
- func (o *CreateInvoiceItemTagsCreated) Error() string
- func (o *CreateInvoiceItemTagsCreated) GetPayload() []*kbmodel.Tag
- func (o *CreateInvoiceItemTagsCreated) IsClientError() bool
- func (o *CreateInvoiceItemTagsCreated) IsCode(code int) bool
- func (o *CreateInvoiceItemTagsCreated) IsRedirect() bool
- func (o *CreateInvoiceItemTagsCreated) IsServerError() bool
- func (o *CreateInvoiceItemTagsCreated) IsSuccess() bool
- func (o *CreateInvoiceItemTagsCreated) String() string
- type CreateInvoiceItemTagsParams
- func NewCreateInvoiceItemTagsParams() *CreateInvoiceItemTagsParams
- func NewCreateInvoiceItemTagsParamsWithContext(ctx context.Context) *CreateInvoiceItemTagsParams
- func NewCreateInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *CreateInvoiceItemTagsParams
- func NewCreateInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) SetBody(body []strfmt.UUID)
- func (o *CreateInvoiceItemTagsParams) SetContext(ctx context.Context)
- func (o *CreateInvoiceItemTagsParams) SetDefaults()
- func (o *CreateInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *CreateInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *CreateInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *CreateInvoiceItemTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateInvoiceItemTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateInvoiceItemTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateInvoiceItemTagsParams) WithBody(body []strfmt.UUID) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithContext(ctx context.Context) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithDefaults() *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoiceItemTagsParams
- func (o *CreateInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateInvoiceItemTagsReader
- type DeleteInvoiceItemCustomFieldsBadRequest
- func (o *DeleteInvoiceItemCustomFieldsBadRequest) Code() int
- func (o *DeleteInvoiceItemCustomFieldsBadRequest) Error() string
- func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsClientError() bool
- func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsCode(code int) bool
- func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsRedirect() bool
- func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsServerError() bool
- func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsSuccess() bool
- func (o *DeleteInvoiceItemCustomFieldsBadRequest) String() string
- type DeleteInvoiceItemCustomFieldsNoContent
- func (o *DeleteInvoiceItemCustomFieldsNoContent) Code() int
- func (o *DeleteInvoiceItemCustomFieldsNoContent) Error() string
- func (o *DeleteInvoiceItemCustomFieldsNoContent) IsClientError() bool
- func (o *DeleteInvoiceItemCustomFieldsNoContent) IsCode(code int) bool
- func (o *DeleteInvoiceItemCustomFieldsNoContent) IsRedirect() bool
- func (o *DeleteInvoiceItemCustomFieldsNoContent) IsServerError() bool
- func (o *DeleteInvoiceItemCustomFieldsNoContent) IsSuccess() bool
- func (o *DeleteInvoiceItemCustomFieldsNoContent) String() string
- type DeleteInvoiceItemCustomFieldsParams
- func NewDeleteInvoiceItemCustomFieldsParams() *DeleteInvoiceItemCustomFieldsParams
- func NewDeleteInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams
- func NewDeleteInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceItemCustomFieldsParams
- func NewDeleteInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetDefaults()
- func (o *DeleteInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithDefaults() *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoiceItemCustomFieldsParams
- func (o *DeleteInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoiceItemCustomFieldsReader
- type DeleteInvoiceItemTagsBadRequest
- func (o *DeleteInvoiceItemTagsBadRequest) Code() int
- func (o *DeleteInvoiceItemTagsBadRequest) Error() string
- func (o *DeleteInvoiceItemTagsBadRequest) IsClientError() bool
- func (o *DeleteInvoiceItemTagsBadRequest) IsCode(code int) bool
- func (o *DeleteInvoiceItemTagsBadRequest) IsRedirect() bool
- func (o *DeleteInvoiceItemTagsBadRequest) IsServerError() bool
- func (o *DeleteInvoiceItemTagsBadRequest) IsSuccess() bool
- func (o *DeleteInvoiceItemTagsBadRequest) String() string
- type DeleteInvoiceItemTagsNoContent
- func (o *DeleteInvoiceItemTagsNoContent) Code() int
- func (o *DeleteInvoiceItemTagsNoContent) Error() string
- func (o *DeleteInvoiceItemTagsNoContent) IsClientError() bool
- func (o *DeleteInvoiceItemTagsNoContent) IsCode(code int) bool
- func (o *DeleteInvoiceItemTagsNoContent) IsRedirect() bool
- func (o *DeleteInvoiceItemTagsNoContent) IsServerError() bool
- func (o *DeleteInvoiceItemTagsNoContent) IsSuccess() bool
- func (o *DeleteInvoiceItemTagsNoContent) String() string
- type DeleteInvoiceItemTagsParams
- func NewDeleteInvoiceItemTagsParams() *DeleteInvoiceItemTagsParams
- func NewDeleteInvoiceItemTagsParamsWithContext(ctx context.Context) *DeleteInvoiceItemTagsParams
- func NewDeleteInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceItemTagsParams
- func NewDeleteInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) SetContext(ctx context.Context)
- func (o *DeleteInvoiceItemTagsParams) SetDefaults()
- func (o *DeleteInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *DeleteInvoiceItemTagsParams) SetTagDef(tagDef []strfmt.UUID)
- func (o *DeleteInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteInvoiceItemTagsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteInvoiceItemTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteInvoiceItemTagsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteInvoiceItemTagsParams) WithContext(ctx context.Context) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithDefaults() *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoiceItemTagsParams
- func (o *DeleteInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteInvoiceItemTagsReader
- type GetInvoiceItemAuditLogsWithHistoryNotFound
- func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) Code() int
- func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) Error() string
- func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) String() string
- type GetInvoiceItemAuditLogsWithHistoryOK
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) Code() int
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) Error() string
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetInvoiceItemAuditLogsWithHistoryOK) String() string
- type GetInvoiceItemAuditLogsWithHistoryParams
- func NewGetInvoiceItemAuditLogsWithHistoryParams() *GetInvoiceItemAuditLogsWithHistoryParams
- func NewGetInvoiceItemAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoiceItemAuditLogsWithHistoryParams
- func NewGetInvoiceItemAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoiceItemAuditLogsWithHistoryParams
- func NewGetInvoiceItemAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoiceItemAuditLogsWithHistoryParams
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetDefaults()
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetInvoiceItemAuditLogsWithHistoryParams
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithDefaults() *GetInvoiceItemAuditLogsWithHistoryParams
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetInvoiceItemAuditLogsWithHistoryParams
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemAuditLogsWithHistoryParams
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetInvoiceItemAuditLogsWithHistoryParams
- func (o *GetInvoiceItemAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceItemAuditLogsWithHistoryReader
- type GetInvoiceItemCustomFieldsBadRequest
- func (o *GetInvoiceItemCustomFieldsBadRequest) Code() int
- func (o *GetInvoiceItemCustomFieldsBadRequest) Error() string
- func (o *GetInvoiceItemCustomFieldsBadRequest) IsClientError() bool
- func (o *GetInvoiceItemCustomFieldsBadRequest) IsCode(code int) bool
- func (o *GetInvoiceItemCustomFieldsBadRequest) IsRedirect() bool
- func (o *GetInvoiceItemCustomFieldsBadRequest) IsServerError() bool
- func (o *GetInvoiceItemCustomFieldsBadRequest) IsSuccess() bool
- func (o *GetInvoiceItemCustomFieldsBadRequest) String() string
- type GetInvoiceItemCustomFieldsOK
- func (o *GetInvoiceItemCustomFieldsOK) Code() int
- func (o *GetInvoiceItemCustomFieldsOK) Error() string
- func (o *GetInvoiceItemCustomFieldsOK) GetPayload() []*kbmodel.CustomField
- func (o *GetInvoiceItemCustomFieldsOK) IsClientError() bool
- func (o *GetInvoiceItemCustomFieldsOK) IsCode(code int) bool
- func (o *GetInvoiceItemCustomFieldsOK) IsRedirect() bool
- func (o *GetInvoiceItemCustomFieldsOK) IsServerError() bool
- func (o *GetInvoiceItemCustomFieldsOK) IsSuccess() bool
- func (o *GetInvoiceItemCustomFieldsOK) String() string
- type GetInvoiceItemCustomFieldsParams
- func NewGetInvoiceItemCustomFieldsParams() *GetInvoiceItemCustomFieldsParams
- func NewGetInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams
- func NewGetInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoiceItemCustomFieldsParams
- func NewGetInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) SetAudit(audit *string)
- func (o *GetInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetInvoiceItemCustomFieldsParams) SetDefaults()
- func (o *GetInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *GetInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceItemCustomFieldsParams) WithAudit(audit *string) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithDefaults() *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *GetInvoiceItemCustomFieldsParams
- func (o *GetInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceItemCustomFieldsReader
- type GetInvoiceItemTagsBadRequest
- func (o *GetInvoiceItemTagsBadRequest) Code() int
- func (o *GetInvoiceItemTagsBadRequest) Error() string
- func (o *GetInvoiceItemTagsBadRequest) IsClientError() bool
- func (o *GetInvoiceItemTagsBadRequest) IsCode(code int) bool
- func (o *GetInvoiceItemTagsBadRequest) IsRedirect() bool
- func (o *GetInvoiceItemTagsBadRequest) IsServerError() bool
- func (o *GetInvoiceItemTagsBadRequest) IsSuccess() bool
- func (o *GetInvoiceItemTagsBadRequest) String() string
- type GetInvoiceItemTagsNotFound
- func (o *GetInvoiceItemTagsNotFound) Code() int
- func (o *GetInvoiceItemTagsNotFound) Error() string
- func (o *GetInvoiceItemTagsNotFound) IsClientError() bool
- func (o *GetInvoiceItemTagsNotFound) IsCode(code int) bool
- func (o *GetInvoiceItemTagsNotFound) IsRedirect() bool
- func (o *GetInvoiceItemTagsNotFound) IsServerError() bool
- func (o *GetInvoiceItemTagsNotFound) IsSuccess() bool
- func (o *GetInvoiceItemTagsNotFound) String() string
- type GetInvoiceItemTagsOK
- func (o *GetInvoiceItemTagsOK) Code() int
- func (o *GetInvoiceItemTagsOK) Error() string
- func (o *GetInvoiceItemTagsOK) GetPayload() []*kbmodel.Tag
- func (o *GetInvoiceItemTagsOK) IsClientError() bool
- func (o *GetInvoiceItemTagsOK) IsCode(code int) bool
- func (o *GetInvoiceItemTagsOK) IsRedirect() bool
- func (o *GetInvoiceItemTagsOK) IsServerError() bool
- func (o *GetInvoiceItemTagsOK) IsSuccess() bool
- func (o *GetInvoiceItemTagsOK) String() string
- type GetInvoiceItemTagsParams
- func NewGetInvoiceItemTagsParams() *GetInvoiceItemTagsParams
- func NewGetInvoiceItemTagsParamsWithContext(ctx context.Context) *GetInvoiceItemTagsParams
- func NewGetInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *GetInvoiceItemTagsParams
- func NewGetInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) SetAccountID(accountID strfmt.UUID)
- func (o *GetInvoiceItemTagsParams) SetAudit(audit *string)
- func (o *GetInvoiceItemTagsParams) SetContext(ctx context.Context)
- func (o *GetInvoiceItemTagsParams) SetDefaults()
- func (o *GetInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceItemTagsParams) SetIncludedDeleted(includedDeleted *bool)
- func (o *GetInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *GetInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceItemTagsParams) WithAccountID(accountID strfmt.UUID) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithAudit(audit *string) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithContext(ctx context.Context) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithDefaults() *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *GetInvoiceItemTagsParams
- func (o *GetInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceItemTagsReader
- type KillbillDefaults
- type ModifyInvoiceItemCustomFieldsBadRequest
- func (o *ModifyInvoiceItemCustomFieldsBadRequest) Code() int
- func (o *ModifyInvoiceItemCustomFieldsBadRequest) Error() string
- func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsClientError() bool
- func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsCode(code int) bool
- func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsRedirect() bool
- func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsServerError() bool
- func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsSuccess() bool
- func (o *ModifyInvoiceItemCustomFieldsBadRequest) String() string
- type ModifyInvoiceItemCustomFieldsNoContent
- func (o *ModifyInvoiceItemCustomFieldsNoContent) Code() int
- func (o *ModifyInvoiceItemCustomFieldsNoContent) Error() string
- func (o *ModifyInvoiceItemCustomFieldsNoContent) IsClientError() bool
- func (o *ModifyInvoiceItemCustomFieldsNoContent) IsCode(code int) bool
- func (o *ModifyInvoiceItemCustomFieldsNoContent) IsRedirect() bool
- func (o *ModifyInvoiceItemCustomFieldsNoContent) IsServerError() bool
- func (o *ModifyInvoiceItemCustomFieldsNoContent) IsSuccess() bool
- func (o *ModifyInvoiceItemCustomFieldsNoContent) String() string
- type ModifyInvoiceItemCustomFieldsParams
- func NewModifyInvoiceItemCustomFieldsParams() *ModifyInvoiceItemCustomFieldsParams
- func NewModifyInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams
- func NewModifyInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoiceItemCustomFieldsParams
- func NewModifyInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetDefaults()
- func (o *ModifyInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
- func (o *ModifyInvoiceItemCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithDefaults() *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyInvoiceItemCustomFieldsParams
- func (o *ModifyInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyInvoiceItemCustomFieldsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for invoice item API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new invoice item API client.
func (*Client) CreateInvoiceItemCustomFields ¶
func (a *Client) CreateInvoiceItemCustomFields(ctx context.Context, params *CreateInvoiceItemCustomFieldsParams) (*CreateInvoiceItemCustomFieldsCreated, error)
CreateInvoiceItemCustomFields adds custom fields to invoice item
func (*Client) CreateInvoiceItemTags ¶
func (a *Client) CreateInvoiceItemTags(ctx context.Context, params *CreateInvoiceItemTagsParams) (*CreateInvoiceItemTagsCreated, error)
CreateInvoiceItemTags adds tags to invoice item
func (*Client) DeleteInvoiceItemCustomFields ¶
func (a *Client) DeleteInvoiceItemCustomFields(ctx context.Context, params *DeleteInvoiceItemCustomFieldsParams) (*DeleteInvoiceItemCustomFieldsNoContent, error)
DeleteInvoiceItemCustomFields removes custom fields from invoice item
func (*Client) DeleteInvoiceItemTags ¶
func (a *Client) DeleteInvoiceItemTags(ctx context.Context, params *DeleteInvoiceItemTagsParams) (*DeleteInvoiceItemTagsNoContent, error)
DeleteInvoiceItemTags removes tags from invoice item
func (*Client) GetInvoiceItemAuditLogsWithHistory ¶
func (a *Client) GetInvoiceItemAuditLogsWithHistory(ctx context.Context, params *GetInvoiceItemAuditLogsWithHistoryParams) (*GetInvoiceItemAuditLogsWithHistoryOK, error)
GetInvoiceItemAuditLogsWithHistory retrieves invoice item audit logs with history by id
func (*Client) GetInvoiceItemCustomFields ¶
func (a *Client) GetInvoiceItemCustomFields(ctx context.Context, params *GetInvoiceItemCustomFieldsParams) (*GetInvoiceItemCustomFieldsOK, error)
GetInvoiceItemCustomFields retrieves invoice item custom fields
func (*Client) GetInvoiceItemTags ¶
func (a *Client) GetInvoiceItemTags(ctx context.Context, params *GetInvoiceItemTagsParams) (*GetInvoiceItemTagsOK, error)
GetInvoiceItemTags retrieves invoice item tags
func (*Client) ModifyInvoiceItemCustomFields ¶
func (a *Client) ModifyInvoiceItemCustomFields(ctx context.Context, params *ModifyInvoiceItemCustomFieldsParams) (*ModifyInvoiceItemCustomFieldsNoContent, error)
ModifyInvoiceItemCustomFields modifies custom fields to invoice item
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateInvoiceItemCustomFields(ctx context.Context, params *CreateInvoiceItemCustomFieldsParams) (*CreateInvoiceItemCustomFieldsCreated, error) CreateInvoiceItemTags(ctx context.Context, params *CreateInvoiceItemTagsParams) (*CreateInvoiceItemTagsCreated, error) DeleteInvoiceItemCustomFields(ctx context.Context, params *DeleteInvoiceItemCustomFieldsParams) (*DeleteInvoiceItemCustomFieldsNoContent, error) DeleteInvoiceItemTags(ctx context.Context, params *DeleteInvoiceItemTagsParams) (*DeleteInvoiceItemTagsNoContent, error) GetInvoiceItemAuditLogsWithHistory(ctx context.Context, params *GetInvoiceItemAuditLogsWithHistoryParams) (*GetInvoiceItemAuditLogsWithHistoryOK, error) GetInvoiceItemCustomFields(ctx context.Context, params *GetInvoiceItemCustomFieldsParams) (*GetInvoiceItemCustomFieldsOK, error) GetInvoiceItemTags(ctx context.Context, params *GetInvoiceItemTagsParams) (*GetInvoiceItemTagsOK, error) ModifyInvoiceItemCustomFields(ctx context.Context, params *ModifyInvoiceItemCustomFieldsParams) (*ModifyInvoiceItemCustomFieldsNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
type CreateInvoiceItemCustomFieldsBadRequest ¶
type CreateInvoiceItemCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateInvoiceItemCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid invoice item id supplied
func NewCreateInvoiceItemCustomFieldsBadRequest ¶
func NewCreateInvoiceItemCustomFieldsBadRequest() *CreateInvoiceItemCustomFieldsBadRequest
NewCreateInvoiceItemCustomFieldsBadRequest creates a CreateInvoiceItemCustomFieldsBadRequest with default headers values
func (*CreateInvoiceItemCustomFieldsBadRequest) Code ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) Code() int
Code gets the status code for the create invoice item custom fields bad request response
func (*CreateInvoiceItemCustomFieldsBadRequest) Error ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) Error() string
func (*CreateInvoiceItemCustomFieldsBadRequest) IsClientError ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this create invoice item custom fields bad request response has a 4xx status code
func (*CreateInvoiceItemCustomFieldsBadRequest) IsCode ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this create invoice item custom fields bad request response a status code equal to that given
func (*CreateInvoiceItemCustomFieldsBadRequest) IsRedirect ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this create invoice item custom fields bad request response has a 3xx status code
func (*CreateInvoiceItemCustomFieldsBadRequest) IsServerError ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this create invoice item custom fields bad request response has a 5xx status code
func (*CreateInvoiceItemCustomFieldsBadRequest) IsSuccess ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this create invoice item custom fields bad request response has a 2xx status code
func (*CreateInvoiceItemCustomFieldsBadRequest) String ¶
func (o *CreateInvoiceItemCustomFieldsBadRequest) String() string
type CreateInvoiceItemCustomFieldsCreated ¶
type CreateInvoiceItemCustomFieldsCreated struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
CreateInvoiceItemCustomFieldsCreated describes a response with status code 201, with default header values.
Custom field created successfully
func NewCreateInvoiceItemCustomFieldsCreated ¶
func NewCreateInvoiceItemCustomFieldsCreated() *CreateInvoiceItemCustomFieldsCreated
NewCreateInvoiceItemCustomFieldsCreated creates a CreateInvoiceItemCustomFieldsCreated with default headers values
func (*CreateInvoiceItemCustomFieldsCreated) Code ¶
func (o *CreateInvoiceItemCustomFieldsCreated) Code() int
Code gets the status code for the create invoice item custom fields created response
func (*CreateInvoiceItemCustomFieldsCreated) Error ¶
func (o *CreateInvoiceItemCustomFieldsCreated) Error() string
func (*CreateInvoiceItemCustomFieldsCreated) GetPayload ¶
func (o *CreateInvoiceItemCustomFieldsCreated) GetPayload() []*kbmodel.CustomField
func (*CreateInvoiceItemCustomFieldsCreated) IsClientError ¶
func (o *CreateInvoiceItemCustomFieldsCreated) IsClientError() bool
IsClientError returns true when this create invoice item custom fields created response has a 4xx status code
func (*CreateInvoiceItemCustomFieldsCreated) IsCode ¶
func (o *CreateInvoiceItemCustomFieldsCreated) IsCode(code int) bool
IsCode returns true when this create invoice item custom fields created response a status code equal to that given
func (*CreateInvoiceItemCustomFieldsCreated) IsRedirect ¶
func (o *CreateInvoiceItemCustomFieldsCreated) IsRedirect() bool
IsRedirect returns true when this create invoice item custom fields created response has a 3xx status code
func (*CreateInvoiceItemCustomFieldsCreated) IsServerError ¶
func (o *CreateInvoiceItemCustomFieldsCreated) IsServerError() bool
IsServerError returns true when this create invoice item custom fields created response has a 5xx status code
func (*CreateInvoiceItemCustomFieldsCreated) IsSuccess ¶
func (o *CreateInvoiceItemCustomFieldsCreated) IsSuccess() bool
IsSuccess returns true when this create invoice item custom fields created response has a 2xx status code
func (*CreateInvoiceItemCustomFieldsCreated) String ¶
func (o *CreateInvoiceItemCustomFieldsCreated) String() string
type CreateInvoiceItemCustomFieldsParams ¶
type CreateInvoiceItemCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // InvoiceItemID. // // Format: uuid InvoiceItemID 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 }
CreateInvoiceItemCustomFieldsParams contains all the parameters to send to the API endpoint
for the create invoice item custom fields operation. Typically these are written to a http.Request.
func NewCreateInvoiceItemCustomFieldsParams ¶
func NewCreateInvoiceItemCustomFieldsParams() *CreateInvoiceItemCustomFieldsParams
NewCreateInvoiceItemCustomFieldsParams creates a new CreateInvoiceItemCustomFieldsParams 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 NewCreateInvoiceItemCustomFieldsParamsWithContext ¶
func NewCreateInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams
NewCreateInvoiceItemCustomFieldsParamsWithContext creates a new CreateInvoiceItemCustomFieldsParams object with the ability to set a context for a request.
func NewCreateInvoiceItemCustomFieldsParamsWithHTTPClient ¶
func NewCreateInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *CreateInvoiceItemCustomFieldsParams
NewCreateInvoiceItemCustomFieldsParamsWithHTTPClient creates a new CreateInvoiceItemCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInvoiceItemCustomFieldsParamsWithTimeout ¶
func NewCreateInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *CreateInvoiceItemCustomFieldsParams
NewCreateInvoiceItemCustomFieldsParamsWithTimeout creates a new CreateInvoiceItemCustomFieldsParams object with the ability to set a timeout on a request.
func (*CreateInvoiceItemCustomFieldsParams) SetBody ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) SetContext ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) SetDefaults ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the create invoice item custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoiceItemCustomFieldsParams) SetHTTPClient ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) SetInvoiceItemID ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) SetTimeout ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) SetXKillbillComment ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) SetXKillbillReason ¶
func (o *CreateInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithBody ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *CreateInvoiceItemCustomFieldsParams
WithBody adds the body to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithContext ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *CreateInvoiceItemCustomFieldsParams
WithContext adds the context to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithDefaults ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithDefaults() *CreateInvoiceItemCustomFieldsParams
WithDefaults hydrates default values in the create invoice item custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoiceItemCustomFieldsParams) WithHTTPClient ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *CreateInvoiceItemCustomFieldsParams
WithHTTPClient adds the HTTPClient to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithInvoiceItemID ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *CreateInvoiceItemCustomFieldsParams
WithInvoiceItemID adds the invoiceItemID to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithTimeout ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *CreateInvoiceItemCustomFieldsParams
WithTimeout adds the timeout to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithXKillbillComment ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoiceItemCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoiceItemCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WithXKillbillReason ¶
func (o *CreateInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoiceItemCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the create invoice item custom fields params
func (*CreateInvoiceItemCustomFieldsParams) WriteToRequest ¶
func (o *CreateInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInvoiceItemCustomFieldsReader ¶
type CreateInvoiceItemCustomFieldsReader struct {
// contains filtered or unexported fields
}
CreateInvoiceItemCustomFieldsReader is a Reader for the CreateInvoiceItemCustomFields structure.
func (*CreateInvoiceItemCustomFieldsReader) ReadResponse ¶
func (o *CreateInvoiceItemCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateInvoiceItemTagsBadRequest ¶
type CreateInvoiceItemTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateInvoiceItemTagsBadRequest describes a response with status code 400, with default header values.
Invalid invoice item id supplied
func NewCreateInvoiceItemTagsBadRequest ¶
func NewCreateInvoiceItemTagsBadRequest() *CreateInvoiceItemTagsBadRequest
NewCreateInvoiceItemTagsBadRequest creates a CreateInvoiceItemTagsBadRequest with default headers values
func (*CreateInvoiceItemTagsBadRequest) Code ¶
func (o *CreateInvoiceItemTagsBadRequest) Code() int
Code gets the status code for the create invoice item tags bad request response
func (*CreateInvoiceItemTagsBadRequest) Error ¶
func (o *CreateInvoiceItemTagsBadRequest) Error() string
func (*CreateInvoiceItemTagsBadRequest) IsClientError ¶
func (o *CreateInvoiceItemTagsBadRequest) IsClientError() bool
IsClientError returns true when this create invoice item tags bad request response has a 4xx status code
func (*CreateInvoiceItemTagsBadRequest) IsCode ¶
func (o *CreateInvoiceItemTagsBadRequest) IsCode(code int) bool
IsCode returns true when this create invoice item tags bad request response a status code equal to that given
func (*CreateInvoiceItemTagsBadRequest) IsRedirect ¶
func (o *CreateInvoiceItemTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this create invoice item tags bad request response has a 3xx status code
func (*CreateInvoiceItemTagsBadRequest) IsServerError ¶
func (o *CreateInvoiceItemTagsBadRequest) IsServerError() bool
IsServerError returns true when this create invoice item tags bad request response has a 5xx status code
func (*CreateInvoiceItemTagsBadRequest) IsSuccess ¶
func (o *CreateInvoiceItemTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this create invoice item tags bad request response has a 2xx status code
func (*CreateInvoiceItemTagsBadRequest) String ¶
func (o *CreateInvoiceItemTagsBadRequest) String() string
type CreateInvoiceItemTagsCreated ¶
type CreateInvoiceItemTagsCreated struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
CreateInvoiceItemTagsCreated describes a response with status code 201, with default header values.
Tag created successfully
func NewCreateInvoiceItemTagsCreated ¶
func NewCreateInvoiceItemTagsCreated() *CreateInvoiceItemTagsCreated
NewCreateInvoiceItemTagsCreated creates a CreateInvoiceItemTagsCreated with default headers values
func (*CreateInvoiceItemTagsCreated) Code ¶
func (o *CreateInvoiceItemTagsCreated) Code() int
Code gets the status code for the create invoice item tags created response
func (*CreateInvoiceItemTagsCreated) Error ¶
func (o *CreateInvoiceItemTagsCreated) Error() string
func (*CreateInvoiceItemTagsCreated) GetPayload ¶
func (o *CreateInvoiceItemTagsCreated) GetPayload() []*kbmodel.Tag
func (*CreateInvoiceItemTagsCreated) IsClientError ¶
func (o *CreateInvoiceItemTagsCreated) IsClientError() bool
IsClientError returns true when this create invoice item tags created response has a 4xx status code
func (*CreateInvoiceItemTagsCreated) IsCode ¶
func (o *CreateInvoiceItemTagsCreated) IsCode(code int) bool
IsCode returns true when this create invoice item tags created response a status code equal to that given
func (*CreateInvoiceItemTagsCreated) IsRedirect ¶
func (o *CreateInvoiceItemTagsCreated) IsRedirect() bool
IsRedirect returns true when this create invoice item tags created response has a 3xx status code
func (*CreateInvoiceItemTagsCreated) IsServerError ¶
func (o *CreateInvoiceItemTagsCreated) IsServerError() bool
IsServerError returns true when this create invoice item tags created response has a 5xx status code
func (*CreateInvoiceItemTagsCreated) IsSuccess ¶
func (o *CreateInvoiceItemTagsCreated) IsSuccess() bool
IsSuccess returns true when this create invoice item tags created response has a 2xx status code
func (*CreateInvoiceItemTagsCreated) String ¶
func (o *CreateInvoiceItemTagsCreated) String() string
type CreateInvoiceItemTagsParams ¶
type CreateInvoiceItemTagsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []strfmt.UUID // InvoiceItemID. // // Format: uuid InvoiceItemID 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 }
CreateInvoiceItemTagsParams contains all the parameters to send to the API endpoint
for the create invoice item tags operation. Typically these are written to a http.Request.
func NewCreateInvoiceItemTagsParams ¶
func NewCreateInvoiceItemTagsParams() *CreateInvoiceItemTagsParams
NewCreateInvoiceItemTagsParams creates a new CreateInvoiceItemTagsParams 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 NewCreateInvoiceItemTagsParamsWithContext ¶
func NewCreateInvoiceItemTagsParamsWithContext(ctx context.Context) *CreateInvoiceItemTagsParams
NewCreateInvoiceItemTagsParamsWithContext creates a new CreateInvoiceItemTagsParams object with the ability to set a context for a request.
func NewCreateInvoiceItemTagsParamsWithHTTPClient ¶
func NewCreateInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *CreateInvoiceItemTagsParams
NewCreateInvoiceItemTagsParamsWithHTTPClient creates a new CreateInvoiceItemTagsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateInvoiceItemTagsParamsWithTimeout ¶
func NewCreateInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *CreateInvoiceItemTagsParams
NewCreateInvoiceItemTagsParamsWithTimeout creates a new CreateInvoiceItemTagsParams object with the ability to set a timeout on a request.
func (*CreateInvoiceItemTagsParams) SetBody ¶
func (o *CreateInvoiceItemTagsParams) SetBody(body []strfmt.UUID)
SetBody adds the body to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) SetContext ¶
func (o *CreateInvoiceItemTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) SetDefaults ¶
func (o *CreateInvoiceItemTagsParams) SetDefaults()
SetDefaults hydrates default values in the create invoice item tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoiceItemTagsParams) SetHTTPClient ¶
func (o *CreateInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) SetInvoiceItemID ¶
func (o *CreateInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) SetTimeout ¶
func (o *CreateInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) SetXKillbillComment ¶
func (o *CreateInvoiceItemTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) SetXKillbillCreatedBy ¶
func (o *CreateInvoiceItemTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) SetXKillbillReason ¶
func (o *CreateInvoiceItemTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithBody ¶
func (o *CreateInvoiceItemTagsParams) WithBody(body []strfmt.UUID) *CreateInvoiceItemTagsParams
WithBody adds the body to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithContext ¶
func (o *CreateInvoiceItemTagsParams) WithContext(ctx context.Context) *CreateInvoiceItemTagsParams
WithContext adds the context to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithDefaults ¶
func (o *CreateInvoiceItemTagsParams) WithDefaults() *CreateInvoiceItemTagsParams
WithDefaults hydrates default values in the create invoice item tags params (not the query body).
All values with no default are reset to their zero value.
func (*CreateInvoiceItemTagsParams) WithHTTPClient ¶
func (o *CreateInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *CreateInvoiceItemTagsParams
WithHTTPClient adds the HTTPClient to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithInvoiceItemID ¶
func (o *CreateInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *CreateInvoiceItemTagsParams
WithInvoiceItemID adds the invoiceItemID to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithTimeout ¶
func (o *CreateInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *CreateInvoiceItemTagsParams
WithTimeout adds the timeout to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithXKillbillComment ¶
func (o *CreateInvoiceItemTagsParams) WithXKillbillComment(xKillbillComment *string) *CreateInvoiceItemTagsParams
WithXKillbillComment adds the xKillbillComment to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithXKillbillCreatedBy ¶
func (o *CreateInvoiceItemTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateInvoiceItemTagsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WithXKillbillReason ¶
func (o *CreateInvoiceItemTagsParams) WithXKillbillReason(xKillbillReason *string) *CreateInvoiceItemTagsParams
WithXKillbillReason adds the xKillbillReason to the create invoice item tags params
func (*CreateInvoiceItemTagsParams) WriteToRequest ¶
func (o *CreateInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateInvoiceItemTagsReader ¶
type CreateInvoiceItemTagsReader struct {
// contains filtered or unexported fields
}
CreateInvoiceItemTagsReader is a Reader for the CreateInvoiceItemTags structure.
func (*CreateInvoiceItemTagsReader) ReadResponse ¶
func (o *CreateInvoiceItemTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInvoiceItemCustomFieldsBadRequest ¶
type DeleteInvoiceItemCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoiceItemCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid invoice item id supplied
func NewDeleteInvoiceItemCustomFieldsBadRequest ¶
func NewDeleteInvoiceItemCustomFieldsBadRequest() *DeleteInvoiceItemCustomFieldsBadRequest
NewDeleteInvoiceItemCustomFieldsBadRequest creates a DeleteInvoiceItemCustomFieldsBadRequest with default headers values
func (*DeleteInvoiceItemCustomFieldsBadRequest) Code ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) Code() int
Code gets the status code for the delete invoice item custom fields bad request response
func (*DeleteInvoiceItemCustomFieldsBadRequest) Error ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) Error() string
func (*DeleteInvoiceItemCustomFieldsBadRequest) IsClientError ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this delete invoice item custom fields bad request response has a 4xx status code
func (*DeleteInvoiceItemCustomFieldsBadRequest) IsCode ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this delete invoice item custom fields bad request response a status code equal to that given
func (*DeleteInvoiceItemCustomFieldsBadRequest) IsRedirect ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete invoice item custom fields bad request response has a 3xx status code
func (*DeleteInvoiceItemCustomFieldsBadRequest) IsServerError ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this delete invoice item custom fields bad request response has a 5xx status code
func (*DeleteInvoiceItemCustomFieldsBadRequest) IsSuccess ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete invoice item custom fields bad request response has a 2xx status code
func (*DeleteInvoiceItemCustomFieldsBadRequest) String ¶
func (o *DeleteInvoiceItemCustomFieldsBadRequest) String() string
type DeleteInvoiceItemCustomFieldsNoContent ¶
type DeleteInvoiceItemCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoiceItemCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteInvoiceItemCustomFieldsNoContent ¶
func NewDeleteInvoiceItemCustomFieldsNoContent() *DeleteInvoiceItemCustomFieldsNoContent
NewDeleteInvoiceItemCustomFieldsNoContent creates a DeleteInvoiceItemCustomFieldsNoContent with default headers values
func (*DeleteInvoiceItemCustomFieldsNoContent) Code ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) Code() int
Code gets the status code for the delete invoice item custom fields no content response
func (*DeleteInvoiceItemCustomFieldsNoContent) Error ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) Error() string
func (*DeleteInvoiceItemCustomFieldsNoContent) IsClientError ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this delete invoice item custom fields no content response has a 4xx status code
func (*DeleteInvoiceItemCustomFieldsNoContent) IsCode ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this delete invoice item custom fields no content response a status code equal to that given
func (*DeleteInvoiceItemCustomFieldsNoContent) IsRedirect ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this delete invoice item custom fields no content response has a 3xx status code
func (*DeleteInvoiceItemCustomFieldsNoContent) IsServerError ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this delete invoice item custom fields no content response has a 5xx status code
func (*DeleteInvoiceItemCustomFieldsNoContent) IsSuccess ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this delete invoice item custom fields no content response has a 2xx status code
func (*DeleteInvoiceItemCustomFieldsNoContent) String ¶
func (o *DeleteInvoiceItemCustomFieldsNoContent) String() string
type DeleteInvoiceItemCustomFieldsParams ¶
type DeleteInvoiceItemCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // CustomField. CustomField []strfmt.UUID // InvoiceItemID. // // Format: uuid InvoiceItemID 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 }
DeleteInvoiceItemCustomFieldsParams contains all the parameters to send to the API endpoint
for the delete invoice item custom fields operation. Typically these are written to a http.Request.
func NewDeleteInvoiceItemCustomFieldsParams ¶
func NewDeleteInvoiceItemCustomFieldsParams() *DeleteInvoiceItemCustomFieldsParams
NewDeleteInvoiceItemCustomFieldsParams creates a new DeleteInvoiceItemCustomFieldsParams 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 NewDeleteInvoiceItemCustomFieldsParamsWithContext ¶
func NewDeleteInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams
NewDeleteInvoiceItemCustomFieldsParamsWithContext creates a new DeleteInvoiceItemCustomFieldsParams object with the ability to set a context for a request.
func NewDeleteInvoiceItemCustomFieldsParamsWithHTTPClient ¶
func NewDeleteInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceItemCustomFieldsParams
NewDeleteInvoiceItemCustomFieldsParamsWithHTTPClient creates a new DeleteInvoiceItemCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteInvoiceItemCustomFieldsParamsWithTimeout ¶
func NewDeleteInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceItemCustomFieldsParams
NewDeleteInvoiceItemCustomFieldsParamsWithTimeout creates a new DeleteInvoiceItemCustomFieldsParams object with the ability to set a timeout on a request.
func (*DeleteInvoiceItemCustomFieldsParams) SetContext ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) SetCustomField ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetCustomField(customField []strfmt.UUID)
SetCustomField adds the customField to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) SetDefaults ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the delete invoice item custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoiceItemCustomFieldsParams) SetHTTPClient ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) SetInvoiceItemID ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) SetTimeout ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) SetXKillbillComment ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) SetXKillbillReason ¶
func (o *DeleteInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithContext ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *DeleteInvoiceItemCustomFieldsParams
WithContext adds the context to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithCustomField ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithCustomField(customField []strfmt.UUID) *DeleteInvoiceItemCustomFieldsParams
WithCustomField adds the customField to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithDefaults ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithDefaults() *DeleteInvoiceItemCustomFieldsParams
WithDefaults hydrates default values in the delete invoice item custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoiceItemCustomFieldsParams) WithHTTPClient ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceItemCustomFieldsParams
WithHTTPClient adds the HTTPClient to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithInvoiceItemID ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteInvoiceItemCustomFieldsParams
WithInvoiceItemID adds the invoiceItemID to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithTimeout ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceItemCustomFieldsParams
WithTimeout adds the timeout to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithXKillbillComment ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoiceItemCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoiceItemCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WithXKillbillReason ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoiceItemCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the delete invoice item custom fields params
func (*DeleteInvoiceItemCustomFieldsParams) WriteToRequest ¶
func (o *DeleteInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInvoiceItemCustomFieldsReader ¶
type DeleteInvoiceItemCustomFieldsReader struct {
// contains filtered or unexported fields
}
DeleteInvoiceItemCustomFieldsReader is a Reader for the DeleteInvoiceItemCustomFields structure.
func (*DeleteInvoiceItemCustomFieldsReader) ReadResponse ¶
func (o *DeleteInvoiceItemCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteInvoiceItemTagsBadRequest ¶
type DeleteInvoiceItemTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoiceItemTagsBadRequest describes a response with status code 400, with default header values.
Invalid invoice item id supplied
func NewDeleteInvoiceItemTagsBadRequest ¶
func NewDeleteInvoiceItemTagsBadRequest() *DeleteInvoiceItemTagsBadRequest
NewDeleteInvoiceItemTagsBadRequest creates a DeleteInvoiceItemTagsBadRequest with default headers values
func (*DeleteInvoiceItemTagsBadRequest) Code ¶
func (o *DeleteInvoiceItemTagsBadRequest) Code() int
Code gets the status code for the delete invoice item tags bad request response
func (*DeleteInvoiceItemTagsBadRequest) Error ¶
func (o *DeleteInvoiceItemTagsBadRequest) Error() string
func (*DeleteInvoiceItemTagsBadRequest) IsClientError ¶
func (o *DeleteInvoiceItemTagsBadRequest) IsClientError() bool
IsClientError returns true when this delete invoice item tags bad request response has a 4xx status code
func (*DeleteInvoiceItemTagsBadRequest) IsCode ¶
func (o *DeleteInvoiceItemTagsBadRequest) IsCode(code int) bool
IsCode returns true when this delete invoice item tags bad request response a status code equal to that given
func (*DeleteInvoiceItemTagsBadRequest) IsRedirect ¶
func (o *DeleteInvoiceItemTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this delete invoice item tags bad request response has a 3xx status code
func (*DeleteInvoiceItemTagsBadRequest) IsServerError ¶
func (o *DeleteInvoiceItemTagsBadRequest) IsServerError() bool
IsServerError returns true when this delete invoice item tags bad request response has a 5xx status code
func (*DeleteInvoiceItemTagsBadRequest) IsSuccess ¶
func (o *DeleteInvoiceItemTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this delete invoice item tags bad request response has a 2xx status code
func (*DeleteInvoiceItemTagsBadRequest) String ¶
func (o *DeleteInvoiceItemTagsBadRequest) String() string
type DeleteInvoiceItemTagsNoContent ¶
type DeleteInvoiceItemTagsNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteInvoiceItemTagsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteInvoiceItemTagsNoContent ¶
func NewDeleteInvoiceItemTagsNoContent() *DeleteInvoiceItemTagsNoContent
NewDeleteInvoiceItemTagsNoContent creates a DeleteInvoiceItemTagsNoContent with default headers values
func (*DeleteInvoiceItemTagsNoContent) Code ¶
func (o *DeleteInvoiceItemTagsNoContent) Code() int
Code gets the status code for the delete invoice item tags no content response
func (*DeleteInvoiceItemTagsNoContent) Error ¶
func (o *DeleteInvoiceItemTagsNoContent) Error() string
func (*DeleteInvoiceItemTagsNoContent) IsClientError ¶
func (o *DeleteInvoiceItemTagsNoContent) IsClientError() bool
IsClientError returns true when this delete invoice item tags no content response has a 4xx status code
func (*DeleteInvoiceItemTagsNoContent) IsCode ¶
func (o *DeleteInvoiceItemTagsNoContent) IsCode(code int) bool
IsCode returns true when this delete invoice item tags no content response a status code equal to that given
func (*DeleteInvoiceItemTagsNoContent) IsRedirect ¶
func (o *DeleteInvoiceItemTagsNoContent) IsRedirect() bool
IsRedirect returns true when this delete invoice item tags no content response has a 3xx status code
func (*DeleteInvoiceItemTagsNoContent) IsServerError ¶
func (o *DeleteInvoiceItemTagsNoContent) IsServerError() bool
IsServerError returns true when this delete invoice item tags no content response has a 5xx status code
func (*DeleteInvoiceItemTagsNoContent) IsSuccess ¶
func (o *DeleteInvoiceItemTagsNoContent) IsSuccess() bool
IsSuccess returns true when this delete invoice item tags no content response has a 2xx status code
func (*DeleteInvoiceItemTagsNoContent) String ¶
func (o *DeleteInvoiceItemTagsNoContent) String() string
type DeleteInvoiceItemTagsParams ¶
type DeleteInvoiceItemTagsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // InvoiceItemID. // // Format: uuid InvoiceItemID 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 }
DeleteInvoiceItemTagsParams contains all the parameters to send to the API endpoint
for the delete invoice item tags operation. Typically these are written to a http.Request.
func NewDeleteInvoiceItemTagsParams ¶
func NewDeleteInvoiceItemTagsParams() *DeleteInvoiceItemTagsParams
NewDeleteInvoiceItemTagsParams creates a new DeleteInvoiceItemTagsParams 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 NewDeleteInvoiceItemTagsParamsWithContext ¶
func NewDeleteInvoiceItemTagsParamsWithContext(ctx context.Context) *DeleteInvoiceItemTagsParams
NewDeleteInvoiceItemTagsParamsWithContext creates a new DeleteInvoiceItemTagsParams object with the ability to set a context for a request.
func NewDeleteInvoiceItemTagsParamsWithHTTPClient ¶
func NewDeleteInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *DeleteInvoiceItemTagsParams
NewDeleteInvoiceItemTagsParamsWithHTTPClient creates a new DeleteInvoiceItemTagsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteInvoiceItemTagsParamsWithTimeout ¶
func NewDeleteInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *DeleteInvoiceItemTagsParams
NewDeleteInvoiceItemTagsParamsWithTimeout creates a new DeleteInvoiceItemTagsParams object with the ability to set a timeout on a request.
func (*DeleteInvoiceItemTagsParams) SetContext ¶
func (o *DeleteInvoiceItemTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) SetDefaults ¶
func (o *DeleteInvoiceItemTagsParams) SetDefaults()
SetDefaults hydrates default values in the delete invoice item tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoiceItemTagsParams) SetHTTPClient ¶
func (o *DeleteInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) SetInvoiceItemID ¶
func (o *DeleteInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) SetTagDef ¶
func (o *DeleteInvoiceItemTagsParams) SetTagDef(tagDef []strfmt.UUID)
SetTagDef adds the tagDef to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) SetTimeout ¶
func (o *DeleteInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) SetXKillbillComment ¶
func (o *DeleteInvoiceItemTagsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) SetXKillbillCreatedBy ¶
func (o *DeleteInvoiceItemTagsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) SetXKillbillReason ¶
func (o *DeleteInvoiceItemTagsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithContext ¶
func (o *DeleteInvoiceItemTagsParams) WithContext(ctx context.Context) *DeleteInvoiceItemTagsParams
WithContext adds the context to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithDefaults ¶
func (o *DeleteInvoiceItemTagsParams) WithDefaults() *DeleteInvoiceItemTagsParams
WithDefaults hydrates default values in the delete invoice item tags params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteInvoiceItemTagsParams) WithHTTPClient ¶
func (o *DeleteInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *DeleteInvoiceItemTagsParams
WithHTTPClient adds the HTTPClient to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithInvoiceItemID ¶
func (o *DeleteInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *DeleteInvoiceItemTagsParams
WithInvoiceItemID adds the invoiceItemID to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithTagDef ¶
func (o *DeleteInvoiceItemTagsParams) WithTagDef(tagDef []strfmt.UUID) *DeleteInvoiceItemTagsParams
WithTagDef adds the tagDef to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithTimeout ¶
func (o *DeleteInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *DeleteInvoiceItemTagsParams
WithTimeout adds the timeout to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithXKillbillComment ¶
func (o *DeleteInvoiceItemTagsParams) WithXKillbillComment(xKillbillComment *string) *DeleteInvoiceItemTagsParams
WithXKillbillComment adds the xKillbillComment to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithXKillbillCreatedBy ¶
func (o *DeleteInvoiceItemTagsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteInvoiceItemTagsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WithXKillbillReason ¶
func (o *DeleteInvoiceItemTagsParams) WithXKillbillReason(xKillbillReason *string) *DeleteInvoiceItemTagsParams
WithXKillbillReason adds the xKillbillReason to the delete invoice item tags params
func (*DeleteInvoiceItemTagsParams) WriteToRequest ¶
func (o *DeleteInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteInvoiceItemTagsReader ¶
type DeleteInvoiceItemTagsReader struct {
// contains filtered or unexported fields
}
DeleteInvoiceItemTagsReader is a Reader for the DeleteInvoiceItemTags structure.
func (*DeleteInvoiceItemTagsReader) ReadResponse ¶
func (o *DeleteInvoiceItemTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceItemAuditLogsWithHistoryNotFound ¶
type GetInvoiceItemAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetInvoiceItemAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Invoice item not found
func NewGetInvoiceItemAuditLogsWithHistoryNotFound ¶
func NewGetInvoiceItemAuditLogsWithHistoryNotFound() *GetInvoiceItemAuditLogsWithHistoryNotFound
NewGetInvoiceItemAuditLogsWithHistoryNotFound creates a GetInvoiceItemAuditLogsWithHistoryNotFound with default headers values
func (*GetInvoiceItemAuditLogsWithHistoryNotFound) Code ¶
func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get invoice item audit logs with history not found response
func (*GetInvoiceItemAuditLogsWithHistoryNotFound) Error ¶
func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) Error() string
func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get invoice item audit logs with history not found response has a 4xx status code
func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get invoice item audit logs with history not found response a status code equal to that given
func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get invoice item audit logs with history not found response has a 3xx status code
func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get invoice item audit logs with history not found response has a 5xx status code
func (*GetInvoiceItemAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get invoice item audit logs with history not found response has a 2xx status code
func (*GetInvoiceItemAuditLogsWithHistoryNotFound) String ¶
func (o *GetInvoiceItemAuditLogsWithHistoryNotFound) String() string
type GetInvoiceItemAuditLogsWithHistoryOK ¶
type GetInvoiceItemAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetInvoiceItemAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceItemAuditLogsWithHistoryOK ¶
func NewGetInvoiceItemAuditLogsWithHistoryOK() *GetInvoiceItemAuditLogsWithHistoryOK
NewGetInvoiceItemAuditLogsWithHistoryOK creates a GetInvoiceItemAuditLogsWithHistoryOK with default headers values
func (*GetInvoiceItemAuditLogsWithHistoryOK) Code ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get invoice item audit logs with history o k response
func (*GetInvoiceItemAuditLogsWithHistoryOK) Error ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) Error() string
func (*GetInvoiceItemAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetInvoiceItemAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get invoice item audit logs with history o k response has a 4xx status code
func (*GetInvoiceItemAuditLogsWithHistoryOK) IsCode ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get invoice item audit logs with history o k response a status code equal to that given
func (*GetInvoiceItemAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get invoice item audit logs with history o k response has a 3xx status code
func (*GetInvoiceItemAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get invoice item audit logs with history o k response has a 5xx status code
func (*GetInvoiceItemAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get invoice item audit logs with history o k response has a 2xx status code
func (*GetInvoiceItemAuditLogsWithHistoryOK) String ¶
func (o *GetInvoiceItemAuditLogsWithHistoryOK) String() string
type GetInvoiceItemAuditLogsWithHistoryParams ¶
type GetInvoiceItemAuditLogsWithHistoryParams struct { // InvoiceItemID. // // Format: uuid InvoiceItemID 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 }
GetInvoiceItemAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get invoice item audit logs with history operation. Typically these are written to a http.Request.
func NewGetInvoiceItemAuditLogsWithHistoryParams ¶
func NewGetInvoiceItemAuditLogsWithHistoryParams() *GetInvoiceItemAuditLogsWithHistoryParams
NewGetInvoiceItemAuditLogsWithHistoryParams creates a new GetInvoiceItemAuditLogsWithHistoryParams 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 NewGetInvoiceItemAuditLogsWithHistoryParamsWithContext ¶
func NewGetInvoiceItemAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetInvoiceItemAuditLogsWithHistoryParams
NewGetInvoiceItemAuditLogsWithHistoryParamsWithContext creates a new GetInvoiceItemAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetInvoiceItemAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetInvoiceItemAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetInvoiceItemAuditLogsWithHistoryParams
NewGetInvoiceItemAuditLogsWithHistoryParamsWithHTTPClient creates a new GetInvoiceItemAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceItemAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetInvoiceItemAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetInvoiceItemAuditLogsWithHistoryParams
NewGetInvoiceItemAuditLogsWithHistoryParamsWithTimeout creates a new GetInvoiceItemAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetInvoiceItemAuditLogsWithHistoryParams) SetContext ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice item audit logs with history params
func (*GetInvoiceItemAuditLogsWithHistoryParams) SetDefaults ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get invoice item audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceItemAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice item audit logs with history params
func (*GetInvoiceItemAuditLogsWithHistoryParams) SetInvoiceItemID ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the get invoice item audit logs with history params
func (*GetInvoiceItemAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice item audit logs with history params
func (*GetInvoiceItemAuditLogsWithHistoryParams) WithContext ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetInvoiceItemAuditLogsWithHistoryParams
WithContext adds the context to the get invoice item audit logs with history params
func (*GetInvoiceItemAuditLogsWithHistoryParams) WithDefaults ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithDefaults() *GetInvoiceItemAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get invoice item audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceItemAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetInvoiceItemAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get invoice item audit logs with history params
func (*GetInvoiceItemAuditLogsWithHistoryParams) WithInvoiceItemID ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemAuditLogsWithHistoryParams
WithInvoiceItemID adds the invoiceItemID to the get invoice item audit logs with history params
func (*GetInvoiceItemAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetInvoiceItemAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get invoice item audit logs with history params
func (*GetInvoiceItemAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetInvoiceItemAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceItemAuditLogsWithHistoryReader ¶
type GetInvoiceItemAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetInvoiceItemAuditLogsWithHistoryReader is a Reader for the GetInvoiceItemAuditLogsWithHistory structure.
func (*GetInvoiceItemAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetInvoiceItemAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceItemCustomFieldsBadRequest ¶
type GetInvoiceItemCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetInvoiceItemCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid invoice item id supplied
func NewGetInvoiceItemCustomFieldsBadRequest ¶
func NewGetInvoiceItemCustomFieldsBadRequest() *GetInvoiceItemCustomFieldsBadRequest
NewGetInvoiceItemCustomFieldsBadRequest creates a GetInvoiceItemCustomFieldsBadRequest with default headers values
func (*GetInvoiceItemCustomFieldsBadRequest) Code ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) Code() int
Code gets the status code for the get invoice item custom fields bad request response
func (*GetInvoiceItemCustomFieldsBadRequest) Error ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) Error() string
func (*GetInvoiceItemCustomFieldsBadRequest) IsClientError ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this get invoice item custom fields bad request response has a 4xx status code
func (*GetInvoiceItemCustomFieldsBadRequest) IsCode ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this get invoice item custom fields bad request response a status code equal to that given
func (*GetInvoiceItemCustomFieldsBadRequest) IsRedirect ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this get invoice item custom fields bad request response has a 3xx status code
func (*GetInvoiceItemCustomFieldsBadRequest) IsServerError ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this get invoice item custom fields bad request response has a 5xx status code
func (*GetInvoiceItemCustomFieldsBadRequest) IsSuccess ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this get invoice item custom fields bad request response has a 2xx status code
func (*GetInvoiceItemCustomFieldsBadRequest) String ¶
func (o *GetInvoiceItemCustomFieldsBadRequest) String() string
type GetInvoiceItemCustomFieldsOK ¶
type GetInvoiceItemCustomFieldsOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
GetInvoiceItemCustomFieldsOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceItemCustomFieldsOK ¶
func NewGetInvoiceItemCustomFieldsOK() *GetInvoiceItemCustomFieldsOK
NewGetInvoiceItemCustomFieldsOK creates a GetInvoiceItemCustomFieldsOK with default headers values
func (*GetInvoiceItemCustomFieldsOK) Code ¶
func (o *GetInvoiceItemCustomFieldsOK) Code() int
Code gets the status code for the get invoice item custom fields o k response
func (*GetInvoiceItemCustomFieldsOK) Error ¶
func (o *GetInvoiceItemCustomFieldsOK) Error() string
func (*GetInvoiceItemCustomFieldsOK) GetPayload ¶
func (o *GetInvoiceItemCustomFieldsOK) GetPayload() []*kbmodel.CustomField
func (*GetInvoiceItemCustomFieldsOK) IsClientError ¶
func (o *GetInvoiceItemCustomFieldsOK) IsClientError() bool
IsClientError returns true when this get invoice item custom fields o k response has a 4xx status code
func (*GetInvoiceItemCustomFieldsOK) IsCode ¶
func (o *GetInvoiceItemCustomFieldsOK) IsCode(code int) bool
IsCode returns true when this get invoice item custom fields o k response a status code equal to that given
func (*GetInvoiceItemCustomFieldsOK) IsRedirect ¶
func (o *GetInvoiceItemCustomFieldsOK) IsRedirect() bool
IsRedirect returns true when this get invoice item custom fields o k response has a 3xx status code
func (*GetInvoiceItemCustomFieldsOK) IsServerError ¶
func (o *GetInvoiceItemCustomFieldsOK) IsServerError() bool
IsServerError returns true when this get invoice item custom fields o k response has a 5xx status code
func (*GetInvoiceItemCustomFieldsOK) IsSuccess ¶
func (o *GetInvoiceItemCustomFieldsOK) IsSuccess() bool
IsSuccess returns true when this get invoice item custom fields o k response has a 2xx status code
func (*GetInvoiceItemCustomFieldsOK) String ¶
func (o *GetInvoiceItemCustomFieldsOK) String() string
type GetInvoiceItemCustomFieldsParams ¶
type GetInvoiceItemCustomFieldsParams struct { // Audit. // // Default: "NONE" Audit *string // InvoiceItemID. // // Format: uuid InvoiceItemID 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 }
GetInvoiceItemCustomFieldsParams contains all the parameters to send to the API endpoint
for the get invoice item custom fields operation. Typically these are written to a http.Request.
func NewGetInvoiceItemCustomFieldsParams ¶
func NewGetInvoiceItemCustomFieldsParams() *GetInvoiceItemCustomFieldsParams
NewGetInvoiceItemCustomFieldsParams creates a new GetInvoiceItemCustomFieldsParams 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 NewGetInvoiceItemCustomFieldsParamsWithContext ¶
func NewGetInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams
NewGetInvoiceItemCustomFieldsParamsWithContext creates a new GetInvoiceItemCustomFieldsParams object with the ability to set a context for a request.
func NewGetInvoiceItemCustomFieldsParamsWithHTTPClient ¶
func NewGetInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *GetInvoiceItemCustomFieldsParams
NewGetInvoiceItemCustomFieldsParamsWithHTTPClient creates a new GetInvoiceItemCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceItemCustomFieldsParamsWithTimeout ¶
func NewGetInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *GetInvoiceItemCustomFieldsParams
NewGetInvoiceItemCustomFieldsParamsWithTimeout creates a new GetInvoiceItemCustomFieldsParams object with the ability to set a timeout on a request.
func (*GetInvoiceItemCustomFieldsParams) SetAudit ¶
func (o *GetInvoiceItemCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) SetContext ¶
func (o *GetInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) SetDefaults ¶
func (o *GetInvoiceItemCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the get invoice item custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceItemCustomFieldsParams) SetHTTPClient ¶
func (o *GetInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) SetInvoiceItemID ¶
func (o *GetInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) SetTimeout ¶
func (o *GetInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithAudit ¶
func (o *GetInvoiceItemCustomFieldsParams) WithAudit(audit *string) *GetInvoiceItemCustomFieldsParams
WithAudit adds the audit to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithContext ¶
func (o *GetInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *GetInvoiceItemCustomFieldsParams
WithContext adds the context to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithDefaults ¶
func (o *GetInvoiceItemCustomFieldsParams) WithDefaults() *GetInvoiceItemCustomFieldsParams
WithDefaults hydrates default values in the get invoice item custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceItemCustomFieldsParams) WithHTTPClient ¶
func (o *GetInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *GetInvoiceItemCustomFieldsParams
WithHTTPClient adds the HTTPClient to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithInvoiceItemID ¶
func (o *GetInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemCustomFieldsParams
WithInvoiceItemID adds the invoiceItemID to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WithTimeout ¶
func (o *GetInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *GetInvoiceItemCustomFieldsParams
WithTimeout adds the timeout to the get invoice item custom fields params
func (*GetInvoiceItemCustomFieldsParams) WriteToRequest ¶
func (o *GetInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceItemCustomFieldsReader ¶
type GetInvoiceItemCustomFieldsReader struct {
// contains filtered or unexported fields
}
GetInvoiceItemCustomFieldsReader is a Reader for the GetInvoiceItemCustomFields structure.
func (*GetInvoiceItemCustomFieldsReader) ReadResponse ¶
func (o *GetInvoiceItemCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceItemTagsBadRequest ¶
type GetInvoiceItemTagsBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetInvoiceItemTagsBadRequest describes a response with status code 400, with default header values.
Invalid invoice item id supplied
func NewGetInvoiceItemTagsBadRequest ¶
func NewGetInvoiceItemTagsBadRequest() *GetInvoiceItemTagsBadRequest
NewGetInvoiceItemTagsBadRequest creates a GetInvoiceItemTagsBadRequest with default headers values
func (*GetInvoiceItemTagsBadRequest) Code ¶
func (o *GetInvoiceItemTagsBadRequest) Code() int
Code gets the status code for the get invoice item tags bad request response
func (*GetInvoiceItemTagsBadRequest) Error ¶
func (o *GetInvoiceItemTagsBadRequest) Error() string
func (*GetInvoiceItemTagsBadRequest) IsClientError ¶
func (o *GetInvoiceItemTagsBadRequest) IsClientError() bool
IsClientError returns true when this get invoice item tags bad request response has a 4xx status code
func (*GetInvoiceItemTagsBadRequest) IsCode ¶
func (o *GetInvoiceItemTagsBadRequest) IsCode(code int) bool
IsCode returns true when this get invoice item tags bad request response a status code equal to that given
func (*GetInvoiceItemTagsBadRequest) IsRedirect ¶
func (o *GetInvoiceItemTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this get invoice item tags bad request response has a 3xx status code
func (*GetInvoiceItemTagsBadRequest) IsServerError ¶
func (o *GetInvoiceItemTagsBadRequest) IsServerError() bool
IsServerError returns true when this get invoice item tags bad request response has a 5xx status code
func (*GetInvoiceItemTagsBadRequest) IsSuccess ¶
func (o *GetInvoiceItemTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this get invoice item tags bad request response has a 2xx status code
func (*GetInvoiceItemTagsBadRequest) String ¶
func (o *GetInvoiceItemTagsBadRequest) String() string
type GetInvoiceItemTagsNotFound ¶
type GetInvoiceItemTagsNotFound struct {
HttpResponse runtime.ClientResponse
}
GetInvoiceItemTagsNotFound describes a response with status code 404, with default header values.
Account not found
func NewGetInvoiceItemTagsNotFound ¶
func NewGetInvoiceItemTagsNotFound() *GetInvoiceItemTagsNotFound
NewGetInvoiceItemTagsNotFound creates a GetInvoiceItemTagsNotFound with default headers values
func (*GetInvoiceItemTagsNotFound) Code ¶
func (o *GetInvoiceItemTagsNotFound) Code() int
Code gets the status code for the get invoice item tags not found response
func (*GetInvoiceItemTagsNotFound) Error ¶
func (o *GetInvoiceItemTagsNotFound) Error() string
func (*GetInvoiceItemTagsNotFound) IsClientError ¶
func (o *GetInvoiceItemTagsNotFound) IsClientError() bool
IsClientError returns true when this get invoice item tags not found response has a 4xx status code
func (*GetInvoiceItemTagsNotFound) IsCode ¶
func (o *GetInvoiceItemTagsNotFound) IsCode(code int) bool
IsCode returns true when this get invoice item tags not found response a status code equal to that given
func (*GetInvoiceItemTagsNotFound) IsRedirect ¶
func (o *GetInvoiceItemTagsNotFound) IsRedirect() bool
IsRedirect returns true when this get invoice item tags not found response has a 3xx status code
func (*GetInvoiceItemTagsNotFound) IsServerError ¶
func (o *GetInvoiceItemTagsNotFound) IsServerError() bool
IsServerError returns true when this get invoice item tags not found response has a 5xx status code
func (*GetInvoiceItemTagsNotFound) IsSuccess ¶
func (o *GetInvoiceItemTagsNotFound) IsSuccess() bool
IsSuccess returns true when this get invoice item tags not found response has a 2xx status code
func (*GetInvoiceItemTagsNotFound) String ¶
func (o *GetInvoiceItemTagsNotFound) String() string
type GetInvoiceItemTagsOK ¶
type GetInvoiceItemTagsOK struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
GetInvoiceItemTagsOK describes a response with status code 200, with default header values.
successful operation
func NewGetInvoiceItemTagsOK ¶
func NewGetInvoiceItemTagsOK() *GetInvoiceItemTagsOK
NewGetInvoiceItemTagsOK creates a GetInvoiceItemTagsOK with default headers values
func (*GetInvoiceItemTagsOK) Code ¶
func (o *GetInvoiceItemTagsOK) Code() int
Code gets the status code for the get invoice item tags o k response
func (*GetInvoiceItemTagsOK) Error ¶
func (o *GetInvoiceItemTagsOK) Error() string
func (*GetInvoiceItemTagsOK) GetPayload ¶
func (o *GetInvoiceItemTagsOK) GetPayload() []*kbmodel.Tag
func (*GetInvoiceItemTagsOK) IsClientError ¶
func (o *GetInvoiceItemTagsOK) IsClientError() bool
IsClientError returns true when this get invoice item tags o k response has a 4xx status code
func (*GetInvoiceItemTagsOK) IsCode ¶
func (o *GetInvoiceItemTagsOK) IsCode(code int) bool
IsCode returns true when this get invoice item tags o k response a status code equal to that given
func (*GetInvoiceItemTagsOK) IsRedirect ¶
func (o *GetInvoiceItemTagsOK) IsRedirect() bool
IsRedirect returns true when this get invoice item tags o k response has a 3xx status code
func (*GetInvoiceItemTagsOK) IsServerError ¶
func (o *GetInvoiceItemTagsOK) IsServerError() bool
IsServerError returns true when this get invoice item tags o k response has a 5xx status code
func (*GetInvoiceItemTagsOK) IsSuccess ¶
func (o *GetInvoiceItemTagsOK) IsSuccess() bool
IsSuccess returns true when this get invoice item tags o k response has a 2xx status code
func (*GetInvoiceItemTagsOK) String ¶
func (o *GetInvoiceItemTagsOK) String() string
type GetInvoiceItemTagsParams ¶
type GetInvoiceItemTagsParams struct { // AccountID. // // Format: uuid AccountID strfmt.UUID // Audit. // // Default: "NONE" Audit *string // IncludedDeleted. IncludedDeleted *bool // InvoiceItemID. // // Format: uuid InvoiceItemID 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 }
GetInvoiceItemTagsParams contains all the parameters to send to the API endpoint
for the get invoice item tags operation. Typically these are written to a http.Request.
func NewGetInvoiceItemTagsParams ¶
func NewGetInvoiceItemTagsParams() *GetInvoiceItemTagsParams
NewGetInvoiceItemTagsParams creates a new GetInvoiceItemTagsParams 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 NewGetInvoiceItemTagsParamsWithContext ¶
func NewGetInvoiceItemTagsParamsWithContext(ctx context.Context) *GetInvoiceItemTagsParams
NewGetInvoiceItemTagsParamsWithContext creates a new GetInvoiceItemTagsParams object with the ability to set a context for a request.
func NewGetInvoiceItemTagsParamsWithHTTPClient ¶
func NewGetInvoiceItemTagsParamsWithHTTPClient(client *http.Client) *GetInvoiceItemTagsParams
NewGetInvoiceItemTagsParamsWithHTTPClient creates a new GetInvoiceItemTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceItemTagsParamsWithTimeout ¶
func NewGetInvoiceItemTagsParamsWithTimeout(timeout time.Duration) *GetInvoiceItemTagsParams
NewGetInvoiceItemTagsParamsWithTimeout creates a new GetInvoiceItemTagsParams object with the ability to set a timeout on a request.
func (*GetInvoiceItemTagsParams) SetAccountID ¶
func (o *GetInvoiceItemTagsParams) SetAccountID(accountID strfmt.UUID)
SetAccountID adds the accountId to the get invoice item tags params
func (*GetInvoiceItemTagsParams) SetAudit ¶
func (o *GetInvoiceItemTagsParams) SetAudit(audit *string)
SetAudit adds the audit to the get invoice item tags params
func (*GetInvoiceItemTagsParams) SetContext ¶
func (o *GetInvoiceItemTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice item tags params
func (*GetInvoiceItemTagsParams) SetDefaults ¶
func (o *GetInvoiceItemTagsParams) SetDefaults()
SetDefaults hydrates default values in the get invoice item tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceItemTagsParams) SetHTTPClient ¶
func (o *GetInvoiceItemTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice item tags params
func (*GetInvoiceItemTagsParams) SetIncludedDeleted ¶
func (o *GetInvoiceItemTagsParams) SetIncludedDeleted(includedDeleted *bool)
SetIncludedDeleted adds the includedDeleted to the get invoice item tags params
func (*GetInvoiceItemTagsParams) SetInvoiceItemID ¶
func (o *GetInvoiceItemTagsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the get invoice item tags params
func (*GetInvoiceItemTagsParams) SetTimeout ¶
func (o *GetInvoiceItemTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WithAccountID ¶
func (o *GetInvoiceItemTagsParams) WithAccountID(accountID strfmt.UUID) *GetInvoiceItemTagsParams
WithAccountID adds the accountID to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WithAudit ¶
func (o *GetInvoiceItemTagsParams) WithAudit(audit *string) *GetInvoiceItemTagsParams
WithAudit adds the audit to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WithContext ¶
func (o *GetInvoiceItemTagsParams) WithContext(ctx context.Context) *GetInvoiceItemTagsParams
WithContext adds the context to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WithDefaults ¶
func (o *GetInvoiceItemTagsParams) WithDefaults() *GetInvoiceItemTagsParams
WithDefaults hydrates default values in the get invoice item tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceItemTagsParams) WithHTTPClient ¶
func (o *GetInvoiceItemTagsParams) WithHTTPClient(client *http.Client) *GetInvoiceItemTagsParams
WithHTTPClient adds the HTTPClient to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WithIncludedDeleted ¶
func (o *GetInvoiceItemTagsParams) WithIncludedDeleted(includedDeleted *bool) *GetInvoiceItemTagsParams
WithIncludedDeleted adds the includedDeleted to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WithInvoiceItemID ¶
func (o *GetInvoiceItemTagsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *GetInvoiceItemTagsParams
WithInvoiceItemID adds the invoiceItemID to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WithTimeout ¶
func (o *GetInvoiceItemTagsParams) WithTimeout(timeout time.Duration) *GetInvoiceItemTagsParams
WithTimeout adds the timeout to the get invoice item tags params
func (*GetInvoiceItemTagsParams) WriteToRequest ¶
func (o *GetInvoiceItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceItemTagsReader ¶
type GetInvoiceItemTagsReader struct {
// contains filtered or unexported fields
}
GetInvoiceItemTagsReader is a Reader for the GetInvoiceItemTags structure.
func (*GetInvoiceItemTagsReader) ReadResponse ¶
func (o *GetInvoiceItemTagsReader) 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 ModifyInvoiceItemCustomFieldsBadRequest ¶
type ModifyInvoiceItemCustomFieldsBadRequest struct {
HttpResponse runtime.ClientResponse
}
ModifyInvoiceItemCustomFieldsBadRequest describes a response with status code 400, with default header values.
Invalid invoice item id supplied
func NewModifyInvoiceItemCustomFieldsBadRequest ¶
func NewModifyInvoiceItemCustomFieldsBadRequest() *ModifyInvoiceItemCustomFieldsBadRequest
NewModifyInvoiceItemCustomFieldsBadRequest creates a ModifyInvoiceItemCustomFieldsBadRequest with default headers values
func (*ModifyInvoiceItemCustomFieldsBadRequest) Code ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) Code() int
Code gets the status code for the modify invoice item custom fields bad request response
func (*ModifyInvoiceItemCustomFieldsBadRequest) Error ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) Error() string
func (*ModifyInvoiceItemCustomFieldsBadRequest) IsClientError ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsClientError() bool
IsClientError returns true when this modify invoice item custom fields bad request response has a 4xx status code
func (*ModifyInvoiceItemCustomFieldsBadRequest) IsCode ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsCode(code int) bool
IsCode returns true when this modify invoice item custom fields bad request response a status code equal to that given
func (*ModifyInvoiceItemCustomFieldsBadRequest) IsRedirect ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsRedirect() bool
IsRedirect returns true when this modify invoice item custom fields bad request response has a 3xx status code
func (*ModifyInvoiceItemCustomFieldsBadRequest) IsServerError ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsServerError() bool
IsServerError returns true when this modify invoice item custom fields bad request response has a 5xx status code
func (*ModifyInvoiceItemCustomFieldsBadRequest) IsSuccess ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) IsSuccess() bool
IsSuccess returns true when this modify invoice item custom fields bad request response has a 2xx status code
func (*ModifyInvoiceItemCustomFieldsBadRequest) String ¶
func (o *ModifyInvoiceItemCustomFieldsBadRequest) String() string
type ModifyInvoiceItemCustomFieldsNoContent ¶
type ModifyInvoiceItemCustomFieldsNoContent struct {
HttpResponse runtime.ClientResponse
}
ModifyInvoiceItemCustomFieldsNoContent describes a response with status code 204, with default header values.
Successful operation
func NewModifyInvoiceItemCustomFieldsNoContent ¶
func NewModifyInvoiceItemCustomFieldsNoContent() *ModifyInvoiceItemCustomFieldsNoContent
NewModifyInvoiceItemCustomFieldsNoContent creates a ModifyInvoiceItemCustomFieldsNoContent with default headers values
func (*ModifyInvoiceItemCustomFieldsNoContent) Code ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) Code() int
Code gets the status code for the modify invoice item custom fields no content response
func (*ModifyInvoiceItemCustomFieldsNoContent) Error ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) Error() string
func (*ModifyInvoiceItemCustomFieldsNoContent) IsClientError ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) IsClientError() bool
IsClientError returns true when this modify invoice item custom fields no content response has a 4xx status code
func (*ModifyInvoiceItemCustomFieldsNoContent) IsCode ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) IsCode(code int) bool
IsCode returns true when this modify invoice item custom fields no content response a status code equal to that given
func (*ModifyInvoiceItemCustomFieldsNoContent) IsRedirect ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) IsRedirect() bool
IsRedirect returns true when this modify invoice item custom fields no content response has a 3xx status code
func (*ModifyInvoiceItemCustomFieldsNoContent) IsServerError ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) IsServerError() bool
IsServerError returns true when this modify invoice item custom fields no content response has a 5xx status code
func (*ModifyInvoiceItemCustomFieldsNoContent) IsSuccess ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) IsSuccess() bool
IsSuccess returns true when this modify invoice item custom fields no content response has a 2xx status code
func (*ModifyInvoiceItemCustomFieldsNoContent) String ¶
func (o *ModifyInvoiceItemCustomFieldsNoContent) String() string
type ModifyInvoiceItemCustomFieldsParams ¶
type ModifyInvoiceItemCustomFieldsParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body []*kbmodel.CustomField // InvoiceItemID. // // Format: uuid InvoiceItemID 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 }
ModifyInvoiceItemCustomFieldsParams contains all the parameters to send to the API endpoint
for the modify invoice item custom fields operation. Typically these are written to a http.Request.
func NewModifyInvoiceItemCustomFieldsParams ¶
func NewModifyInvoiceItemCustomFieldsParams() *ModifyInvoiceItemCustomFieldsParams
NewModifyInvoiceItemCustomFieldsParams creates a new ModifyInvoiceItemCustomFieldsParams 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 NewModifyInvoiceItemCustomFieldsParamsWithContext ¶
func NewModifyInvoiceItemCustomFieldsParamsWithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams
NewModifyInvoiceItemCustomFieldsParamsWithContext creates a new ModifyInvoiceItemCustomFieldsParams object with the ability to set a context for a request.
func NewModifyInvoiceItemCustomFieldsParamsWithHTTPClient ¶
func NewModifyInvoiceItemCustomFieldsParamsWithHTTPClient(client *http.Client) *ModifyInvoiceItemCustomFieldsParams
NewModifyInvoiceItemCustomFieldsParamsWithHTTPClient creates a new ModifyInvoiceItemCustomFieldsParams object with the ability to set a custom HTTPClient for a request.
func NewModifyInvoiceItemCustomFieldsParamsWithTimeout ¶
func NewModifyInvoiceItemCustomFieldsParamsWithTimeout(timeout time.Duration) *ModifyInvoiceItemCustomFieldsParams
NewModifyInvoiceItemCustomFieldsParamsWithTimeout creates a new ModifyInvoiceItemCustomFieldsParams object with the ability to set a timeout on a request.
func (*ModifyInvoiceItemCustomFieldsParams) SetBody ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetBody(body []*kbmodel.CustomField)
SetBody adds the body to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) SetContext ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) SetDefaults ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the modify invoice item custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyInvoiceItemCustomFieldsParams) SetHTTPClient ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) SetInvoiceItemID ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetInvoiceItemID(invoiceItemID strfmt.UUID)
SetInvoiceItemID adds the invoiceItemId to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) SetTimeout ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) SetXKillbillComment ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) SetXKillbillReason ¶
func (o *ModifyInvoiceItemCustomFieldsParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithBody ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithBody(body []*kbmodel.CustomField) *ModifyInvoiceItemCustomFieldsParams
WithBody adds the body to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithContext ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithContext(ctx context.Context) *ModifyInvoiceItemCustomFieldsParams
WithContext adds the context to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithDefaults ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithDefaults() *ModifyInvoiceItemCustomFieldsParams
WithDefaults hydrates default values in the modify invoice item custom fields params (not the query body).
All values with no default are reset to their zero value.
func (*ModifyInvoiceItemCustomFieldsParams) WithHTTPClient ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithHTTPClient(client *http.Client) *ModifyInvoiceItemCustomFieldsParams
WithHTTPClient adds the HTTPClient to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithInvoiceItemID ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithInvoiceItemID(invoiceItemID strfmt.UUID) *ModifyInvoiceItemCustomFieldsParams
WithInvoiceItemID adds the invoiceItemID to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithTimeout ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithTimeout(timeout time.Duration) *ModifyInvoiceItemCustomFieldsParams
WithTimeout adds the timeout to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithXKillbillComment ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillComment(xKillbillComment *string) *ModifyInvoiceItemCustomFieldsParams
WithXKillbillComment adds the xKillbillComment to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *ModifyInvoiceItemCustomFieldsParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WithXKillbillReason ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WithXKillbillReason(xKillbillReason *string) *ModifyInvoiceItemCustomFieldsParams
WithXKillbillReason adds the xKillbillReason to the modify invoice item custom fields params
func (*ModifyInvoiceItemCustomFieldsParams) WriteToRequest ¶
func (o *ModifyInvoiceItemCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyInvoiceItemCustomFieldsReader ¶
type ModifyInvoiceItemCustomFieldsReader struct {
// contains filtered or unexported fields
}
ModifyInvoiceItemCustomFieldsReader is a Reader for the ModifyInvoiceItemCustomFields structure.
func (*ModifyInvoiceItemCustomFieldsReader) ReadResponse ¶
func (o *ModifyInvoiceItemCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_invoice_item_custom_fields_parameters.go
- create_invoice_item_custom_fields_responses.go
- create_invoice_item_tags_parameters.go
- create_invoice_item_tags_responses.go
- delete_invoice_item_custom_fields_parameters.go
- delete_invoice_item_custom_fields_responses.go
- delete_invoice_item_tags_parameters.go
- delete_invoice_item_tags_responses.go
- get_invoice_item_audit_logs_with_history_parameters.go
- get_invoice_item_audit_logs_with_history_responses.go
- get_invoice_item_custom_fields_parameters.go
- get_invoice_item_custom_fields_responses.go
- get_invoice_item_tags_parameters.go
- get_invoice_item_tags_responses.go
- invoice_item_client.go
- modify_invoice_item_custom_fields_parameters.go
- modify_invoice_item_custom_fields_responses.go