v2_everoute_license

package
v2.19.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: ISC 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 v2 everoute license API

func (*Client) GetV2EverouteLicenses

func (a *Client) GetV2EverouteLicenses(params *GetV2EverouteLicensesParams, opts ...ClientOption) (*GetV2EverouteLicensesOK, error)

GetV2EverouteLicenses get v2 everoute licenses API

func (*Client) GetV2EverouteLicensesConnection

func (a *Client) GetV2EverouteLicensesConnection(params *GetV2EverouteLicensesConnectionParams, opts ...ClientOption) (*GetV2EverouteLicensesConnectionOK, error)

GetV2EverouteLicensesConnection get v2 everoute licenses connection API

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 {
	GetV2EverouteLicenses(params *GetV2EverouteLicensesParams, opts ...ClientOption) (*GetV2EverouteLicensesOK, error)

	GetV2EverouteLicensesConnection(params *GetV2EverouteLicensesConnectionParams, opts ...ClientOption) (*GetV2EverouteLicensesConnectionOK, 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 v2 everoute license API client.

type GetV2EverouteLicensesBadRequest

type GetV2EverouteLicensesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetV2EverouteLicensesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetV2EverouteLicensesBadRequest

func NewGetV2EverouteLicensesBadRequest() *GetV2EverouteLicensesBadRequest

NewGetV2EverouteLicensesBadRequest creates a GetV2EverouteLicensesBadRequest with default headers values

func (*GetV2EverouteLicensesBadRequest) Error

func (*GetV2EverouteLicensesBadRequest) GetPayload

type GetV2EverouteLicensesConnectionBadRequest

type GetV2EverouteLicensesConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetV2EverouteLicensesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetV2EverouteLicensesConnectionBadRequest

func NewGetV2EverouteLicensesConnectionBadRequest() *GetV2EverouteLicensesConnectionBadRequest

NewGetV2EverouteLicensesConnectionBadRequest creates a GetV2EverouteLicensesConnectionBadRequest with default headers values

func (*GetV2EverouteLicensesConnectionBadRequest) Error

func (*GetV2EverouteLicensesConnectionBadRequest) GetPayload

type GetV2EverouteLicensesConnectionInternalServerError

type GetV2EverouteLicensesConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetV2EverouteLicensesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetV2EverouteLicensesConnectionInternalServerError

func NewGetV2EverouteLicensesConnectionInternalServerError() *GetV2EverouteLicensesConnectionInternalServerError

NewGetV2EverouteLicensesConnectionInternalServerError creates a GetV2EverouteLicensesConnectionInternalServerError with default headers values

func (*GetV2EverouteLicensesConnectionInternalServerError) Error

func (*GetV2EverouteLicensesConnectionInternalServerError) GetPayload

type GetV2EverouteLicensesConnectionNotFound

type GetV2EverouteLicensesConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetV2EverouteLicensesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetV2EverouteLicensesConnectionNotFound

func NewGetV2EverouteLicensesConnectionNotFound() *GetV2EverouteLicensesConnectionNotFound

NewGetV2EverouteLicensesConnectionNotFound creates a GetV2EverouteLicensesConnectionNotFound with default headers values

func (*GetV2EverouteLicensesConnectionNotFound) Error

func (*GetV2EverouteLicensesConnectionNotFound) GetPayload

type GetV2EverouteLicensesConnectionOK

type GetV2EverouteLicensesConnectionOK struct {
	XTowerRequestID string

	Payload *models.V2EverouteLicenseConnection
}
GetV2EverouteLicensesConnectionOK describes a response with status code 200, with default header values.

GetV2EverouteLicensesConnectionOK get v2 everoute licenses connection o k

func NewGetV2EverouteLicensesConnectionOK

func NewGetV2EverouteLicensesConnectionOK() *GetV2EverouteLicensesConnectionOK

NewGetV2EverouteLicensesConnectionOK creates a GetV2EverouteLicensesConnectionOK with default headers values

func (*GetV2EverouteLicensesConnectionOK) Error

func (*GetV2EverouteLicensesConnectionOK) GetPayload

type GetV2EverouteLicensesConnectionParams

type GetV2EverouteLicensesConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetV2EverouteLicensesConnectionRequestBody

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

GetV2EverouteLicensesConnectionParams contains all the parameters to send to the API endpoint

for the get v2 everoute licenses connection operation.

Typically these are written to a http.Request.

func NewGetV2EverouteLicensesConnectionParams

func NewGetV2EverouteLicensesConnectionParams() *GetV2EverouteLicensesConnectionParams

NewGetV2EverouteLicensesConnectionParams creates a new GetV2EverouteLicensesConnectionParams 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 NewGetV2EverouteLicensesConnectionParamsWithContext

func NewGetV2EverouteLicensesConnectionParamsWithContext(ctx context.Context) *GetV2EverouteLicensesConnectionParams

NewGetV2EverouteLicensesConnectionParamsWithContext creates a new GetV2EverouteLicensesConnectionParams object with the ability to set a context for a request.

func NewGetV2EverouteLicensesConnectionParamsWithHTTPClient

func NewGetV2EverouteLicensesConnectionParamsWithHTTPClient(client *http.Client) *GetV2EverouteLicensesConnectionParams

NewGetV2EverouteLicensesConnectionParamsWithHTTPClient creates a new GetV2EverouteLicensesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetV2EverouteLicensesConnectionParamsWithTimeout

func NewGetV2EverouteLicensesConnectionParamsWithTimeout(timeout time.Duration) *GetV2EverouteLicensesConnectionParams

NewGetV2EverouteLicensesConnectionParamsWithTimeout creates a new GetV2EverouteLicensesConnectionParams object with the ability to set a timeout on a request.

func (*GetV2EverouteLicensesConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) SetContext

SetContext adds the context to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) SetDefaults

func (o *GetV2EverouteLicensesConnectionParams) SetDefaults()

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

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

func (*GetV2EverouteLicensesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) WithContext

WithContext adds the context to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) WithDefaults

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

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

