models

package
v0.1.1-rc Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0, CC-BY-4.0, MIT Imports: 12 Imported by: 4

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 models API

func New

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

New creates a new models API client.

func (*Client) DeleteModel

func (a *Client) DeleteModel(params *DeleteModelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteModelOK, error)

DeleteModel deletes an existing model

Deletes an existing model. It does not delete any data in the user's data store.

func (*Client) DownloadModelDefinition

func (a *Client) DownloadModelDefinition(params *DownloadModelDefinitionParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadModelDefinitionOK, error)

DownloadModelDefinition downloads the model definition

Downloads the model definition that was initial used for training as ZIP archive.

func (*Client) DownloadTrainedModel

func (a *Client) DownloadTrainedModel(params *DownloadTrainedModelParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadTrainedModelOK, error)

DownloadTrainedModel downloads the trained model

Downloads the trained model as ZIP archive.

func (*Client) GetLogs

func (a *Client) GetLogs(params *GetLogsParams, writer io.Writer) (*GetLogsOK, error)

GetLogs gets training logs as websocket stream

Get training logs for the given model as websocket stream. Each message can contain one or more log lines.

func (*Client) GetMetrics

func (a *Client) GetMetrics(params *GetMetricsParams, writer io.Writer) (*GetMetricsOK, error)

GetMetrics gets training metrics from a model training as websocket

Get training metrics such as learning rate, accurarcy, loss from a model training via a websocket. It returns one or more JSON payloads at a time with the following schema.

func (*Client) GetModel

func (a *Client) GetModel(params *GetModelParams, authInfo runtime.ClientAuthInfoWriter) (*GetModelOK, error)

GetModel gets detailed information about a model

Get detailed information about a model such as training status.

func (*Client) ListModels

func (a *Client) ListModels(params *ListModelsParams, authInfo runtime.ClientAuthInfoWriter) (*ListModelsOK, error)

ListModels gets a list of available deep learning models

Get a list of all available deep learning models and their configuration that a user can see.

func (*Client) PatchModel

func (a *Client) PatchModel(params *PatchModelParams, authInfo runtime.ClientAuthInfoWriter) (*PatchModelAccepted, error)

PatchModel changes the status of the training progress

Changes the status of the training progress to the given `status` value (currently `halt` only). Halt means the training will be stopped and the last snapshot will be stored and can be retrieved.

func (*Client) PostModel

func (a *Client) PostModel(params *PostModelParams, authInfo runtime.ClientAuthInfoWriter) (*PostModelCreated, error)

PostModel trains a new deep learning model

Trains a deep neural network written in a DL framework supported by the DLaaS platform (such as Caffe, Tensorflow, etc.). The model code has to be uploaded and configuration parameters have to be provided.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteModelNotFound

type DeleteModelNotFound struct {
	Payload *restmodels.Error
}

DeleteModelNotFound handles this case with default header values.

The model cannot be found.

func NewDeleteModelNotFound

func NewDeleteModelNotFound() *DeleteModelNotFound

NewDeleteModelNotFound creates a DeleteModelNotFound with default headers values

func (*DeleteModelNotFound) Error

func (o *DeleteModelNotFound) Error() string

type DeleteModelOK

type DeleteModelOK struct {
	Payload *restmodels.BasicModel
}

DeleteModelOK handles this case with default header values.

Model deleted successfully.

func NewDeleteModelOK

func NewDeleteModelOK() *DeleteModelOK

NewDeleteModelOK creates a DeleteModelOK with default headers values

func (*DeleteModelOK) Error

func (o *DeleteModelOK) Error() string

type DeleteModelParams

type DeleteModelParams struct {

	/*ModelID
	  The id of the model.

	*/
	ModelID string
	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

DeleteModelParams contains all the parameters to send to the API endpoint for the delete model operation typically these are written to a http.Request

func NewDeleteModelParams

func NewDeleteModelParams() *DeleteModelParams

NewDeleteModelParams creates a new DeleteModelParams object with the default values initialized.

func NewDeleteModelParamsWithContext

func NewDeleteModelParamsWithContext(ctx context.Context) *DeleteModelParams

NewDeleteModelParamsWithContext creates a new DeleteModelParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteModelParamsWithHTTPClient

func NewDeleteModelParamsWithHTTPClient(client *http.Client) *DeleteModelParams

NewDeleteModelParamsWithHTTPClient creates a new DeleteModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteModelParamsWithTimeout

func NewDeleteModelParamsWithTimeout(timeout time.Duration) *DeleteModelParams

NewDeleteModelParamsWithTimeout creates a new DeleteModelParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteModelParams) SetContext

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

SetContext adds the context to the delete model params

