Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateTagDefinition(ctx context.Context, params *CreateTagDefinitionParams) (*CreateTagDefinitionCreated, error)
- func (a *Client) DeleteTagDefinition(ctx context.Context, params *DeleteTagDefinitionParams) (*DeleteTagDefinitionNoContent, error)
- func (a *Client) GetTagDefinition(ctx context.Context, params *GetTagDefinitionParams) (*GetTagDefinitionOK, error)
- func (a *Client) GetTagDefinitionAuditLogsWithHistory(ctx context.Context, params *GetTagDefinitionAuditLogsWithHistoryParams) (*GetTagDefinitionAuditLogsWithHistoryOK, error)
- func (a *Client) GetTagDefinitions(ctx context.Context, params *GetTagDefinitionsParams) (*GetTagDefinitionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateTagDefinitionBadRequest
- func (o *CreateTagDefinitionBadRequest) Code() int
- func (o *CreateTagDefinitionBadRequest) Error() string
- func (o *CreateTagDefinitionBadRequest) IsClientError() bool
- func (o *CreateTagDefinitionBadRequest) IsCode(code int) bool
- func (o *CreateTagDefinitionBadRequest) IsRedirect() bool
- func (o *CreateTagDefinitionBadRequest) IsServerError() bool
- func (o *CreateTagDefinitionBadRequest) IsSuccess() bool
- func (o *CreateTagDefinitionBadRequest) String() string
- type CreateTagDefinitionCreated
- func (o *CreateTagDefinitionCreated) Code() int
- func (o *CreateTagDefinitionCreated) Error() string
- func (o *CreateTagDefinitionCreated) GetPayload() *kbmodel.TagDefinition
- func (o *CreateTagDefinitionCreated) IsClientError() bool
- func (o *CreateTagDefinitionCreated) IsCode(code int) bool
- func (o *CreateTagDefinitionCreated) IsRedirect() bool
- func (o *CreateTagDefinitionCreated) IsServerError() bool
- func (o *CreateTagDefinitionCreated) IsSuccess() bool
- func (o *CreateTagDefinitionCreated) String() string
- type CreateTagDefinitionParams
- func NewCreateTagDefinitionParams() *CreateTagDefinitionParams
- func NewCreateTagDefinitionParamsWithContext(ctx context.Context) *CreateTagDefinitionParams
- func NewCreateTagDefinitionParamsWithHTTPClient(client *http.Client) *CreateTagDefinitionParams
- func NewCreateTagDefinitionParamsWithTimeout(timeout time.Duration) *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) SetBody(body *kbmodel.TagDefinition)
- func (o *CreateTagDefinitionParams) SetContext(ctx context.Context)
- func (o *CreateTagDefinitionParams) SetDefaults()
- func (o *CreateTagDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *CreateTagDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *CreateTagDefinitionParams) SetXKillbillComment(xKillbillComment *string)
- func (o *CreateTagDefinitionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *CreateTagDefinitionParams) SetXKillbillReason(xKillbillReason *string)
- func (o *CreateTagDefinitionParams) WithBody(body *kbmodel.TagDefinition) *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) WithContext(ctx context.Context) *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) WithDefaults() *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) WithHTTPClient(client *http.Client) *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) WithTimeout(timeout time.Duration) *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) WithXKillbillComment(xKillbillComment *string) *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) WithXKillbillReason(xKillbillReason *string) *CreateTagDefinitionParams
- func (o *CreateTagDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTagDefinitionReader
- type DeleteTagDefinitionBadRequest
- func (o *DeleteTagDefinitionBadRequest) Code() int
- func (o *DeleteTagDefinitionBadRequest) Error() string
- func (o *DeleteTagDefinitionBadRequest) IsClientError() bool
- func (o *DeleteTagDefinitionBadRequest) IsCode(code int) bool
- func (o *DeleteTagDefinitionBadRequest) IsRedirect() bool
- func (o *DeleteTagDefinitionBadRequest) IsServerError() bool
- func (o *DeleteTagDefinitionBadRequest) IsSuccess() bool
- func (o *DeleteTagDefinitionBadRequest) String() string
- type DeleteTagDefinitionNoContent
- func (o *DeleteTagDefinitionNoContent) Code() int
- func (o *DeleteTagDefinitionNoContent) Error() string
- func (o *DeleteTagDefinitionNoContent) IsClientError() bool
- func (o *DeleteTagDefinitionNoContent) IsCode(code int) bool
- func (o *DeleteTagDefinitionNoContent) IsRedirect() bool
- func (o *DeleteTagDefinitionNoContent) IsServerError() bool
- func (o *DeleteTagDefinitionNoContent) IsSuccess() bool
- func (o *DeleteTagDefinitionNoContent) String() string
- type DeleteTagDefinitionParams
- func NewDeleteTagDefinitionParams() *DeleteTagDefinitionParams
- func NewDeleteTagDefinitionParamsWithContext(ctx context.Context) *DeleteTagDefinitionParams
- func NewDeleteTagDefinitionParamsWithHTTPClient(client *http.Client) *DeleteTagDefinitionParams
- func NewDeleteTagDefinitionParamsWithTimeout(timeout time.Duration) *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) SetContext(ctx context.Context)
- func (o *DeleteTagDefinitionParams) SetDefaults()
- func (o *DeleteTagDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTagDefinitionParams) SetTagDefinitionID(tagDefinitionID strfmt.UUID)
- func (o *DeleteTagDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTagDefinitionParams) SetXKillbillComment(xKillbillComment *string)
- func (o *DeleteTagDefinitionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
- func (o *DeleteTagDefinitionParams) SetXKillbillReason(xKillbillReason *string)
- func (o *DeleteTagDefinitionParams) WithContext(ctx context.Context) *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) WithDefaults() *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) WithHTTPClient(client *http.Client) *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) WithTagDefinitionID(tagDefinitionID strfmt.UUID) *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) WithTimeout(timeout time.Duration) *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) WithXKillbillComment(xKillbillComment *string) *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) WithXKillbillReason(xKillbillReason *string) *DeleteTagDefinitionParams
- func (o *DeleteTagDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTagDefinitionReader
- type GetTagDefinitionAuditLogsWithHistoryNotFound
- func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) Code() int
- func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) Error() string
- func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsClientError() bool
- func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsCode(code int) bool
- func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsRedirect() bool
- func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsServerError() bool
- func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsSuccess() bool
- func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) String() string
- type GetTagDefinitionAuditLogsWithHistoryOK
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) Code() int
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) Error() string
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsClientError() bool
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsCode(code int) bool
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsRedirect() bool
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsServerError() bool
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsSuccess() bool
- func (o *GetTagDefinitionAuditLogsWithHistoryOK) String() string
- type GetTagDefinitionAuditLogsWithHistoryParams
- func NewGetTagDefinitionAuditLogsWithHistoryParams() *GetTagDefinitionAuditLogsWithHistoryParams
- func NewGetTagDefinitionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTagDefinitionAuditLogsWithHistoryParams
- func NewGetTagDefinitionAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetTagDefinitionAuditLogsWithHistoryParams
- func NewGetTagDefinitionAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetTagDefinitionAuditLogsWithHistoryParams
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetContext(ctx context.Context)
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetDefaults()
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetTagDefinitionID(tagDefinitionID strfmt.UUID)
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetTagDefinitionAuditLogsWithHistoryParams
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithDefaults() *GetTagDefinitionAuditLogsWithHistoryParams
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetTagDefinitionAuditLogsWithHistoryParams
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithTagDefinitionID(tagDefinitionID strfmt.UUID) *GetTagDefinitionAuditLogsWithHistoryParams
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetTagDefinitionAuditLogsWithHistoryParams
- func (o *GetTagDefinitionAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTagDefinitionAuditLogsWithHistoryReader
- type GetTagDefinitionBadRequest
- func (o *GetTagDefinitionBadRequest) Code() int
- func (o *GetTagDefinitionBadRequest) Error() string
- func (o *GetTagDefinitionBadRequest) IsClientError() bool
- func (o *GetTagDefinitionBadRequest) IsCode(code int) bool
- func (o *GetTagDefinitionBadRequest) IsRedirect() bool
- func (o *GetTagDefinitionBadRequest) IsServerError() bool
- func (o *GetTagDefinitionBadRequest) IsSuccess() bool
- func (o *GetTagDefinitionBadRequest) String() string
- type GetTagDefinitionOK
- func (o *GetTagDefinitionOK) Code() int
- func (o *GetTagDefinitionOK) Error() string
- func (o *GetTagDefinitionOK) GetPayload() *kbmodel.TagDefinition
- func (o *GetTagDefinitionOK) IsClientError() bool
- func (o *GetTagDefinitionOK) IsCode(code int) bool
- func (o *GetTagDefinitionOK) IsRedirect() bool
- func (o *GetTagDefinitionOK) IsServerError() bool
- func (o *GetTagDefinitionOK) IsSuccess() bool
- func (o *GetTagDefinitionOK) String() string
- type GetTagDefinitionParams
- func NewGetTagDefinitionParams() *GetTagDefinitionParams
- func NewGetTagDefinitionParamsWithContext(ctx context.Context) *GetTagDefinitionParams
- func NewGetTagDefinitionParamsWithHTTPClient(client *http.Client) *GetTagDefinitionParams
- func NewGetTagDefinitionParamsWithTimeout(timeout time.Duration) *GetTagDefinitionParams
- func (o *GetTagDefinitionParams) SetAudit(audit *string)
- func (o *GetTagDefinitionParams) SetContext(ctx context.Context)
- func (o *GetTagDefinitionParams) SetDefaults()
- func (o *GetTagDefinitionParams) SetHTTPClient(client *http.Client)
- func (o *GetTagDefinitionParams) SetTagDefinitionID(tagDefinitionID strfmt.UUID)
- func (o *GetTagDefinitionParams) SetTimeout(timeout time.Duration)
- func (o *GetTagDefinitionParams) WithAudit(audit *string) *GetTagDefinitionParams
- func (o *GetTagDefinitionParams) WithContext(ctx context.Context) *GetTagDefinitionParams
- func (o *GetTagDefinitionParams) WithDefaults() *GetTagDefinitionParams
- func (o *GetTagDefinitionParams) WithHTTPClient(client *http.Client) *GetTagDefinitionParams
- func (o *GetTagDefinitionParams) WithTagDefinitionID(tagDefinitionID strfmt.UUID) *GetTagDefinitionParams
- func (o *GetTagDefinitionParams) WithTimeout(timeout time.Duration) *GetTagDefinitionParams
- func (o *GetTagDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTagDefinitionReader
- type GetTagDefinitionsOK
- func (o *GetTagDefinitionsOK) Code() int
- func (o *GetTagDefinitionsOK) Error() string
- func (o *GetTagDefinitionsOK) GetPayload() []*kbmodel.TagDefinition
- func (o *GetTagDefinitionsOK) IsClientError() bool
- func (o *GetTagDefinitionsOK) IsCode(code int) bool
- func (o *GetTagDefinitionsOK) IsRedirect() bool
- func (o *GetTagDefinitionsOK) IsServerError() bool
- func (o *GetTagDefinitionsOK) IsSuccess() bool
- func (o *GetTagDefinitionsOK) String() string
- type GetTagDefinitionsParams
- func NewGetTagDefinitionsParams() *GetTagDefinitionsParams
- func NewGetTagDefinitionsParamsWithContext(ctx context.Context) *GetTagDefinitionsParams
- func NewGetTagDefinitionsParamsWithHTTPClient(client *http.Client) *GetTagDefinitionsParams
- func NewGetTagDefinitionsParamsWithTimeout(timeout time.Duration) *GetTagDefinitionsParams
- func (o *GetTagDefinitionsParams) SetAudit(audit *string)
- func (o *GetTagDefinitionsParams) SetContext(ctx context.Context)
- func (o *GetTagDefinitionsParams) SetDefaults()
- func (o *GetTagDefinitionsParams) SetHTTPClient(client *http.Client)
- func (o *GetTagDefinitionsParams) SetTimeout(timeout time.Duration)
- func (o *GetTagDefinitionsParams) WithAudit(audit *string) *GetTagDefinitionsParams
- func (o *GetTagDefinitionsParams) WithContext(ctx context.Context) *GetTagDefinitionsParams
- func (o *GetTagDefinitionsParams) WithDefaults() *GetTagDefinitionsParams
- func (o *GetTagDefinitionsParams) WithHTTPClient(client *http.Client) *GetTagDefinitionsParams
- func (o *GetTagDefinitionsParams) WithTimeout(timeout time.Duration) *GetTagDefinitionsParams
- func (o *GetTagDefinitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTagDefinitionsReader
- type KillbillDefaults
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 definition API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter, defaults KillbillDefaults) *Client
New creates a new tag definition API client.
func (*Client) CreateTagDefinition ¶
func (a *Client) CreateTagDefinition(ctx context.Context, params *CreateTagDefinitionParams) (*CreateTagDefinitionCreated, error)
CreateTagDefinition creates a tag definition
func (*Client) DeleteTagDefinition ¶
func (a *Client) DeleteTagDefinition(ctx context.Context, params *DeleteTagDefinitionParams) (*DeleteTagDefinitionNoContent, error)
DeleteTagDefinition deletes a tag definition
func (*Client) GetTagDefinition ¶
func (a *Client) GetTagDefinition(ctx context.Context, params *GetTagDefinitionParams) (*GetTagDefinitionOK, error)
GetTagDefinition retrieves a tag definition
func (*Client) GetTagDefinitionAuditLogsWithHistory ¶
func (a *Client) GetTagDefinitionAuditLogsWithHistory(ctx context.Context, params *GetTagDefinitionAuditLogsWithHistoryParams) (*GetTagDefinitionAuditLogsWithHistoryOK, error)
GetTagDefinitionAuditLogsWithHistory retrieves tag definition audit logs with history by id
func (*Client) GetTagDefinitions ¶
func (a *Client) GetTagDefinitions(ctx context.Context, params *GetTagDefinitionsParams) (*GetTagDefinitionsOK, error)
GetTagDefinitions lists tag definitions
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 { CreateTagDefinition(ctx context.Context, params *CreateTagDefinitionParams) (*CreateTagDefinitionCreated, error) DeleteTagDefinition(ctx context.Context, params *DeleteTagDefinitionParams) (*DeleteTagDefinitionNoContent, error) GetTagDefinition(ctx context.Context, params *GetTagDefinitionParams) (*GetTagDefinitionOK, error) GetTagDefinitionAuditLogsWithHistory(ctx context.Context, params *GetTagDefinitionAuditLogsWithHistoryParams) (*GetTagDefinitionAuditLogsWithHistoryOK, error) GetTagDefinitions(ctx context.Context, params *GetTagDefinitionsParams) (*GetTagDefinitionsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
type CreateTagDefinitionBadRequest ¶
type CreateTagDefinitionBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateTagDefinitionBadRequest describes a response with status code 400, with default header values.
Invalid name or description supplied
func NewCreateTagDefinitionBadRequest ¶
func NewCreateTagDefinitionBadRequest() *CreateTagDefinitionBadRequest
NewCreateTagDefinitionBadRequest creates a CreateTagDefinitionBadRequest with default headers values
func (*CreateTagDefinitionBadRequest) Code ¶
func (o *CreateTagDefinitionBadRequest) Code() int
Code gets the status code for the create tag definition bad request response
func (*CreateTagDefinitionBadRequest) Error ¶
func (o *CreateTagDefinitionBadRequest) Error() string
func (*CreateTagDefinitionBadRequest) IsClientError ¶
func (o *CreateTagDefinitionBadRequest) IsClientError() bool
IsClientError returns true when this create tag definition bad request response has a 4xx status code
func (*CreateTagDefinitionBadRequest) IsCode ¶
func (o *CreateTagDefinitionBadRequest) IsCode(code int) bool
IsCode returns true when this create tag definition bad request response a status code equal to that given
func (*CreateTagDefinitionBadRequest) IsRedirect ¶
func (o *CreateTagDefinitionBadRequest) IsRedirect() bool
IsRedirect returns true when this create tag definition bad request response has a 3xx status code
func (*CreateTagDefinitionBadRequest) IsServerError ¶
func (o *CreateTagDefinitionBadRequest) IsServerError() bool
IsServerError returns true when this create tag definition bad request response has a 5xx status code
func (*CreateTagDefinitionBadRequest) IsSuccess ¶
func (o *CreateTagDefinitionBadRequest) IsSuccess() bool
IsSuccess returns true when this create tag definition bad request response has a 2xx status code
func (*CreateTagDefinitionBadRequest) String ¶
func (o *CreateTagDefinitionBadRequest) String() string
type CreateTagDefinitionCreated ¶
type CreateTagDefinitionCreated struct { Payload *kbmodel.TagDefinition HttpResponse runtime.ClientResponse }
CreateTagDefinitionCreated describes a response with status code 201, with default header values.
Tag definition created successfully
func NewCreateTagDefinitionCreated ¶
func NewCreateTagDefinitionCreated() *CreateTagDefinitionCreated
NewCreateTagDefinitionCreated creates a CreateTagDefinitionCreated with default headers values
func (*CreateTagDefinitionCreated) Code ¶
func (o *CreateTagDefinitionCreated) Code() int
Code gets the status code for the create tag definition created response
func (*CreateTagDefinitionCreated) Error ¶
func (o *CreateTagDefinitionCreated) Error() string
func (*CreateTagDefinitionCreated) GetPayload ¶
func (o *CreateTagDefinitionCreated) GetPayload() *kbmodel.TagDefinition
func (*CreateTagDefinitionCreated) IsClientError ¶
func (o *CreateTagDefinitionCreated) IsClientError() bool
IsClientError returns true when this create tag definition created response has a 4xx status code
func (*CreateTagDefinitionCreated) IsCode ¶
func (o *CreateTagDefinitionCreated) IsCode(code int) bool
IsCode returns true when this create tag definition created response a status code equal to that given
func (*CreateTagDefinitionCreated) IsRedirect ¶
func (o *CreateTagDefinitionCreated) IsRedirect() bool
IsRedirect returns true when this create tag definition created response has a 3xx status code
func (*CreateTagDefinitionCreated) IsServerError ¶
func (o *CreateTagDefinitionCreated) IsServerError() bool
IsServerError returns true when this create tag definition created response has a 5xx status code
func (*CreateTagDefinitionCreated) IsSuccess ¶
func (o *CreateTagDefinitionCreated) IsSuccess() bool
IsSuccess returns true when this create tag definition created response has a 2xx status code
func (*CreateTagDefinitionCreated) String ¶
func (o *CreateTagDefinitionCreated) String() string
type CreateTagDefinitionParams ¶
type CreateTagDefinitionParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // Body. Body *kbmodel.TagDefinition 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 }
CreateTagDefinitionParams contains all the parameters to send to the API endpoint
for the create tag definition operation. Typically these are written to a http.Request.
func NewCreateTagDefinitionParams ¶
func NewCreateTagDefinitionParams() *CreateTagDefinitionParams
NewCreateTagDefinitionParams creates a new CreateTagDefinitionParams 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 NewCreateTagDefinitionParamsWithContext ¶
func NewCreateTagDefinitionParamsWithContext(ctx context.Context) *CreateTagDefinitionParams
NewCreateTagDefinitionParamsWithContext creates a new CreateTagDefinitionParams object with the ability to set a context for a request.
func NewCreateTagDefinitionParamsWithHTTPClient ¶
func NewCreateTagDefinitionParamsWithHTTPClient(client *http.Client) *CreateTagDefinitionParams
NewCreateTagDefinitionParamsWithHTTPClient creates a new CreateTagDefinitionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTagDefinitionParamsWithTimeout ¶
func NewCreateTagDefinitionParamsWithTimeout(timeout time.Duration) *CreateTagDefinitionParams
NewCreateTagDefinitionParamsWithTimeout creates a new CreateTagDefinitionParams object with the ability to set a timeout on a request.
func (*CreateTagDefinitionParams) SetBody ¶
func (o *CreateTagDefinitionParams) SetBody(body *kbmodel.TagDefinition)
SetBody adds the body to the create tag definition params
func (*CreateTagDefinitionParams) SetContext ¶
func (o *CreateTagDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the create tag definition params
func (*CreateTagDefinitionParams) SetDefaults ¶
func (o *CreateTagDefinitionParams) SetDefaults()
SetDefaults hydrates default values in the create tag definition params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTagDefinitionParams) SetHTTPClient ¶
func (o *CreateTagDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create tag definition params
func (*CreateTagDefinitionParams) SetTimeout ¶
func (o *CreateTagDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create tag definition params
func (*CreateTagDefinitionParams) SetXKillbillComment ¶
func (o *CreateTagDefinitionParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the create tag definition params
func (*CreateTagDefinitionParams) SetXKillbillCreatedBy ¶
func (o *CreateTagDefinitionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the create tag definition params
func (*CreateTagDefinitionParams) SetXKillbillReason ¶
func (o *CreateTagDefinitionParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the create tag definition params
func (*CreateTagDefinitionParams) WithBody ¶
func (o *CreateTagDefinitionParams) WithBody(body *kbmodel.TagDefinition) *CreateTagDefinitionParams
WithBody adds the body to the create tag definition params
func (*CreateTagDefinitionParams) WithContext ¶
func (o *CreateTagDefinitionParams) WithContext(ctx context.Context) *CreateTagDefinitionParams
WithContext adds the context to the create tag definition params
func (*CreateTagDefinitionParams) WithDefaults ¶
func (o *CreateTagDefinitionParams) WithDefaults() *CreateTagDefinitionParams
WithDefaults hydrates default values in the create tag definition params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTagDefinitionParams) WithHTTPClient ¶
func (o *CreateTagDefinitionParams) WithHTTPClient(client *http.Client) *CreateTagDefinitionParams
WithHTTPClient adds the HTTPClient to the create tag definition params
func (*CreateTagDefinitionParams) WithTimeout ¶
func (o *CreateTagDefinitionParams) WithTimeout(timeout time.Duration) *CreateTagDefinitionParams
WithTimeout adds the timeout to the create tag definition params
func (*CreateTagDefinitionParams) WithXKillbillComment ¶
func (o *CreateTagDefinitionParams) WithXKillbillComment(xKillbillComment *string) *CreateTagDefinitionParams
WithXKillbillComment adds the xKillbillComment to the create tag definition params
func (*CreateTagDefinitionParams) WithXKillbillCreatedBy ¶
func (o *CreateTagDefinitionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *CreateTagDefinitionParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the create tag definition params
func (*CreateTagDefinitionParams) WithXKillbillReason ¶
func (o *CreateTagDefinitionParams) WithXKillbillReason(xKillbillReason *string) *CreateTagDefinitionParams
WithXKillbillReason adds the xKillbillReason to the create tag definition params
func (*CreateTagDefinitionParams) WriteToRequest ¶
func (o *CreateTagDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTagDefinitionReader ¶
type CreateTagDefinitionReader struct {
// contains filtered or unexported fields
}
CreateTagDefinitionReader is a Reader for the CreateTagDefinition structure.
func (*CreateTagDefinitionReader) ReadResponse ¶
func (o *CreateTagDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTagDefinitionBadRequest ¶
type DeleteTagDefinitionBadRequest struct {
HttpResponse runtime.ClientResponse
}
DeleteTagDefinitionBadRequest describes a response with status code 400, with default header values.
Invalid tagDefinitionId supplied
func NewDeleteTagDefinitionBadRequest ¶
func NewDeleteTagDefinitionBadRequest() *DeleteTagDefinitionBadRequest
NewDeleteTagDefinitionBadRequest creates a DeleteTagDefinitionBadRequest with default headers values
func (*DeleteTagDefinitionBadRequest) Code ¶
func (o *DeleteTagDefinitionBadRequest) Code() int
Code gets the status code for the delete tag definition bad request response
func (*DeleteTagDefinitionBadRequest) Error ¶
func (o *DeleteTagDefinitionBadRequest) Error() string
func (*DeleteTagDefinitionBadRequest) IsClientError ¶
func (o *DeleteTagDefinitionBadRequest) IsClientError() bool
IsClientError returns true when this delete tag definition bad request response has a 4xx status code
func (*DeleteTagDefinitionBadRequest) IsCode ¶
func (o *DeleteTagDefinitionBadRequest) IsCode(code int) bool
IsCode returns true when this delete tag definition bad request response a status code equal to that given
func (*DeleteTagDefinitionBadRequest) IsRedirect ¶
func (o *DeleteTagDefinitionBadRequest) IsRedirect() bool
IsRedirect returns true when this delete tag definition bad request response has a 3xx status code
func (*DeleteTagDefinitionBadRequest) IsServerError ¶
func (o *DeleteTagDefinitionBadRequest) IsServerError() bool
IsServerError returns true when this delete tag definition bad request response has a 5xx status code
func (*DeleteTagDefinitionBadRequest) IsSuccess ¶
func (o *DeleteTagDefinitionBadRequest) IsSuccess() bool
IsSuccess returns true when this delete tag definition bad request response has a 2xx status code
func (*DeleteTagDefinitionBadRequest) String ¶
func (o *DeleteTagDefinitionBadRequest) String() string
type DeleteTagDefinitionNoContent ¶
type DeleteTagDefinitionNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteTagDefinitionNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteTagDefinitionNoContent ¶
func NewDeleteTagDefinitionNoContent() *DeleteTagDefinitionNoContent
NewDeleteTagDefinitionNoContent creates a DeleteTagDefinitionNoContent with default headers values
func (*DeleteTagDefinitionNoContent) Code ¶
func (o *DeleteTagDefinitionNoContent) Code() int
Code gets the status code for the delete tag definition no content response
func (*DeleteTagDefinitionNoContent) Error ¶
func (o *DeleteTagDefinitionNoContent) Error() string
func (*DeleteTagDefinitionNoContent) IsClientError ¶
func (o *DeleteTagDefinitionNoContent) IsClientError() bool
IsClientError returns true when this delete tag definition no content response has a 4xx status code
func (*DeleteTagDefinitionNoContent) IsCode ¶
func (o *DeleteTagDefinitionNoContent) IsCode(code int) bool
IsCode returns true when this delete tag definition no content response a status code equal to that given
func (*DeleteTagDefinitionNoContent) IsRedirect ¶
func (o *DeleteTagDefinitionNoContent) IsRedirect() bool
IsRedirect returns true when this delete tag definition no content response has a 3xx status code
func (*DeleteTagDefinitionNoContent) IsServerError ¶
func (o *DeleteTagDefinitionNoContent) IsServerError() bool
IsServerError returns true when this delete tag definition no content response has a 5xx status code
func (*DeleteTagDefinitionNoContent) IsSuccess ¶
func (o *DeleteTagDefinitionNoContent) IsSuccess() bool
IsSuccess returns true when this delete tag definition no content response has a 2xx status code
func (*DeleteTagDefinitionNoContent) String ¶
func (o *DeleteTagDefinitionNoContent) String() string
type DeleteTagDefinitionParams ¶
type DeleteTagDefinitionParams struct { // XKillbillComment. XKillbillComment *string // XKillbillCreatedBy. XKillbillCreatedBy string // XKillbillReason. XKillbillReason *string // TagDefinitionID. // // Format: uuid TagDefinitionID 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 }
DeleteTagDefinitionParams contains all the parameters to send to the API endpoint
for the delete tag definition operation. Typically these are written to a http.Request.
func NewDeleteTagDefinitionParams ¶
func NewDeleteTagDefinitionParams() *DeleteTagDefinitionParams
NewDeleteTagDefinitionParams creates a new DeleteTagDefinitionParams 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 NewDeleteTagDefinitionParamsWithContext ¶
func NewDeleteTagDefinitionParamsWithContext(ctx context.Context) *DeleteTagDefinitionParams
NewDeleteTagDefinitionParamsWithContext creates a new DeleteTagDefinitionParams object with the ability to set a context for a request.
func NewDeleteTagDefinitionParamsWithHTTPClient ¶
func NewDeleteTagDefinitionParamsWithHTTPClient(client *http.Client) *DeleteTagDefinitionParams
NewDeleteTagDefinitionParamsWithHTTPClient creates a new DeleteTagDefinitionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTagDefinitionParamsWithTimeout ¶
func NewDeleteTagDefinitionParamsWithTimeout(timeout time.Duration) *DeleteTagDefinitionParams
NewDeleteTagDefinitionParamsWithTimeout creates a new DeleteTagDefinitionParams object with the ability to set a timeout on a request.
func (*DeleteTagDefinitionParams) SetContext ¶
func (o *DeleteTagDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete tag definition params
func (*DeleteTagDefinitionParams) SetDefaults ¶
func (o *DeleteTagDefinitionParams) SetDefaults()
SetDefaults hydrates default values in the delete tag definition params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTagDefinitionParams) SetHTTPClient ¶
func (o *DeleteTagDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete tag definition params
func (*DeleteTagDefinitionParams) SetTagDefinitionID ¶
func (o *DeleteTagDefinitionParams) SetTagDefinitionID(tagDefinitionID strfmt.UUID)
SetTagDefinitionID adds the tagDefinitionId to the delete tag definition params
func (*DeleteTagDefinitionParams) SetTimeout ¶
func (o *DeleteTagDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete tag definition params
func (*DeleteTagDefinitionParams) SetXKillbillComment ¶
func (o *DeleteTagDefinitionParams) SetXKillbillComment(xKillbillComment *string)
SetXKillbillComment adds the xKillbillComment to the delete tag definition params
func (*DeleteTagDefinitionParams) SetXKillbillCreatedBy ¶
func (o *DeleteTagDefinitionParams) SetXKillbillCreatedBy(xKillbillCreatedBy string)
SetXKillbillCreatedBy adds the xKillbillCreatedBy to the delete tag definition params
func (*DeleteTagDefinitionParams) SetXKillbillReason ¶
func (o *DeleteTagDefinitionParams) SetXKillbillReason(xKillbillReason *string)
SetXKillbillReason adds the xKillbillReason to the delete tag definition params
func (*DeleteTagDefinitionParams) WithContext ¶
func (o *DeleteTagDefinitionParams) WithContext(ctx context.Context) *DeleteTagDefinitionParams
WithContext adds the context to the delete tag definition params
func (*DeleteTagDefinitionParams) WithDefaults ¶
func (o *DeleteTagDefinitionParams) WithDefaults() *DeleteTagDefinitionParams
WithDefaults hydrates default values in the delete tag definition params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTagDefinitionParams) WithHTTPClient ¶
func (o *DeleteTagDefinitionParams) WithHTTPClient(client *http.Client) *DeleteTagDefinitionParams
WithHTTPClient adds the HTTPClient to the delete tag definition params
func (*DeleteTagDefinitionParams) WithTagDefinitionID ¶
func (o *DeleteTagDefinitionParams) WithTagDefinitionID(tagDefinitionID strfmt.UUID) *DeleteTagDefinitionParams
WithTagDefinitionID adds the tagDefinitionID to the delete tag definition params
func (*DeleteTagDefinitionParams) WithTimeout ¶
func (o *DeleteTagDefinitionParams) WithTimeout(timeout time.Duration) *DeleteTagDefinitionParams
WithTimeout adds the timeout to the delete tag definition params
func (*DeleteTagDefinitionParams) WithXKillbillComment ¶
func (o *DeleteTagDefinitionParams) WithXKillbillComment(xKillbillComment *string) *DeleteTagDefinitionParams
WithXKillbillComment adds the xKillbillComment to the delete tag definition params
func (*DeleteTagDefinitionParams) WithXKillbillCreatedBy ¶
func (o *DeleteTagDefinitionParams) WithXKillbillCreatedBy(xKillbillCreatedBy string) *DeleteTagDefinitionParams
WithXKillbillCreatedBy adds the xKillbillCreatedBy to the delete tag definition params
func (*DeleteTagDefinitionParams) WithXKillbillReason ¶
func (o *DeleteTagDefinitionParams) WithXKillbillReason(xKillbillReason *string) *DeleteTagDefinitionParams
WithXKillbillReason adds the xKillbillReason to the delete tag definition params
func (*DeleteTagDefinitionParams) WriteToRequest ¶
func (o *DeleteTagDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTagDefinitionReader ¶
type DeleteTagDefinitionReader struct {
// contains filtered or unexported fields
}
DeleteTagDefinitionReader is a Reader for the DeleteTagDefinition structure.
func (*DeleteTagDefinitionReader) ReadResponse ¶
func (o *DeleteTagDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTagDefinitionAuditLogsWithHistoryNotFound ¶
type GetTagDefinitionAuditLogsWithHistoryNotFound struct {
HttpResponse runtime.ClientResponse
}
GetTagDefinitionAuditLogsWithHistoryNotFound describes a response with status code 404, with default header values.
Account not found
func NewGetTagDefinitionAuditLogsWithHistoryNotFound ¶
func NewGetTagDefinitionAuditLogsWithHistoryNotFound() *GetTagDefinitionAuditLogsWithHistoryNotFound
NewGetTagDefinitionAuditLogsWithHistoryNotFound creates a GetTagDefinitionAuditLogsWithHistoryNotFound with default headers values
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) Code ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) Code() int
Code gets the status code for the get tag definition audit logs with history not found response
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) Error ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) Error() string
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsClientError ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsClientError() bool
IsClientError returns true when this get tag definition audit logs with history not found response has a 4xx status code
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsCode ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get tag definition audit logs with history not found response a status code equal to that given
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsRedirect ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get tag definition audit logs with history not found response has a 3xx status code
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsServerError ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsServerError() bool
IsServerError returns true when this get tag definition audit logs with history not found response has a 5xx status code
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsSuccess ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get tag definition audit logs with history not found response has a 2xx status code
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) String ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) String() string
type GetTagDefinitionAuditLogsWithHistoryOK ¶
type GetTagDefinitionAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetTagDefinitionAuditLogsWithHistoryOK describes a response with status code 200, with default header values.
successful operation
func NewGetTagDefinitionAuditLogsWithHistoryOK ¶
func NewGetTagDefinitionAuditLogsWithHistoryOK() *GetTagDefinitionAuditLogsWithHistoryOK
NewGetTagDefinitionAuditLogsWithHistoryOK creates a GetTagDefinitionAuditLogsWithHistoryOK with default headers values
func (*GetTagDefinitionAuditLogsWithHistoryOK) Code ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) Code() int
Code gets the status code for the get tag definition audit logs with history o k response
func (*GetTagDefinitionAuditLogsWithHistoryOK) Error ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) Error() string
func (*GetTagDefinitionAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
func (*GetTagDefinitionAuditLogsWithHistoryOK) IsClientError ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsClientError() bool
IsClientError returns true when this get tag definition audit logs with history o k response has a 4xx status code
func (*GetTagDefinitionAuditLogsWithHistoryOK) IsCode ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsCode(code int) bool
IsCode returns true when this get tag definition audit logs with history o k response a status code equal to that given
func (*GetTagDefinitionAuditLogsWithHistoryOK) IsRedirect ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsRedirect() bool
IsRedirect returns true when this get tag definition audit logs with history o k response has a 3xx status code
func (*GetTagDefinitionAuditLogsWithHistoryOK) IsServerError ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsServerError() bool
IsServerError returns true when this get tag definition audit logs with history o k response has a 5xx status code
func (*GetTagDefinitionAuditLogsWithHistoryOK) IsSuccess ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) IsSuccess() bool
IsSuccess returns true when this get tag definition audit logs with history o k response has a 2xx status code
func (*GetTagDefinitionAuditLogsWithHistoryOK) String ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) String() string
type GetTagDefinitionAuditLogsWithHistoryParams ¶
type GetTagDefinitionAuditLogsWithHistoryParams struct { // TagDefinitionID. // // Format: uuid TagDefinitionID 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 }
GetTagDefinitionAuditLogsWithHistoryParams contains all the parameters to send to the API endpoint
for the get tag definition audit logs with history operation. Typically these are written to a http.Request.
func NewGetTagDefinitionAuditLogsWithHistoryParams ¶
func NewGetTagDefinitionAuditLogsWithHistoryParams() *GetTagDefinitionAuditLogsWithHistoryParams
NewGetTagDefinitionAuditLogsWithHistoryParams creates a new GetTagDefinitionAuditLogsWithHistoryParams 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 NewGetTagDefinitionAuditLogsWithHistoryParamsWithContext ¶
func NewGetTagDefinitionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTagDefinitionAuditLogsWithHistoryParams
NewGetTagDefinitionAuditLogsWithHistoryParamsWithContext creates a new GetTagDefinitionAuditLogsWithHistoryParams object with the ability to set a context for a request.
func NewGetTagDefinitionAuditLogsWithHistoryParamsWithHTTPClient ¶
func NewGetTagDefinitionAuditLogsWithHistoryParamsWithHTTPClient(client *http.Client) *GetTagDefinitionAuditLogsWithHistoryParams
NewGetTagDefinitionAuditLogsWithHistoryParamsWithHTTPClient creates a new GetTagDefinitionAuditLogsWithHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetTagDefinitionAuditLogsWithHistoryParamsWithTimeout ¶
func NewGetTagDefinitionAuditLogsWithHistoryParamsWithTimeout(timeout time.Duration) *GetTagDefinitionAuditLogsWithHistoryParams
NewGetTagDefinitionAuditLogsWithHistoryParamsWithTimeout creates a new GetTagDefinitionAuditLogsWithHistoryParams object with the ability to set a timeout on a request.
func (*GetTagDefinitionAuditLogsWithHistoryParams) SetContext ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get tag definition audit logs with history params
func (*GetTagDefinitionAuditLogsWithHistoryParams) SetDefaults ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get tag definition audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagDefinitionAuditLogsWithHistoryParams) SetHTTPClient ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tag definition audit logs with history params
func (*GetTagDefinitionAuditLogsWithHistoryParams) SetTagDefinitionID ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetTagDefinitionID(tagDefinitionID strfmt.UUID)
SetTagDefinitionID adds the tagDefinitionId to the get tag definition audit logs with history params
func (*GetTagDefinitionAuditLogsWithHistoryParams) SetTimeout ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tag definition audit logs with history params
func (*GetTagDefinitionAuditLogsWithHistoryParams) WithContext ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithContext(ctx context.Context) *GetTagDefinitionAuditLogsWithHistoryParams
WithContext adds the context to the get tag definition audit logs with history params
func (*GetTagDefinitionAuditLogsWithHistoryParams) WithDefaults ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithDefaults() *GetTagDefinitionAuditLogsWithHistoryParams
WithDefaults hydrates default values in the get tag definition audit logs with history params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagDefinitionAuditLogsWithHistoryParams) WithHTTPClient ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithHTTPClient(client *http.Client) *GetTagDefinitionAuditLogsWithHistoryParams
WithHTTPClient adds the HTTPClient to the get tag definition audit logs with history params
func (*GetTagDefinitionAuditLogsWithHistoryParams) WithTagDefinitionID ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithTagDefinitionID(tagDefinitionID strfmt.UUID) *GetTagDefinitionAuditLogsWithHistoryParams
WithTagDefinitionID adds the tagDefinitionID to the get tag definition audit logs with history params
func (*GetTagDefinitionAuditLogsWithHistoryParams) WithTimeout ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) WithTimeout(timeout time.Duration) *GetTagDefinitionAuditLogsWithHistoryParams
WithTimeout adds the timeout to the get tag definition audit logs with history params
func (*GetTagDefinitionAuditLogsWithHistoryParams) WriteToRequest ¶
func (o *GetTagDefinitionAuditLogsWithHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagDefinitionAuditLogsWithHistoryReader ¶
type GetTagDefinitionAuditLogsWithHistoryReader struct {
// contains filtered or unexported fields
}
GetTagDefinitionAuditLogsWithHistoryReader is a Reader for the GetTagDefinitionAuditLogsWithHistory structure.
func (*GetTagDefinitionAuditLogsWithHistoryReader) ReadResponse ¶
func (o *GetTagDefinitionAuditLogsWithHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTagDefinitionBadRequest ¶
type GetTagDefinitionBadRequest struct {
HttpResponse runtime.ClientResponse
}
GetTagDefinitionBadRequest describes a response with status code 400, with default header values.
Invalid tagDefinitionId supplied
func NewGetTagDefinitionBadRequest ¶
func NewGetTagDefinitionBadRequest() *GetTagDefinitionBadRequest
NewGetTagDefinitionBadRequest creates a GetTagDefinitionBadRequest with default headers values
func (*GetTagDefinitionBadRequest) Code ¶
func (o *GetTagDefinitionBadRequest) Code() int
Code gets the status code for the get tag definition bad request response
func (*GetTagDefinitionBadRequest) Error ¶
func (o *GetTagDefinitionBadRequest) Error() string
func (*GetTagDefinitionBadRequest) IsClientError ¶
func (o *GetTagDefinitionBadRequest) IsClientError() bool
IsClientError returns true when this get tag definition bad request response has a 4xx status code
func (*GetTagDefinitionBadRequest) IsCode ¶
func (o *GetTagDefinitionBadRequest) IsCode(code int) bool
IsCode returns true when this get tag definition bad request response a status code equal to that given
func (*GetTagDefinitionBadRequest) IsRedirect ¶
func (o *GetTagDefinitionBadRequest) IsRedirect() bool
IsRedirect returns true when this get tag definition bad request response has a 3xx status code
func (*GetTagDefinitionBadRequest) IsServerError ¶
func (o *GetTagDefinitionBadRequest) IsServerError() bool
IsServerError returns true when this get tag definition bad request response has a 5xx status code
func (*GetTagDefinitionBadRequest) IsSuccess ¶
func (o *GetTagDefinitionBadRequest) IsSuccess() bool
IsSuccess returns true when this get tag definition bad request response has a 2xx status code
func (*GetTagDefinitionBadRequest) String ¶
func (o *GetTagDefinitionBadRequest) String() string
type GetTagDefinitionOK ¶
type GetTagDefinitionOK struct { Payload *kbmodel.TagDefinition HttpResponse runtime.ClientResponse }
GetTagDefinitionOK describes a response with status code 200, with default header values.
successful operation
func NewGetTagDefinitionOK ¶
func NewGetTagDefinitionOK() *GetTagDefinitionOK
NewGetTagDefinitionOK creates a GetTagDefinitionOK with default headers values
func (*GetTagDefinitionOK) Code ¶
func (o *GetTagDefinitionOK) Code() int
Code gets the status code for the get tag definition o k response
func (*GetTagDefinitionOK) Error ¶
func (o *GetTagDefinitionOK) Error() string
func (*GetTagDefinitionOK) GetPayload ¶
func (o *GetTagDefinitionOK) GetPayload() *kbmodel.TagDefinition
func (*GetTagDefinitionOK) IsClientError ¶
func (o *GetTagDefinitionOK) IsClientError() bool
IsClientError returns true when this get tag definition o k response has a 4xx status code
func (*GetTagDefinitionOK) IsCode ¶
func (o *GetTagDefinitionOK) IsCode(code int) bool
IsCode returns true when this get tag definition o k response a status code equal to that given
func (*GetTagDefinitionOK) IsRedirect ¶
func (o *GetTagDefinitionOK) IsRedirect() bool
IsRedirect returns true when this get tag definition o k response has a 3xx status code
func (*GetTagDefinitionOK) IsServerError ¶
func (o *GetTagDefinitionOK) IsServerError() bool
IsServerError returns true when this get tag definition o k response has a 5xx status code
func (*GetTagDefinitionOK) IsSuccess ¶
func (o *GetTagDefinitionOK) IsSuccess() bool
IsSuccess returns true when this get tag definition o k response has a 2xx status code
func (*GetTagDefinitionOK) String ¶
func (o *GetTagDefinitionOK) String() string
type GetTagDefinitionParams ¶
type GetTagDefinitionParams struct { // Audit. // // Default: "NONE" Audit *string // TagDefinitionID. // // Format: uuid TagDefinitionID 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 }
GetTagDefinitionParams contains all the parameters to send to the API endpoint
for the get tag definition operation. Typically these are written to a http.Request.
func NewGetTagDefinitionParams ¶
func NewGetTagDefinitionParams() *GetTagDefinitionParams
NewGetTagDefinitionParams creates a new GetTagDefinitionParams 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 NewGetTagDefinitionParamsWithContext ¶
func NewGetTagDefinitionParamsWithContext(ctx context.Context) *GetTagDefinitionParams
NewGetTagDefinitionParamsWithContext creates a new GetTagDefinitionParams object with the ability to set a context for a request.
func NewGetTagDefinitionParamsWithHTTPClient ¶
func NewGetTagDefinitionParamsWithHTTPClient(client *http.Client) *GetTagDefinitionParams
NewGetTagDefinitionParamsWithHTTPClient creates a new GetTagDefinitionParams object with the ability to set a custom HTTPClient for a request.
func NewGetTagDefinitionParamsWithTimeout ¶
func NewGetTagDefinitionParamsWithTimeout(timeout time.Duration) *GetTagDefinitionParams
NewGetTagDefinitionParamsWithTimeout creates a new GetTagDefinitionParams object with the ability to set a timeout on a request.
func (*GetTagDefinitionParams) SetAudit ¶
func (o *GetTagDefinitionParams) SetAudit(audit *string)
SetAudit adds the audit to the get tag definition params
func (*GetTagDefinitionParams) SetContext ¶
func (o *GetTagDefinitionParams) SetContext(ctx context.Context)
SetContext adds the context to the get tag definition params
func (*GetTagDefinitionParams) SetDefaults ¶
func (o *GetTagDefinitionParams) SetDefaults()
SetDefaults hydrates default values in the get tag definition params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagDefinitionParams) SetHTTPClient ¶
func (o *GetTagDefinitionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tag definition params
func (*GetTagDefinitionParams) SetTagDefinitionID ¶
func (o *GetTagDefinitionParams) SetTagDefinitionID(tagDefinitionID strfmt.UUID)
SetTagDefinitionID adds the tagDefinitionId to the get tag definition params
func (*GetTagDefinitionParams) SetTimeout ¶
func (o *GetTagDefinitionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tag definition params
func (*GetTagDefinitionParams) WithAudit ¶
func (o *GetTagDefinitionParams) WithAudit(audit *string) *GetTagDefinitionParams
WithAudit adds the audit to the get tag definition params
func (*GetTagDefinitionParams) WithContext ¶
func (o *GetTagDefinitionParams) WithContext(ctx context.Context) *GetTagDefinitionParams
WithContext adds the context to the get tag definition params
func (*GetTagDefinitionParams) WithDefaults ¶
func (o *GetTagDefinitionParams) WithDefaults() *GetTagDefinitionParams
WithDefaults hydrates default values in the get tag definition params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagDefinitionParams) WithHTTPClient ¶
func (o *GetTagDefinitionParams) WithHTTPClient(client *http.Client) *GetTagDefinitionParams
WithHTTPClient adds the HTTPClient to the get tag definition params
func (*GetTagDefinitionParams) WithTagDefinitionID ¶
func (o *GetTagDefinitionParams) WithTagDefinitionID(tagDefinitionID strfmt.UUID) *GetTagDefinitionParams
WithTagDefinitionID adds the tagDefinitionID to the get tag definition params
func (*GetTagDefinitionParams) WithTimeout ¶
func (o *GetTagDefinitionParams) WithTimeout(timeout time.Duration) *GetTagDefinitionParams
WithTimeout adds the timeout to the get tag definition params
func (*GetTagDefinitionParams) WriteToRequest ¶
func (o *GetTagDefinitionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagDefinitionReader ¶
type GetTagDefinitionReader struct {
// contains filtered or unexported fields
}
GetTagDefinitionReader is a Reader for the GetTagDefinition structure.
func (*GetTagDefinitionReader) ReadResponse ¶
func (o *GetTagDefinitionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTagDefinitionsOK ¶
type GetTagDefinitionsOK struct { Payload []*kbmodel.TagDefinition HttpResponse runtime.ClientResponse }
GetTagDefinitionsOK describes a response with status code 200, with default header values.
successful operation
func NewGetTagDefinitionsOK ¶
func NewGetTagDefinitionsOK() *GetTagDefinitionsOK
NewGetTagDefinitionsOK creates a GetTagDefinitionsOK with default headers values
func (*GetTagDefinitionsOK) Code ¶
func (o *GetTagDefinitionsOK) Code() int
Code gets the status code for the get tag definitions o k response
func (*GetTagDefinitionsOK) Error ¶
func (o *GetTagDefinitionsOK) Error() string
func (*GetTagDefinitionsOK) GetPayload ¶
func (o *GetTagDefinitionsOK) GetPayload() []*kbmodel.TagDefinition
func (*GetTagDefinitionsOK) IsClientError ¶
func (o *GetTagDefinitionsOK) IsClientError() bool
IsClientError returns true when this get tag definitions o k response has a 4xx status code
func (*GetTagDefinitionsOK) IsCode ¶
func (o *GetTagDefinitionsOK) IsCode(code int) bool
IsCode returns true when this get tag definitions o k response a status code equal to that given
func (*GetTagDefinitionsOK) IsRedirect ¶
func (o *GetTagDefinitionsOK) IsRedirect() bool
IsRedirect returns true when this get tag definitions o k response has a 3xx status code
func (*GetTagDefinitionsOK) IsServerError ¶
func (o *GetTagDefinitionsOK) IsServerError() bool
IsServerError returns true when this get tag definitions o k response has a 5xx status code
func (*GetTagDefinitionsOK) IsSuccess ¶
func (o *GetTagDefinitionsOK) IsSuccess() bool
IsSuccess returns true when this get tag definitions o k response has a 2xx status code
func (*GetTagDefinitionsOK) String ¶
func (o *GetTagDefinitionsOK) String() string
type GetTagDefinitionsParams ¶
type GetTagDefinitionsParams struct { // Audit. // // Default: "NONE" Audit *string WithProfilingInfo *string // If set, return KB hprof headers WithStackTrace *bool // If set, returns full stack trace with error message Context context.Context HTTPClient *http.Client ProcessLocationHeader bool // For create APIs that return 201, send another request and retrieve the resource. // contains filtered or unexported fields }
GetTagDefinitionsParams contains all the parameters to send to the API endpoint
for the get tag definitions operation. Typically these are written to a http.Request.
func NewGetTagDefinitionsParams ¶
func NewGetTagDefinitionsParams() *GetTagDefinitionsParams
NewGetTagDefinitionsParams creates a new GetTagDefinitionsParams 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 NewGetTagDefinitionsParamsWithContext ¶
func NewGetTagDefinitionsParamsWithContext(ctx context.Context) *GetTagDefinitionsParams
NewGetTagDefinitionsParamsWithContext creates a new GetTagDefinitionsParams object with the ability to set a context for a request.
func NewGetTagDefinitionsParamsWithHTTPClient ¶
func NewGetTagDefinitionsParamsWithHTTPClient(client *http.Client) *GetTagDefinitionsParams
NewGetTagDefinitionsParamsWithHTTPClient creates a new GetTagDefinitionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetTagDefinitionsParamsWithTimeout ¶
func NewGetTagDefinitionsParamsWithTimeout(timeout time.Duration) *GetTagDefinitionsParams
NewGetTagDefinitionsParamsWithTimeout creates a new GetTagDefinitionsParams object with the ability to set a timeout on a request.
func (*GetTagDefinitionsParams) SetAudit ¶
func (o *GetTagDefinitionsParams) SetAudit(audit *string)
SetAudit adds the audit to the get tag definitions params
func (*GetTagDefinitionsParams) SetContext ¶
func (o *GetTagDefinitionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get tag definitions params
func (*GetTagDefinitionsParams) SetDefaults ¶
func (o *GetTagDefinitionsParams) SetDefaults()
SetDefaults hydrates default values in the get tag definitions params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagDefinitionsParams) SetHTTPClient ¶
func (o *GetTagDefinitionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tag definitions params
func (*GetTagDefinitionsParams) SetTimeout ¶
func (o *GetTagDefinitionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tag definitions params
func (*GetTagDefinitionsParams) WithAudit ¶
func (o *GetTagDefinitionsParams) WithAudit(audit *string) *GetTagDefinitionsParams
WithAudit adds the audit to the get tag definitions params
func (*GetTagDefinitionsParams) WithContext ¶
func (o *GetTagDefinitionsParams) WithContext(ctx context.Context) *GetTagDefinitionsParams
WithContext adds the context to the get tag definitions params
func (*GetTagDefinitionsParams) WithDefaults ¶
func (o *GetTagDefinitionsParams) WithDefaults() *GetTagDefinitionsParams
WithDefaults hydrates default values in the get tag definitions params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagDefinitionsParams) WithHTTPClient ¶
func (o *GetTagDefinitionsParams) WithHTTPClient(client *http.Client) *GetTagDefinitionsParams
WithHTTPClient adds the HTTPClient to the get tag definitions params
func (*GetTagDefinitionsParams) WithTimeout ¶
func (o *GetTagDefinitionsParams) WithTimeout(timeout time.Duration) *GetTagDefinitionsParams
WithTimeout adds the timeout to the get tag definitions params
func (*GetTagDefinitionsParams) WriteToRequest ¶
func (o *GetTagDefinitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagDefinitionsReader ¶
type GetTagDefinitionsReader struct {
// contains filtered or unexported fields
}
GetTagDefinitionsReader is a Reader for the GetTagDefinitions structure.
func (*GetTagDefinitionsReader) ReadResponse ¶
func (o *GetTagDefinitionsReader) 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.
Source Files
¶
- create_tag_definition_parameters.go
- create_tag_definition_responses.go
- delete_tag_definition_parameters.go
- delete_tag_definition_responses.go
- get_tag_definition_audit_logs_with_history_parameters.go
- get_tag_definition_audit_logs_with_history_responses.go
- get_tag_definition_parameters.go
- get_tag_definition_responses.go
- get_tag_definitions_parameters.go
- get_tag_definitions_responses.go
- tag_definition_client.go