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 CreateTagDefinitionBadRequest
- type CreateTagDefinitionCreated
- 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) 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) 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
- type DeleteTagDefinitionNoContent
- 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) 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) 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
- type GetTagDefinitionAuditLogsWithHistoryOK
- 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) 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) 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
- type GetTagDefinitionOK
- 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) 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) 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
- 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) 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) 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 ITagDefinition
- 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
resource description
func (*Client) DeleteTagDefinition ¶
func (a *Client) DeleteTagDefinition(ctx context.Context, params *DeleteTagDefinitionParams) (*DeleteTagDefinitionNoContent, error)
DeleteTagDefinition deletes a tag definition
resource description
func (*Client) GetTagDefinition ¶
func (a *Client) GetTagDefinition(ctx context.Context, params *GetTagDefinitionParams) (*GetTagDefinitionOK, error)
GetTagDefinition retrieves a tag definition
resource description
func (*Client) GetTagDefinitionAuditLogsWithHistory ¶
func (a *Client) GetTagDefinitionAuditLogsWithHistory(ctx context.Context, params *GetTagDefinitionAuditLogsWithHistoryParams) (*GetTagDefinitionAuditLogsWithHistoryOK, error)
GetTagDefinitionAuditLogsWithHistory retrieves tag definition audit logs with history by id
resource description
func (*Client) GetTagDefinitions ¶
func (a *Client) GetTagDefinitions(ctx context.Context, params *GetTagDefinitionsParams) (*GetTagDefinitionsOK, error)
GetTagDefinitions lists tag definitions
resource description
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateTagDefinitionBadRequest ¶
type CreateTagDefinitionBadRequest struct {
HttpResponse runtime.ClientResponse
}
CreateTagDefinitionBadRequest handles this case with default header values.
Invalid name or description supplied
func NewCreateTagDefinitionBadRequest ¶
func NewCreateTagDefinitionBadRequest() *CreateTagDefinitionBadRequest
NewCreateTagDefinitionBadRequest creates a CreateTagDefinitionBadRequest with default headers values
func (*CreateTagDefinitionBadRequest) Error ¶
func (o *CreateTagDefinitionBadRequest) Error() string
type CreateTagDefinitionCreated ¶
type CreateTagDefinitionCreated struct { Payload *kbmodel.TagDefinition HttpResponse runtime.ClientResponse }
CreateTagDefinitionCreated handles this case with default header values.
Tag definition created successfully
func NewCreateTagDefinitionCreated ¶
func NewCreateTagDefinitionCreated() *CreateTagDefinitionCreated
NewCreateTagDefinitionCreated creates a CreateTagDefinitionCreated with default headers values
func (*CreateTagDefinitionCreated) Error ¶
func (o *CreateTagDefinitionCreated) Error() string
func (*CreateTagDefinitionCreated) GetPayload ¶
func (o *CreateTagDefinitionCreated) GetPayload() *kbmodel.TagDefinition
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 values initialized.
func NewCreateTagDefinitionParamsWithContext ¶
func NewCreateTagDefinitionParamsWithContext(ctx context.Context) *CreateTagDefinitionParams
NewCreateTagDefinitionParamsWithContext creates a new CreateTagDefinitionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid tagDefinitionId supplied
func NewDeleteTagDefinitionBadRequest ¶
func NewDeleteTagDefinitionBadRequest() *DeleteTagDefinitionBadRequest
NewDeleteTagDefinitionBadRequest creates a DeleteTagDefinitionBadRequest with default headers values
func (*DeleteTagDefinitionBadRequest) Error ¶
func (o *DeleteTagDefinitionBadRequest) Error() string
type DeleteTagDefinitionNoContent ¶
type DeleteTagDefinitionNoContent struct {
HttpResponse runtime.ClientResponse
}
DeleteTagDefinitionNoContent handles this case with default header values.
Successful operation
func NewDeleteTagDefinitionNoContent ¶
func NewDeleteTagDefinitionNoContent() *DeleteTagDefinitionNoContent
NewDeleteTagDefinitionNoContent creates a DeleteTagDefinitionNoContent with default headers values
func (*DeleteTagDefinitionNoContent) Error ¶
func (o *DeleteTagDefinitionNoContent) Error() string
type DeleteTagDefinitionParams ¶
type DeleteTagDefinitionParams struct { /*XKillbillComment*/ XKillbillComment *string /*XKillbillCreatedBy*/ XKillbillCreatedBy string /*XKillbillReason*/ XKillbillReason *string /*TagDefinitionID*/ 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 values initialized.
func NewDeleteTagDefinitionParamsWithContext ¶
func NewDeleteTagDefinitionParamsWithContext(ctx context.Context) *DeleteTagDefinitionParams
NewDeleteTagDefinitionParamsWithContext creates a new DeleteTagDefinitionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Account not found
func NewGetTagDefinitionAuditLogsWithHistoryNotFound ¶
func NewGetTagDefinitionAuditLogsWithHistoryNotFound() *GetTagDefinitionAuditLogsWithHistoryNotFound
NewGetTagDefinitionAuditLogsWithHistoryNotFound creates a GetTagDefinitionAuditLogsWithHistoryNotFound with default headers values
func (*GetTagDefinitionAuditLogsWithHistoryNotFound) Error ¶
func (o *GetTagDefinitionAuditLogsWithHistoryNotFound) Error() string
type GetTagDefinitionAuditLogsWithHistoryOK ¶
type GetTagDefinitionAuditLogsWithHistoryOK struct { Payload []*kbmodel.AuditLog HttpResponse runtime.ClientResponse }
GetTagDefinitionAuditLogsWithHistoryOK handles this case with default header values.
successful operation
func NewGetTagDefinitionAuditLogsWithHistoryOK ¶
func NewGetTagDefinitionAuditLogsWithHistoryOK() *GetTagDefinitionAuditLogsWithHistoryOK
NewGetTagDefinitionAuditLogsWithHistoryOK creates a GetTagDefinitionAuditLogsWithHistoryOK with default headers values
func (*GetTagDefinitionAuditLogsWithHistoryOK) Error ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) Error() string
func (*GetTagDefinitionAuditLogsWithHistoryOK) GetPayload ¶
func (o *GetTagDefinitionAuditLogsWithHistoryOK) GetPayload() []*kbmodel.AuditLog
type GetTagDefinitionAuditLogsWithHistoryParams ¶
type GetTagDefinitionAuditLogsWithHistoryParams struct { /*TagDefinitionID*/ 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 values initialized.
func NewGetTagDefinitionAuditLogsWithHistoryParamsWithContext ¶
func NewGetTagDefinitionAuditLogsWithHistoryParamsWithContext(ctx context.Context) *GetTagDefinitionAuditLogsWithHistoryParams
NewGetTagDefinitionAuditLogsWithHistoryParamsWithContext creates a new GetTagDefinitionAuditLogsWithHistoryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
Invalid tagDefinitionId supplied
func NewGetTagDefinitionBadRequest ¶
func NewGetTagDefinitionBadRequest() *GetTagDefinitionBadRequest
NewGetTagDefinitionBadRequest creates a GetTagDefinitionBadRequest with default headers values
func (*GetTagDefinitionBadRequest) Error ¶
func (o *GetTagDefinitionBadRequest) Error() string
type GetTagDefinitionOK ¶
type GetTagDefinitionOK struct { Payload *kbmodel.TagDefinition HttpResponse runtime.ClientResponse }
GetTagDefinitionOK handles this case with default header values.
successful operation
func NewGetTagDefinitionOK ¶
func NewGetTagDefinitionOK() *GetTagDefinitionOK
NewGetTagDefinitionOK creates a GetTagDefinitionOK with default headers values
func (*GetTagDefinitionOK) Error ¶
func (o *GetTagDefinitionOK) Error() string
func (*GetTagDefinitionOK) GetPayload ¶
func (o *GetTagDefinitionOK) GetPayload() *kbmodel.TagDefinition
type GetTagDefinitionParams ¶
type GetTagDefinitionParams struct { /*Audit*/ Audit *string /*TagDefinitionID*/ 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 values initialized.
func NewGetTagDefinitionParamsWithContext ¶
func NewGetTagDefinitionParamsWithContext(ctx context.Context) *GetTagDefinitionParams
NewGetTagDefinitionParamsWithContext creates a new GetTagDefinitionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.
successful operation
func NewGetTagDefinitionsOK ¶
func NewGetTagDefinitionsOK() *GetTagDefinitionsOK
NewGetTagDefinitionsOK creates a GetTagDefinitionsOK with default headers values
func (*GetTagDefinitionsOK) Error ¶
func (o *GetTagDefinitionsOK) Error() string
func (*GetTagDefinitionsOK) GetPayload ¶
func (o *GetTagDefinitionsOK) GetPayload() []*kbmodel.TagDefinition
type GetTagDefinitionsParams ¶
type GetTagDefinitionsParams struct { /*Audit*/ 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 values initialized.
func NewGetTagDefinitionsParamsWithContext ¶
func NewGetTagDefinitionsParamsWithContext(ctx context.Context) *GetTagDefinitionsParams
NewGetTagDefinitionsParamsWithContext creates a new GetTagDefinitionsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ITagDefinition ¶
type ITagDefinition interface { /* CreateTagDefinition creates a tag definition resource description */ CreateTagDefinition(ctx context.Context, params *CreateTagDefinitionParams) (*CreateTagDefinitionCreated, error) /* DeleteTagDefinition deletes a tag definition resource description */ DeleteTagDefinition(ctx context.Context, params *DeleteTagDefinitionParams) (*DeleteTagDefinitionNoContent, error) /* GetTagDefinition retrieves a tag definition resource description */ GetTagDefinition(ctx context.Context, params *GetTagDefinitionParams) (*GetTagDefinitionOK, error) /* GetTagDefinitionAuditLogsWithHistory retrieves tag definition audit logs with history by id resource description */ GetTagDefinitionAuditLogsWithHistory(ctx context.Context, params *GetTagDefinitionAuditLogsWithHistoryParams) (*GetTagDefinitionAuditLogsWithHistoryOK, error) /* GetTagDefinitions lists tag definitions resource description */ GetTagDefinitions(ctx context.Context, params *GetTagDefinitionsParams) (*GetTagDefinitionsOK, error) }
ITagDefinition - interface for TagDefinition client.
type KillbillDefaults ¶
type KillbillDefaults interface { // Default CreatedBy. If not set explicitly in params, this will be used. XKillbillCreatedBy() *string // Default Comment. If not set explicitly in params, this will be used. XKillbillComment() *string // Default Reason. If not set explicitly in params, this will be used. XKillbillReason() *string // Default WithWithProfilingInfo. If not set explicitly in params, this will be used. KillbillWithProfilingInfo() *string // Default WithStackTrace. If not set explicitly in params, this will be used. KillbillWithStackTrace() *bool }
killbill default values. When a call is made to an operation, these values are used if params doesn't specify them.
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