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 ClientOption
- type ClientService
- type GetCustomFieldAuditLogsWithHistoryNotFound
- func (o *GetCustomFieldAuditLogsWithHistoryNotFound) Code() int
- func (o *GetCustomFieldAuditLogsWithHistoryNotFound) Error() string
- func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetCustomFieldAuditLogsWithHistoryNotFound) String() string
- type GetCustomFieldAuditLogsWithHistoryOK
- func (o *GetCustomFieldAuditLogsWithHistoryOK) Code() int
- func (o *GetCustomFieldAuditLogsWithHistoryOK) Error() string
- func (o *GetCustomFieldAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetCustomFieldAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetCustomFieldAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetCustomFieldAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetCustomFieldAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetCustomFieldAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetCustomFieldAuditLogsWithHistoryOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetCustomFieldsOK) Code() int
- func (o *GetCustomFieldsOK) Error() string
- func (o *GetCustomFieldsOK) GetPayload() []*kbmodel.CustomField
- func (o *GetCustomFieldsOK) IsClientError() bool
- func (o *GetCustomFieldsOK) IsCode(code int) bool
- func (o *GetCustomFieldsOK) IsRedirect() bool
- func (o *GetCustomFieldsOK) IsServerError() bool
- func (o *GetCustomFieldsOK) IsSuccess() bool
- func (o *GetCustomFieldsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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 KillbillDefaults
- type SearchCustomFieldsByTypeNameOK
- func (o *SearchCustomFieldsByTypeNameOK) Code() int
- func (o *SearchCustomFieldsByTypeNameOK) Error() string
- func (o *SearchCustomFieldsByTypeNameOK) GetPayload() []*kbmodel.CustomField
- func (o *SearchCustomFieldsByTypeNameOK) IsClientError() bool
- func (o *SearchCustomFieldsByTypeNameOK) IsCode(code int) bool
- func (o *SearchCustomFieldsByTypeNameOK) IsRedirect() bool
- func (o *SearchCustomFieldsByTypeNameOK) IsServerError() bool
- func (o *SearchCustomFieldsByTypeNameOK) IsSuccess() bool
- func (o *SearchCustomFieldsByTypeNameOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *SearchCustomFieldsOK) Code() int
- func (o *SearchCustomFieldsOK) Error() string
- func (o *SearchCustomFieldsOK) GetPayload() []*kbmodel.CustomField
- func (o *SearchCustomFieldsOK) IsClientError() bool
- func (o *SearchCustomFieldsOK) IsCode(code int) bool
- func (o *SearchCustomFieldsOK) IsRedirect() bool
- func (o *SearchCustomFieldsOK) IsServerError() bool
- func (o *SearchCustomFieldsOK) IsSuccess() bool
- func (o *SearchCustomFieldsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
func (*Client) GetCustomFields ¶
func (a *Client) GetCustomFields(ctx context.Context, params *GetCustomFieldsParams) (*GetCustomFieldsOK, error)
GetCustomFields lists custom fields
func (*Client) SearchCustomFields ¶
func (a *Client) SearchCustomFields(ctx context.Context, params *SearchCustomFieldsParams) (*SearchCustomFieldsOK, error)
SearchCustomFields searches custom fields
func (*Client) SearchCustomFieldsByTypeName ¶
func (a *Client) SearchCustomFieldsByTypeName(ctx context.Context, params *SearchCustomFieldsByTypeNameParams) (*SearchCustomFieldsByTypeNameOK, error)
SearchCustomFieldsByTypeName searches custom fields by type name and optional value
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 {
GetCustomFieldAuditLogsWithHistory(ctx context.Context, params *GetCustomFieldAuditLogsWithHistoryParams) (*GetCustomFieldAuditLogsWithHistoryOK, error)
GetCustomFields(ctx context.Context, params *GetCustomFieldsParams) (*GetCustomFieldsOK, error)
SearchCustomFields(ctx context.Context, params *SearchCustomFieldsParams) (*SearchCustomFieldsOK, error)
SearchCustomFieldsByTypeName(ctx context.Context, params *SearchCustomFieldsByTypeNameParams) (*SearchCustomFieldsByTypeNameOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
type GetCustomFieldAuditLogsWithHistoryNotFound ¶
type GetCustomFieldAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetCustomFieldAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Account not found
func NewGetCustomFieldAuditLogsWithHistoryNotFound ¶
func NewGetCustomFieldAuditLogsWithHistoryNotFound() *GetCustomFieldAuditLogsWithHistoryNotFound
NewGetCustomFieldAuditLogsWithHistoryNotFound creates a GetCustomFieldAuditLogsWithHistoryNotFound with default headers values
func (*GetCustomFieldAuditLogsWithHistoryNotFound) Code ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get custom field audit logs with history not found response
func (*GetCustomFieldAuditLogsWithHistoryNotFound) Error ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) Error() string
func (*GetCustomFieldAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get custom field audit logs with history not found response has a 4xx status code
func (*GetCustomFieldAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get custom field audit logs with history not found response a status code equal to that given
func (*GetCustomFieldAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get custom field audit logs with history not found response has a 3xx status code
func (*GetCustomFieldAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get custom field audit logs with history not found response has a 5xx status code
func (*GetCustomFieldAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get custom field audit logs with history not found response has a 2xx status code
func (*GetCustomFieldAuditLogsWithHistoryNotFound) String ¶
func (o *GetCustomFieldAuditLogsWithHistoryNotFound) String() string
type GetCustomFieldAuditLogsWithHistoryOK ¶
type GetCustomFieldAuditLogsWithHistoryOK struct {
Payload []*kbmodel.AuditLog
HttpResponse runtime.ClientResponse
}
GetCustomFieldAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetCustomFieldAuditLogsWithHistoryOK ¶
func NewGetCustomFieldAuditLogsWithHistoryOK() *GetCustomFieldAuditLogsWithHistoryOK
NewGetCustomFieldAuditLogsWithHistoryOK creates a GetCustomFieldAuditLogsWithHistoryOK with default headers values
func (*GetCustomFieldAuditLogsWithHistoryOK) Code ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get custom field audit logs with history o k response
func (*GetCustomFieldAuditLogsWithHistoryOK) Error ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) Error() string
func (*GetCustomFieldAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetCustomFieldAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get custom field audit logs with history o k response has a 4xx status code
func (*GetCustomFieldAuditLogsWithHistoryOK) IsCode ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get custom field audit logs with history o k response a status code equal to that given
func (*GetCustomFieldAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get custom field audit logs with history o k response has a 3xx status code
func (*GetCustomFieldAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get custom field audit logs with history o k response has a 5xx status code
func (*GetCustomFieldAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get custom field audit logs with history o k response has a 2xx status code
func (*GetCustomFieldAuditLogsWithHistoryOK) String ¶
func (o *GetCustomFieldAuditLogsWithHistoryOK) String() string
type GetCustomFieldAuditLogsWithHistoryParams ¶
type GetCustomFieldAuditLogsWithHistoryParams struct {
// CustomFieldID.
//
// Format: uuid
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 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 NewGetCustomFieldAuditLogsWithHistoryParamsWithContext ¶
func NewGetCustomFieldAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetCustomFieldAuditLogsWithHistoryParams
NewGetCustomFieldAuditLogsWithHistoryParamsWithContext creates a new GetCustomFieldAuditLogsWithHistoryParams object with 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 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 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) SetDefaults ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get custom field audit logs with history params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetCustomFieldAuditLogsWithHistoryParams) WithDefaults() *GetCustomFieldAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get custom field audit logs with history params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 200, with default header values.
successful operation
func NewGetCustomFieldsOK ¶
func NewGetCustomFieldsOK() *GetCustomFieldsOK
NewGetCustomFieldsOK creates a GetCustomFieldsOK with default headers values
func (*GetCustomFieldsOK) Code ¶
func (o *GetCustomFieldsOK) Code() int
Code gets the status code for the get custom fields o k response
func (*GetCustomFieldsOK) Error ¶
func (o *GetCustomFieldsOK) Error() string
func (*GetCustomFieldsOK) GetPayload ¶
func (o *GetCustomFieldsOK) GetPayload() []*kbmodel.CustomField
func (*GetCustomFieldsOK) IsClientError ¶
func (o *GetCustomFieldsOK) IsClientError() bool
IsClientError returns true when this get custom fields o k response has a 4xx status code
func (*GetCustomFieldsOK) IsCode ¶
func (o *GetCustomFieldsOK) IsCode(code int) bool
IsCode returns true when this get custom fields o k response a status code equal to that given
func (*GetCustomFieldsOK) IsRedirect ¶
func (o *GetCustomFieldsOK) IsRedirect() bool
IsRedirect returns true when this get custom fields o k response has a 3xx status code
func (*GetCustomFieldsOK) IsServerError ¶
func (o *GetCustomFieldsOK) IsServerError() bool
IsServerError returns true when this get custom fields o k response has a 5xx status code
func (*GetCustomFieldsOK) IsSuccess ¶
func (o *GetCustomFieldsOK) IsSuccess() bool
IsSuccess returns true when this get custom fields o k response has a 2xx status code
func (*GetCustomFieldsOK) String ¶
func (o *GetCustomFieldsOK) String() string
type GetCustomFieldsParams ¶
type GetCustomFieldsParams struct {
// Audit.
//
// Default: "NONE"
Audit *string
// Limit.
//
// Format: int64
// Default: 100
Limit *int64
// Offset.
//
// Format: int64
Offset *int64
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
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 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 NewGetCustomFieldsParamsWithContext ¶
func NewGetCustomFieldsParamsWithContext(ctx context.Context) *GetCustomFieldsParams
NewGetCustomFieldsParamsWithContext creates a new GetCustomFieldsParams object with 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 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 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) SetDefaults ¶
func (o *GetCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the get custom fields params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetCustomFieldsParams) WithDefaults() *GetCustomFieldsParams
WithDefaults hydrates default values in the get custom fields params (not the query body).
All values with no default are reset to their zero value.
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 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 describes a response with status code 200, with default header values.
successful operation
func NewSearchCustomFieldsByTypeNameOK ¶
func NewSearchCustomFieldsByTypeNameOK() *SearchCustomFieldsByTypeNameOK
NewSearchCustomFieldsByTypeNameOK creates a SearchCustomFieldsByTypeNameOK with default headers values
func (*SearchCustomFieldsByTypeNameOK) Code ¶
func (o *SearchCustomFieldsByTypeNameOK) Code() int
Code gets the status code for the search custom fields by type name o k response
func (*SearchCustomFieldsByTypeNameOK) Error ¶
func (o *SearchCustomFieldsByTypeNameOK) Error() string
func (*SearchCustomFieldsByTypeNameOK) GetPayload ¶
func (o *SearchCustomFieldsByTypeNameOK) GetPayload() []*kbmodel.CustomField
func (*SearchCustomFieldsByTypeNameOK) IsClientError ¶
func (o *SearchCustomFieldsByTypeNameOK) IsClientError() bool
IsClientError returns true when this search custom fields by type name o k response has a 4xx status code
func (*SearchCustomFieldsByTypeNameOK) IsCode ¶
func (o *SearchCustomFieldsByTypeNameOK) IsCode(code int) bool
IsCode returns true when this search custom fields by type name o k response a status code equal to that given
func (*SearchCustomFieldsByTypeNameOK) IsRedirect ¶
func (o *SearchCustomFieldsByTypeNameOK) IsRedirect() bool
IsRedirect returns true when this search custom fields by type name o k response has a 3xx status code
func (*SearchCustomFieldsByTypeNameOK) IsServerError ¶
func (o *SearchCustomFieldsByTypeNameOK) IsServerError() bool
IsServerError returns true when this search custom fields by type name o k response has a 5xx status code
func (*SearchCustomFieldsByTypeNameOK) IsSuccess ¶
func (o *SearchCustomFieldsByTypeNameOK) IsSuccess() bool
IsSuccess returns true when this search custom fields by type name o k response has a 2xx status code
func (*SearchCustomFieldsByTypeNameOK) String ¶
func (o *SearchCustomFieldsByTypeNameOK) String() string
type SearchCustomFieldsByTypeNameParams ¶
type SearchCustomFieldsByTypeNameParams struct {
// Audit.
//
// Default: "NONE"
Audit *string
// FieldName.
FieldName *string
// FieldValue.
FieldValue *string
// Limit.
//
// Format: int64
// Default: 100
Limit *int64
// ObjectType.
ObjectType *string
// Offset.
//
// Format: int64
Offset *int64
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
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 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 NewSearchCustomFieldsByTypeNameParamsWithContext ¶
func NewSearchCustomFieldsByTypeNameParamsWithContext(ctx context.Context) *SearchCustomFieldsByTypeNameParams
NewSearchCustomFieldsByTypeNameParamsWithContext creates a new SearchCustomFieldsByTypeNameParams object with 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 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 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) SetDefaults ¶
func (o *SearchCustomFieldsByTypeNameParams) SetDefaults()
SetDefaults hydrates default values in the search custom fields by type name params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *SearchCustomFieldsByTypeNameParams) WithDefaults() *SearchCustomFieldsByTypeNameParams
WithDefaults hydrates default values in the search custom fields by type name params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 200, with default header values.
successful operation
func NewSearchCustomFieldsOK ¶
func NewSearchCustomFieldsOK() *SearchCustomFieldsOK
NewSearchCustomFieldsOK creates a SearchCustomFieldsOK with default headers values
func (*SearchCustomFieldsOK) Code ¶
func (o *SearchCustomFieldsOK) Code() int
Code gets the status code for the search custom fields o k response
func (*SearchCustomFieldsOK) Error ¶
func (o *SearchCustomFieldsOK) Error() string
func (*SearchCustomFieldsOK) GetPayload ¶
func (o *SearchCustomFieldsOK) GetPayload() []*kbmodel.CustomField
func (*SearchCustomFieldsOK) IsClientError ¶
func (o *SearchCustomFieldsOK) IsClientError() bool
IsClientError returns true when this search custom fields o k response has a 4xx status code
func (*SearchCustomFieldsOK) IsCode ¶
func (o *SearchCustomFieldsOK) IsCode(code int) bool
IsCode returns true when this search custom fields o k response a status code equal to that given
func (*SearchCustomFieldsOK) IsRedirect ¶
func (o *SearchCustomFieldsOK) IsRedirect() bool
IsRedirect returns true when this search custom fields o k response has a 3xx status code
func (*SearchCustomFieldsOK) IsServerError ¶
func (o *SearchCustomFieldsOK) IsServerError() bool
IsServerError returns true when this search custom fields o k response has a 5xx status code
func (*SearchCustomFieldsOK) IsSuccess ¶
func (o *SearchCustomFieldsOK) IsSuccess() bool
IsSuccess returns true when this search custom fields o k response has a 2xx status code
func (*SearchCustomFieldsOK) String ¶
func (o *SearchCustomFieldsOK) String() string
type SearchCustomFieldsParams ¶
type SearchCustomFieldsParams struct {
// Audit.
//
// Default: "NONE"
Audit *string
// Limit.
//
// Format: int64
// Default: 100
Limit *int64
// Offset.
//
// Format: int64
Offset *int64
// SearchKey.
SearchKey string
WithProfilingInfo *string // If set, return KB hprof headers
WithStackTrace *bool // If set, returns full stack trace with error message
Context context.Context
HTTPClient *http.Client
ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource.
// contains filtered or unexported fields
}
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 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 NewSearchCustomFieldsParamsWithContext ¶
func NewSearchCustomFieldsParamsWithContext(ctx context.Context) *SearchCustomFieldsParams
NewSearchCustomFieldsParamsWithContext creates a new SearchCustomFieldsParams object with 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 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 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) SetDefaults ¶
func (o *SearchCustomFieldsParams) SetDefaults()
SetDefaults hydrates default values in the search custom fields params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *SearchCustomFieldsParams) WithDefaults() *SearchCustomFieldsParams
WithDefaults hydrates default values in the search custom fields params (not the query body).
All values with no default are reset to their zero value.
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