classifications

package
v1.24.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassificationsGetForbidden

type ClassificationsGetForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewClassificationsGetForbidden

func NewClassificationsGetForbidden() *ClassificationsGetForbidden

NewClassificationsGetForbidden creates a ClassificationsGetForbidden with default headers values

func (*ClassificationsGetForbidden) Code added in v1.18.0

func (o *ClassificationsGetForbidden) Code() int

Code gets the status code for the classifications get forbidden response

func (*ClassificationsGetForbidden) Error

func (*ClassificationsGetForbidden) GetPayload

func (*ClassificationsGetForbidden) IsClientError added in v1.18.0

func (o *ClassificationsGetForbidden) IsClientError() bool

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

func (*ClassificationsGetForbidden) IsCode added in v1.18.0

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

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

func (*ClassificationsGetForbidden) IsRedirect added in v1.18.0

func (o *ClassificationsGetForbidden) IsRedirect() bool

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

func (*ClassificationsGetForbidden) IsServerError added in v1.18.0

func (o *ClassificationsGetForbidden) IsServerError() bool

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

func (*ClassificationsGetForbidden) IsSuccess added in v1.18.0

func (o *ClassificationsGetForbidden) IsSuccess() bool

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

func (*ClassificationsGetForbidden) String added in v1.18.0

func (o *ClassificationsGetForbidden) String() string

type ClassificationsGetInternalServerError

type ClassificationsGetInternalServerError struct {
	Payload *models.ErrorResponse
}

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

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewClassificationsGetInternalServerError

func NewClassificationsGetInternalServerError() *ClassificationsGetInternalServerError

NewClassificationsGetInternalServerError creates a ClassificationsGetInternalServerError with default headers values

func (*ClassificationsGetInternalServerError) Code added in v1.18.0

Code gets the status code for the classifications get internal server error response

func (*ClassificationsGetInternalServerError) Error

func (*ClassificationsGetInternalServerError) GetPayload

func (*ClassificationsGetInternalServerError) IsClientError added in v1.18.0

func (o *ClassificationsGetInternalServerError) IsClientError() bool

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

func (*ClassificationsGetInternalServerError) IsCode added in v1.18.0

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

func (*ClassificationsGetInternalServerError) IsRedirect added in v1.18.0

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

func (*ClassificationsGetInternalServerError) IsServerError added in v1.18.0

func (o *ClassificationsGetInternalServerError) IsServerError() bool

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

func (*ClassificationsGetInternalServerError) IsSuccess added in v1.18.0

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

func (*ClassificationsGetInternalServerError) String added in v1.18.0

type ClassificationsGetNotFound

type ClassificationsGetNotFound struct {
}

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

Not Found - Classification does not exist

func NewClassificationsGetNotFound

func NewClassificationsGetNotFound() *ClassificationsGetNotFound

NewClassificationsGetNotFound creates a ClassificationsGetNotFound with default headers values

func (*ClassificationsGetNotFound) Code added in v1.18.0

func (o *ClassificationsGetNotFound) Code() int

Code gets the status code for the classifications get not found response

func (*ClassificationsGetNotFound) Error

func (*ClassificationsGetNotFound) IsClientError added in v1.18.0

func (o *ClassificationsGetNotFound) IsClientError() bool

IsClientError returns true when this classifications get not found response has a 4xx status code

func (*ClassificationsGetNotFound) IsCode added in v1.18.0

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

IsCode returns true when this classifications get not found response a status code equal to that given

func (*ClassificationsGetNotFound) IsRedirect added in v1.18.0

func (o *ClassificationsGetNotFound) IsRedirect() bool

IsRedirect returns true when this classifications get not found response has a 3xx status code

func (*ClassificationsGetNotFound) IsServerError added in v1.18.0

func (o *ClassificationsGetNotFound) IsServerError() bool

IsServerError returns true when this classifications get not found response has a 5xx status code

func (*ClassificationsGetNotFound) IsSuccess added in v1.18.0

func (o *ClassificationsGetNotFound) IsSuccess() bool

IsSuccess returns true when this classifications get not found response has a 2xx status code

