Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCustomFieldAuditLogsWithHistory(ctx context.Context, params *GetCustomFieldAuditLogsWithHistoryParams) (*GetCustomFieldAuditLogsWithHistoryOK, error)
- func (a *Client) GetCustomFields(ctx context.Context, params *GetCustomFieldsParams) (*GetCustomFieldsOK, error)
- func (a *Client) SearchCustomFields(ctx context.Context, params *SearchCustomFieldsParams) (*SearchCustomFieldsOK, error)
- func (a *Client) SearchCustomFieldsByTypeName(ctx context.Context, params *SearchCustomFieldsByTypeNameParams) (*SearchCustomFieldsByTypeNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetCustomFieldAuditLogsWithHistoryNotFound
- type GetCustomFieldAuditLogsWithHistoryOK
- type GetCustomFieldAuditLogsWithHistoryParams
- func NewGetCustomFieldAuditLogsWithHistoryParams() *GetCustomFieldAuditLogsWithHistoryParams
- func NewGetCustomFieldAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetCustomFieldAuditLogsWithHistoryParams
- func NewGetCustomFieldAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetCustomFieldAuditLogsWithHistoryParams
- func NewGetCustomFieldAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetCustomFieldAuditLogsWithHistoryParams
- func (o *GetCustomFieldAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetCustomFieldAuditLogsWithHistoryParams) SetCustomFieldID(customFieldID strfmt.UUID)
- func (o *GetCustomFieldAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomFieldAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomFieldAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetCustomFieldAuditLogsWithHistoryParams
- func (o *GetCustomFieldAuditLogsWithHistoryParams) WithCustomFieldID(customFieldID strfmt.UUID) *GetCustomFieldAuditLogsWithHistoryParams
- func (o *GetCustomFieldAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetCustomFieldAuditLogsWithHistoryParams
- func (o *GetCustomFieldAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetCustomFieldAuditLogsWithHistoryParams
- func (o *GetCustomFieldAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomFieldAuditLogsWithHistoryReader
- type GetCustomFieldsOK
- type GetCustomFieldsParams
- func NewGetCustomFieldsParams() *GetCustomFieldsParams
- func NewGetCustomFieldsParamsWithContext(ctx context.Context) *GetCustomFieldsParams
- func NewGetCustomFieldsParamsWithHTTPClient(client *http.Client) *GetCustomFieldsParams
- func NewGetCustomFieldsParamsWithTimeout(timeout time.Duration) *GetCustomFieldsParams
- func (o *GetCustomFieldsParams) SetAudit(audit *string)
- func (o *GetCustomFieldsParams) SetContext(ctx context.Context)
- func (o *GetCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomFieldsParams) SetLimit(limit *int64)
- func (o *GetCustomFieldsParams) SetOffset(offset *int64)
- func (o *GetCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomFieldsParams) WithAudit(audit *string) *GetCustomFieldsParams
- func (o *GetCustomFieldsParams) WithContext(ctx context.Context) *GetCustomFieldsParams
- func (o *GetCustomFieldsParams) WithHTTPClient(client *http.Client) *GetCustomFieldsParams
- func (o *GetCustomFieldsParams) WithLimit(limit *int64) *GetCustomFieldsParams
- func (o *GetCustomFieldsParams) WithOffset(offset *int64) *GetCustomFieldsParams
- func (o *GetCustomFieldsParams) WithTimeout(timeout time.Duration) *GetCustomFieldsParams
- func (o *GetCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomFieldsReader
- type ICustomField
- type KillbillDefaults
- type SearchCustomFieldsByTypeNameOK
- type SearchCustomFieldsByTypeNameParams
- func NewSearchCustomFieldsByTypeNameParams() *SearchCustomFieldsByTypeNameParams
- func NewSearchCustomFieldsByTypeNameParamsWithContext(ctx context.Context) *SearchCustomFieldsByTypeNameParams
- func NewSearchCustomFieldsByTypeNameParamsWithHTTPClient(client *http.Client) *SearchCustomFieldsByTypeNameParams
- func NewSearchCustomFieldsByTypeNameParamsWithTimeout(timeout time.Duration) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) SetAudit(audit *string)
- func (o *SearchCustomFieldsByTypeNameParams) SetContext(ctx context.Context)
- func (o *SearchCustomFieldsByTypeNameParams) SetFieldName(fieldName *string)
- func (o *SearchCustomFieldsByTypeNameParams) SetFieldValue(fieldValue *string)
- func (o *SearchCustomFieldsByTypeNameParams) SetHTTPClient(client *http.Client)
- func (o *SearchCustomFieldsByTypeNameParams) SetLimit(limit *int64)
- func (o *SearchCustomFieldsByTypeNameParams) SetObjectType(objectType *string)
- func (o *SearchCustomFieldsByTypeNameParams) SetOffset(offset *int64)
- func (o *SearchCustomFieldsByTypeNameParams) SetTimeout(timeout time.Duration)
- func (o *SearchCustomFieldsByTypeNameParams) WithAudit(audit *string) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WithContext(ctx context.Context) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WithFieldName(fieldName *string) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WithFieldValue(fieldValue *string) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WithHTTPClient(client *http.Client) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WithLimit(limit *int64) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WithObjectType(objectType *string) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WithOffset(offset *int64) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WithTimeout(timeout time.Duration) *SearchCustomFieldsByTypeNameParams
- func (o *SearchCustomFieldsByTypeNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchCustomFieldsByTypeNameReader
- type SearchCustomFieldsOK
- type SearchCustomFieldsParams
- func NewSearchCustomFieldsParams() *SearchCustomFieldsParams
- func NewSearchCustomFieldsParamsWithContext(ctx context.Context) *SearchCustomFieldsParams
- func NewSearchCustomFieldsParamsWithHTTPClient(client *http.Client) *SearchCustomFieldsParams
- func NewSearchCustomFieldsParamsWithTimeout(timeout time.Duration) *SearchCustomFieldsParams
- func (o *SearchCustomFieldsParams) SetAudit(audit *string)
- func (o *SearchCustomFieldsParams) SetContext(ctx context.Context)
- func (o *SearchCustomFieldsParams) SetHTTPClient(client *http.Client)
- func (o *SearchCustomFieldsParams) SetLimit(limit *int64)
- func (o *SearchCustomFieldsParams) SetOffset(offset *int64)
- func (o *SearchCustomFieldsParams) SetSearchKey(searchKey string)
- func (o *SearchCustomFieldsParams) SetTimeout(timeout time.Duration)
- func (o *SearchCustomFieldsParams) WithAudit(audit *string) *SearchCustomFieldsParams
- func (o *SearchCustomFieldsParams) WithContext(ctx context.Context) *SearchCustomFieldsParams
- func (o *SearchCustomFieldsParams) WithHTTPClient(client *http.Client) *SearchCustomFieldsParams
- func (o *SearchCustomFieldsParams) WithLimit(limit *int64) *SearchCustomFieldsParams
- func (o *SearchCustomFieldsParams) WithOffset(offset *int64) *SearchCustomFieldsParams
- func (o *SearchCustomFieldsParams) WithSearchKey(searchKey string) *SearchCustomFieldsParams
- func (o *SearchCustomFieldsParams) WithTimeout(timeout time.Duration) *SearchCustomFieldsParams
- func (o *SearchCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchCustomFieldsReader
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 custom field API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new custom field API client.
func (*Client) GetCustomFieldAuditLogsWithHistory ¶
func (a *Client) GetCustomFieldAuditLogsWithHistory(ctx context.Context, params *GetCustomFieldAuditLogsWithHistoryParams) (*GetCustomFieldAuditLogsWithHistoryOK, error)
GetCustomFieldAuditLogsWithHistory retrieves custom field audit logs with history by id
resource description
func (*Client) GetCustomFields ¶
func (a *Client) GetCustomFields(ctx context.Context, params *GetCustomFieldsParams) (*GetCustomFieldsOK, error)
GetCustomFields lists custom fields
resource description
func (*Client) SearchCustomFields ¶
func (a *Client) SearchCustomFields(ctx context.Context, params *SearchCustomFieldsParams) (*SearchCustomFieldsOK, error)
SearchCustomFields searches custom fields
resource description
func (*Client) SearchCustomFieldsByTypeName ¶
func (a *Client) SearchCustomFieldsByTypeName(ctx context.Context, params *SearchCustomFieldsByTypeNameParams) (*SearchCustomFieldsByTypeNameOK, error)
SearchCustomFieldsByTypeName searches custom fields by type name and optional value
resource description
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetCustomFieldAuditLogsWithHistoryNotFound ¶
type GetCustomFieldAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetCustomFieldAuditLogsWithHistoryNotFound handles this case with default header values.
Account not found
func NewGetCustomFieldAuditLogsWithHistoryNotFound ¶
func NewGetCustomFieldAuditLogsWithHistoryNotFound() *GetCustomFieldAuditLogsWithHistoryNotFound
NewGetCustomFieldAuditLogsWithHistoryNotFound creates a GetCustomFieldAuditLogsWithHistoryNotFound with default headers values
func (*GetCustomFieldAuditLogsWithHistoryNotFound) Error ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) Error() string
type GetCustomFieldAuditLogsWithHistoryOK ¶
type GetCustomFieldAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetCustomFieldAuditLogsWithHistoryOK handles this case with default header values.
successful operation
func NewGetCustomFieldAuditLogsWithHistoryOK ¶
func NewGetCustomFieldAuditLogsWithHistoryOK() *GetCustomFieldAuditLogsWithHistoryOK
NewGetCustomFieldAuditLogsWithHistoryOK creates a GetCustomFieldAuditLogsWithHistoryOK with default headers values
func (*GetCustomFieldAuditLogsWithHistoryOK) Error ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) Error() string
func (*GetCustomFieldAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
type GetCustomFieldAuditLogsWithHistoryParams ¶
type GetCustomFieldAuditLogsWithHistoryParams struct { /*CustomFieldID*/ CustomFieldID 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 }
GetCustomFieldAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint for the get custom field audit logs with history operation typically these are written to a http.Request
func NewGetCustomFieldAuditLogsWithHistoryParams ¶
func NewGetCustomFieldAuditLogsWithHistoryParams() *GetCustomFieldAuditLogsWithHistoryParams
NewGetCustomFieldAuditLogsWithHistoryParams creates a new GetCustomFieldAuditLogsWithHistoryParams object with the default values initialized.
func NewGetCustomFieldAuditLogsWithHistoryParamsWithContext ¶
func NewGetCustomFieldAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetCustomFieldAuditLogsWithHistoryParams
NewGetCustomFieldAuditLogsWithHistoryParamsWithContext creates a new GetCustomFieldAuditLogsWithHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetCustomFieldAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetCustomFieldAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetCustomFieldAuditLogsWithHistoryParams
NewGetCustomFieldAuditLogsWithHistoryParamsWithHTTPClient creates a new GetCustomFieldAuditLogsWithHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCustomFieldAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetCustomFieldAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetCustomFieldAuditLogsWithHistoryParams
NewGetCustomFieldAuditLogsWithHistoryParamsWithTimeout creates a new GetCustomFieldAuditLogsWithHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCustomFieldAuditLogsWithHistoryParams) SetContext ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get custom field audit logs with history params
func (*GetCustomFieldAuditLogsWithHistoryParams) SetCustomFieldID ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) SetCustomFieldID(customFieldID strfmt.UUID)
SetCustomFieldID adds the customFieldId to the get custom field audit logs with history params
func (*GetCustomFieldAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get custom field audit logs with history params
func (*GetCustomFieldAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get custom field audit logs with history params
func (*GetCustomFieldAuditLogsWithHistoryParams) WithContext ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetCustomFieldAuditLogsWithHistoryParams
WithContext adds the context to the get custom field audit logs with history params
func (*GetCustomFieldAuditLogsWithHistoryParams) WithCustomFieldID ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) WithCustomFieldID(customFieldID strfmt.UUID) *GetCustomFieldAuditLogsWithHistoryParams
WithCustomFieldID adds the customFieldID to the get custom field audit logs with history params
func (*GetCustomFieldAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetCustomFieldAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get custom field audit logs with history params
func (*GetCustomFieldAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetCustomFieldAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get custom field audit logs with history params
func (*GetCustomFieldAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomFieldAuditLogsWithHistoryReader ¶
type GetCustomFieldAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetCustomFieldAuditLogsWithHistoryReader is a Reader for the GetCustomFieldAuditLogsWithHistory structure.
func (*GetCustomFieldAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetCustomFieldAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCustomFieldsOK ¶
type GetCustomFieldsOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
GetCustomFieldsOK handles this case with default header values.
successful operation
func NewGetCustomFieldsOK ¶
func NewGetCustomFieldsOK() *GetCustomFieldsOK
NewGetCustomFieldsOK creates a GetCustomFieldsOK with default headers values
func (*GetCustomFieldsOK) Error ¶
func (o *GetCustomFieldsOK) Error() string
func (*GetCustomFieldsOK) GetPayload ¶
func (o *GetCustomFieldsOK) GetPayload() []*kbmodel.CustomField
type GetCustomFieldsParams ¶
type GetCustomFieldsParams struct { /*Audit*/ Audit *string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetCustomFieldsParams contains all the parameters to send to the API endpoint for the get custom fields operation typically these are written to a http.Request
func NewGetCustomFieldsParams ¶
func NewGetCustomFieldsParams() *GetCustomFieldsParams
NewGetCustomFieldsParams creates a new GetCustomFieldsParams object with the default values initialized.
func NewGetCustomFieldsParamsWithContext ¶
func NewGetCustomFieldsParamsWithContext(ctx context.Context) *GetCustomFieldsParams
NewGetCustomFieldsParamsWithContext creates a new GetCustomFieldsParams object with the default values initialized, and the ability to set a context for a request
func NewGetCustomFieldsParamsWithHTTPClient ¶
func NewGetCustomFieldsParamsWithHTTPClient(client *http.Client) *GetCustomFieldsParams
NewGetCustomFieldsParamsWithHTTPClient creates a new GetCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCustomFieldsParamsWithTimeout ¶
func NewGetCustomFieldsParamsWithTimeout(timeout time.Duration) *GetCustomFieldsParams
NewGetCustomFieldsParamsWithTimeout creates a new GetCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCustomFieldsParams) SetAudit ¶
func (o *GetCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the get custom fields params
func (*GetCustomFieldsParams) SetContext ¶
func (o *GetCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the get custom fields params
func (*GetCustomFieldsParams) SetHTTPClient ¶
func (o *GetCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get custom fields params
func (*GetCustomFieldsParams) SetLimit ¶
func (o *GetCustomFieldsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get custom fields params
func (*GetCustomFieldsParams) SetOffset ¶
func (o *GetCustomFieldsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get custom fields params
func (*GetCustomFieldsParams) SetTimeout ¶
func (o *GetCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get custom fields params
func (*GetCustomFieldsParams) WithAudit ¶
func (o *GetCustomFieldsParams) WithAudit(audit *string) *GetCustomFieldsParams
WithAudit adds the audit to the get custom fields params
func (*GetCustomFieldsParams) WithContext ¶
func (o *GetCustomFieldsParams) WithContext(ctx context.Context) *GetCustomFieldsParams
WithContext adds the context to the get custom fields params
func (*GetCustomFieldsParams) WithHTTPClient ¶
func (o *GetCustomFieldsParams) WithHTTPClient(client *http.Client) *GetCustomFieldsParams
WithHTTPClient adds the HTTPClient to the get custom fields params
func (*GetCustomFieldsParams) WithLimit ¶
func (o *GetCustomFieldsParams) WithLimit(limit *int64) *GetCustomFieldsParams
WithLimit adds the limit to the get custom fields params
func (*GetCustomFieldsParams) WithOffset ¶
func (o *GetCustomFieldsParams) WithOffset(offset *int64) *GetCustomFieldsParams
WithOffset adds the offset to the get custom fields params
func (*GetCustomFieldsParams) WithTimeout ¶
func (o *GetCustomFieldsParams) WithTimeout(timeout time.Duration) *GetCustomFieldsParams
WithTimeout adds the timeout to the get custom fields params
func (*GetCustomFieldsParams) WriteToRequest ¶
func (o *GetCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomFieldsReader ¶
type GetCustomFieldsReader struct {
// contains filtered or unexported fields
}
GetCustomFieldsReader is a Reader for the GetCustomFields structure.
func (*GetCustomFieldsReader) ReadResponse ¶
func (o *GetCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ICustomField ¶
type ICustomField interface { /* GetCustomFieldAuditLogsWithHistory retrieves custom field audit logs with history by id resource description */ GetCustomFieldAuditLogsWithHistory(ctx context.Context, params *GetCustomFieldAuditLogsWithHistoryParams) (*GetCustomFieldAuditLogsWithHistoryOK, error) /* GetCustomFields lists custom fields resource description */ GetCustomFields(ctx context.Context, params *GetCustomFieldsParams) (*GetCustomFieldsOK, error) /* SearchCustomFields searches custom fields resource description */ SearchCustomFields(ctx context.Context, params *SearchCustomFieldsParams) (*SearchCustomFieldsOK, error) /* SearchCustomFieldsByTypeName searches custom fields by type name and optional value resource description */ SearchCustomFieldsByTypeName(ctx context.Context, params *SearchCustomFieldsByTypeNameParams) (*SearchCustomFieldsByTypeNameOK, error) }
ICustomField - interface for CustomField client.
type KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default 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 SearchCustomFieldsByTypeNameOK ¶
type SearchCustomFieldsByTypeNameOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
SearchCustomFieldsByTypeNameOK handles this case with default header values.
successful operation
func NewSearchCustomFieldsByTypeNameOK ¶
func NewSearchCustomFieldsByTypeNameOK() *SearchCustomFieldsByTypeNameOK
NewSearchCustomFieldsByTypeNameOK creates a SearchCustomFieldsByTypeNameOK with default headers values
func (*SearchCustomFieldsByTypeNameOK) Error ¶
func (o *SearchCustomFieldsByTypeNameOK) Error() string
func (*SearchCustomFieldsByTypeNameOK) GetPayload ¶
func (o *SearchCustomFieldsByTypeNameOK) GetPayload() []*kbmodel.CustomField
type SearchCustomFieldsByTypeNameParams ¶
type SearchCustomFieldsByTypeNameParams struct { /*Audit*/ Audit *string /*FieldName*/ FieldName *string /*FieldValue*/ FieldValue *string /*Limit*/ Limit *int64 /*ObjectType*/ ObjectType *string /*Offset*/ Offset *int64 WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
SearchCustomFieldsByTypeNameParams contains all the parameters to send to the API endpoint for the search custom fields by type name operation typically these are written to a http.Request
func NewSearchCustomFieldsByTypeNameParams ¶
func NewSearchCustomFieldsByTypeNameParams() *SearchCustomFieldsByTypeNameParams
NewSearchCustomFieldsByTypeNameParams creates a new SearchCustomFieldsByTypeNameParams object with the default values initialized.
func NewSearchCustomFieldsByTypeNameParamsWithContext ¶
func NewSearchCustomFieldsByTypeNameParamsWithContext(ctx context.Context) *SearchCustomFieldsByTypeNameParams
NewSearchCustomFieldsByTypeNameParamsWithContext creates a new SearchCustomFieldsByTypeNameParams object with the default values initialized, and the ability to set a context for a request
func NewSearchCustomFieldsByTypeNameParamsWithHTTPClient ¶
func NewSearchCustomFieldsByTypeNameParamsWithHTTPClient(client *http.Client) *SearchCustomFieldsByTypeNameParams
NewSearchCustomFieldsByTypeNameParamsWithHTTPClient creates a new SearchCustomFieldsByTypeNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchCustomFieldsByTypeNameParamsWithTimeout ¶
func NewSearchCustomFieldsByTypeNameParamsWithTimeout(timeout time.Duration) *SearchCustomFieldsByTypeNameParams
NewSearchCustomFieldsByTypeNameParamsWithTimeout creates a new SearchCustomFieldsByTypeNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchCustomFieldsByTypeNameParams) SetAudit ¶
func (o *SearchCustomFieldsByTypeNameParams) SetAudit(audit *string)
SetAudit adds the audit to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) SetContext ¶
func (o *SearchCustomFieldsByTypeNameParams) SetContext(ctx context.Context)
SetContext adds the context to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) SetFieldName ¶
func (o *SearchCustomFieldsByTypeNameParams) SetFieldName(fieldName *string)
SetFieldName adds the fieldName to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) SetFieldValue ¶
func (o *SearchCustomFieldsByTypeNameParams) SetFieldValue(fieldValue *string)
SetFieldValue adds the fieldValue to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) SetHTTPClient ¶
func (o *SearchCustomFieldsByTypeNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) SetLimit ¶
func (o *SearchCustomFieldsByTypeNameParams) SetLimit(limit *int64)
SetLimit adds the limit to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) SetObjectType ¶
func (o *SearchCustomFieldsByTypeNameParams) SetObjectType(objectType *string)
SetObjectType adds the objectType to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) SetOffset ¶
func (o *SearchCustomFieldsByTypeNameParams) SetOffset(offset *int64)
SetOffset adds the offset to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) SetTimeout ¶
func (o *SearchCustomFieldsByTypeNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithAudit ¶
func (o *SearchCustomFieldsByTypeNameParams) WithAudit(audit *string) *SearchCustomFieldsByTypeNameParams
WithAudit adds the audit to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithContext ¶
func (o *SearchCustomFieldsByTypeNameParams) WithContext(ctx context.Context) *SearchCustomFieldsByTypeNameParams
WithContext adds the context to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithFieldName ¶
func (o *SearchCustomFieldsByTypeNameParams) WithFieldName(fieldName *string) *SearchCustomFieldsByTypeNameParams
WithFieldName adds the fieldName to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithFieldValue ¶
func (o *SearchCustomFieldsByTypeNameParams) WithFieldValue(fieldValue *string) *SearchCustomFieldsByTypeNameParams
WithFieldValue adds the fieldValue to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithHTTPClient ¶
func (o *SearchCustomFieldsByTypeNameParams) WithHTTPClient(client *http.Client) *SearchCustomFieldsByTypeNameParams
WithHTTPClient adds the HTTPClient to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithLimit ¶
func (o *SearchCustomFieldsByTypeNameParams) WithLimit(limit *int64) *SearchCustomFieldsByTypeNameParams
WithLimit adds the limit to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithObjectType ¶
func (o *SearchCustomFieldsByTypeNameParams) WithObjectType(objectType *string) *SearchCustomFieldsByTypeNameParams
WithObjectType adds the objectType to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithOffset ¶
func (o *SearchCustomFieldsByTypeNameParams) WithOffset(offset *int64) *SearchCustomFieldsByTypeNameParams
WithOffset adds the offset to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WithTimeout ¶
func (o *SearchCustomFieldsByTypeNameParams) WithTimeout(timeout time.Duration) *SearchCustomFieldsByTypeNameParams
WithTimeout adds the timeout to the search custom fields by type name params
func (*SearchCustomFieldsByTypeNameParams) WriteToRequest ¶
func (o *SearchCustomFieldsByTypeNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchCustomFieldsByTypeNameReader ¶
type SearchCustomFieldsByTypeNameReader struct {
// contains filtered or unexported fields
}
SearchCustomFieldsByTypeNameReader is a Reader for the SearchCustomFieldsByTypeName structure.
func (*SearchCustomFieldsByTypeNameReader) ReadResponse ¶
func (o *SearchCustomFieldsByTypeNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchCustomFieldsOK ¶
type SearchCustomFieldsOK struct { Payload []*kbmodel.CustomField HttpResponse runtime.ClientResponse }
SearchCustomFieldsOK handles this case with default header values.
successful operation
func NewSearchCustomFieldsOK ¶
func NewSearchCustomFieldsOK() *SearchCustomFieldsOK
NewSearchCustomFieldsOK creates a SearchCustomFieldsOK with default headers values
func (*SearchCustomFieldsOK) Error ¶
func (o *SearchCustomFieldsOK) Error() string
func (*SearchCustomFieldsOK) GetPayload ¶
func (o *SearchCustomFieldsOK) GetPayload() []*kbmodel.CustomField
type SearchCustomFieldsParams ¶
type SearchCustomFieldsParams struct { /*Audit*/ Audit *string /*Limit*/ Limit *int64 /*Offset*/ Offset *int64 /*SearchKey*/ SearchKey string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
SearchCustomFieldsParams contains all the parameters to send to the API endpoint for the search custom fields operation typically these are written to a http.Request
func NewSearchCustomFieldsParams ¶
func NewSearchCustomFieldsParams() *SearchCustomFieldsParams
NewSearchCustomFieldsParams creates a new SearchCustomFieldsParams object with the default values initialized.
func NewSearchCustomFieldsParamsWithContext ¶
func NewSearchCustomFieldsParamsWithContext(ctx context.Context) *SearchCustomFieldsParams
NewSearchCustomFieldsParamsWithContext creates a new SearchCustomFieldsParams object with the default values initialized, and the ability to set a context for a request
func NewSearchCustomFieldsParamsWithHTTPClient ¶
func NewSearchCustomFieldsParamsWithHTTPClient(client *http.Client) *SearchCustomFieldsParams
NewSearchCustomFieldsParamsWithHTTPClient creates a new SearchCustomFieldsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSearchCustomFieldsParamsWithTimeout ¶
func NewSearchCustomFieldsParamsWithTimeout(timeout time.Duration) *SearchCustomFieldsParams
NewSearchCustomFieldsParamsWithTimeout creates a new SearchCustomFieldsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SearchCustomFieldsParams) SetAudit ¶
func (o *SearchCustomFieldsParams) SetAudit(audit *string)
SetAudit adds the audit to the search custom fields params
func (*SearchCustomFieldsParams) SetContext ¶
func (o *SearchCustomFieldsParams) SetContext(ctx context.Context)
SetContext adds the context to the search custom fields params
func (*SearchCustomFieldsParams) SetHTTPClient ¶
func (o *SearchCustomFieldsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search custom fields params
func (*SearchCustomFieldsParams) SetLimit ¶
func (o *SearchCustomFieldsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search custom fields params
func (*SearchCustomFieldsParams) SetOffset ¶
func (o *SearchCustomFieldsParams) SetOffset(offset *int64)
SetOffset adds the offset to the search custom fields params
func (*SearchCustomFieldsParams) SetSearchKey ¶
func (o *SearchCustomFieldsParams) SetSearchKey(searchKey string)
SetSearchKey adds the searchKey to the search custom fields params
func (*SearchCustomFieldsParams) SetTimeout ¶
func (o *SearchCustomFieldsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search custom fields params
func (*SearchCustomFieldsParams) WithAudit ¶
func (o *SearchCustomFieldsParams) WithAudit(audit *string) *SearchCustomFieldsParams
WithAudit adds the audit to the search custom fields params
func (*SearchCustomFieldsParams) WithContext ¶
func (o *SearchCustomFieldsParams) WithContext(ctx context.Context) *SearchCustomFieldsParams
WithContext adds the context to the search custom fields params
func (*SearchCustomFieldsParams) WithHTTPClient ¶
func (o *SearchCustomFieldsParams) WithHTTPClient(client *http.Client) *SearchCustomFieldsParams
WithHTTPClient adds the HTTPClient to the search custom fields params
func (*SearchCustomFieldsParams) WithLimit ¶
func (o *SearchCustomFieldsParams) WithLimit(limit *int64) *SearchCustomFieldsParams
WithLimit adds the limit to the search custom fields params
func (*SearchCustomFieldsParams) WithOffset ¶
func (o *SearchCustomFieldsParams) WithOffset(offset *int64) *SearchCustomFieldsParams
WithOffset adds the offset to the search custom fields params
func (*SearchCustomFieldsParams) WithSearchKey ¶
func (o *SearchCustomFieldsParams) WithSearchKey(searchKey string) *SearchCustomFieldsParams
WithSearchKey adds the searchKey to the search custom fields params
func (*SearchCustomFieldsParams) WithTimeout ¶
func (o *SearchCustomFieldsParams) WithTimeout(timeout time.Duration) *SearchCustomFieldsParams
WithTimeout adds the timeout to the search custom fields params
func (*SearchCustomFieldsParams) WriteToRequest ¶
func (o *SearchCustomFieldsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchCustomFieldsReader ¶
type SearchCustomFieldsReader struct {
// contains filtered or unexported fields
}
SearchCustomFieldsReader is a Reader for the SearchCustomFields structure.
func (*SearchCustomFieldsReader) ReadResponse ¶
func (o *SearchCustomFieldsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- custom_field_client.go
- get_custom_field_audit_logs_with_history_parameters.go
- get_custom_field_audit_logs_with_history_responses.go
- get_custom_fields_parameters.go
- get_custom_fields_responses.go
- search_custom_fields_by_type_name_parameters.go
- search_custom_fields_by_type_name_responses.go
- search_custom_fields_parameters.go
- search_custom_fields_responses.go