func (*GetV2EverouteLicensesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get v2 everoute licenses connection params

func (*GetV2EverouteLicensesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV2EverouteLicensesConnectionReader

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

GetV2EverouteLicensesConnectionReader is a Reader for the GetV2EverouteLicensesConnection structure.

func (*GetV2EverouteLicensesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV2EverouteLicensesInternalServerError

type GetV2EverouteLicensesInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetV2EverouteLicensesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetV2EverouteLicensesInternalServerError

func NewGetV2EverouteLicensesInternalServerError() *GetV2EverouteLicensesInternalServerError

NewGetV2EverouteLicensesInternalServerError creates a GetV2EverouteLicensesInternalServerError with default headers values

func (*GetV2EverouteLicensesInternalServerError) Error

func (*GetV2EverouteLicensesInternalServerError) GetPayload

type GetV2EverouteLicensesNotFound

type GetV2EverouteLicensesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetV2EverouteLicensesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetV2EverouteLicensesNotFound

func NewGetV2EverouteLicensesNotFound() *GetV2EverouteLicensesNotFound

NewGetV2EverouteLicensesNotFound creates a GetV2EverouteLicensesNotFound with default headers values

func (*GetV2EverouteLicensesNotFound) Error

func (*GetV2EverouteLicensesNotFound) GetPayload

type GetV2EverouteLicensesOK

type GetV2EverouteLicensesOK struct {
	XTowerRequestID string

	Payload []*models.V2EverouteLicense
}
GetV2EverouteLicensesOK describes a response with status code 200, with default header values.

GetV2EverouteLicensesOK get v2 everoute licenses o k

func NewGetV2EverouteLicensesOK

func NewGetV2EverouteLicensesOK() *GetV2EverouteLicensesOK

NewGetV2EverouteLicensesOK creates a GetV2EverouteLicensesOK with default headers values

func (*GetV2EverouteLicensesOK) Error

func (o *GetV2EverouteLicensesOK) Error() string

func (*GetV2EverouteLicensesOK) GetPayload

type GetV2EverouteLicensesParams

type GetV2EverouteLicensesParams struct {

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

	// RequestBody.
	RequestBody *models.GetV2EverouteLicensesRequestBody

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

GetV2EverouteLicensesParams contains all the parameters to send to the API endpoint

for the get v2 everoute licenses operation.

Typically these are written to a http.Request.

func NewGetV2EverouteLicensesParams

func NewGetV2EverouteLicensesParams() *GetV2EverouteLicensesParams

NewGetV2EverouteLicensesParams creates a new GetV2EverouteLicensesParams 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 NewGetV2EverouteLicensesParamsWithContext

func NewGetV2EverouteLicensesParamsWithContext(ctx context.Context) *GetV2EverouteLicensesParams

NewGetV2EverouteLicensesParamsWithContext creates a new GetV2EverouteLicensesParams object with the ability to set a context for a request.

func NewGetV2EverouteLicensesParamsWithHTTPClient

func NewGetV2EverouteLicensesParamsWithHTTPClient(client *http.Client) *GetV2EverouteLicensesParams

NewGetV2EverouteLicensesParamsWithHTTPClient creates a new GetV2EverouteLicensesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV2EverouteLicensesParamsWithTimeout

func NewGetV2EverouteLicensesParamsWithTimeout(timeout time.Duration) *GetV2EverouteLicensesParams

NewGetV2EverouteLicensesParamsWithTimeout creates a new GetV2EverouteLicensesParams object with the ability to set a timeout on a request.

func (*GetV2EverouteLicensesParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) SetContext

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

SetContext adds the context to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) SetDefaults

func (o *GetV2EverouteLicensesParams) SetDefaults()

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

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

func (*GetV2EverouteLicensesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) SetRequestBody

SetRequestBody adds the requestBody to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) SetTimeout

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

SetTimeout adds the timeout to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) WithContext

WithContext adds the context to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) WithDefaults

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

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

func (*GetV2EverouteLicensesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) WithRequestBody

WithRequestBody adds the requestBody to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) WithTimeout

WithTimeout adds the timeout to the get v2 everoute licenses params

func (*GetV2EverouteLicensesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV2EverouteLicensesReader

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

GetV2EverouteLicensesReader is a Reader for the GetV2EverouteLicenses structure.

func (*GetV2EverouteLicensesReader) ReadResponse

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