license

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 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 license API

func (*Client) GetLicenses

func (a *Client) GetLicenses(params *GetLicensesParams, opts ...ClientOption) (*GetLicensesOK, error)

GetLicenses get licenses API

func (*Client) GetLicensesConnection

func (a *Client) GetLicensesConnection(params *GetLicensesConnectionParams, opts ...ClientOption) (*GetLicensesConnectionOK, error)

GetLicensesConnection get licenses connection API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateDeploy

func (a *Client) UpdateDeploy(params *UpdateDeployParams, opts ...ClientOption) (*UpdateDeployOK, error)

UpdateDeploy update deploy API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetLicenses(params *GetLicensesParams, opts ...ClientOption) (*GetLicensesOK, error)

	GetLicensesConnection(params *GetLicensesConnectionParams, opts ...ClientOption) (*GetLicensesConnectionOK, error)

	UpdateDeploy(params *UpdateDeployParams, opts ...ClientOption) (*UpdateDeployOK, 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 license API client.

type GetLicensesBadRequest

type GetLicensesBadRequest struct {
	Payload string
}
GetLicensesBadRequest describes a response with status code 400, with default header values.

GetLicensesBadRequest get licenses bad request

func NewGetLicensesBadRequest

func NewGetLicensesBadRequest() *GetLicensesBadRequest

NewGetLicensesBadRequest creates a GetLicensesBadRequest with default headers values

func (*GetLicensesBadRequest) Error

func (o *GetLicensesBadRequest) Error() string

func (*GetLicensesBadRequest) GetPayload

func (o *GetLicensesBadRequest) GetPayload() string

type GetLicensesConnectionBadRequest

type GetLicensesConnectionBadRequest struct {
	Payload string
}
GetLicensesConnectionBadRequest describes a response with status code 400, with default header values.

GetLicensesConnectionBadRequest get licenses connection bad request

func NewGetLicensesConnectionBadRequest

func NewGetLicensesConnectionBadRequest() *GetLicensesConnectionBadRequest

NewGetLicensesConnectionBadRequest creates a GetLicensesConnectionBadRequest with default headers values

func (*GetLicensesConnectionBadRequest) Error

func (*GetLicensesConnectionBadRequest) GetPayload

func (o *GetLicensesConnectionBadRequest) GetPayload() string

type GetLicensesConnectionOK

type GetLicensesConnectionOK struct {
	Payload *models.LicenseConnection
}
GetLicensesConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetLicensesConnectionOK

func NewGetLicensesConnectionOK() *GetLicensesConnectionOK

NewGetLicensesConnectionOK creates a GetLicensesConnectionOK with default headers values

func (*GetLicensesConnectionOK) Error

func (o *GetLicensesConnectionOK) Error() string

func (*GetLicensesConnectionOK) GetPayload

type GetLicensesConnectionParams

type GetLicensesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetLicensesConnectionRequestBody

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

GetLicensesConnectionParams contains all the parameters to send to the API endpoint

for the get licenses connection operation.

Typically these are written to a http.Request.

func NewGetLicensesConnectionParams

func NewGetLicensesConnectionParams() *GetLicensesConnectionParams

NewGetLicensesConnectionParams creates a new GetLicensesConnectionParams 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 NewGetLicensesConnectionParamsWithContext

func NewGetLicensesConnectionParamsWithContext(ctx context.Context) *GetLicensesConnectionParams

NewGetLicensesConnectionParamsWithContext creates a new GetLicensesConnectionParams object with the ability to set a context for a request.

func NewGetLicensesConnectionParamsWithHTTPClient

func NewGetLicensesConnectionParamsWithHTTPClient(client *http.Client) *GetLicensesConnectionParams

NewGetLicensesConnectionParamsWithHTTPClient creates a new GetLicensesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetLicensesConnectionParamsWithTimeout

func NewGetLicensesConnectionParamsWithTimeout(timeout time.Duration) *GetLicensesConnectionParams

NewGetLicensesConnectionParamsWithTimeout creates a new GetLicensesConnectionParams object with the ability to set a timeout on a request.

func (*GetLicensesConnectionParams) SetContentLanguage

func (o *GetLicensesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get licenses connection params

func (*GetLicensesConnectionParams) SetContext

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

SetContext adds the context to the get licenses connection params

func (*GetLicensesConnectionParams) SetDefaults

func (o *GetLicensesConnectionParams) SetDefaults()

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

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

func (*GetLicensesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get licenses connection params

func (*GetLicensesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get licenses connection params

func (*GetLicensesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get licenses connection params

func (*GetLicensesConnectionParams) WithContentLanguage

func (o *GetLicensesConnectionParams) WithContentLanguage(contentLanguage *string) *GetLicensesConnectionParams

WithContentLanguage adds the contentLanguage to the get licenses connection params

func (*GetLicensesConnectionParams) WithContext

WithContext adds the context to the get licenses connection params

func (*GetLicensesConnectionParams) WithDefaults

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

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

func (*GetLicensesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get licenses connection params

func (*GetLicensesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get licenses connection params

func (*GetLicensesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get licenses connection params

func (*GetLicensesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLicensesConnectionReader

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

GetLicensesConnectionReader is a Reader for the GetLicensesConnection structure.

func (*GetLicensesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLicensesOK

type GetLicensesOK struct {
	Payload []*models.License
}
GetLicensesOK describes a response with status code 200, with default header values.

Ok

func NewGetLicensesOK

func NewGetLicensesOK() *GetLicensesOK

NewGetLicensesOK creates a GetLicensesOK with default headers values

func (*GetLicensesOK) Error

func (o *GetLicensesOK) Error() string

func (*GetLicensesOK) GetPayload

func (o *GetLicensesOK) GetPayload() []*models.License

type GetLicensesParams

type GetLicensesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetLicensesRequestBody

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

GetLicensesParams contains all the parameters to send to the API endpoint

for the get licenses operation.

Typically these are written to a http.Request.

func NewGetLicensesParams

func NewGetLicensesParams() *GetLicensesParams

NewGetLicensesParams creates a new GetLicensesParams 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 NewGetLicensesParamsWithContext

func NewGetLicensesParamsWithContext(ctx context.Context) *GetLicensesParams

NewGetLicensesParamsWithContext creates a new GetLicensesParams object with the ability to set a context for a request.

func NewGetLicensesParamsWithHTTPClient

func NewGetLicensesParamsWithHTTPClient(client *http.Client) *GetLicensesParams

NewGetLicensesParamsWithHTTPClient creates a new GetLicensesParams object with the ability to set a custom HTTPClient for a request.

func NewGetLicensesParamsWithTimeout

func NewGetLicensesParamsWithTimeout(timeout time.Duration) *GetLicensesParams

NewGetLicensesParamsWithTimeout creates a new GetLicensesParams object with the ability to set a timeout on a request.

func (*GetLicensesParams) SetContentLanguage

func (o *GetLicensesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get licenses params

func (*GetLicensesParams) SetContext

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

SetContext adds the context to the get licenses params

func (*GetLicensesParams) SetDefaults

func (o *GetLicensesParams) SetDefaults()

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

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

func (*GetLicensesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get licenses params

func (*GetLicensesParams) SetRequestBody

func (o *GetLicensesParams) SetRequestBody(requestBody *models.GetLicensesRequestBody)

SetRequestBody adds the requestBody to the get licenses params

func (*GetLicensesParams) SetTimeout

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

SetTimeout adds the timeout to the get licenses params

func (*GetLicensesParams) WithContentLanguage

func (o *GetLicensesParams) WithContentLanguage(contentLanguage *string) *GetLicensesParams

WithContentLanguage adds the contentLanguage to the get licenses params

func (*GetLicensesParams) WithContext

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

WithContext adds the context to the get licenses params

func (*GetLicensesParams) WithDefaults

func (o *GetLicensesParams) WithDefaults() *GetLicensesParams

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

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

func (*GetLicensesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get licenses params

func (*GetLicensesParams) WithRequestBody

func (o *GetLicensesParams) WithRequestBody(requestBody *models.GetLicensesRequestBody) *GetLicensesParams

WithRequestBody adds the requestBody to the get licenses params

func (*GetLicensesParams) WithTimeout

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

WithTimeout adds the timeout to the get licenses params

func (*GetLicensesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLicensesReader

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

GetLicensesReader is a Reader for the GetLicenses structure.

func (*GetLicensesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDeployBadRequest

type UpdateDeployBadRequest struct {
	Payload string
}
UpdateDeployBadRequest describes a response with status code 400, with default header values.

UpdateDeployBadRequest update deploy bad request

func NewUpdateDeployBadRequest

func NewUpdateDeployBadRequest() *UpdateDeployBadRequest

NewUpdateDeployBadRequest creates a UpdateDeployBadRequest with default headers values

func (*UpdateDeployBadRequest) Error

func (o *UpdateDeployBadRequest) Error() string

func (*UpdateDeployBadRequest) GetPayload

func (o *UpdateDeployBadRequest) GetPayload() string

type UpdateDeployOK

type UpdateDeployOK struct {
	Payload *models.WithTaskLicense
}
UpdateDeployOK describes a response with status code 200, with default header values.

Ok

func NewUpdateDeployOK

func NewUpdateDeployOK() *UpdateDeployOK

NewUpdateDeployOK creates a UpdateDeployOK with default headers values

func (*UpdateDeployOK) Error

func (o *UpdateDeployOK) Error() string

func (*UpdateDeployOK) GetPayload

func (o *UpdateDeployOK) GetPayload() *models.WithTaskLicense

type UpdateDeployParams

type UpdateDeployParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.LicenseUpdationParams

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

UpdateDeployParams contains all the parameters to send to the API endpoint

for the update deploy operation.

Typically these are written to a http.Request.

func NewUpdateDeployParams

func NewUpdateDeployParams() *UpdateDeployParams

NewUpdateDeployParams creates a new UpdateDeployParams 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 NewUpdateDeployParamsWithContext

func NewUpdateDeployParamsWithContext(ctx context.Context) *UpdateDeployParams

NewUpdateDeployParamsWithContext creates a new UpdateDeployParams object with the ability to set a context for a request.

func NewUpdateDeployParamsWithHTTPClient

func NewUpdateDeployParamsWithHTTPClient(client *http.Client) *UpdateDeployParams

NewUpdateDeployParamsWithHTTPClient creates a new UpdateDeployParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeployParamsWithTimeout

func NewUpdateDeployParamsWithTimeout(timeout time.Duration) *UpdateDeployParams

NewUpdateDeployParamsWithTimeout creates a new UpdateDeployParams object with the ability to set a timeout on a request.

func (*UpdateDeployParams) SetContentLanguage

func (o *UpdateDeployParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update deploy params

func (*UpdateDeployParams) SetContext

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

SetContext adds the context to the update deploy params

func (*UpdateDeployParams) SetDefaults

func (o *UpdateDeployParams) SetDefaults()

SetDefaults hydrates default values in the update deploy params (not the query body).

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

func (*UpdateDeployParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update deploy params

func (*UpdateDeployParams) SetRequestBody

func (o *UpdateDeployParams) SetRequestBody(requestBody *models.LicenseUpdationParams)

SetRequestBody adds the requestBody to the update deploy params

func (*UpdateDeployParams) SetTimeout

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

SetTimeout adds the timeout to the update deploy params

func (*UpdateDeployParams) WithContentLanguage

func (o *UpdateDeployParams) WithContentLanguage(contentLanguage *string) *UpdateDeployParams

WithContentLanguage adds the contentLanguage to the update deploy params

func (*UpdateDeployParams) WithContext

WithContext adds the context to the update deploy params

func (*UpdateDeployParams) WithDefaults

func (o *UpdateDeployParams) WithDefaults() *UpdateDeployParams

WithDefaults hydrates default values in the update deploy params (not the query body).

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

func (*UpdateDeployParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update deploy params

func (*UpdateDeployParams) WithRequestBody

func (o *UpdateDeployParams) WithRequestBody(requestBody *models.LicenseUpdationParams) *UpdateDeployParams

WithRequestBody adds the requestBody to the update deploy params

func (*UpdateDeployParams) WithTimeout

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

WithTimeout adds the timeout to the update deploy params

func (*UpdateDeployParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateDeployReader

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

UpdateDeployReader is a Reader for the UpdateDeploy structure.

func (*UpdateDeployReader) ReadResponse

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