tag_definition

package
v3.0.8-draft Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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 (*CreateTagDefinitionCreated) GetPayload

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

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

WithBody adds the body to the create tag definition params

func (*CreateTagDefinitionParams) WithContext

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

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

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

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

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

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

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

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

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 (*GetTagDefinitionAuditLogsWithHistoryOK) GetPayload

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

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

SetTimeout adds the timeout to the get tag definition audit logs with history params

func (*GetTagDefinitionAuditLogsWithHistoryParams) WithContext

WithContext adds the context to the get tag definition audit logs with history params

func (*GetTagDefinitionAuditLogsWithHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get tag definition audit logs with history params

func (*GetTagDefinitionAuditLogsWithHistoryParams) WithTagDefinitionID

WithTagDefinitionID adds the tagDefinitionID to the get tag definition audit logs with history params

func (*GetTagDefinitionAuditLogsWithHistoryParams) WithTimeout

WithTimeout adds the timeout to the get tag definition audit logs with history params

func (*GetTagDefinitionAuditLogsWithHistoryParams) WriteToRequest

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

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

WithAudit adds the audit to the get tag definition params

func (*GetTagDefinitionParams) WithContext

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

WithTimeout adds the timeout to the get tag definition params

func (*GetTagDefinitionParams) WriteToRequest

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

WithAudit adds the audit to the get tag definitions params

func (*GetTagDefinitionsParams) WithContext

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

WithTimeout adds the timeout to the get tag definitions params

func (*GetTagDefinitionsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL