Documentation ¶
Index ¶
- type Client
- func (a *Client) GetTagAuditLogsWithHistory(ctx context.Context, params *GetTagAuditLogsWithHistoryParams) (*GetTagAuditLogsWithHistoryOK, error)
- func (a *Client) GetTags(ctx context.Context, params *GetTagsParams) (*GetTagsOK, error)
- func (a *Client) SearchTags(ctx context.Context, params *SearchTagsParams) (*SearchTagsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetTagAuditLogsWithHistoryNotFound
- func (o *GetTagAuditLogsWithHistoryNotFound) Code() int
- func (o *GetTagAuditLogsWithHistoryNotFound) Error() string
- func (o *GetTagAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetTagAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetTagAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetTagAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetTagAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetTagAuditLogsWithHistoryNotFound) String() string
- type GetTagAuditLogsWithHistoryOK
- func (o *GetTagAuditLogsWithHistoryOK) Code() int
- func (o *GetTagAuditLogsWithHistoryOK) Error() string
- func (o *GetTagAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetTagAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetTagAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetTagAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetTagAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetTagAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetTagAuditLogsWithHistoryOK) String() string
- type GetTagAuditLogsWithHistoryParams
- func NewGetTagAuditLogsWithHistoryParams() *GetTagAuditLogsWithHistoryParams
- func NewGetTagAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTagAuditLogsWithHistoryParams
- func NewGetTagAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetTagAuditLogsWithHistoryParams
- func NewGetTagAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetTagAuditLogsWithHistoryParams
- func (o *GetTagAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetTagAuditLogsWithHistoryParams) SetDefaults()
- func (o *GetTagAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetTagAuditLogsWithHistoryParams) SetTagID(tagID strfmt.UUID)
- func (o *GetTagAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetTagAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetTagAuditLogsWithHistoryParams
- func (o *GetTagAuditLogsWithHistoryParams) WithDefaults() *GetTagAuditLogsWithHistoryParams
- func (o *GetTagAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetTagAuditLogsWithHistoryParams
- func (o *GetTagAuditLogsWithHistoryParams) WithTagID(tagID strfmt.UUID) *GetTagAuditLogsWithHistoryParams
- func (o *GetTagAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetTagAuditLogsWithHistoryParams
- func (o *GetTagAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTagAuditLogsWithHistoryReader
- type GetTagsOK
- func (o *GetTagsOK) Code() int
- func (o *GetTagsOK) Error() string
- func (o *GetTagsOK) GetPayload() []*kbmodel.Tag
- func (o *GetTagsOK) IsClientError() bool
- func (o *GetTagsOK) IsCode(code int) bool
- func (o *GetTagsOK) IsRedirect() bool
- func (o *GetTagsOK) IsServerError() bool
- func (o *GetTagsOK) IsSuccess() bool
- func (o *GetTagsOK) String() string
- type GetTagsParams
- func (o *GetTagsParams) SetAudit(audit *string)
- func (o *GetTagsParams) SetContext(ctx context.Context)
- func (o *GetTagsParams) SetDefaults()
- func (o *GetTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetTagsParams) SetLimit(limit *int64)
- func (o *GetTagsParams) SetOffset(offset *int64)
- func (o *GetTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetTagsParams) WithAudit(audit *string) *GetTagsParams
- func (o *GetTagsParams) WithContext(ctx context.Context) *GetTagsParams
- func (o *GetTagsParams) WithDefaults() *GetTagsParams
- func (o *GetTagsParams) WithHTTPClient(client *http.Client) *GetTagsParams
- func (o *GetTagsParams) WithLimit(limit *int64) *GetTagsParams
- func (o *GetTagsParams) WithOffset(offset *int64) *GetTagsParams
- func (o *GetTagsParams) WithTimeout(timeout time.Duration) *GetTagsParams
- func (o *GetTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTagsReader
- type KillbillDefaults
- type SearchTagsOK
- func (o *SearchTagsOK) Code() int
- func (o *SearchTagsOK) Error() string
- func (o *SearchTagsOK) GetPayload() []*kbmodel.Tag
- func (o *SearchTagsOK) IsClientError() bool
- func (o *SearchTagsOK) IsCode(code int) bool
- func (o *SearchTagsOK) IsRedirect() bool
- func (o *SearchTagsOK) IsServerError() bool
- func (o *SearchTagsOK) IsSuccess() bool
- func (o *SearchTagsOK) String() string
- type SearchTagsParams
- func (o *SearchTagsParams) SetAudit(audit *string)
- func (o *SearchTagsParams) SetContext(ctx context.Context)
- func (o *SearchTagsParams) SetDefaults()
- func (o *SearchTagsParams) SetHTTPClient(client *http.Client)
- func (o *SearchTagsParams) SetLimit(limit *int64)
- func (o *SearchTagsParams) SetOffset(offset *int64)
- func (o *SearchTagsParams) SetSearchKey(searchKey string)
- func (o *SearchTagsParams) SetTimeout(timeout time.Duration)
- func (o *SearchTagsParams) WithAudit(audit *string) *SearchTagsParams
- func (o *SearchTagsParams) WithContext(ctx context.Context) *SearchTagsParams
- func (o *SearchTagsParams) WithDefaults() *SearchTagsParams
- func (o *SearchTagsParams) WithHTTPClient(client *http.Client) *SearchTagsParams
- func (o *SearchTagsParams) WithLimit(limit *int64) *SearchTagsParams
- func (o *SearchTagsParams) WithOffset(offset *int64) *SearchTagsParams
- func (o *SearchTagsParams) WithSearchKey(searchKey string) *SearchTagsParams
- func (o *SearchTagsParams) WithTimeout(timeout time.Duration) *SearchTagsParams
- func (o *SearchTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchTagsReader
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 tag API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new tag API client.
func (*Client) GetTagAuditLogsWithHistory ¶
func (a *Client) GetTagAuditLogsWithHistory(ctx context.Context, params *GetTagAuditLogsWithHistoryParams) (*GetTagAuditLogsWithHistoryOK, error)
GetTagAuditLogsWithHistory retrieves tag audit logs with history by id
func (*Client) SearchTags ¶
func (a *Client) SearchTags(ctx context.Context, params *SearchTagsParams) (*SearchTagsOK, error)
SearchTags searches tags
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 { GetTagAuditLogsWithHistory(ctx context.Context, params *GetTagAuditLogsWithHistoryParams) (*GetTagAuditLogsWithHistoryOK, error) GetTags(ctx context.Context, params *GetTagsParams) (*GetTagsOK, error) SearchTags(ctx context.Context, params *SearchTagsParams) (*SearchTagsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
type GetTagAuditLogsWithHistoryNotFound ¶
type GetTagAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetTagAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Account not found
func NewGetTagAuditLogsWithHistoryNotFound ¶
func NewGetTagAuditLogsWithHistoryNotFound() *GetTagAuditLogsWithHistoryNotFound
NewGetTagAuditLogsWithHistoryNotFound creates a GetTagAuditLogsWithHistoryNotFound with default headers values
func (*GetTagAuditLogsWithHistoryNotFound) Code ¶
func (o *GetTagAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get tag audit logs with history not found response
func (*GetTagAuditLogsWithHistoryNotFound) Error ¶
func (o *GetTagAuditLogsWithHistoryNotFound) Error() string
func (*GetTagAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetTagAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get tag audit logs with history not found response has a 4xx status code
func (*GetTagAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetTagAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get tag audit logs with history not found response a status code equal to that given
func (*GetTagAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetTagAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get tag audit logs with history not found response has a 3xx status code
func (*GetTagAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetTagAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get tag audit logs with history not found response has a 5xx status code
func (*GetTagAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetTagAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get tag audit logs with history not found response has a 2xx status code
func (*GetTagAuditLogsWithHistoryNotFound) String ¶
func (o *GetTagAuditLogsWithHistoryNotFound) String() string
type GetTagAuditLogsWithHistoryOK ¶
type GetTagAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetTagAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetTagAuditLogsWithHistoryOK ¶
func NewGetTagAuditLogsWithHistoryOK() *GetTagAuditLogsWithHistoryOK
NewGetTagAuditLogsWithHistoryOK creates a GetTagAuditLogsWithHistoryOK with default headers values
func (*GetTagAuditLogsWithHistoryOK) Code ¶
func (o *GetTagAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get tag audit logs with history o k response
func (*GetTagAuditLogsWithHistoryOK) Error ¶
func (o *GetTagAuditLogsWithHistoryOK) Error() string
func (*GetTagAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetTagAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetTagAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetTagAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get tag audit logs with history o k response has a 4xx status code
func (*GetTagAuditLogsWithHistoryOK) IsCode ¶
func (o *GetTagAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get tag audit logs with history o k response a status code equal to that given
func (*GetTagAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetTagAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get tag audit logs with history o k response has a 3xx status code
func (*GetTagAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetTagAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get tag audit logs with history o k response has a 5xx status code
func (*GetTagAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetTagAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get tag audit logs with history o k response has a 2xx status code
func (*GetTagAuditLogsWithHistoryOK) String ¶
func (o *GetTagAuditLogsWithHistoryOK) String() string
type GetTagAuditLogsWithHistoryParams ¶
type GetTagAuditLogsWithHistoryParams struct { // TagID. // // Format: uuid TagID 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 }
GetTagAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get tag audit logs with history operation. Typically these are written to a http.Request.
func NewGetTagAuditLogsWithHistoryParams ¶
func NewGetTagAuditLogsWithHistoryParams() *GetTagAuditLogsWithHistoryParams
NewGetTagAuditLogsWithHistoryParams creates a new GetTagAuditLogsWithHistoryParams 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 NewGetTagAuditLogsWithHistoryParamsWithContext ¶
func NewGetTagAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTagAuditLogsWithHistoryParams
NewGetTagAuditLogsWithHistoryParamsWithContext creates a new GetTagAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetTagAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetTagAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetTagAuditLogsWithHistoryParams
NewGetTagAuditLogsWithHistoryParamsWithHTTPClient creates a new GetTagAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetTagAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetTagAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetTagAuditLogsWithHistoryParams
NewGetTagAuditLogsWithHistoryParamsWithTimeout creates a new GetTagAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetTagAuditLogsWithHistoryParams) SetContext ¶
func (o *GetTagAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get tag audit logs with history params
func (*GetTagAuditLogsWithHistoryParams) SetDefaults ¶
func (o *GetTagAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get tag audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetTagAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tag audit logs with history params
func (*GetTagAuditLogsWithHistoryParams) SetTagID ¶
func (o *GetTagAuditLogsWithHistoryParams) SetTagID(tagID strfmt.UUID)
SetTagID adds the tagId to the get tag audit logs with history params
func (*GetTagAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetTagAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tag audit logs with history params
func (*GetTagAuditLogsWithHistoryParams) WithContext ¶
func (o *GetTagAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetTagAuditLogsWithHistoryParams
WithContext adds the context to the get tag audit logs with history params
func (*GetTagAuditLogsWithHistoryParams) WithDefaults ¶
func (o *GetTagAuditLogsWithHistoryParams) WithDefaults() *GetTagAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get tag audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetTagAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetTagAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get tag audit logs with history params
func (*GetTagAuditLogsWithHistoryParams) WithTagID ¶
func (o *GetTagAuditLogsWithHistoryParams) WithTagID(tagID strfmt.UUID) *GetTagAuditLogsWithHistoryParams
WithTagID adds the tagID to the get tag audit logs with history params
func (*GetTagAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetTagAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetTagAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get tag audit logs with history params
func (*GetTagAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetTagAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagAuditLogsWithHistoryReader ¶
type GetTagAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetTagAuditLogsWithHistoryReader is a Reader for the GetTagAuditLogsWithHistory structure.
func (*GetTagAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetTagAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTagsOK ¶
type GetTagsOK struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
GetTagsOK describes a response with status code 200, with default header values.
successful operation
func NewGetTagsOK ¶
func NewGetTagsOK() *GetTagsOK
NewGetTagsOK creates a GetTagsOK with default headers values
func (*GetTagsOK) GetPayload ¶
func (*GetTagsOK) IsClientError ¶
IsClientError returns true when this get tags o k response has a 4xx status code
func (*GetTagsOK) IsCode ¶
IsCode returns true when this get tags o k response a status code equal to that given
func (*GetTagsOK) IsRedirect ¶
IsRedirect returns true when this get tags o k response has a 3xx status code
func (*GetTagsOK) IsServerError ¶
IsServerError returns true when this get tags o k response has a 5xx status code
type GetTagsParams ¶
type GetTagsParams 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 }
GetTagsParams contains all the parameters to send to the API endpoint
for the get tags operation. Typically these are written to a http.Request.
func NewGetTagsParams ¶
func NewGetTagsParams() *GetTagsParams
NewGetTagsParams creates a new GetTagsParams 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 NewGetTagsParamsWithContext ¶
func NewGetTagsParamsWithContext(ctx context.Context) *GetTagsParams
NewGetTagsParamsWithContext creates a new GetTagsParams object with the ability to set a context for a request.
func NewGetTagsParamsWithHTTPClient ¶
func NewGetTagsParamsWithHTTPClient(client *http.Client) *GetTagsParams
NewGetTagsParamsWithHTTPClient creates a new GetTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetTagsParamsWithTimeout ¶
func NewGetTagsParamsWithTimeout(timeout time.Duration) *GetTagsParams
NewGetTagsParamsWithTimeout creates a new GetTagsParams object with the ability to set a timeout on a request.
func (*GetTagsParams) SetAudit ¶
func (o *GetTagsParams) SetAudit(audit *string)
SetAudit adds the audit to the get tags params
func (*GetTagsParams) SetContext ¶
func (o *GetTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get tags params
func (*GetTagsParams) SetDefaults ¶
func (o *GetTagsParams) SetDefaults()
SetDefaults hydrates default values in the get tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagsParams) SetHTTPClient ¶
func (o *GetTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tags params
func (*GetTagsParams) SetLimit ¶
func (o *GetTagsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get tags params
func (*GetTagsParams) SetOffset ¶
func (o *GetTagsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get tags params
func (*GetTagsParams) SetTimeout ¶
func (o *GetTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tags params
func (*GetTagsParams) WithAudit ¶
func (o *GetTagsParams) WithAudit(audit *string) *GetTagsParams
WithAudit adds the audit to the get tags params
func (*GetTagsParams) WithContext ¶
func (o *GetTagsParams) WithContext(ctx context.Context) *GetTagsParams
WithContext adds the context to the get tags params
func (*GetTagsParams) WithDefaults ¶
func (o *GetTagsParams) WithDefaults() *GetTagsParams
WithDefaults hydrates default values in the get tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagsParams) WithHTTPClient ¶
func (o *GetTagsParams) WithHTTPClient(client *http.Client) *GetTagsParams
WithHTTPClient adds the HTTPClient to the get tags params
func (*GetTagsParams) WithLimit ¶
func (o *GetTagsParams) WithLimit(limit *int64) *GetTagsParams
WithLimit adds the limit to the get tags params
func (*GetTagsParams) WithOffset ¶
func (o *GetTagsParams) WithOffset(offset *int64) *GetTagsParams
WithOffset adds the offset to the get tags params
func (*GetTagsParams) WithTimeout ¶
func (o *GetTagsParams) WithTimeout(timeout time.Duration) *GetTagsParams
WithTimeout adds the timeout to the get tags params
func (*GetTagsParams) WriteToRequest ¶
func (o *GetTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagsReader ¶
type GetTagsReader struct {
// contains filtered or unexported fields
}
GetTagsReader is a Reader for the GetTags structure.
func (*GetTagsReader) ReadResponse ¶
func (o *GetTagsReader) 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 SearchTagsOK ¶
type SearchTagsOK struct { Payload []*kbmodel.Tag HttpResponse runtime.ClientResponse }
SearchTagsOK describes a response with status code 200, with default header values.
successful operation
func NewSearchTagsOK ¶
func NewSearchTagsOK() *SearchTagsOK
NewSearchTagsOK creates a SearchTagsOK with default headers values
func (*SearchTagsOK) Code ¶
func (o *SearchTagsOK) Code() int
Code gets the status code for the search tags o k response
func (*SearchTagsOK) Error ¶
func (o *SearchTagsOK) Error() string
func (*SearchTagsOK) GetPayload ¶
func (o *SearchTagsOK) GetPayload() []*kbmodel.Tag
func (*SearchTagsOK) IsClientError ¶
func (o *SearchTagsOK) IsClientError() bool
IsClientError returns true when this search tags o k response has a 4xx status code
func (*SearchTagsOK) IsCode ¶
func (o *SearchTagsOK) IsCode(code int) bool
IsCode returns true when this search tags o k response a status code equal to that given
func (*SearchTagsOK) IsRedirect ¶
func (o *SearchTagsOK) IsRedirect() bool
IsRedirect returns true when this search tags o k response has a 3xx status code
func (*SearchTagsOK) IsServerError ¶
func (o *SearchTagsOK) IsServerError() bool
IsServerError returns true when this search tags o k response has a 5xx status code
func (*SearchTagsOK) IsSuccess ¶
func (o *SearchTagsOK) IsSuccess() bool
IsSuccess returns true when this search tags o k response has a 2xx status code
func (*SearchTagsOK) String ¶
func (o *SearchTagsOK) String() string
type SearchTagsParams ¶
type SearchTagsParams 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 }
SearchTagsParams contains all the parameters to send to the API endpoint
for the search tags operation. Typically these are written to a http.Request.
func NewSearchTagsParams ¶
func NewSearchTagsParams() *SearchTagsParams
NewSearchTagsParams creates a new SearchTagsParams 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 NewSearchTagsParamsWithContext ¶
func NewSearchTagsParamsWithContext(ctx context.Context) *SearchTagsParams
NewSearchTagsParamsWithContext creates a new SearchTagsParams object with the ability to set a context for a request.
func NewSearchTagsParamsWithHTTPClient ¶
func NewSearchTagsParamsWithHTTPClient(client *http.Client) *SearchTagsParams
NewSearchTagsParamsWithHTTPClient creates a new SearchTagsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchTagsParamsWithTimeout ¶
func NewSearchTagsParamsWithTimeout(timeout time.Duration) *SearchTagsParams
NewSearchTagsParamsWithTimeout creates a new SearchTagsParams object with the ability to set a timeout on a request.
func (*SearchTagsParams) SetAudit ¶
func (o *SearchTagsParams) SetAudit(audit *string)
SetAudit adds the audit to the search tags params
func (*SearchTagsParams) SetContext ¶
func (o *SearchTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the search tags params
func (*SearchTagsParams) SetDefaults ¶
func (o *SearchTagsParams) SetDefaults()
SetDefaults hydrates default values in the search tags params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTagsParams) SetHTTPClient ¶
func (o *SearchTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search tags params
func (*SearchTagsParams) SetLimit ¶
func (o *SearchTagsParams) SetLimit(limit *int64)
SetLimit adds the limit to the search tags params
func (*SearchTagsParams) SetOffset ¶
func (o *SearchTagsParams) SetOffset(offset *int64)
SetOffset adds the offset to the search tags params
func (*SearchTagsParams) SetSearchKey ¶
func (o *SearchTagsParams) SetSearchKey(searchKey string)
SetSearchKey adds the searchKey to the search tags params
func (*SearchTagsParams) SetTimeout ¶
func (o *SearchTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search tags params
func (*SearchTagsParams) WithAudit ¶
func (o *SearchTagsParams) WithAudit(audit *string) *SearchTagsParams
WithAudit adds the audit to the search tags params
func (*SearchTagsParams) WithContext ¶
func (o *SearchTagsParams) WithContext(ctx context.Context) *SearchTagsParams
WithContext adds the context to the search tags params
func (*SearchTagsParams) WithDefaults ¶
func (o *SearchTagsParams) WithDefaults() *SearchTagsParams
WithDefaults hydrates default values in the search tags params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTagsParams) WithHTTPClient ¶
func (o *SearchTagsParams) WithHTTPClient(client *http.Client) *SearchTagsParams
WithHTTPClient adds the HTTPClient to the search tags params
func (*SearchTagsParams) WithLimit ¶
func (o *SearchTagsParams) WithLimit(limit *int64) *SearchTagsParams
WithLimit adds the limit to the search tags params
func (*SearchTagsParams) WithOffset ¶
func (o *SearchTagsParams) WithOffset(offset *int64) *SearchTagsParams
WithOffset adds the offset to the search tags params
func (*SearchTagsParams) WithSearchKey ¶
func (o *SearchTagsParams) WithSearchKey(searchKey string) *SearchTagsParams
WithSearchKey adds the searchKey to the search tags params
func (*SearchTagsParams) WithTimeout ¶
func (o *SearchTagsParams) WithTimeout(timeout time.Duration) *SearchTagsParams
WithTimeout adds the timeout to the search tags params
func (*SearchTagsParams) WriteToRequest ¶
func (o *SearchTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchTagsReader ¶
type SearchTagsReader struct {
// contains filtered or unexported fields
}
SearchTagsReader is a Reader for the SearchTags structure.
func (*SearchTagsReader) ReadResponse ¶
func (o *SearchTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.