func (*DeleteModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete model params

func (*DeleteModelParams) SetModelID

func (o *DeleteModelParams) SetModelID(modelID string)

SetModelID adds the modelId to the delete model params

func (*DeleteModelParams) SetTimeout

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

SetTimeout adds the timeout to the delete model params

func (*DeleteModelParams) SetVersion

func (o *DeleteModelParams) SetVersion(version string)

SetVersion adds the version to the delete model params

func (*DeleteModelParams) WithContext

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

WithContext adds the context to the delete model params

func (*DeleteModelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete model params

func (*DeleteModelParams) WithModelID

func (o *DeleteModelParams) WithModelID(modelID string) *DeleteModelParams

WithModelID adds the modelID to the delete model params

func (*DeleteModelParams) WithTimeout

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

WithTimeout adds the timeout to the delete model params

func (*DeleteModelParams) WithVersion

func (o *DeleteModelParams) WithVersion(version string) *DeleteModelParams

WithVersion adds the version to the delete model params

func (*DeleteModelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteModelReader

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

DeleteModelReader is a Reader for the DeleteModel structure.

func (*DeleteModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteModelUnauthorized

type DeleteModelUnauthorized struct {
	Payload *restmodels.Error
}

DeleteModelUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteModelUnauthorized

func NewDeleteModelUnauthorized() *DeleteModelUnauthorized

NewDeleteModelUnauthorized creates a DeleteModelUnauthorized with default headers values

func (*DeleteModelUnauthorized) Error

func (o *DeleteModelUnauthorized) Error() string

type DownloadModelDefinitionNotFound

type DownloadModelDefinitionNotFound struct {
	Payload *restmodels.Error
}

DownloadModelDefinitionNotFound handles this case with default header values.

The model cannot be found.

func NewDownloadModelDefinitionNotFound

func NewDownloadModelDefinitionNotFound() *DownloadModelDefinitionNotFound

NewDownloadModelDefinitionNotFound creates a DownloadModelDefinitionNotFound with default headers values

func (*DownloadModelDefinitionNotFound) Error

type DownloadModelDefinitionOK

type DownloadModelDefinitionOK struct {
	Payload io.Writer
}

DownloadModelDefinitionOK handles this case with default header values.

Model definition

func NewDownloadModelDefinitionOK

func NewDownloadModelDefinitionOK(writer io.Writer) *DownloadModelDefinitionOK

NewDownloadModelDefinitionOK creates a DownloadModelDefinitionOK with default headers values

func (*DownloadModelDefinitionOK) Error

func (o *DownloadModelDefinitionOK) Error() string

type DownloadModelDefinitionParams

type DownloadModelDefinitionParams struct {

	/*ModelID
	  The id of the model.

	*/
	ModelID string
	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

DownloadModelDefinitionParams contains all the parameters to send to the API endpoint for the download model definition operation typically these are written to a http.Request

func NewDownloadModelDefinitionParams

func NewDownloadModelDefinitionParams() *DownloadModelDefinitionParams

NewDownloadModelDefinitionParams creates a new DownloadModelDefinitionParams object with the default values initialized.

func NewDownloadModelDefinitionParamsWithContext

func NewDownloadModelDefinitionParamsWithContext(ctx context.Context) *DownloadModelDefinitionParams

NewDownloadModelDefinitionParamsWithContext creates a new DownloadModelDefinitionParams object with the default values initialized, and the ability to set a context for a request

func NewDownloadModelDefinitionParamsWithHTTPClient

func NewDownloadModelDefinitionParamsWithHTTPClient(client *http.Client) *DownloadModelDefinitionParams

NewDownloadModelDefinitionParamsWithHTTPClient creates a new DownloadModelDefinitionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDownloadModelDefinitionParamsWithTimeout

func NewDownloadModelDefinitionParamsWithTimeout(timeout time.Duration) *DownloadModelDefinitionParams

NewDownloadModelDefinitionParamsWithTimeout creates a new DownloadModelDefinitionParams object with the default values initialized, and the ability to set a timeout on a request

func (*DownloadModelDefinitionParams) SetContext

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

SetContext adds the context to the download model definition params

func (*DownloadModelDefinitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download model definition params

func (*DownloadModelDefinitionParams) SetModelID

func (o *DownloadModelDefinitionParams) SetModelID(modelID string)

SetModelID adds the modelId to the download model definition params

func (*DownloadModelDefinitionParams) SetTimeout

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

SetTimeout adds the timeout to the download model definition params

func (*DownloadModelDefinitionParams) SetVersion

func (o *DownloadModelDefinitionParams) SetVersion(version string)

SetVersion adds the version to the download model definition params

func (*DownloadModelDefinitionParams) WithContext

WithContext adds the context to the download model definition params

func (*DownloadModelDefinitionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the download model definition params

func (*DownloadModelDefinitionParams) WithModelID

WithModelID adds the modelID to the download model definition params

func (*DownloadModelDefinitionParams) WithTimeout

WithTimeout adds the timeout to the download model definition params

func (*DownloadModelDefinitionParams) WithVersion

WithVersion adds the version to the download model definition params

func (*DownloadModelDefinitionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadModelDefinitionReader

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

DownloadModelDefinitionReader is a Reader for the DownloadModelDefinition structure.

func (*DownloadModelDefinitionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadModelDefinitionUnauthorized

type DownloadModelDefinitionUnauthorized struct {
	Payload *restmodels.Error
}

DownloadModelDefinitionUnauthorized handles this case with default header values.

Unauthorized

func NewDownloadModelDefinitionUnauthorized

func NewDownloadModelDefinitionUnauthorized() *DownloadModelDefinitionUnauthorized

NewDownloadModelDefinitionUnauthorized creates a DownloadModelDefinitionUnauthorized with default headers values

func (*DownloadModelDefinitionUnauthorized) Error

type DownloadTrainedModelGone

type DownloadTrainedModelGone struct {
	Payload *restmodels.Error
}

DownloadTrainedModelGone handles this case with default header values.

If the trained model storage time has expired and it has been deleted. It only gets deleted if it not stored on an external data store.

func NewDownloadTrainedModelGone

func NewDownloadTrainedModelGone() *DownloadTrainedModelGone

NewDownloadTrainedModelGone creates a DownloadTrainedModelGone with default headers values

func (*DownloadTrainedModelGone) Error

func (o *DownloadTrainedModelGone) Error() string

type DownloadTrainedModelNotFound

type DownloadTrainedModelNotFound struct {
	Payload *restmodels.Error
}

DownloadTrainedModelNotFound handles this case with default header values.

The trained model cannot be found.

func NewDownloadTrainedModelNotFound

func NewDownloadTrainedModelNotFound() *DownloadTrainedModelNotFound

NewDownloadTrainedModelNotFound creates a DownloadTrainedModelNotFound with default headers values

func (*DownloadTrainedModelNotFound) Error

type DownloadTrainedModelOK

type DownloadTrainedModelOK struct {
	Payload io.Writer
}

DownloadTrainedModelOK handles this case with default header values.

Model definition

func NewDownloadTrainedModelOK

func NewDownloadTrainedModelOK(writer io.Writer) *DownloadTrainedModelOK

NewDownloadTrainedModelOK creates a DownloadTrainedModelOK with default headers values

func (*DownloadTrainedModelOK) Error

func (o *DownloadTrainedModelOK) Error() string

type DownloadTrainedModelParams

type DownloadTrainedModelParams struct {

	/*ModelID
	  The id of the model.

	*/
	ModelID string
	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

DownloadTrainedModelParams contains all the parameters to send to the API endpoint for the download trained model operation typically these are written to a http.Request

func NewDownloadTrainedModelParams

func NewDownloadTrainedModelParams() *DownloadTrainedModelParams

NewDownloadTrainedModelParams creates a new DownloadTrainedModelParams object with the default values initialized.

func NewDownloadTrainedModelParamsWithContext

func NewDownloadTrainedModelParamsWithContext(ctx context.Context) *DownloadTrainedModelParams

NewDownloadTrainedModelParamsWithContext creates a new DownloadTrainedModelParams object with the default values initialized, and the ability to set a context for a request

func NewDownloadTrainedModelParamsWithHTTPClient

func NewDownloadTrainedModelParamsWithHTTPClient(client *http.Client) *DownloadTrainedModelParams

NewDownloadTrainedModelParamsWithHTTPClient creates a new DownloadTrainedModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDownloadTrainedModelParamsWithTimeout

func NewDownloadTrainedModelParamsWithTimeout(timeout time.Duration) *DownloadTrainedModelParams

NewDownloadTrainedModelParamsWithTimeout creates a new DownloadTrainedModelParams object with the default values initialized, and the ability to set a timeout on a request

func (*DownloadTrainedModelParams) SetContext

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

SetContext adds the context to the download trained model params

func (*DownloadTrainedModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download trained model params

func (*DownloadTrainedModelParams) SetModelID

func (o *DownloadTrainedModelParams) SetModelID(modelID string)

SetModelID adds the modelId to the download trained model params

func (*DownloadTrainedModelParams) SetTimeout

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

SetTimeout adds the timeout to the download trained model params

func (*DownloadTrainedModelParams) SetVersion

func (o *DownloadTrainedModelParams) SetVersion(version string)

SetVersion adds the version to the download trained model params

func (*DownloadTrainedModelParams) WithContext

WithContext adds the context to the download trained model params

func (*DownloadTrainedModelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the download trained model params

func (*DownloadTrainedModelParams) WithModelID

WithModelID adds the modelID to the download trained model params

func (*DownloadTrainedModelParams) WithTimeout

WithTimeout adds the timeout to the download trained model params

func (*DownloadTrainedModelParams) WithVersion

WithVersion adds the version to the download trained model params

func (*DownloadTrainedModelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadTrainedModelReader

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

DownloadTrainedModelReader is a Reader for the DownloadTrainedModel structure.

func (*DownloadTrainedModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadTrainedModelUnauthorized

type DownloadTrainedModelUnauthorized struct {
	Payload *restmodels.Error
}

DownloadTrainedModelUnauthorized handles this case with default header values.

Unauthorized

func NewDownloadTrainedModelUnauthorized

func NewDownloadTrainedModelUnauthorized() *DownloadTrainedModelUnauthorized

NewDownloadTrainedModelUnauthorized creates a DownloadTrainedModelUnauthorized with default headers values

func (*DownloadTrainedModelUnauthorized) Error

type GetLogsNotFound

type GetLogsNotFound struct {
	Payload *restmodels.Error
}

GetLogsNotFound handles this case with default header values.

The model cannot be found.

func NewGetLogsNotFound

func NewGetLogsNotFound() *GetLogsNotFound

NewGetLogsNotFound creates a GetLogsNotFound with default headers values

func (*GetLogsNotFound) Error

func (o *GetLogsNotFound) Error() string

type GetLogsOK

type GetLogsOK struct {
	Payload io.Writer
}

GetLogsOK handles this case with default header values.

Dump of the training log to-date

func NewGetLogsOK

func NewGetLogsOK(writer io.Writer) *GetLogsOK

NewGetLogsOK creates a GetLogsOK with default headers values

func (*GetLogsOK) Error

func (o *GetLogsOK) Error() string

type GetLogsParams

type GetLogsParams struct {

	/*Follow
	  Follow the log stream if true. Default false.

	*/
	Follow *bool
	/*ModelID
	  The id of the model.

	*/
	ModelID string
	/*SinceTime
	  An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned.  If this value is in the future, no logs will be returned.

	*/
	SinceTime *string
	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

GetLogsParams contains all the parameters to send to the API endpoint for the get logs operation typically these are written to a http.Request

func NewGetLogsParams

func NewGetLogsParams() *GetLogsParams

NewGetLogsParams creates a new GetLogsParams object with the default values initialized.

func NewGetLogsParamsWithContext

func NewGetLogsParamsWithContext(ctx context.Context) *GetLogsParams

NewGetLogsParamsWithContext creates a new GetLogsParams object with the default values initialized, and the ability to set a context for a request

func NewGetLogsParamsWithHTTPClient

func NewGetLogsParamsWithHTTPClient(client *http.Client) *GetLogsParams

NewGetLogsParamsWithHTTPClient creates a new GetLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetLogsParamsWithTimeout

func NewGetLogsParamsWithTimeout(timeout time.Duration) *GetLogsParams

NewGetLogsParamsWithTimeout creates a new GetLogsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetLogsParams) SetContext

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

SetContext adds the context to the get logs params

func (*GetLogsParams) SetFollow

func (o *GetLogsParams) SetFollow(follow *bool)

SetFollow adds the follow to the get logs params

func (*GetLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get logs params

func (*GetLogsParams) SetModelID

func (o *GetLogsParams) SetModelID(modelID string)

SetModelID adds the modelId to the get logs params

func (*GetLogsParams) SetSinceTime

func (o *GetLogsParams) SetSinceTime(sinceTime *string)

SetSinceTime adds the sinceTime to the get logs params

func (*GetLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get logs params

func (*GetLogsParams) SetVersion

func (o *GetLogsParams) SetVersion(version string)

SetVersion adds the version to the get logs params

func (*GetLogsParams) WithContext

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

WithContext adds the context to the get logs params

func (*GetLogsParams) WithFollow

func (o *GetLogsParams) WithFollow(follow *bool) *GetLogsParams

WithFollow adds the follow to the get logs params

func (*GetLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get logs params

func (*GetLogsParams) WithModelID

func (o *GetLogsParams) WithModelID(modelID string) *GetLogsParams

WithModelID adds the modelID to the get logs params

func (*GetLogsParams) WithSinceTime

func (o *GetLogsParams) WithSinceTime(sinceTime *string) *GetLogsParams

WithSinceTime adds the sinceTime to the get logs params

func (*GetLogsParams) WithTimeout

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

WithTimeout adds the timeout to the get logs params

func (*GetLogsParams) WithVersion

func (o *GetLogsParams) WithVersion(version string) *GetLogsParams

WithVersion adds the version to the get logs params

func (*GetLogsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLogsReader

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

GetLogsReader is a Reader for the GetLogs structure.

func (*GetLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLogsUnauthorized

type GetLogsUnauthorized struct {
	Payload *restmodels.Error
}

GetLogsUnauthorized handles this case with default header values.

Unauthorized

func NewGetLogsUnauthorized

func NewGetLogsUnauthorized() *GetLogsUnauthorized

NewGetLogsUnauthorized creates a GetLogsUnauthorized with default headers values

func (*GetLogsUnauthorized) Error

func (o *GetLogsUnauthorized) Error() string

type GetMetricsNotFound

type GetMetricsNotFound struct {
	Payload *restmodels.Error
}

GetMetricsNotFound handles this case with default header values.

The training job cannot be found.

func NewGetMetricsNotFound

func NewGetMetricsNotFound() *GetMetricsNotFound

NewGetMetricsNotFound creates a GetMetricsNotFound with default headers values

func (*GetMetricsNotFound) Error

func (o *GetMetricsNotFound) Error() string

type GetMetricsOK

type GetMetricsOK struct {
	Payload io.Writer
}

GetMetricsOK handles this case with default header values.

Dump of the training log to-date

func NewGetMetricsOK

func NewGetMetricsOK(writer io.Writer) *GetMetricsOK

NewGetMetricsOK creates a GetMetricsOK with default headers values

func (*GetMetricsOK) Error

func (o *GetMetricsOK) Error() string

type GetMetricsParams

type GetMetricsParams struct {

	/*Follow
	  Follow the log stream if true. Default false.

	*/
	Follow *bool
	/*ModelID
	  The id of the model.

	*/
	ModelID string
	/*SinceTime
	  An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned.  If this value is in the future, no metrics will be returned.

	*/
	SinceTime *string
	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

GetMetricsParams contains all the parameters to send to the API endpoint for the get metrics operation typically these are written to a http.Request

func NewGetMetricsParams

func NewGetMetricsParams() *GetMetricsParams

NewGetMetricsParams creates a new GetMetricsParams object with the default values initialized.

func NewGetMetricsParamsWithContext

func NewGetMetricsParamsWithContext(ctx context.Context) *GetMetricsParams

NewGetMetricsParamsWithContext creates a new GetMetricsParams object with the default values initialized, and the ability to set a context for a request

func NewGetMetricsParamsWithHTTPClient

func NewGetMetricsParamsWithHTTPClient(client *http.Client) *GetMetricsParams

NewGetMetricsParamsWithHTTPClient creates a new GetMetricsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMetricsParamsWithTimeout

func NewGetMetricsParamsWithTimeout(timeout time.Duration) *GetMetricsParams

NewGetMetricsParamsWithTimeout creates a new GetMetricsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMetricsParams) SetContext

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

SetContext adds the context to the get metrics params

func (*GetMetricsParams) SetFollow

func (o *GetMetricsParams) SetFollow(follow *bool)

SetFollow adds the follow to the get metrics params

func (*GetMetricsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get metrics params

func (*GetMetricsParams) SetModelID

func (o *GetMetricsParams) SetModelID(modelID string)

SetModelID adds the modelId to the get metrics params

func (*GetMetricsParams) SetSinceTime

func (o *GetMetricsParams) SetSinceTime(sinceTime *string)

SetSinceTime adds the sinceTime to the get metrics params

func (*GetMetricsParams) SetTimeout

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

SetTimeout adds the timeout to the get metrics params

func (*GetMetricsParams) SetVersion

func (o *GetMetricsParams) SetVersion(version string)

SetVersion adds the version to the get metrics params

func (*GetMetricsParams) WithContext

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

WithContext adds the context to the get metrics params

func (*GetMetricsParams) WithFollow

func (o *GetMetricsParams) WithFollow(follow *bool) *GetMetricsParams

WithFollow adds the follow to the get metrics params

func (*GetMetricsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get metrics params

func (*GetMetricsParams) WithModelID

func (o *GetMetricsParams) WithModelID(modelID string) *GetMetricsParams

WithModelID adds the modelID to the get metrics params

func (*GetMetricsParams) WithSinceTime

func (o *GetMetricsParams) WithSinceTime(sinceTime *string) *GetMetricsParams

WithSinceTime adds the sinceTime to the get metrics params

func (*GetMetricsParams) WithTimeout

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

WithTimeout adds the timeout to the get metrics params

func (*GetMetricsParams) WithVersion

func (o *GetMetricsParams) WithVersion(version string) *GetMetricsParams

WithVersion adds the version to the get metrics params

func (*GetMetricsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMetricsReader

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

GetMetricsReader is a Reader for the GetMetrics structure.

func (*GetMetricsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMetricsUnauthorized

type GetMetricsUnauthorized struct {
	Payload *restmodels.Error
}

GetMetricsUnauthorized handles this case with default header values.

Unauthorized

func NewGetMetricsUnauthorized

func NewGetMetricsUnauthorized() *GetMetricsUnauthorized

NewGetMetricsUnauthorized creates a GetMetricsUnauthorized with default headers values

func (*GetMetricsUnauthorized) Error

func (o *GetMetricsUnauthorized) Error() string

type GetModelNotFound

type GetModelNotFound struct {
	Payload *restmodels.Error
}

GetModelNotFound handles this case with default header values.

Model with the given ID not found.

func NewGetModelNotFound

func NewGetModelNotFound() *GetModelNotFound

NewGetModelNotFound creates a GetModelNotFound with default headers values

func (*GetModelNotFound) Error

func (o *GetModelNotFound) Error() string

type GetModelOK

type GetModelOK struct {
	Payload *restmodels.Model
}

GetModelOK handles this case with default header values.

Detailed model and training information.

func NewGetModelOK

func NewGetModelOK() *GetModelOK

NewGetModelOK creates a GetModelOK with default headers values

func (*GetModelOK) Error

func (o *GetModelOK) Error() string

type GetModelParams

type GetModelParams struct {

	/*ModelID
	  The id of the model.

	*/
	ModelID string
	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

GetModelParams contains all the parameters to send to the API endpoint for the get model operation typically these are written to a http.Request

func NewGetModelParams

func NewGetModelParams() *GetModelParams

NewGetModelParams creates a new GetModelParams object with the default values initialized.

func NewGetModelParamsWithContext

func NewGetModelParamsWithContext(ctx context.Context) *GetModelParams

NewGetModelParamsWithContext creates a new GetModelParams object with the default values initialized, and the ability to set a context for a request

func NewGetModelParamsWithHTTPClient

func NewGetModelParamsWithHTTPClient(client *http.Client) *GetModelParams

NewGetModelParamsWithHTTPClient creates a new GetModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetModelParamsWithTimeout

func NewGetModelParamsWithTimeout(timeout time.Duration) *GetModelParams

NewGetModelParamsWithTimeout creates a new GetModelParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetModelParams) SetContext

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

SetContext adds the context to the get model params

func (*GetModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get model params

func (*GetModelParams) SetModelID

func (o *GetModelParams) SetModelID(modelID string)

SetModelID adds the modelId to the get model params

func (*GetModelParams) SetTimeout

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

SetTimeout adds the timeout to the get model params

func (*GetModelParams) SetVersion

func (o *GetModelParams) SetVersion(version string)

SetVersion adds the version to the get model params

func (*GetModelParams) WithContext

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

WithContext adds the context to the get model params

func (*GetModelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get model params

func (*GetModelParams) WithModelID

func (o *GetModelParams) WithModelID(modelID string) *GetModelParams

WithModelID adds the modelID to the get model params

func (*GetModelParams) WithTimeout

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

WithTimeout adds the timeout to the get model params

func (*GetModelParams) WithVersion

func (o *GetModelParams) WithVersion(version string) *GetModelParams

WithVersion adds the version to the get model params

func (*GetModelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetModelReader

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

GetModelReader is a Reader for the GetModel structure.

func (*GetModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetModelUnauthorized

type GetModelUnauthorized struct {
	Payload *restmodels.Error
}

GetModelUnauthorized handles this case with default header values.

Unauthorized

func NewGetModelUnauthorized

func NewGetModelUnauthorized() *GetModelUnauthorized

NewGetModelUnauthorized creates a GetModelUnauthorized with default headers values

func (*GetModelUnauthorized) Error

func (o *GetModelUnauthorized) Error() string

type ListModelsOK

type ListModelsOK struct {
	Payload *restmodels.ModelList
}

ListModelsOK handles this case with default header values.

List of deep learning models.

func NewListModelsOK

func NewListModelsOK() *ListModelsOK

NewListModelsOK creates a ListModelsOK with default headers values

func (*ListModelsOK) Error

func (o *ListModelsOK) Error() string

type ListModelsParams

type ListModelsParams struct {

	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

ListModelsParams contains all the parameters to send to the API endpoint for the list models operation typically these are written to a http.Request

func NewListModelsParams

func NewListModelsParams() *ListModelsParams

NewListModelsParams creates a new ListModelsParams object with the default values initialized.

func NewListModelsParamsWithContext

func NewListModelsParamsWithContext(ctx context.Context) *ListModelsParams

NewListModelsParamsWithContext creates a new ListModelsParams object with the default values initialized, and the ability to set a context for a request

func NewListModelsParamsWithHTTPClient

func NewListModelsParamsWithHTTPClient(client *http.Client) *ListModelsParams

NewListModelsParamsWithHTTPClient creates a new ListModelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListModelsParamsWithTimeout

func NewListModelsParamsWithTimeout(timeout time.Duration) *ListModelsParams

NewListModelsParamsWithTimeout creates a new ListModelsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListModelsParams) SetContext

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

SetContext adds the context to the list models params

func (*ListModelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list models params

func (*ListModelsParams) SetTimeout

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

SetTimeout adds the timeout to the list models params

func (*ListModelsParams) SetVersion

func (o *ListModelsParams) SetVersion(version string)

SetVersion adds the version to the list models params

func (*ListModelsParams) WithContext

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

WithContext adds the context to the list models params

func (*ListModelsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list models params

func (*ListModelsParams) WithTimeout

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

WithTimeout adds the timeout to the list models params

func (*ListModelsParams) WithVersion

func (o *ListModelsParams) WithVersion(version string) *ListModelsParams

WithVersion adds the version to the list models params

func (*ListModelsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListModelsReader

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

ListModelsReader is a Reader for the ListModels structure.

func (*ListModelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListModelsUnauthorized

type ListModelsUnauthorized struct {
	Payload *restmodels.Error
}

ListModelsUnauthorized handles this case with default header values.

Unauthorized

func NewListModelsUnauthorized

func NewListModelsUnauthorized() *ListModelsUnauthorized

NewListModelsUnauthorized creates a ListModelsUnauthorized with default headers values

func (*ListModelsUnauthorized) Error

func (o *ListModelsUnauthorized) Error() string

type PatchModelAccepted

type PatchModelAccepted struct {
	Payload *restmodels.BasicModel
}

PatchModelAccepted handles this case with default header values.

Training successfully halted.

func NewPatchModelAccepted

func NewPatchModelAccepted() *PatchModelAccepted

NewPatchModelAccepted creates a PatchModelAccepted with default headers values

func (*PatchModelAccepted) Error

func (o *PatchModelAccepted) Error() string

type PatchModelBadRequest

type PatchModelBadRequest struct {
	Payload *restmodels.Error
}

PatchModelBadRequest handles this case with default header values.

Incorrect status specified.

func NewPatchModelBadRequest

func NewPatchModelBadRequest() *PatchModelBadRequest

NewPatchModelBadRequest creates a PatchModelBadRequest with default headers values

func (*PatchModelBadRequest) Error

func (o *PatchModelBadRequest) Error() string

type PatchModelNotFound

type PatchModelNotFound struct {
	Payload *restmodels.Error
}

PatchModelNotFound handles this case with default header values.

Model with the given ID not found.

func NewPatchModelNotFound

func NewPatchModelNotFound() *PatchModelNotFound

NewPatchModelNotFound creates a PatchModelNotFound with default headers values

func (*PatchModelNotFound) Error

func (o *PatchModelNotFound) Error() string

type PatchModelParams

type PatchModelParams struct {

	/*ModelID
	  The id of the model.

	*/
	ModelID string
	/*Payload
	  Currently accepts "halt" as the only valid value.

	*/
	Payload *restmodels.TrainingUpdate
	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

PatchModelParams contains all the parameters to send to the API endpoint for the patch model operation typically these are written to a http.Request

func NewPatchModelParams

func NewPatchModelParams() *PatchModelParams

NewPatchModelParams creates a new PatchModelParams object with the default values initialized.

func NewPatchModelParamsWithContext

func NewPatchModelParamsWithContext(ctx context.Context) *PatchModelParams

NewPatchModelParamsWithContext creates a new PatchModelParams object with the default values initialized, and the ability to set a context for a request

func NewPatchModelParamsWithHTTPClient

func NewPatchModelParamsWithHTTPClient(client *http.Client) *PatchModelParams

NewPatchModelParamsWithHTTPClient creates a new PatchModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchModelParamsWithTimeout

func NewPatchModelParamsWithTimeout(timeout time.Duration) *PatchModelParams

NewPatchModelParamsWithTimeout creates a new PatchModelParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchModelParams) SetContext

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

SetContext adds the context to the patch model params

func (*PatchModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch model params

func (*PatchModelParams) SetModelID

func (o *PatchModelParams) SetModelID(modelID string)

SetModelID adds the modelId to the patch model params

func (*PatchModelParams) SetPayload

func (o *PatchModelParams) SetPayload(payload *restmodels.TrainingUpdate)

SetPayload adds the payload to the patch model params

func (*PatchModelParams) SetTimeout

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

SetTimeout adds the timeout to the patch model params

func (*PatchModelParams) SetVersion

func (o *PatchModelParams) SetVersion(version string)

SetVersion adds the version to the patch model params

func (*PatchModelParams) WithContext

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

WithContext adds the context to the patch model params

func (*PatchModelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch model params

func (*PatchModelParams) WithModelID

func (o *PatchModelParams) WithModelID(modelID string) *PatchModelParams

WithModelID adds the modelID to the patch model params

func (*PatchModelParams) WithPayload

func (o *PatchModelParams) WithPayload(payload *restmodels.TrainingUpdate) *PatchModelParams

WithPayload adds the payload to the patch model params

func (*PatchModelParams) WithTimeout

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

WithTimeout adds the timeout to the patch model params

func (*PatchModelParams) WithVersion

func (o *PatchModelParams) WithVersion(version string) *PatchModelParams

WithVersion adds the version to the patch model params

func (*PatchModelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchModelReader

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

PatchModelReader is a Reader for the PatchModel structure.

func (*PatchModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchModelUnauthorized

type PatchModelUnauthorized struct {
	Payload *restmodels.Error
}

PatchModelUnauthorized handles this case with default header values.

Unauthorized

func NewPatchModelUnauthorized

func NewPatchModelUnauthorized() *PatchModelUnauthorized

NewPatchModelUnauthorized creates a PatchModelUnauthorized with default headers values

func (*PatchModelUnauthorized) Error

func (o *PatchModelUnauthorized) Error() string

type PostModelBadRequest

type PostModelBadRequest struct {
	Payload *restmodels.Error
}

PostModelBadRequest handles this case with default header values.

Error in the the model_definition or manifest.

func NewPostModelBadRequest

func NewPostModelBadRequest() *PostModelBadRequest

NewPostModelBadRequest creates a PostModelBadRequest with default headers values

func (*PostModelBadRequest) Error

func (o *PostModelBadRequest) Error() string

type PostModelCreated

type PostModelCreated struct {
	/*Location header containing the model id.
	 */
	Location string

	Payload *restmodels.BasicNewModel
}

PostModelCreated handles this case with default header values.

Deep learning model successfully accepted.

func NewPostModelCreated

func NewPostModelCreated() *PostModelCreated

NewPostModelCreated creates a PostModelCreated with default headers values

func (*PostModelCreated) Error

func (o *PostModelCreated) Error() string

type PostModelParams

type PostModelParams struct {

	/*Manifest
	  The manifest providing configuration for the deep learning model, the training data and the training execution.

	*/
	Manifest os.File
	/*ModelDefinition
	  The deep learning model code as compressed archive (ZIP).

	*/
	ModelDefinition *os.File
	/*Version
	  The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.

	*/
	Version string

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

PostModelParams contains all the parameters to send to the API endpoint for the post model operation typically these are written to a http.Request

func NewPostModelParams

func NewPostModelParams() *PostModelParams

NewPostModelParams creates a new PostModelParams object with the default values initialized.

func NewPostModelParamsWithContext

func NewPostModelParamsWithContext(ctx context.Context) *PostModelParams

NewPostModelParamsWithContext creates a new PostModelParams object with the default values initialized, and the ability to set a context for a request

func NewPostModelParamsWithHTTPClient

func NewPostModelParamsWithHTTPClient(client *http.Client) *PostModelParams

NewPostModelParamsWithHTTPClient creates a new PostModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostModelParamsWithTimeout

func NewPostModelParamsWithTimeout(timeout time.Duration) *PostModelParams

NewPostModelParamsWithTimeout creates a new PostModelParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostModelParams) SetContext

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

SetContext adds the context to the post model params

func (*PostModelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post model params

func (*PostModelParams) SetManifest

func (o *PostModelParams) SetManifest(manifest os.File)

SetManifest adds the manifest to the post model params

func (*PostModelParams) SetModelDefinition

func (o *PostModelParams) SetModelDefinition(modelDefinition *os.File)

SetModelDefinition adds the modelDefinition to the post model params

func (*PostModelParams) SetTimeout

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

SetTimeout adds the timeout to the post model params

func (*PostModelParams) SetVersion

func (o *PostModelParams) SetVersion(version string)

SetVersion adds the version to the post model params

func (*PostModelParams) WithContext

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

WithContext adds the context to the post model params

func (*PostModelParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post model params

func (*PostModelParams) WithManifest

func (o *PostModelParams) WithManifest(manifest os.File) *PostModelParams

WithManifest adds the manifest to the post model params

func (*PostModelParams) WithModelDefinition

func (o *PostModelParams) WithModelDefinition(modelDefinition *os.File) *PostModelParams

WithModelDefinition adds the modelDefinition to the post model params

func (*PostModelParams) WithTimeout

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

WithTimeout adds the timeout to the post model params

func (*PostModelParams) WithVersion

func (o *PostModelParams) WithVersion(version string) *PostModelParams

WithVersion adds the version to the post model params

func (*PostModelParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostModelReader

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

PostModelReader is a Reader for the PostModel structure.

func (*PostModelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostModelUnauthorized

type PostModelUnauthorized struct {
	Payload *restmodels.Error
}

PostModelUnauthorized handles this case with default header values.

Unauthorized

func NewPostModelUnauthorized

func NewPostModelUnauthorized() *PostModelUnauthorized

NewPostModelUnauthorized creates a PostModelUnauthorized with default headers values

func (*PostModelUnauthorized) Error

func (o *PostModelUnauthorized) Error() string

Jump to

Keyboard shortcuts

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