licensing

package
v0.0.0-...-4958bdd Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 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 licensing API

func (*Client) DeleteLicenseToken

func (a *Client) DeleteLicenseToken(body *models.DeleteTokenCommand, opts ...ClientOption) (*DeleteLicenseTokenAccepted, error)

DeleteLicenseToken removes license from database

Removes the license stored in the Grafana database. Available in Grafana Enterprise v7.4+.

You need to have a permission with action `licensing:delete`.

func (*Client) DeleteLicenseTokenWithParams

func (a *Client) DeleteLicenseTokenWithParams(params *DeleteLicenseTokenParams, opts ...ClientOption) (*DeleteLicenseTokenAccepted, error)

func (*Client) GetCustomPermissionsCSV

func (a *Client) GetCustomPermissionsCSV(opts ...ClientOption) error

GetCustomPermissionsCSV gets custom permissions report in CSV format

You need to have a permission with action `licensing.reports:read`.

func (*Client) GetCustomPermissionsCSVWithParams

func (a *Client) GetCustomPermissionsCSVWithParams(params *GetCustomPermissionsCSVParams, opts ...ClientOption) error

func (*Client) GetCustomPermissionsReport

func (a *Client) GetCustomPermissionsReport(opts ...ClientOption) error

GetCustomPermissionsReport gets custom permissions report

You need to have a permission with action `licensing.reports:read`.

func (*Client) GetCustomPermissionsReportWithParams

func (a *Client) GetCustomPermissionsReportWithParams(params *GetCustomPermissionsReportParams, opts ...ClientOption) error

func (*Client) GetLicenseToken

func (a *Client) GetLicenseToken(opts ...ClientOption) (*GetLicenseTokenOK, error)

GetLicenseToken gets license token

You need to have a permission with action `licensing:read`.

func (*Client) GetLicenseTokenWithParams

func (a *Client) GetLicenseTokenWithParams(params *GetLicenseTokenParams, opts ...ClientOption) (*GetLicenseTokenOK, error)

func (*Client) GetStatus

func (a *Client) GetStatus(opts ...ClientOption) (*GetStatusOK, error)

GetStatus checks license availability

func (*Client) GetStatusWithParams

func (a *Client) GetStatusWithParams(params *GetStatusParams, opts ...ClientOption) (*GetStatusOK, error)

func (*Client) PostLicenseToken

func (a *Client) PostLicenseToken(body *models.DeleteTokenCommand, opts ...ClientOption) (*PostLicenseTokenOK, error)

PostLicenseToken creates license token

You need to have a permission with action `licensing:update`.

func (*Client) PostLicenseTokenWithParams

func (a *Client) PostLicenseTokenWithParams(params *PostLicenseTokenParams, opts ...ClientOption) (*PostLicenseTokenOK, error)

func (*Client) PostRenewLicenseToken

func (a *Client) PostRenewLicenseToken(body interface{}, opts ...ClientOption) (*PostRenewLicenseTokenOK, error)

PostRenewLicenseToken manuallies force license refresh

Manually ask license issuer for a new token. Available in Grafana Enterprise v7.4+.

You need to have a permission with action `licensing:update`.

func (*Client) PostRenewLicenseTokenWithParams

func (a *Client) PostRenewLicenseTokenWithParams(params *PostRenewLicenseTokenParams, opts ...ClientOption) (*PostRenewLicenseTokenOK, error)

func (*Client) RefreshLicenseStats

func (a *Client) RefreshLicenseStats(opts ...ClientOption) (*RefreshLicenseStatsOK, error)

RefreshLicenseStats refreshes license stats

You need to have a permission with action `licensing:read`.

func (*Client) RefreshLicenseStatsWithParams

