tag_definition

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

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

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

Code gets the status code for the create tag definition bad request response

func (*CreateTagDefinitionBadRequest) Error

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

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

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

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

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) WithDefaults

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

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 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

Code gets the status code for the delete tag definition bad request response

func (*DeleteTagDefinitionBadRequest) Error

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

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

Code gets the status code for the delete tag definition no content response

func (*DeleteTagDefinitionNoContent) Error

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

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

WithContext adds the context to the delete tag definition params

func (*DeleteTagDefinitionParams) WithDefaults

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

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 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

Code gets the status code for the get tag definition audit logs with history not found response

func (*GetTagDefinitionAuditLogsWithHistoryNotFound) Error

func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsClientError

IsClientError returns true when this get tag definition audit logs with history not found response has a 4xx status code

func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsCode

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

IsRedirect returns true when this get tag definition audit logs with history not found response has a 3xx status code

func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsServerError

IsServerError returns true when this get tag definition audit logs with history not found response has a 5xx status code

func (*GetTagDefinitionAuditLogsWithHistoryNotFound) IsSuccess

IsSuccess returns true when this get tag definition audit logs with history not found response has a 2xx status code

func (*GetTagDefinitionAuditLogsWithHistoryNotFound) 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

Code gets the status code for the get tag definition audit logs with history o k response

func (*GetTagDefinitionAuditLogsWithHistoryOK) Error

func (*GetTagDefinitionAuditLogsWithHistoryOK) GetPayload

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

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

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

IsSuccess returns true when this get tag definition audit logs with history o k response has a 2xx status code

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

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

func (*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

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) WithDefaults

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

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 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 (*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

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) WithDefaults

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

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 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

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) WithDefaults

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

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 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