func (*ClassificationsGetNotFound) String added in v1.18.0

func (o *ClassificationsGetNotFound) String() string

type ClassificationsGetOK

type ClassificationsGetOK struct {
	Payload *models.Classification
}

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

Found the classification, returned as body

func NewClassificationsGetOK

func NewClassificationsGetOK() *ClassificationsGetOK

NewClassificationsGetOK creates a ClassificationsGetOK with default headers values

func (*ClassificationsGetOK) Code added in v1.18.0

func (o *ClassificationsGetOK) Code() int

Code gets the status code for the classifications get o k response

func (*ClassificationsGetOK) Error

func (o *ClassificationsGetOK) Error() string

func (*ClassificationsGetOK) GetPayload

func (o *ClassificationsGetOK) GetPayload() *models.Classification

func (*ClassificationsGetOK) IsClientError added in v1.18.0

func (o *ClassificationsGetOK) IsClientError() bool

IsClientError returns true when this classifications get o k response has a 4xx status code

func (*ClassificationsGetOK) IsCode added in v1.18.0

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

IsCode returns true when this classifications get o k response a status code equal to that given

func (*ClassificationsGetOK) IsRedirect added in v1.18.0

func (o *ClassificationsGetOK) IsRedirect() bool

IsRedirect returns true when this classifications get o k response has a 3xx status code

func (*ClassificationsGetOK) IsServerError added in v1.18.0

func (o *ClassificationsGetOK) IsServerError() bool

IsServerError returns true when this classifications get o k response has a 5xx status code

func (*ClassificationsGetOK) IsSuccess added in v1.18.0

func (o *ClassificationsGetOK) IsSuccess() bool

IsSuccess returns true when this classifications get o k response has a 2xx status code

func (*ClassificationsGetOK) String added in v1.18.0

func (o *ClassificationsGetOK) String() string

type ClassificationsGetParams