func (a *Client) RefreshLicenseStatsWithParams(params *RefreshLicenseStatsParams, opts ...ClientOption) (*RefreshLicenseStatsOK, error)

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

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	DeleteLicenseToken(body *models.DeleteTokenCommand, opts ...ClientOption) (*DeleteLicenseTokenAccepted, error)
	DeleteLicenseTokenWithParams(params *DeleteLicenseTokenParams, opts ...ClientOption) (*DeleteLicenseTokenAccepted, error)

	GetCustomPermissionsCSV(opts ...ClientOption) error
	GetCustomPermissionsCSVWithParams(params *GetCustomPermissionsCSVParams, opts ...ClientOption) error

	GetCustomPermissionsReport(opts ...ClientOption) error
	GetCustomPermissionsReportWithParams(params *GetCustomPermissionsReportParams, opts ...ClientOption) error

	GetLicenseToken(opts ...ClientOption) (*GetLicenseTokenOK, error)
	GetLicenseTokenWithParams(params *GetLicenseTokenParams, opts ...ClientOption) (*GetLicenseTokenOK, error)

	GetStatus(opts ...ClientOption) (*GetStatusOK, error)
	GetStatusWithParams(params *GetStatusParams, opts ...ClientOption) (*GetStatusOK, error)

	PostLicenseToken(body *models.DeleteTokenCommand, opts ...ClientOption) (*PostLicenseTokenOK, error)
	PostLicenseTokenWithParams(params *PostLicenseTokenParams, opts ...ClientOption) (*PostLicenseTokenOK, error)

	PostRenewLicenseToken(body interface{}, opts ...ClientOption) (*PostRenewLicenseTokenOK, error)
	PostRenewLicenseTokenWithParams(params *PostRenewLicenseTokenParams, opts ...ClientOption) (*PostRenewLicenseTokenOK, error)

	RefreshLicenseStats(opts ...ClientOption) (*RefreshLicenseStatsOK, error)
	RefreshLicenseStatsWithParams(params *RefreshLicenseStatsParams, opts ...ClientOption) (*RefreshLicenseStatsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new licensing API client.

type DeleteLicenseTokenAccepted

type DeleteLicenseTokenAccepted struct {
	Payload *models.ErrorResponseBody
}

DeleteLicenseTokenAccepted describes a response with status code 202, with default header values.

AcceptedResponse

func NewDeleteLicenseTokenAccepted

func NewDeleteLicenseTokenAccepted() *DeleteLicenseTokenAccepted

NewDeleteLicenseTokenAccepted creates a DeleteLicenseTokenAccepted with default headers values

func (*DeleteLicenseTokenAccepted) Code

func (o *DeleteLicenseTokenAccepted) Code() int

Code gets the status code for the delete license token accepted response

func (*DeleteLicenseTokenAccepted) Error

func (*DeleteLicenseTokenAccepted) GetPayload

func (*DeleteLicenseTokenAccepted) IsClientError

func (o *DeleteLicenseTokenAccepted) IsClientError() bool

IsClientError returns true when this delete license token accepted response has a 4xx status code

func (*DeleteLicenseTokenAccepted) IsCode

func (o *DeleteLicenseTokenAccepted) IsCode(code int) bool

IsCode returns true when this delete license token accepted response a status code equal to that given

func (*DeleteLicenseTokenAccepted) IsRedirect

func (o *DeleteLicenseTokenAccepted) IsRedirect() bool

IsRedirect returns true when this delete license token accepted response has a 3xx status code

func (*DeleteLicenseTokenAccepted) IsServerError

func (o *DeleteLicenseTokenAccepted) IsServerError() bool

IsServerError returns true when this delete license token accepted response has a 5xx status code

func (*DeleteLicenseTokenAccepted) IsSuccess

func (o *DeleteLicenseTokenAccepted) IsSuccess() bool

IsSuccess returns true when this delete license token accepted response has a 2xx status code

func (*DeleteLicenseTokenAccepted) String

func (o *DeleteLicenseTokenAccepted) String() string

type DeleteLicenseTokenBadRequest

type DeleteLicenseTokenBadRequest struct {
	Payload *models.ErrorResponseBody
}

DeleteLicenseTokenBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDeleteLicenseTokenBadRequest

func NewDeleteLicenseTokenBadRequest() *DeleteLicenseTokenBadRequest

NewDeleteLicenseTokenBadRequest creates a DeleteLicenseTokenBadRequest with default headers values

func (*DeleteLicenseTokenBadRequest) Code

Code gets the status code for the delete license token bad request response

func (*DeleteLicenseTokenBadRequest) Error

func (*DeleteLicenseTokenBadRequest) GetPayload

func (*DeleteLicenseTokenBadRequest) IsClientError

func (o *DeleteLicenseTokenBadRequest) IsClientError() bool

IsClientError returns true when this delete license token bad request response has a 4xx status code

func (*DeleteLicenseTokenBadRequest) IsCode

func (o *DeleteLicenseTokenBadRequest) IsCode(code int) bool

IsCode returns true when this delete license token bad request response a status code equal to that given

func (*DeleteLicenseTokenBadRequest) IsRedirect

func (o *DeleteLicenseTokenBadRequest) IsRedirect() bool

IsRedirect returns true when this delete license token bad request response has a 3xx status code

func (*DeleteLicenseTokenBadRequest) IsServerError

func (o *DeleteLicenseTokenBadRequest) IsServerError() bool

IsServerError returns true when this delete license token bad request response has a 5xx status code

func (*DeleteLicenseTokenBadRequest) IsSuccess

func (o *DeleteLicenseTokenBadRequest) IsSuccess() bool

IsSuccess returns true when this delete license token bad request response has a 2xx status code

func (*DeleteLicenseTokenBadRequest) String

type DeleteLicenseTokenForbidden

type DeleteLicenseTokenForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteLicenseTokenForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteLicenseTokenForbidden

func NewDeleteLicenseTokenForbidden() *DeleteLicenseTokenForbidden

NewDeleteLicenseTokenForbidden creates a DeleteLicenseTokenForbidden with default headers values

func (*DeleteLicenseTokenForbidden) Code

func (o *DeleteLicenseTokenForbidden) Code() int

Code gets the status code for the delete license token forbidden response

func (*DeleteLicenseTokenForbidden) Error

func (*DeleteLicenseTokenForbidden) GetPayload

func (*DeleteLicenseTokenForbidden) IsClientError

func (o *DeleteLicenseTokenForbidden) IsClientError() bool

IsClientError returns true when this delete license token forbidden response has a 4xx status code

func (*DeleteLicenseTokenForbidden) IsCode

func (o *DeleteLicenseTokenForbidden) IsCode(code int) bool

IsCode returns true when this delete license token forbidden response a status code equal to that given

func (*DeleteLicenseTokenForbidden) IsRedirect

func (o *DeleteLicenseTokenForbidden) IsRedirect() bool

IsRedirect returns true when this delete license token forbidden response has a 3xx status code

func (*DeleteLicenseTokenForbidden) IsServerError

func (o *DeleteLicenseTokenForbidden) IsServerError() bool

IsServerError returns true when this delete license token forbidden response has a 5xx status code

func (*DeleteLicenseTokenForbidden) IsSuccess

func (o *DeleteLicenseTokenForbidden) IsSuccess() bool

IsSuccess returns true when this delete license token forbidden response has a 2xx status code

func (*DeleteLicenseTokenForbidden) String

func (o *DeleteLicenseTokenForbidden) String() string

type DeleteLicenseTokenInternalServerError

type DeleteLicenseTokenInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteLicenseTokenInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteLicenseTokenInternalServerError

func NewDeleteLicenseTokenInternalServerError() *DeleteLicenseTokenInternalServerError

NewDeleteLicenseTokenInternalServerError creates a DeleteLicenseTokenInternalServerError with default headers values

func (*DeleteLicenseTokenInternalServerError) Code

Code gets the status code for the delete license token internal server error response

func (*DeleteLicenseTokenInternalServerError) Error

func (*DeleteLicenseTokenInternalServerError) GetPayload

func (*DeleteLicenseTokenInternalServerError) IsClientError

func (o *DeleteLicenseTokenInternalServerError) IsClientError() bool

IsClientError returns true when this delete license token internal server error response has a 4xx status code

func (*DeleteLicenseTokenInternalServerError) IsCode

IsCode returns true when this delete license token internal server error response a status code equal to that given

func (*DeleteLicenseTokenInternalServerError) IsRedirect

IsRedirect returns true when this delete license token internal server error response has a 3xx status code

func (*DeleteLicenseTokenInternalServerError) IsServerError

func (o *DeleteLicenseTokenInternalServerError) IsServerError() bool

IsServerError returns true when this delete license token internal server error response has a 5xx status code

func (*DeleteLicenseTokenInternalServerError) IsSuccess

IsSuccess returns true when this delete license token internal server error response has a 2xx status code

func (*DeleteLicenseTokenInternalServerError) String

type DeleteLicenseTokenParams

type DeleteLicenseTokenParams struct {

	// Body.
	Body *models.DeleteTokenCommand

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteLicenseTokenParams contains all the parameters to send to the API endpoint

for the delete license token operation.

Typically these are written to a http.Request.

func NewDeleteLicenseTokenParams

func NewDeleteLicenseTokenParams() *DeleteLicenseTokenParams

NewDeleteLicenseTokenParams creates a new DeleteLicenseTokenParams 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 NewDeleteLicenseTokenParamsWithContext

func NewDeleteLicenseTokenParamsWithContext(ctx context.Context) *DeleteLicenseTokenParams

NewDeleteLicenseTokenParamsWithContext creates a new DeleteLicenseTokenParams object with the ability to set a context for a request.

func NewDeleteLicenseTokenParamsWithHTTPClient

func NewDeleteLicenseTokenParamsWithHTTPClient(client *http.Client) *DeleteLicenseTokenParams

NewDeleteLicenseTokenParamsWithHTTPClient creates a new DeleteLicenseTokenParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLicenseTokenParamsWithTimeout

func NewDeleteLicenseTokenParamsWithTimeout(timeout time.Duration) *DeleteLicenseTokenParams

NewDeleteLicenseTokenParamsWithTimeout creates a new DeleteLicenseTokenParams object with the ability to set a timeout on a request.

func (*DeleteLicenseTokenParams) SetBody

SetBody adds the body to the delete license token params

func (*DeleteLicenseTokenParams) SetContext

func (o *DeleteLicenseTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the delete license token params

func (*DeleteLicenseTokenParams) SetDefaults

func (o *DeleteLicenseTokenParams) SetDefaults()

SetDefaults hydrates default values in the delete license token params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteLicenseTokenParams) SetHTTPClient

func (o *DeleteLicenseTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete license token params

func (*DeleteLicenseTokenParams) SetTimeout

func (o *DeleteLicenseTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete license token params

func (*DeleteLicenseTokenParams) WithBody

WithBody adds the body to the delete license token params

func (*DeleteLicenseTokenParams) WithContext

WithContext adds the context to the delete license token params

func (*DeleteLicenseTokenParams) WithDefaults

WithDefaults hydrates default values in the delete license token params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteLicenseTokenParams) WithHTTPClient

func (o *DeleteLicenseTokenParams) WithHTTPClient(client *http.Client) *DeleteLicenseTokenParams

WithHTTPClient adds the HTTPClient to the delete license token params

func (*DeleteLicenseTokenParams) WithTimeout

WithTimeout adds the timeout to the delete license token params

func (*DeleteLicenseTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLicenseTokenReader

type DeleteLicenseTokenReader struct {
	// contains filtered or unexported fields
}

DeleteLicenseTokenReader is a Reader for the DeleteLicenseToken structure.

func (*DeleteLicenseTokenReader) ReadResponse

func (o *DeleteLicenseTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteLicenseTokenUnauthorized

type DeleteLicenseTokenUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteLicenseTokenUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteLicenseTokenUnauthorized

func NewDeleteLicenseTokenUnauthorized() *DeleteLicenseTokenUnauthorized

NewDeleteLicenseTokenUnauthorized creates a DeleteLicenseTokenUnauthorized with default headers values

func (*DeleteLicenseTokenUnauthorized) Code

Code gets the status code for the delete license token unauthorized response

func (*DeleteLicenseTokenUnauthorized) Error

func (*DeleteLicenseTokenUnauthorized) GetPayload

func (*DeleteLicenseTokenUnauthorized) IsClientError

func (o *DeleteLicenseTokenUnauthorized) IsClientError() bool

IsClientError returns true when this delete license token unauthorized response has a 4xx status code

func (*DeleteLicenseTokenUnauthorized) IsCode

func (o *DeleteLicenseTokenUnauthorized) IsCode(code int) bool

IsCode returns true when this delete license token unauthorized response a status code equal to that given

func (*DeleteLicenseTokenUnauthorized) IsRedirect

func (o *DeleteLicenseTokenUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete license token unauthorized response has a 3xx status code

func (*DeleteLicenseTokenUnauthorized) IsServerError

func (o *DeleteLicenseTokenUnauthorized) IsServerError() bool

IsServerError returns true when this delete license token unauthorized response has a 5xx status code

func (*DeleteLicenseTokenUnauthorized) IsSuccess

func (o *DeleteLicenseTokenUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete license token unauthorized response has a 2xx status code

func (*DeleteLicenseTokenUnauthorized) String

type DeleteLicenseTokenUnprocessableEntity

type DeleteLicenseTokenUnprocessableEntity struct {
	Payload *models.ErrorResponseBody
}

DeleteLicenseTokenUnprocessableEntity describes a response with status code 422, with default header values.

UnprocessableEntityError

func NewDeleteLicenseTokenUnprocessableEntity

func NewDeleteLicenseTokenUnprocessableEntity() *DeleteLicenseTokenUnprocessableEntity

NewDeleteLicenseTokenUnprocessableEntity creates a DeleteLicenseTokenUnprocessableEntity with default headers values

func (*DeleteLicenseTokenUnprocessableEntity) Code

Code gets the status code for the delete license token unprocessable entity response

func (*DeleteLicenseTokenUnprocessableEntity) Error

func (*DeleteLicenseTokenUnprocessableEntity) GetPayload

func (*DeleteLicenseTokenUnprocessableEntity) IsClientError

func (o *DeleteLicenseTokenUnprocessableEntity) IsClientError() bool

IsClientError returns true when this delete license token unprocessable entity response has a 4xx status code

func (*DeleteLicenseTokenUnprocessableEntity) IsCode

IsCode returns true when this delete license token unprocessable entity response a status code equal to that given

func (*DeleteLicenseTokenUnprocessableEntity) IsRedirect

IsRedirect returns true when this delete license token unprocessable entity response has a 3xx status code

func (*DeleteLicenseTokenUnprocessableEntity) IsServerError

func (o *DeleteLicenseTokenUnprocessableEntity) IsServerError() bool

IsServerError returns true when this delete license token unprocessable entity response has a 5xx status code

func (*DeleteLicenseTokenUnprocessableEntity) IsSuccess

IsSuccess returns true when this delete license token unprocessable entity response has a 2xx status code

func (*DeleteLicenseTokenUnprocessableEntity) String

type GetCustomPermissionsCSVInternalServerError

type GetCustomPermissionsCSVInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetCustomPermissionsCSVInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetCustomPermissionsCSVInternalServerError

func NewGetCustomPermissionsCSVInternalServerError() *GetCustomPermissionsCSVInternalServerError

NewGetCustomPermissionsCSVInternalServerError creates a GetCustomPermissionsCSVInternalServerError with default headers values

func (*GetCustomPermissionsCSVInternalServerError) Code

Code gets the status code for the get custom permissions Csv internal server error response

func (*GetCustomPermissionsCSVInternalServerError) Error

func (*GetCustomPermissionsCSVInternalServerError) GetPayload

func (*GetCustomPermissionsCSVInternalServerError) IsClientError

IsClientError returns true when this get custom permissions Csv internal server error response has a 4xx status code

func (*GetCustomPermissionsCSVInternalServerError) IsCode

IsCode returns true when this get custom permissions Csv internal server error response a status code equal to that given

func (*GetCustomPermissionsCSVInternalServerError) IsRedirect

IsRedirect returns true when this get custom permissions Csv internal server error response has a 3xx status code

func (*GetCustomPermissionsCSVInternalServerError) IsServerError

IsServerError returns true when this get custom permissions Csv internal server error response has a 5xx status code

func (*GetCustomPermissionsCSVInternalServerError) IsSuccess

IsSuccess returns true when this get custom permissions Csv internal server error response has a 2xx status code

func (*GetCustomPermissionsCSVInternalServerError) String

type GetCustomPermissionsCSVParams

type GetCustomPermissionsCSVParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCustomPermissionsCSVParams contains all the parameters to send to the API endpoint

for the get custom permissions CSV operation.

Typically these are written to a http.Request.

func NewGetCustomPermissionsCSVParams

func NewGetCustomPermissionsCSVParams() *GetCustomPermissionsCSVParams

NewGetCustomPermissionsCSVParams creates a new GetCustomPermissionsCSVParams 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 NewGetCustomPermissionsCSVParamsWithContext

func NewGetCustomPermissionsCSVParamsWithContext(ctx context.Context) *GetCustomPermissionsCSVParams

NewGetCustomPermissionsCSVParamsWithContext creates a new GetCustomPermissionsCSVParams object with the ability to set a context for a request.

func NewGetCustomPermissionsCSVParamsWithHTTPClient

func NewGetCustomPermissionsCSVParamsWithHTTPClient(client *http.Client) *GetCustomPermissionsCSVParams

NewGetCustomPermissionsCSVParamsWithHTTPClient creates a new GetCustomPermissionsCSVParams object with the ability to set a custom HTTPClient for a request.

func NewGetCustomPermissionsCSVParamsWithTimeout

func NewGetCustomPermissionsCSVParamsWithTimeout(timeout time.Duration) *GetCustomPermissionsCSVParams

NewGetCustomPermissionsCSVParamsWithTimeout creates a new GetCustomPermissionsCSVParams object with the ability to set a timeout on a request.

func (*GetCustomPermissionsCSVParams) SetContext

func (o *GetCustomPermissionsCSVParams) SetContext(ctx context.Context)

SetContext adds the context to the get custom permissions CSV params

func (*GetCustomPermissionsCSVParams) SetDefaults

func (o *GetCustomPermissionsCSVParams) SetDefaults()

SetDefaults hydrates default values in the get custom permissions CSV params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomPermissionsCSVParams) SetHTTPClient

func (o *GetCustomPermissionsCSVParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get custom permissions CSV params

func (*GetCustomPermissionsCSVParams) SetTimeout

func (o *GetCustomPermissionsCSVParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get custom permissions CSV params

func (*GetCustomPermissionsCSVParams) WithContext

WithContext adds the context to the get custom permissions CSV params

func (*GetCustomPermissionsCSVParams) WithDefaults

WithDefaults hydrates default values in the get custom permissions CSV params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomPermissionsCSVParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get custom permissions CSV params

func (*GetCustomPermissionsCSVParams) WithTimeout

WithTimeout adds the timeout to the get custom permissions CSV params

func (*GetCustomPermissionsCSVParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCustomPermissionsCSVReader

type GetCustomPermissionsCSVReader struct {
	// contains filtered or unexported fields
}

GetCustomPermissionsCSVReader is a Reader for the GetCustomPermissionsCSV structure.

func (*GetCustomPermissionsCSVReader) ReadResponse

func (o *GetCustomPermissionsCSVReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCustomPermissionsReportInternalServerError

type GetCustomPermissionsReportInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetCustomPermissionsReportInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetCustomPermissionsReportInternalServerError

func NewGetCustomPermissionsReportInternalServerError() *GetCustomPermissionsReportInternalServerError

NewGetCustomPermissionsReportInternalServerError creates a GetCustomPermissionsReportInternalServerError with default headers values

func (*GetCustomPermissionsReportInternalServerError) Code

Code gets the status code for the get custom permissions report internal server error response

func (*GetCustomPermissionsReportInternalServerError) Error

func (*GetCustomPermissionsReportInternalServerError) GetPayload

func (*GetCustomPermissionsReportInternalServerError) IsClientError

IsClientError returns true when this get custom permissions report internal server error response has a 4xx status code

func (*GetCustomPermissionsReportInternalServerError) IsCode

IsCode returns true when this get custom permissions report internal server error response a status code equal to that given

func (*GetCustomPermissionsReportInternalServerError) IsRedirect

IsRedirect returns true when this get custom permissions report internal server error response has a 3xx status code

func (*GetCustomPermissionsReportInternalServerError) IsServerError

IsServerError returns true when this get custom permissions report internal server error response has a 5xx status code

func (*GetCustomPermissionsReportInternalServerError) IsSuccess

IsSuccess returns true when this get custom permissions report internal server error response has a 2xx status code

func (*GetCustomPermissionsReportInternalServerError) String

type GetCustomPermissionsReportParams

type GetCustomPermissionsReportParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCustomPermissionsReportParams contains all the parameters to send to the API endpoint

for the get custom permissions report operation.

Typically these are written to a http.Request.

func NewGetCustomPermissionsReportParams

func NewGetCustomPermissionsReportParams() *GetCustomPermissionsReportParams

NewGetCustomPermissionsReportParams creates a new GetCustomPermissionsReportParams 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 NewGetCustomPermissionsReportParamsWithContext

func NewGetCustomPermissionsReportParamsWithContext(ctx context.Context) *GetCustomPermissionsReportParams

NewGetCustomPermissionsReportParamsWithContext creates a new GetCustomPermissionsReportParams object with the ability to set a context for a request.

func NewGetCustomPermissionsReportParamsWithHTTPClient

func NewGetCustomPermissionsReportParamsWithHTTPClient(client *http.Client) *GetCustomPermissionsReportParams

NewGetCustomPermissionsReportParamsWithHTTPClient creates a new GetCustomPermissionsReportParams object with the ability to set a custom HTTPClient for a request.

func NewGetCustomPermissionsReportParamsWithTimeout

func NewGetCustomPermissionsReportParamsWithTimeout(timeout time.Duration) *GetCustomPermissionsReportParams

NewGetCustomPermissionsReportParamsWithTimeout creates a new GetCustomPermissionsReportParams object with the ability to set a timeout on a request.

func (*GetCustomPermissionsReportParams) SetContext

SetContext adds the context to the get custom permissions report params

func (*GetCustomPermissionsReportParams) SetDefaults

func (o *GetCustomPermissionsReportParams) SetDefaults()

SetDefaults hydrates default values in the get custom permissions report params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomPermissionsReportParams) SetHTTPClient

func (o *GetCustomPermissionsReportParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get custom permissions report params

func (*GetCustomPermissionsReportParams) SetTimeout

func (o *GetCustomPermissionsReportParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get custom permissions report params

func (*GetCustomPermissionsReportParams) WithContext

WithContext adds the context to the get custom permissions report params

func (*GetCustomPermissionsReportParams) WithDefaults

WithDefaults hydrates default values in the get custom permissions report params (not the query body).

All values with no default are reset to their zero value.

func (*GetCustomPermissionsReportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get custom permissions report params

func (*GetCustomPermissionsReportParams) WithTimeout

WithTimeout adds the timeout to the get custom permissions report params

func (*GetCustomPermissionsReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCustomPermissionsReportReader

type GetCustomPermissionsReportReader struct {
	// contains filtered or unexported fields
}

GetCustomPermissionsReportReader is a Reader for the GetCustomPermissionsReport structure.

func (*GetCustomPermissionsReportReader) ReadResponse

func (o *GetCustomPermissionsReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetLicenseTokenOK

type GetLicenseTokenOK struct {
	Payload *models.Token
}

GetLicenseTokenOK describes a response with status code 200, with default header values.

(empty)

func NewGetLicenseTokenOK

func NewGetLicenseTokenOK() *GetLicenseTokenOK

NewGetLicenseTokenOK creates a GetLicenseTokenOK with default headers values

func (*GetLicenseTokenOK) Code

func (o *GetLicenseTokenOK) Code() int

Code gets the status code for the get license token Ok response

func (*GetLicenseTokenOK) Error

func (o *GetLicenseTokenOK) Error() string

func (*GetLicenseTokenOK) GetPayload

func (o *GetLicenseTokenOK) GetPayload() *models.Token

func (*GetLicenseTokenOK) IsClientError

func (o *GetLicenseTokenOK) IsClientError() bool

IsClientError returns true when this get license token Ok response has a 4xx status code

func (*GetLicenseTokenOK) IsCode

func (o *GetLicenseTokenOK) IsCode(code int) bool

IsCode returns true when this get license token Ok response a status code equal to that given

func (*GetLicenseTokenOK) IsRedirect

func (o *GetLicenseTokenOK) IsRedirect() bool

IsRedirect returns true when this get license token Ok response has a 3xx status code

func (*GetLicenseTokenOK) IsServerError

func (o *GetLicenseTokenOK) IsServerError() bool

IsServerError returns true when this get license token Ok response has a 5xx status code

func (*GetLicenseTokenOK) IsSuccess

func (o *GetLicenseTokenOK) IsSuccess() bool

IsSuccess returns true when this get license token Ok response has a 2xx status code

func (*GetLicenseTokenOK) String

func (o *GetLicenseTokenOK) String() string

type GetLicenseTokenParams

type GetLicenseTokenParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetLicenseTokenParams contains all the parameters to send to the API endpoint

for the get license token operation.

Typically these are written to a http.Request.

func NewGetLicenseTokenParams

func NewGetLicenseTokenParams() *GetLicenseTokenParams

NewGetLicenseTokenParams creates a new GetLicenseTokenParams 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 NewGetLicenseTokenParamsWithContext

func NewGetLicenseTokenParamsWithContext(ctx context.Context) *GetLicenseTokenParams

NewGetLicenseTokenParamsWithContext creates a new GetLicenseTokenParams object with the ability to set a context for a request.

func NewGetLicenseTokenParamsWithHTTPClient

func NewGetLicenseTokenParamsWithHTTPClient(client *http.Client) *GetLicenseTokenParams

NewGetLicenseTokenParamsWithHTTPClient creates a new GetLicenseTokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetLicenseTokenParamsWithTimeout

func NewGetLicenseTokenParamsWithTimeout(timeout time.Duration) *GetLicenseTokenParams

NewGetLicenseTokenParamsWithTimeout creates a new GetLicenseTokenParams object with the ability to set a timeout on a request.

func (*GetLicenseTokenParams) SetContext

func (o *GetLicenseTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the get license token params

func (*GetLicenseTokenParams) SetDefaults

func (o *GetLicenseTokenParams) SetDefaults()

SetDefaults hydrates default values in the get license token params (not the query body).

All values with no default are reset to their zero value.

func (*GetLicenseTokenParams) SetHTTPClient

func (o *GetLicenseTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get license token params

func (*GetLicenseTokenParams) SetTimeout

func (o *GetLicenseTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get license token params

func (*GetLicenseTokenParams) WithContext

WithContext adds the context to the get license token params

func (*GetLicenseTokenParams) WithDefaults

func (o *GetLicenseTokenParams) WithDefaults() *GetLicenseTokenParams

WithDefaults hydrates default values in the get license token params (not the query body).

All values with no default are reset to their zero value.

func (*GetLicenseTokenParams) WithHTTPClient

func (o *GetLicenseTokenParams) WithHTTPClient(client *http.Client) *GetLicenseTokenParams

WithHTTPClient adds the HTTPClient to the get license token params

func (*GetLicenseTokenParams) WithTimeout

func (o *GetLicenseTokenParams) WithTimeout(timeout time.Duration) *GetLicenseTokenParams

WithTimeout adds the timeout to the get license token params

func (*GetLicenseTokenParams) WriteToRequest

func (o *GetLicenseTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLicenseTokenReader

type GetLicenseTokenReader struct {
	// contains filtered or unexported fields
}

GetLicenseTokenReader is a Reader for the GetLicenseToken structure.

func (*GetLicenseTokenReader) ReadResponse

func (o *GetLicenseTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStatusOK

type GetStatusOK struct {
}

GetStatusOK describes a response with status code 200, with default header values.

(empty)

func NewGetStatusOK

func NewGetStatusOK() *GetStatusOK

NewGetStatusOK creates a GetStatusOK with default headers values

func (*GetStatusOK) Code

func (o *GetStatusOK) Code() int

Code gets the status code for the get status Ok response

func (*GetStatusOK) Error

func (o *GetStatusOK) Error() string

func (*GetStatusOK) IsClientError

func (o *GetStatusOK) IsClientError() bool

IsClientError returns true when this get status Ok response has a 4xx status code

func (*GetStatusOK) IsCode

func (o *GetStatusOK) IsCode(code int) bool

IsCode returns true when this get status Ok response a status code equal to that given

func (*GetStatusOK) IsRedirect

func (o *GetStatusOK) IsRedirect() bool

IsRedirect returns true when this get status Ok response has a 3xx status code

func (*GetStatusOK) IsServerError

func (o *GetStatusOK) IsServerError() bool

IsServerError returns true when this get status Ok response has a 5xx status code

func (*GetStatusOK) IsSuccess

func (o *GetStatusOK) IsSuccess() bool

IsSuccess returns true when this get status Ok response has a 2xx status code

func (*GetStatusOK) String

func (o *GetStatusOK) String() string

type GetStatusParams

type GetStatusParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStatusParams contains all the parameters to send to the API endpoint

for the get status operation.

Typically these are written to a http.Request.

func NewGetStatusParams

func NewGetStatusParams() *GetStatusParams

NewGetStatusParams creates a new GetStatusParams 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 NewGetStatusParamsWithContext

func NewGetStatusParamsWithContext(ctx context.Context) *GetStatusParams

NewGetStatusParamsWithContext creates a new GetStatusParams object with the ability to set a context for a request.

func NewGetStatusParamsWithHTTPClient

func NewGetStatusParamsWithHTTPClient(client *http.Client) *GetStatusParams

NewGetStatusParamsWithHTTPClient creates a new GetStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetStatusParamsWithTimeout

func NewGetStatusParamsWithTimeout(timeout time.Duration) *GetStatusParams

NewGetStatusParamsWithTimeout creates a new GetStatusParams object with the ability to set a timeout on a request.

func (*GetStatusParams) SetContext

func (o *GetStatusParams) SetContext(ctx context.Context)

SetContext adds the context to the get status params

func (*GetStatusParams) SetDefaults

func (o *GetStatusParams) SetDefaults()

SetDefaults hydrates default values in the get status params (not the query body).

All values with no default are reset to their zero value.

func (*GetStatusParams) SetHTTPClient

func (o *GetStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) SetTimeout

func (o *GetStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get status params

func (*GetStatusParams) WithContext

func (o *GetStatusParams) WithContext(ctx context.Context) *GetStatusParams

WithContext adds the context to the get status params

func (*GetStatusParams) WithDefaults

func (o *GetStatusParams) WithDefaults() *GetStatusParams

WithDefaults hydrates default values in the get status params (not the query body).

All values with no default are reset to their zero value.

func (*GetStatusParams) WithHTTPClient

func (o *GetStatusParams) WithHTTPClient(client *http.Client) *GetStatusParams

WithHTTPClient adds the HTTPClient to the get status params

func (*GetStatusParams) WithTimeout

func (o *GetStatusParams) WithTimeout(timeout time.Duration) *GetStatusParams

WithTimeout adds the timeout to the get status params

func (*GetStatusParams) WriteToRequest

func (o *GetStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStatusReader

type GetStatusReader struct {
	// contains filtered or unexported fields
}

GetStatusReader is a Reader for the GetStatus structure.

func (*GetStatusReader) ReadResponse

func (o *GetStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostLicenseTokenBadRequest

type PostLicenseTokenBadRequest struct {
	Payload *models.ErrorResponseBody
}

PostLicenseTokenBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewPostLicenseTokenBadRequest

func NewPostLicenseTokenBadRequest() *PostLicenseTokenBadRequest

NewPostLicenseTokenBadRequest creates a PostLicenseTokenBadRequest with default headers values

func (*PostLicenseTokenBadRequest) Code

func (o *PostLicenseTokenBadRequest) Code() int

Code gets the status code for the post license token bad request response

func (*PostLicenseTokenBadRequest) Error

func (*PostLicenseTokenBadRequest) GetPayload

func (*PostLicenseTokenBadRequest) IsClientError

func (o *PostLicenseTokenBadRequest) IsClientError() bool

IsClientError returns true when this post license token bad request response has a 4xx status code

func (*PostLicenseTokenBadRequest) IsCode

func (o *PostLicenseTokenBadRequest) IsCode(code int) bool

IsCode returns true when this post license token bad request response a status code equal to that given

func (*PostLicenseTokenBadRequest) IsRedirect

func (o *PostLicenseTokenBadRequest) IsRedirect() bool

IsRedirect returns true when this post license token bad request response has a 3xx status code

func (*PostLicenseTokenBadRequest) IsServerError

func (o *PostLicenseTokenBadRequest) IsServerError() bool

IsServerError returns true when this post license token bad request response has a 5xx status code

func (*PostLicenseTokenBadRequest) IsSuccess

func (o *PostLicenseTokenBadRequest) IsSuccess() bool

IsSuccess returns true when this post license token bad request response has a 2xx status code

func (*PostLicenseTokenBadRequest) String

func (o *PostLicenseTokenBadRequest) String() string

type PostLicenseTokenOK

type PostLicenseTokenOK struct {
	Payload *models.Token
}

PostLicenseTokenOK describes a response with status code 200, with default header values.

(empty)

func NewPostLicenseTokenOK

func NewPostLicenseTokenOK() *PostLicenseTokenOK

NewPostLicenseTokenOK creates a PostLicenseTokenOK with default headers values

func (*PostLicenseTokenOK) Code

func (o *PostLicenseTokenOK) Code() int

Code gets the status code for the post license token Ok response

func (*PostLicenseTokenOK) Error

func (o *PostLicenseTokenOK) Error() string

func (*PostLicenseTokenOK) GetPayload

func (o *PostLicenseTokenOK) GetPayload() *models.Token

func (*PostLicenseTokenOK) IsClientError

func (o *PostLicenseTokenOK) IsClientError() bool

IsClientError returns true when this post license token Ok response has a 4xx status code

func (*PostLicenseTokenOK) IsCode

func (o *PostLicenseTokenOK) IsCode(code int) bool

IsCode returns true when this post license token Ok response a status code equal to that given

func (*PostLicenseTokenOK) IsRedirect

func (o *PostLicenseTokenOK) IsRedirect() bool

IsRedirect returns true when this post license token Ok response has a 3xx status code

func (*PostLicenseTokenOK) IsServerError

func (o *PostLicenseTokenOK) IsServerError() bool

IsServerError returns true when this post license token Ok response has a 5xx status code

func (*PostLicenseTokenOK) IsSuccess

func (o *PostLicenseTokenOK) IsSuccess() bool

IsSuccess returns true when this post license token Ok response has a 2xx status code

func (*PostLicenseTokenOK) String

func (o *PostLicenseTokenOK) String() string

type PostLicenseTokenParams

type PostLicenseTokenParams struct {

	// Body.
	Body *models.DeleteTokenCommand

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostLicenseTokenParams contains all the parameters to send to the API endpoint

for the post license token operation.

Typically these are written to a http.Request.

func NewPostLicenseTokenParams

func NewPostLicenseTokenParams() *PostLicenseTokenParams

NewPostLicenseTokenParams creates a new PostLicenseTokenParams 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 NewPostLicenseTokenParamsWithContext

func NewPostLicenseTokenParamsWithContext(ctx context.Context) *PostLicenseTokenParams

NewPostLicenseTokenParamsWithContext creates a new PostLicenseTokenParams object with the ability to set a context for a request.

func NewPostLicenseTokenParamsWithHTTPClient

func NewPostLicenseTokenParamsWithHTTPClient(client *http.Client) *PostLicenseTokenParams

NewPostLicenseTokenParamsWithHTTPClient creates a new PostLicenseTokenParams object with the ability to set a custom HTTPClient for a request.

func NewPostLicenseTokenParamsWithTimeout

func NewPostLicenseTokenParamsWithTimeout(timeout time.Duration) *PostLicenseTokenParams

NewPostLicenseTokenParamsWithTimeout creates a new PostLicenseTokenParams object with the ability to set a timeout on a request.

func (*PostLicenseTokenParams) SetBody

SetBody adds the body to the post license token params

func (*PostLicenseTokenParams) SetContext

func (o *PostLicenseTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the post license token params

func (*PostLicenseTokenParams) SetDefaults

func (o *PostLicenseTokenParams) SetDefaults()

SetDefaults hydrates default values in the post license token params (not the query body).

All values with no default are reset to their zero value.

func (*PostLicenseTokenParams) SetHTTPClient

func (o *PostLicenseTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post license token params

func (*PostLicenseTokenParams) SetTimeout

func (o *PostLicenseTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post license token params

func (*PostLicenseTokenParams) WithBody

WithBody adds the body to the post license token params

func (*PostLicenseTokenParams) WithContext

WithContext adds the context to the post license token params

func (*PostLicenseTokenParams) WithDefaults

WithDefaults hydrates default values in the post license token params (not the query body).

All values with no default are reset to their zero value.

func (*PostLicenseTokenParams) WithHTTPClient

func (o *PostLicenseTokenParams) WithHTTPClient(client *http.Client) *PostLicenseTokenParams

WithHTTPClient adds the HTTPClient to the post license token params

func (*PostLicenseTokenParams) WithTimeout

WithTimeout adds the timeout to the post license token params

func (*PostLicenseTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostLicenseTokenReader

type PostLicenseTokenReader struct {
	// contains filtered or unexported fields
}

PostLicenseTokenReader is a Reader for the PostLicenseToken structure.

func (*PostLicenseTokenReader) ReadResponse

func (o *PostLicenseTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostRenewLicenseTokenNotFound

type PostRenewLicenseTokenNotFound struct {
	Payload *models.ErrorResponseBody
}

PostRenewLicenseTokenNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewPostRenewLicenseTokenNotFound

func NewPostRenewLicenseTokenNotFound() *PostRenewLicenseTokenNotFound

NewPostRenewLicenseTokenNotFound creates a PostRenewLicenseTokenNotFound with default headers values

func (*PostRenewLicenseTokenNotFound) Code

Code gets the status code for the post renew license token not found response

func (*PostRenewLicenseTokenNotFound) Error

func (*PostRenewLicenseTokenNotFound) GetPayload

func (*PostRenewLicenseTokenNotFound) IsClientError

func (o *PostRenewLicenseTokenNotFound) IsClientError() bool

IsClientError returns true when this post renew license token not found response has a 4xx status code

func (*PostRenewLicenseTokenNotFound) IsCode

func (o *PostRenewLicenseTokenNotFound) IsCode(code int) bool

IsCode returns true when this post renew license token not found response a status code equal to that given

func (*PostRenewLicenseTokenNotFound) IsRedirect

func (o *PostRenewLicenseTokenNotFound) IsRedirect() bool

IsRedirect returns true when this post renew license token not found response has a 3xx status code

func (*PostRenewLicenseTokenNotFound) IsServerError

func (o *PostRenewLicenseTokenNotFound) IsServerError() bool

IsServerError returns true when this post renew license token not found response has a 5xx status code

func (*PostRenewLicenseTokenNotFound) IsSuccess

func (o *PostRenewLicenseTokenNotFound) IsSuccess() bool

IsSuccess returns true when this post renew license token not found response has a 2xx status code

func (*PostRenewLicenseTokenNotFound) String

type PostRenewLicenseTokenOK

type PostRenewLicenseTokenOK struct {
}

PostRenewLicenseTokenOK describes a response with status code 200, with default header values.

(empty)

func NewPostRenewLicenseTokenOK

func NewPostRenewLicenseTokenOK() *PostRenewLicenseTokenOK

NewPostRenewLicenseTokenOK creates a PostRenewLicenseTokenOK with default headers values

func (*PostRenewLicenseTokenOK) Code

func (o *PostRenewLicenseTokenOK) Code() int

Code gets the status code for the post renew license token Ok response

func (*PostRenewLicenseTokenOK) Error

func (o *PostRenewLicenseTokenOK) Error() string

func (*PostRenewLicenseTokenOK) IsClientError

func (o *PostRenewLicenseTokenOK) IsClientError() bool

IsClientError returns true when this post renew license token Ok response has a 4xx status code

func (*PostRenewLicenseTokenOK) IsCode

func (o *PostRenewLicenseTokenOK) IsCode(code int) bool

IsCode returns true when this post renew license token Ok response a status code equal to that given

func (*PostRenewLicenseTokenOK) IsRedirect

func (o *PostRenewLicenseTokenOK) IsRedirect() bool

IsRedirect returns true when this post renew license token Ok response has a 3xx status code

func (*PostRenewLicenseTokenOK) IsServerError

func (o *PostRenewLicenseTokenOK) IsServerError() bool

IsServerError returns true when this post renew license token Ok response has a 5xx status code

func (*PostRenewLicenseTokenOK) IsSuccess

func (o *PostRenewLicenseTokenOK) IsSuccess() bool

IsSuccess returns true when this post renew license token Ok response has a 2xx status code

func (*PostRenewLicenseTokenOK) String

func (o *PostRenewLicenseTokenOK) String() string

type PostRenewLicenseTokenParams

type PostRenewLicenseTokenParams struct {

	// Body.
	Body interface{}

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostRenewLicenseTokenParams contains all the parameters to send to the API endpoint

for the post renew license token operation.

Typically these are written to a http.Request.

func NewPostRenewLicenseTokenParams

func NewPostRenewLicenseTokenParams() *PostRenewLicenseTokenParams

NewPostRenewLicenseTokenParams creates a new PostRenewLicenseTokenParams 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 NewPostRenewLicenseTokenParamsWithContext

func NewPostRenewLicenseTokenParamsWithContext(ctx context.Context) *PostRenewLicenseTokenParams

NewPostRenewLicenseTokenParamsWithContext creates a new PostRenewLicenseTokenParams object with the ability to set a context for a request.

func NewPostRenewLicenseTokenParamsWithHTTPClient

func NewPostRenewLicenseTokenParamsWithHTTPClient(client *http.Client) *PostRenewLicenseTokenParams

NewPostRenewLicenseTokenParamsWithHTTPClient creates a new PostRenewLicenseTokenParams object with the ability to set a custom HTTPClient for a request.

func NewPostRenewLicenseTokenParamsWithTimeout

func NewPostRenewLicenseTokenParamsWithTimeout(timeout time.Duration) *PostRenewLicenseTokenParams

NewPostRenewLicenseTokenParamsWithTimeout creates a new PostRenewLicenseTokenParams object with the ability to set a timeout on a request.

func (*PostRenewLicenseTokenParams) SetBody

func (o *PostRenewLicenseTokenParams) SetBody(body interface{})

SetBody adds the body to the post renew license token params

func (*PostRenewLicenseTokenParams) SetContext

func (o *PostRenewLicenseTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the post renew license token params

func (*PostRenewLicenseTokenParams) SetDefaults

func (o *PostRenewLicenseTokenParams) SetDefaults()

SetDefaults hydrates default values in the post renew license token params (not the query body).

All values with no default are reset to their zero value.

func (*PostRenewLicenseTokenParams) SetHTTPClient

func (o *PostRenewLicenseTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post renew license token params

func (*PostRenewLicenseTokenParams) SetTimeout

func (o *PostRenewLicenseTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post renew license token params

func (*PostRenewLicenseTokenParams) WithBody

func (o *PostRenewLicenseTokenParams) WithBody(body interface{}) *PostRenewLicenseTokenParams

WithBody adds the body to the post renew license token params

func (*PostRenewLicenseTokenParams) WithContext

WithContext adds the context to the post renew license token params

func (*PostRenewLicenseTokenParams) WithDefaults

WithDefaults hydrates default values in the post renew license token params (not the query body).

All values with no default are reset to their zero value.

func (*PostRenewLicenseTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post renew license token params

func (*PostRenewLicenseTokenParams) WithTimeout

WithTimeout adds the timeout to the post renew license token params

func (*PostRenewLicenseTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostRenewLicenseTokenReader

type PostRenewLicenseTokenReader struct {
	// contains filtered or unexported fields
}

PostRenewLicenseTokenReader is a Reader for the PostRenewLicenseToken structure.

func (*PostRenewLicenseTokenReader) ReadResponse

func (o *PostRenewLicenseTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PostRenewLicenseTokenUnauthorized

type PostRenewLicenseTokenUnauthorized struct {
	Payload *models.ErrorResponseBody
}

PostRenewLicenseTokenUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewPostRenewLicenseTokenUnauthorized

func NewPostRenewLicenseTokenUnauthorized() *PostRenewLicenseTokenUnauthorized

NewPostRenewLicenseTokenUnauthorized creates a PostRenewLicenseTokenUnauthorized with default headers values

func (*PostRenewLicenseTokenUnauthorized) Code

Code gets the status code for the post renew license token unauthorized response

func (*PostRenewLicenseTokenUnauthorized) Error

func (*PostRenewLicenseTokenUnauthorized) GetPayload

func (*PostRenewLicenseTokenUnauthorized) IsClientError

func (o *PostRenewLicenseTokenUnauthorized) IsClientError() bool

IsClientError returns true when this post renew license token unauthorized response has a 4xx status code

func (*PostRenewLicenseTokenUnauthorized) IsCode

func (o *PostRenewLicenseTokenUnauthorized) IsCode(code int) bool

IsCode returns true when this post renew license token unauthorized response a status code equal to that given

func (*PostRenewLicenseTokenUnauthorized) IsRedirect

func (o *PostRenewLicenseTokenUnauthorized) IsRedirect() bool

IsRedirect returns true when this post renew license token unauthorized response has a 3xx status code

func (*PostRenewLicenseTokenUnauthorized) IsServerError

func (o *PostRenewLicenseTokenUnauthorized) IsServerError() bool

IsServerError returns true when this post renew license token unauthorized response has a 5xx status code

func (*PostRenewLicenseTokenUnauthorized) IsSuccess

func (o *PostRenewLicenseTokenUnauthorized) IsSuccess() bool

IsSuccess returns true when this post renew license token unauthorized response has a 2xx status code

func (*PostRenewLicenseTokenUnauthorized) String

type RefreshLicenseStatsInternalServerError

type RefreshLicenseStatsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

RefreshLicenseStatsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewRefreshLicenseStatsInternalServerError

func NewRefreshLicenseStatsInternalServerError() *RefreshLicenseStatsInternalServerError

NewRefreshLicenseStatsInternalServerError creates a RefreshLicenseStatsInternalServerError with default headers values

func (*RefreshLicenseStatsInternalServerError) Code

Code gets the status code for the refresh license stats internal server error response

func (*RefreshLicenseStatsInternalServerError) Error

func (*RefreshLicenseStatsInternalServerError) GetPayload

func (*RefreshLicenseStatsInternalServerError) IsClientError

func (o *RefreshLicenseStatsInternalServerError) IsClientError() bool

IsClientError returns true when this refresh license stats internal server error response has a 4xx status code

func (*RefreshLicenseStatsInternalServerError) IsCode

IsCode returns true when this refresh license stats internal server error response a status code equal to that given

func (*RefreshLicenseStatsInternalServerError) IsRedirect

IsRedirect returns true when this refresh license stats internal server error response has a 3xx status code

func (*RefreshLicenseStatsInternalServerError) IsServerError

func (o *RefreshLicenseStatsInternalServerError) IsServerError() bool

IsServerError returns true when this refresh license stats internal server error response has a 5xx status code

func (*RefreshLicenseStatsInternalServerError) IsSuccess

IsSuccess returns true when this refresh license stats internal server error response has a 2xx status code

func (*RefreshLicenseStatsInternalServerError) String

type RefreshLicenseStatsOK

type RefreshLicenseStatsOK struct {
	Payload *models.ActiveUserStats
}

RefreshLicenseStatsOK describes a response with status code 200, with default header values.

(empty)

func NewRefreshLicenseStatsOK

func NewRefreshLicenseStatsOK() *RefreshLicenseStatsOK

NewRefreshLicenseStatsOK creates a RefreshLicenseStatsOK with default headers values

func (*RefreshLicenseStatsOK) Code

func (o *RefreshLicenseStatsOK) Code() int

Code gets the status code for the refresh license stats Ok response

func (*RefreshLicenseStatsOK) Error

func (o *RefreshLicenseStatsOK) Error() string

func (*RefreshLicenseStatsOK) GetPayload

func (o *RefreshLicenseStatsOK) GetPayload() *models.ActiveUserStats

func (*RefreshLicenseStatsOK) IsClientError

func (o *RefreshLicenseStatsOK) IsClientError() bool

IsClientError returns true when this refresh license stats Ok response has a 4xx status code

func (*RefreshLicenseStatsOK) IsCode

func (o *RefreshLicenseStatsOK) IsCode(code int) bool

IsCode returns true when this refresh license stats Ok response a status code equal to that given

func (*RefreshLicenseStatsOK) IsRedirect

func (o *RefreshLicenseStatsOK) IsRedirect() bool

IsRedirect returns true when this refresh license stats Ok response has a 3xx status code

func (*RefreshLicenseStatsOK) IsServerError

func (o *RefreshLicenseStatsOK) IsServerError() bool

IsServerError returns true when this refresh license stats Ok response has a 5xx status code

func (*RefreshLicenseStatsOK) IsSuccess

func (o *RefreshLicenseStatsOK) IsSuccess() bool

IsSuccess returns true when this refresh license stats Ok response has a 2xx status code

func (*RefreshLicenseStatsOK) String

func (o *RefreshLicenseStatsOK) String() string

type RefreshLicenseStatsParams

type RefreshLicenseStatsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RefreshLicenseStatsParams contains all the parameters to send to the API endpoint

for the refresh license stats operation.

Typically these are written to a http.Request.

func NewRefreshLicenseStatsParams

func NewRefreshLicenseStatsParams() *RefreshLicenseStatsParams

NewRefreshLicenseStatsParams creates a new RefreshLicenseStatsParams 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 NewRefreshLicenseStatsParamsWithContext

func NewRefreshLicenseStatsParamsWithContext(ctx context.Context) *RefreshLicenseStatsParams

NewRefreshLicenseStatsParamsWithContext creates a new RefreshLicenseStatsParams object with the ability to set a context for a request.

func NewRefreshLicenseStatsParamsWithHTTPClient

func NewRefreshLicenseStatsParamsWithHTTPClient(client *http.Client) *RefreshLicenseStatsParams

NewRefreshLicenseStatsParamsWithHTTPClient creates a new RefreshLicenseStatsParams object with the ability to set a custom HTTPClient for a request.

func NewRefreshLicenseStatsParamsWithTimeout

func NewRefreshLicenseStatsParamsWithTimeout(timeout time.Duration) *RefreshLicenseStatsParams

NewRefreshLicenseStatsParamsWithTimeout creates a new RefreshLicenseStatsParams object with the ability to set a timeout on a request.

func (*RefreshLicenseStatsParams) SetContext

func (o *RefreshLicenseStatsParams) SetContext(ctx context.Context)

SetContext adds the context to the refresh license stats params

func (*RefreshLicenseStatsParams) SetDefaults

func (o *RefreshLicenseStatsParams) SetDefaults()

SetDefaults hydrates default values in the refresh license stats params (not the query body).

All values with no default are reset to their zero value.

func (*RefreshLicenseStatsParams) SetHTTPClient

func (o *RefreshLicenseStatsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the refresh license stats params

func (*RefreshLicenseStatsParams) SetTimeout

func (o *RefreshLicenseStatsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the refresh license stats params

func (*RefreshLicenseStatsParams) WithContext

WithContext adds the context to the refresh license stats params

func (*RefreshLicenseStatsParams) WithDefaults

WithDefaults hydrates default values in the refresh license stats params (not the query body).

All values with no default are reset to their zero value.

func (*RefreshLicenseStatsParams) WithHTTPClient

func (o *RefreshLicenseStatsParams) WithHTTPClient(client *http.Client) *RefreshLicenseStatsParams

WithHTTPClient adds the HTTPClient to the refresh license stats params

func (*RefreshLicenseStatsParams) WithTimeout

WithTimeout adds the timeout to the refresh license stats params

func (*RefreshLicenseStatsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RefreshLicenseStatsReader

type RefreshLicenseStatsReader struct {
	// contains filtered or unexported fields
}

RefreshLicenseStatsReader is a Reader for the RefreshLicenseStats structure.

func (*RefreshLicenseStatsReader) ReadResponse

func (o *RefreshLicenseStatsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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