Versions in this module Expand all Collapse all v1 v1.0.0 Feb 16, 2024 Changes in this version + type Client struct + func (a *Client) GetAPIVersion(params *GetAPIVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIVersionOK, error) + func (a *Client) ListAPIVersions(params *ListAPIVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAPIVersionsOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientOption func(*runtime.ClientOperation) + type ClientService interface + GetAPIVersion func(params *GetAPIVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIVersionOK, error) + ListAPIVersions func(params *ListAPIVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAPIVersionsOK, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type GetAPIVersionBadRequest struct + Deprecation strfmt.DateTime + Payload *models.ErrorDocument + SnykRequestID strfmt.UUID + SnykVersionLifecycleStage string + SnykVersionRequested string + SnykVersionServed string + Sunset strfmt.DateTime + func NewGetAPIVersionBadRequest() *GetAPIVersionBadRequest + func (o *GetAPIVersionBadRequest) Code() int + func (o *GetAPIVersionBadRequest) Error() string + func (o *GetAPIVersionBadRequest) GetPayload() *models.ErrorDocument + func (o *GetAPIVersionBadRequest) IsClientError() bool + func (o *GetAPIVersionBadRequest) IsCode(code int) bool + func (o *GetAPIVersionBadRequest) IsRedirect() bool + func (o *GetAPIVersionBadRequest) IsServerError() bool + func (o *GetAPIVersionBadRequest) IsSuccess() bool + func (o *GetAPIVersionBadRequest) String() string + type GetAPIVersionInternalServerError struct + Deprecation strfmt.DateTime + Payload *models.ErrorDocument + SnykRequestID strfmt.UUID + SnykVersionLifecycleStage string + SnykVersionRequested string + SnykVersionServed string + Sunset strfmt.DateTime + func NewGetAPIVersionInternalServerError() *GetAPIVersionInternalServerError + func (o *GetAPIVersionInternalServerError) Code() int + func (o *GetAPIVersionInternalServerError) Error() string + func (o *GetAPIVersionInternalServerError) GetPayload() *models.ErrorDocument + func (o *GetAPIVersionInternalServerError) IsClientError() bool + func (o *GetAPIVersionInternalServerError) IsCode(code int) bool + func (o *GetAPIVersionInternalServerError) IsRedirect() bool + func (o *GetAPIVersionInternalServerError) IsServerError() bool + func (o *GetAPIVersionInternalServerError) IsSuccess() bool + func (o *GetAPIVersionInternalServerError) String() string + type GetAPIVersionNotFound struct + Deprecation strfmt.DateTime + Payload *models.ErrorDocument + SnykRequestID strfmt.UUID + SnykVersionLifecycleStage string + SnykVersionRequested string + SnykVersionServed string + Sunset strfmt.DateTime + func NewGetAPIVersionNotFound() *GetAPIVersionNotFound + func (o *GetAPIVersionNotFound) Code() int + func (o *GetAPIVersionNotFound) Error() string + func (o *GetAPIVersionNotFound) GetPayload() *models.ErrorDocument + func (o *GetAPIVersionNotFound) IsClientError() bool + func (o *GetAPIVersionNotFound) IsCode(code int) bool + func (o *GetAPIVersionNotFound) IsRedirect() bool + func (o *GetAPIVersionNotFound) IsServerError() bool + func (o *GetAPIVersionNotFound) IsSuccess() bool + func (o *GetAPIVersionNotFound) String() string + type GetAPIVersionOK struct + Payload interface{} + SnykRequestID strfmt.UUID + SnykVersionRequested string + SnykVersionServed string + func NewGetAPIVersionOK() *GetAPIVersionOK + func (o *GetAPIVersionOK) Code() int + func (o *GetAPIVersionOK) Error() string + func (o *GetAPIVersionOK) GetPayload() interface{} + func (o *GetAPIVersionOK) IsClientError() bool + func (o *GetAPIVersionOK) IsCode(code int) bool + func (o *GetAPIVersionOK) IsRedirect() bool + func (o *GetAPIVersionOK) IsServerError() bool + func (o *GetAPIVersionOK) IsSuccess() bool + func (o *GetAPIVersionOK) String() string + type GetAPIVersionParams struct + Context context.Context + HTTPClient *http.Client + Version string + func NewGetAPIVersionParams() *GetAPIVersionParams + func NewGetAPIVersionParamsWithContext(ctx context.Context) *GetAPIVersionParams + func NewGetAPIVersionParamsWithHTTPClient(client *http.Client) *GetAPIVersionParams + func NewGetAPIVersionParamsWithTimeout(timeout time.Duration) *GetAPIVersionParams + func (o *GetAPIVersionParams) SetContext(ctx context.Context) + func (o *GetAPIVersionParams) SetDefaults() + func (o *GetAPIVersionParams) SetHTTPClient(client *http.Client) + func (o *GetAPIVersionParams) SetTimeout(timeout time.Duration) + func (o *GetAPIVersionParams) SetVersion(version string) + func (o *GetAPIVersionParams) WithContext(ctx context.Context) *GetAPIVersionParams + func (o *GetAPIVersionParams) WithDefaults() *GetAPIVersionParams + func (o *GetAPIVersionParams) WithHTTPClient(client *http.Client) *GetAPIVersionParams + func (o *GetAPIVersionParams) WithTimeout(timeout time.Duration) *GetAPIVersionParams + func (o *GetAPIVersionParams) WithVersion(version string) *GetAPIVersionParams + func (o *GetAPIVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetAPIVersionReader struct + func (o *GetAPIVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetAPIVersionUnauthorized struct + Deprecation strfmt.DateTime + Payload *models.ErrorDocument + SnykRequestID strfmt.UUID + SnykVersionLifecycleStage string + SnykVersionRequested string + SnykVersionServed string + Sunset strfmt.DateTime + func NewGetAPIVersionUnauthorized() *GetAPIVersionUnauthorized + func (o *GetAPIVersionUnauthorized) Code() int + func (o *GetAPIVersionUnauthorized) Error() string + func (o *GetAPIVersionUnauthorized) GetPayload() *models.ErrorDocument + func (o *GetAPIVersionUnauthorized) IsClientError() bool + func (o *GetAPIVersionUnauthorized) IsCode(code int) bool + func (o *GetAPIVersionUnauthorized) IsRedirect() bool + func (o *GetAPIVersionUnauthorized) IsServerError() bool + func (o *GetAPIVersionUnauthorized) IsSuccess() bool + func (o *GetAPIVersionUnauthorized) String() string + type ListAPIVersionsBadRequest struct + Deprecation strfmt.DateTime + Payload *models.ErrorDocument + SnykRequestID strfmt.UUID + SnykVersionLifecycleStage string + SnykVersionRequested string + SnykVersionServed string + Sunset strfmt.DateTime + func NewListAPIVersionsBadRequest() *ListAPIVersionsBadRequest + func (o *ListAPIVersionsBadRequest) Code() int + func (o *ListAPIVersionsBadRequest) Error() string + func (o *ListAPIVersionsBadRequest) GetPayload() *models.ErrorDocument + func (o *ListAPIVersionsBadRequest) IsClientError() bool + func (o *ListAPIVersionsBadRequest) IsCode(code int) bool + func (o *ListAPIVersionsBadRequest) IsRedirect() bool + func (o *ListAPIVersionsBadRequest) IsServerError() bool + func (o *ListAPIVersionsBadRequest) IsSuccess() bool + func (o *ListAPIVersionsBadRequest) String() string + type ListAPIVersionsInternalServerError struct + Deprecation strfmt.DateTime + Payload *models.ErrorDocument + SnykRequestID strfmt.UUID + SnykVersionLifecycleStage string + SnykVersionRequested string + SnykVersionServed string + Sunset strfmt.DateTime + func NewListAPIVersionsInternalServerError() *ListAPIVersionsInternalServerError + func (o *ListAPIVersionsInternalServerError) Code() int + func (o *ListAPIVersionsInternalServerError) Error() string + func (o *ListAPIVersionsInternalServerError) GetPayload() *models.ErrorDocument + func (o *ListAPIVersionsInternalServerError) IsClientError() bool + func (o *ListAPIVersionsInternalServerError) IsCode(code int) bool + func (o *ListAPIVersionsInternalServerError) IsRedirect() bool + func (o *ListAPIVersionsInternalServerError) IsServerError() bool + func (o *ListAPIVersionsInternalServerError) IsSuccess() bool + func (o *ListAPIVersionsInternalServerError) String() string + type ListAPIVersionsNotFound struct + Deprecation strfmt.DateTime + Payload *models.ErrorDocument + SnykRequestID strfmt.UUID + SnykVersionLifecycleStage string + SnykVersionRequested string + SnykVersionServed string + Sunset strfmt.DateTime + func NewListAPIVersionsNotFound() *ListAPIVersionsNotFound + func (o *ListAPIVersionsNotFound) Code() int + func (o *ListAPIVersionsNotFound) Error() string + func (o *ListAPIVersionsNotFound) GetPayload() *models.ErrorDocument + func (o *ListAPIVersionsNotFound) IsClientError() bool + func (o *ListAPIVersionsNotFound) IsCode(code int) bool + func (o *ListAPIVersionsNotFound) IsRedirect() bool + func (o *ListAPIVersionsNotFound) IsServerError() bool + func (o *ListAPIVersionsNotFound) IsSuccess() bool + func (o *ListAPIVersionsNotFound) String() string + type ListAPIVersionsOK struct + Payload []string + SnykRequestID strfmt.UUID + func NewListAPIVersionsOK() *ListAPIVersionsOK + func (o *ListAPIVersionsOK) Code() int + func (o *ListAPIVersionsOK) Error() string + func (o *ListAPIVersionsOK) GetPayload() []string + func (o *ListAPIVersionsOK) IsClientError() bool + func (o *ListAPIVersionsOK) IsCode(code int) bool + func (o *ListAPIVersionsOK) IsRedirect() bool + func (o *ListAPIVersionsOK) IsServerError() bool + func (o *ListAPIVersionsOK) IsSuccess() bool + func (o *ListAPIVersionsOK) String() string + type ListAPIVersionsParams struct + Context context.Context + HTTPClient *http.Client + func NewListAPIVersionsParams() *ListAPIVersionsParams + func NewListAPIVersionsParamsWithContext(ctx context.Context) *ListAPIVersionsParams + func NewListAPIVersionsParamsWithHTTPClient(client *http.Client) *ListAPIVersionsParams + func NewListAPIVersionsParamsWithTimeout(timeout time.Duration) *ListAPIVersionsParams + func (o *ListAPIVersionsParams) SetContext(ctx context.Context) + func (o *ListAPIVersionsParams) SetDefaults() + func (o *ListAPIVersionsParams) SetHTTPClient(client *http.Client) + func (o *ListAPIVersionsParams) SetTimeout(timeout time.Duration) + func (o *ListAPIVersionsParams) WithContext(ctx context.Context) *ListAPIVersionsParams + func (o *ListAPIVersionsParams) WithDefaults() *ListAPIVersionsParams + func (o *ListAPIVersionsParams) WithHTTPClient(client *http.Client) *ListAPIVersionsParams + func (o *ListAPIVersionsParams) WithTimeout(timeout time.Duration) *ListAPIVersionsParams + func (o *ListAPIVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ListAPIVersionsReader struct + func (o *ListAPIVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ListAPIVersionsUnauthorized struct + Deprecation strfmt.DateTime + Payload *models.ErrorDocument + SnykRequestID strfmt.UUID + SnykVersionLifecycleStage string + SnykVersionRequested string + SnykVersionServed string + Sunset strfmt.DateTime + func NewListAPIVersionsUnauthorized() *ListAPIVersionsUnauthorized + func (o *ListAPIVersionsUnauthorized) Code() int + func (o *ListAPIVersionsUnauthorized) Error() string + func (o *ListAPIVersionsUnauthorized) GetPayload() *models.ErrorDocument + func (o *ListAPIVersionsUnauthorized) IsClientError() bool + func (o *ListAPIVersionsUnauthorized) IsCode(code int) bool + func (o *ListAPIVersionsUnauthorized) IsRedirect() bool + func (o *ListAPIVersionsUnauthorized) IsServerError() bool + func (o *ListAPIVersionsUnauthorized) IsSuccess() bool + func (o *ListAPIVersionsUnauthorized) String() string