type ClassificationsGetParams struct {

	/* ID.

	   classification id
	*/
	ID string

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

ClassificationsGetParams contains all the parameters to send to the API endpoint

for the classifications get operation.

Typically these are written to a http.Request.

func NewClassificationsGetParams

func NewClassificationsGetParams() *ClassificationsGetParams

NewClassificationsGetParams creates a new ClassificationsGetParams 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 NewClassificationsGetParamsWithContext

func NewClassificationsGetParamsWithContext(ctx context.Context) *ClassificationsGetParams

NewClassificationsGetParamsWithContext creates a new ClassificationsGetParams object with the ability to set a context for a request.

func NewClassificationsGetParamsWithHTTPClient

func NewClassificationsGetParamsWithHTTPClient(client *http.Client) *ClassificationsGetParams

NewClassificationsGetParamsWithHTTPClient creates a new ClassificationsGetParams object with the ability to set a custom HTTPClient for a request.

func NewClassificationsGetParamsWithTimeout

func NewClassificationsGetParamsWithTimeout(timeout time.Duration) *ClassificationsGetParams

NewClassificationsGetParamsWithTimeout creates a new ClassificationsGetParams object with the ability to set a timeout on a request.

func (*ClassificationsGetParams) SetContext

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

SetContext adds the context to the classifications get params

func (*ClassificationsGetParams) SetDefaults added in v1.18.0

func (o *ClassificationsGetParams) SetDefaults()

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

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

func (*ClassificationsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the classifications get params

func (*ClassificationsGetParams) SetID

func (o *ClassificationsGetParams) SetID(id string)

SetID adds the id to the classifications get params

func (*ClassificationsGetParams) SetTimeout

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

SetTimeout adds the timeout to the classifications get params

func (*ClassificationsGetParams) WithContext

WithContext adds the context to the classifications get params

func (*ClassificationsGetParams) WithDefaults added in v1.18.0

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

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

func (*ClassificationsGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the classifications get params

func (*ClassificationsGetParams) WithID

WithID adds the id to the classifications get params

func (*ClassificationsGetParams) WithTimeout

WithTimeout adds the timeout to the classifications get params

func (*ClassificationsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClassificationsGetReader

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

ClassificationsGetReader is a Reader for the ClassificationsGet structure.

func (*ClassificationsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClassificationsGetUnauthorized

type ClassificationsGetUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewClassificationsGetUnauthorized

func NewClassificationsGetUnauthorized() *ClassificationsGetUnauthorized

NewClassificationsGetUnauthorized creates a ClassificationsGetUnauthorized with default headers values

func (*ClassificationsGetUnauthorized) Code added in v1.18.0

Code gets the status code for the classifications get unauthorized response

func (*ClassificationsGetUnauthorized) Error

func (*ClassificationsGetUnauthorized) IsClientError added in v1.18.0

func (o *ClassificationsGetUnauthorized) IsClientError() bool

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

func (*ClassificationsGetUnauthorized) IsCode added in v1.18.0

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

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

func (*ClassificationsGetUnauthorized) IsRedirect added in v1.18.0

func (o *ClassificationsGetUnauthorized) IsRedirect() bool

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

func (*ClassificationsGetUnauthorized) IsServerError added in v1.18.0

func (o *ClassificationsGetUnauthorized) IsServerError() bool

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

func (*ClassificationsGetUnauthorized) IsSuccess added in v1.18.0

func (o *ClassificationsGetUnauthorized) IsSuccess() bool

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

func (*ClassificationsGetUnauthorized) String added in v1.18.0

type ClassificationsPostBadRequest

type ClassificationsPostBadRequest struct {
	Payload *models.ErrorResponse
}

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

Incorrect request

func NewClassificationsPostBadRequest

func NewClassificationsPostBadRequest() *ClassificationsPostBadRequest

NewClassificationsPostBadRequest creates a ClassificationsPostBadRequest with default headers values

func (*ClassificationsPostBadRequest) Code added in v1.18.0

Code gets the status code for the classifications post bad request response

func (*ClassificationsPostBadRequest) Error

func (*ClassificationsPostBadRequest) GetPayload

func (*ClassificationsPostBadRequest) IsClientError added in v1.18.0

func (o *ClassificationsPostBadRequest) IsClientError() bool

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

func (*ClassificationsPostBadRequest) IsCode added in v1.18.0

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

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

func (*ClassificationsPostBadRequest) IsRedirect added in v1.18.0

func (o *ClassificationsPostBadRequest) IsRedirect() bool

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

func (*ClassificationsPostBadRequest) IsServerError added in v1.18.0

func (o *ClassificationsPostBadRequest) IsServerError() bool

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

func (*ClassificationsPostBadRequest) IsSuccess added in v1.18.0

func (o *ClassificationsPostBadRequest) IsSuccess() bool

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

func (*ClassificationsPostBadRequest) String added in v1.18.0

type ClassificationsPostCreated

type ClassificationsPostCreated struct {
	Payload *models.Classification
}

ClassificationsPostCreated describes a response with status code 201, with default header values.

Successfully started classification.

func NewClassificationsPostCreated

func NewClassificationsPostCreated() *ClassificationsPostCreated

NewClassificationsPostCreated creates a ClassificationsPostCreated with default headers values

func (*ClassificationsPostCreated) Code added in v1.18.0

func (o *ClassificationsPostCreated) Code() int

Code gets the status code for the classifications post created response

func (*ClassificationsPostCreated) Error

func (*ClassificationsPostCreated) GetPayload

func (*ClassificationsPostCreated) IsClientError added in v1.18.0

func (o *ClassificationsPostCreated) IsClientError() bool

IsClientError returns true when this classifications post created response has a 4xx status code

func (*ClassificationsPostCreated) IsCode added in v1.18.0

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

IsCode returns true when this classifications post created response a status code equal to that given

func (*ClassificationsPostCreated) IsRedirect added in v1.18.0

func (o *ClassificationsPostCreated) IsRedirect() bool

IsRedirect returns true when this classifications post created response has a 3xx status code

func (*ClassificationsPostCreated) IsServerError added in v1.18.0

func (o *ClassificationsPostCreated) IsServerError() bool

IsServerError returns true when this classifications post created response has a 5xx status code

func (*ClassificationsPostCreated) IsSuccess added in v1.18.0

func (o *ClassificationsPostCreated) IsSuccess() bool

IsSuccess returns true when this classifications post created response has a 2xx status code

func (*ClassificationsPostCreated) String added in v1.18.0

func (o *ClassificationsPostCreated) String() string

type ClassificationsPostForbidden

type ClassificationsPostForbidden struct {
	Payload *models.ErrorResponse
}

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

Forbidden

func NewClassificationsPostForbidden

func NewClassificationsPostForbidden() *ClassificationsPostForbidden

NewClassificationsPostForbidden creates a ClassificationsPostForbidden with default headers values

func (*ClassificationsPostForbidden) Code added in v1.18.0

Code gets the status code for the classifications post forbidden response

func (*ClassificationsPostForbidden) Error

func (*ClassificationsPostForbidden) GetPayload

func (*ClassificationsPostForbidden) IsClientError added in v1.18.0

func (o *ClassificationsPostForbidden) IsClientError() bool

IsClientError returns true when this classifications post forbidden response has a 4xx status code

func (*ClassificationsPostForbidden) IsCode added in v1.18.0

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

IsCode returns true when this classifications post forbidden response a status code equal to that given

func (*ClassificationsPostForbidden) IsRedirect added in v1.18.0

func (o *ClassificationsPostForbidden) IsRedirect() bool

IsRedirect returns true when this classifications post forbidden response has a 3xx status code

func (*ClassificationsPostForbidden) IsServerError added in v1.18.0

func (o *ClassificationsPostForbidden) IsServerError() bool

IsServerError returns true when this classifications post forbidden response has a 5xx status code

func (*ClassificationsPostForbidden) IsSuccess added in v1.18.0

func (o *ClassificationsPostForbidden) IsSuccess() bool

IsSuccess returns true when this classifications post forbidden response has a 2xx status code

func (*ClassificationsPostForbidden) String added in v1.18.0

type ClassificationsPostInternalServerError

type ClassificationsPostInternalServerError struct {
	Payload *models.ErrorResponse
}

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

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewClassificationsPostInternalServerError

func NewClassificationsPostInternalServerError() *ClassificationsPostInternalServerError

NewClassificationsPostInternalServerError creates a ClassificationsPostInternalServerError with default headers values

func (*ClassificationsPostInternalServerError) Code added in v1.18.0

Code gets the status code for the classifications post internal server error response

func (*ClassificationsPostInternalServerError) Error

func (*ClassificationsPostInternalServerError) GetPayload

func (*ClassificationsPostInternalServerError) IsClientError added in v1.18.0

func (o *ClassificationsPostInternalServerError) IsClientError() bool

IsClientError returns true when this classifications post internal server error response has a 4xx status code

func (*ClassificationsPostInternalServerError) IsCode added in v1.18.0

IsCode returns true when this classifications post internal server error response a status code equal to that given

func (*ClassificationsPostInternalServerError) IsRedirect added in v1.18.0

IsRedirect returns true when this classifications post internal server error response has a 3xx status code

func (*ClassificationsPostInternalServerError) IsServerError added in v1.18.0

func (o *ClassificationsPostInternalServerError) IsServerError() bool

IsServerError returns true when this classifications post internal server error response has a 5xx status code

func (*ClassificationsPostInternalServerError) IsSuccess added in v1.18.0

IsSuccess returns true when this classifications post internal server error response has a 2xx status code

func (*ClassificationsPostInternalServerError) String added in v1.18.0

type ClassificationsPostParams

type ClassificationsPostParams struct {

	/* Params.

	   parameters to start a classification
	*/
	Params *models.Classification

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

ClassificationsPostParams contains all the parameters to send to the API endpoint

for the classifications post operation.

Typically these are written to a http.Request.

func NewClassificationsPostParams

func NewClassificationsPostParams() *ClassificationsPostParams

NewClassificationsPostParams creates a new ClassificationsPostParams 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 NewClassificationsPostParamsWithContext

func NewClassificationsPostParamsWithContext(ctx context.Context) *ClassificationsPostParams

NewClassificationsPostParamsWithContext creates a new ClassificationsPostParams object with the ability to set a context for a request.

func NewClassificationsPostParamsWithHTTPClient

func NewClassificationsPostParamsWithHTTPClient(client *http.Client) *ClassificationsPostParams

NewClassificationsPostParamsWithHTTPClient creates a new ClassificationsPostParams object with the ability to set a custom HTTPClient for a request.

func NewClassificationsPostParamsWithTimeout

func NewClassificationsPostParamsWithTimeout(timeout time.Duration) *ClassificationsPostParams

NewClassificationsPostParamsWithTimeout creates a new ClassificationsPostParams object with the ability to set a timeout on a request.

func (*ClassificationsPostParams) SetContext

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

SetContext adds the context to the classifications post params

func (*ClassificationsPostParams) SetDefaults added in v1.18.0

func (o *ClassificationsPostParams) SetDefaults()

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

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

func (*ClassificationsPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the classifications post params

func (*ClassificationsPostParams) SetParams

func (o *ClassificationsPostParams) SetParams(params *models.Classification)

SetParams adds the params to the classifications post params

func (*ClassificationsPostParams) SetTimeout

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

SetTimeout adds the timeout to the classifications post params

func (*ClassificationsPostParams) WithContext

WithContext adds the context to the classifications post params

func (*ClassificationsPostParams) WithDefaults added in v1.18.0

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

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

func (*ClassificationsPostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the classifications post params

func (*ClassificationsPostParams) WithParams

WithParams adds the params to the classifications post params

func (*ClassificationsPostParams) WithTimeout

WithTimeout adds the timeout to the classifications post params

func (*ClassificationsPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClassificationsPostReader

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

ClassificationsPostReader is a Reader for the ClassificationsPost structure.

func (*ClassificationsPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClassificationsPostUnauthorized

type ClassificationsPostUnauthorized struct {
}

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

Unauthorized or invalid credentials.

func NewClassificationsPostUnauthorized

func NewClassificationsPostUnauthorized() *ClassificationsPostUnauthorized

NewClassificationsPostUnauthorized creates a ClassificationsPostUnauthorized with default headers values

func (*ClassificationsPostUnauthorized) Code added in v1.18.0

Code gets the status code for the classifications post unauthorized response

func (*ClassificationsPostUnauthorized) Error

func (*ClassificationsPostUnauthorized) IsClientError added in v1.18.0

func (o *ClassificationsPostUnauthorized) IsClientError() bool

IsClientError returns true when this classifications post unauthorized response has a 4xx status code

func (*ClassificationsPostUnauthorized) IsCode added in v1.18.0

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

IsCode returns true when this classifications post unauthorized response a status code equal to that given

func (*ClassificationsPostUnauthorized) IsRedirect added in v1.18.0

func (o *ClassificationsPostUnauthorized) IsRedirect() bool

IsRedirect returns true when this classifications post unauthorized response has a 3xx status code

func (*ClassificationsPostUnauthorized) IsServerError added in v1.18.0

func (o *ClassificationsPostUnauthorized) IsServerError() bool

IsServerError returns true when this classifications post unauthorized response has a 5xx status code

func (*ClassificationsPostUnauthorized) IsSuccess added in v1.18.0

func (o *ClassificationsPostUnauthorized) IsSuccess() bool

IsSuccess returns true when this classifications post unauthorized response has a 2xx status code

func (*ClassificationsPostUnauthorized) String added in v1.18.0

type Client

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

Client for classifications API

func (*Client) ClassificationsGet

func (a *Client) ClassificationsGet(params *ClassificationsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClassificationsGetOK, error)

ClassificationsGet views previously created classification

Get status, results and metadata of a previously created classification

func (*Client) ClassificationsPost

func (a *Client) ClassificationsPost(params *ClassificationsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClassificationsPostCreated, error)

ClassificationsPost starts a classification

Trigger a classification based on the specified params. Classifications will run in the background, use GET /classifications/<id> to retrieve the status of your classification.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.18.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ClassificationsGet(params *ClassificationsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClassificationsGetOK, error)

	ClassificationsPost(params *ClassificationsPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ClassificationsPostCreated, 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 classifications API client.

Jump to

Keyboard shortcuts

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