Help us shape the future of Go! Take the 2026 Go Developer Survey

predict

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2017 License: NCSA Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for predict API

func New

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

New creates a new predict API client.

func (*Client) Close

func (a *Client) Close(params *CloseParams) (*CloseOK, error)

Close closes a predictor clear it s memory

func (*Client) Dataset

func (a *Client) Dataset(params *DatasetParams) (*DatasetOK, error)

Dataset datasets method receives a single dataset and runs the predictor on all elements of the dataset

The result is a prediction feature list.

func (*Client) DatasetStream

func (a *Client) DatasetStream(params *DatasetStreamParams) (*DatasetStreamOK, error)

DatasetStream datasets method receives a single dataset and runs the predictor on all elements of the dataset

The result is a prediction feature stream.

func (*Client) Images

func (a *Client) Images(params *ImagesParams) (*ImagesOK, error)

Images images method receives a list base64 encoded images and runs the predictor on all the images

The result is a prediction feature list for each image.

func (*Client) ImagesStream

func (a *Client) ImagesStream(params *ImagesStreamParams) (*ImagesStreamOK, error)

ImagesStream images method receives a list base64 encoded images and runs the predictor on all the images

The result is a prediction feature stream for each image.

func (*Client) Open

func (a *Client) Open(params *OpenParams) (*OpenOK, error)

Open opens a predictor and returns an id where the predictor is accessible the id can be used to perform inference requests

func (*Client) Reset

func (a *Client) Reset(params *ResetParams) (*ResetOK, error)

Reset clears method clears the internal cache of the predictors

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Urls

func (a *Client) Urls(params *UrlsParams) (*UrlsOK, error)

Urls images method receives a stream of urls and runs the predictor on all the urls the

The result is a prediction feature stream for each url.

func (*Client) UrlsStream

func (a *Client) UrlsStream(params *UrlsStreamParams) (*UrlsStreamOK, error)

UrlsStream images method receives a stream of urls and runs the predictor on all the urls the

The result is a prediction feature stream for each url.

type CloseOK

type CloseOK struct {
	Payload models.DlframeworkPredictorCloseResponse
}

CloseOK handles this case with default header values.

CloseOK close o k

func NewCloseOK

func NewCloseOK() *CloseOK

NewCloseOK creates a CloseOK with default headers values

func (*CloseOK) Error

func (o *CloseOK) Error() string

type CloseParams

type CloseParams struct {

	/*Body*/
	Body *models.DlframeworkPredictor

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

CloseParams contains all the parameters to send to the API endpoint for the close operation typically these are written to a http.Request

func NewCloseParams

func NewCloseParams() *CloseParams

NewCloseParams creates a new CloseParams object with the default values initialized.

func NewCloseParamsWithContext

func NewCloseParamsWithContext(ctx context.Context) *CloseParams

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

func NewCloseParamsWithHTTPClient

func NewCloseParamsWithHTTPClient(client *http.Client) *CloseParams

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

func NewCloseParamsWithTimeout

func NewCloseParamsWithTimeout(timeout time.Duration) *CloseParams

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

func (*CloseParams) SetBody

func (o *CloseParams) SetBody(body *models.DlframeworkPredictor)

SetBody adds the body to the close params

func (*CloseParams) SetContext

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

SetContext adds the context to the close params

func (*CloseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the close params

func (*CloseParams) SetTimeout

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

SetTimeout adds the timeout to the close params

func (*CloseParams) WithBody

func (o *CloseParams) WithBody(body *models.DlframeworkPredictor) *CloseParams

WithBody adds the body to the close params

func (*CloseParams) WithContext

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

WithContext adds the context to the close params

func (*CloseParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the close params

func (*CloseParams) WithTimeout

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

WithTimeout adds the timeout to the close params

func (*CloseParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CloseReader

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

CloseReader is a Reader for the Close structure.

func (*CloseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasetOK

type DatasetOK struct {
	Payload *models.DlframeworkFeaturesResponse
}

DatasetOK handles this case with default header values.

DatasetOK dataset o k

func NewDatasetOK

func NewDatasetOK() *DatasetOK

NewDatasetOK creates a DatasetOK with default headers values

func (*DatasetOK) Error

func (o *DatasetOK) Error() string

type DatasetParams

type DatasetParams struct {

	/*Body*/
	Body *models.DlframeworkDatasetRequest

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

DatasetParams contains all the parameters to send to the API endpoint for the dataset operation typically these are written to a http.Request

func NewDatasetParams

func NewDatasetParams() *DatasetParams

NewDatasetParams creates a new DatasetParams object with the default values initialized.

func NewDatasetParamsWithContext

func NewDatasetParamsWithContext(ctx context.Context) *DatasetParams

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

func NewDatasetParamsWithHTTPClient

func NewDatasetParamsWithHTTPClient(client *http.Client) *DatasetParams

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

func NewDatasetParamsWithTimeout

func NewDatasetParamsWithTimeout(timeout time.Duration) *DatasetParams

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

func (*DatasetParams) SetBody

SetBody adds the body to the dataset params

func (*DatasetParams) SetContext

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

SetContext adds the context to the dataset params

func (*DatasetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the dataset params

func (*DatasetParams) SetTimeout

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

SetTimeout adds the timeout to the dataset params

func (*DatasetParams) WithBody

WithBody adds the body to the dataset params

func (*DatasetParams) WithContext

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

WithContext adds the context to the dataset params

func (*DatasetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the dataset params

func (*DatasetParams) WithTimeout

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

WithTimeout adds the timeout to the dataset params

func (*DatasetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DatasetReader

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

DatasetReader is a Reader for the Dataset structure.

func (*DatasetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasetStreamOK

type DatasetStreamOK struct {
	Payload *models.DlframeworkFeatureResponse
}

DatasetStreamOK handles this case with default header values.

(streaming responses)

func NewDatasetStreamOK

func NewDatasetStreamOK() *DatasetStreamOK

NewDatasetStreamOK creates a DatasetStreamOK with default headers values

func (*DatasetStreamOK) Error

func (o *DatasetStreamOK) Error() string

type DatasetStreamParams

type DatasetStreamParams struct {

	/*Body*/
	Body *models.DlframeworkDatasetRequest

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

DatasetStreamParams contains all the parameters to send to the API endpoint for the dataset stream operation typically these are written to a http.Request

func NewDatasetStreamParams

func NewDatasetStreamParams() *DatasetStreamParams

NewDatasetStreamParams creates a new DatasetStreamParams object with the default values initialized.

func NewDatasetStreamParamsWithContext

func NewDatasetStreamParamsWithContext(ctx context.Context) *DatasetStreamParams

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

func NewDatasetStreamParamsWithHTTPClient

func NewDatasetStreamParamsWithHTTPClient(client *http.Client) *DatasetStreamParams

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

func NewDatasetStreamParamsWithTimeout

func NewDatasetStreamParamsWithTimeout(timeout time.Duration) *DatasetStreamParams

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

func (*DatasetStreamParams) SetBody

SetBody adds the body to the dataset stream params

func (*DatasetStreamParams) SetContext

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

SetContext adds the context to the dataset stream params

func (*DatasetStreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the dataset stream params

func (*DatasetStreamParams) SetTimeout

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

SetTimeout adds the timeout to the dataset stream params

func (*DatasetStreamParams) WithBody

WithBody adds the body to the dataset stream params

func (*DatasetStreamParams) WithContext

WithContext adds the context to the dataset stream params

func (*DatasetStreamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the dataset stream params

func (*DatasetStreamParams) WithTimeout

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

WithTimeout adds the timeout to the dataset stream params

func (*DatasetStreamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DatasetStreamReader

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

DatasetStreamReader is a Reader for the DatasetStream structure.

func (*DatasetStreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImagesOK

type ImagesOK struct {
	Payload *models.DlframeworkFeaturesResponse
}

ImagesOK handles this case with default header values.

ImagesOK images o k

func NewImagesOK

func NewImagesOK() *ImagesOK

NewImagesOK creates a ImagesOK with default headers values

func (*ImagesOK) Error

func (o *ImagesOK) Error() string

type ImagesParams

type ImagesParams struct {

	/*Body*/
	Body *models.DlframeworkImagesRequest

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

ImagesParams contains all the parameters to send to the API endpoint for the images operation typically these are written to a http.Request

func NewImagesParams

func NewImagesParams() *ImagesParams

NewImagesParams creates a new ImagesParams object with the default values initialized.

func NewImagesParamsWithContext

func NewImagesParamsWithContext(ctx context.Context) *ImagesParams

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

func NewImagesParamsWithHTTPClient

func NewImagesParamsWithHTTPClient(client *http.Client) *ImagesParams

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

func NewImagesParamsWithTimeout

func NewImagesParamsWithTimeout(timeout time.Duration) *ImagesParams

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

func (*ImagesParams) SetBody

func (o *ImagesParams) SetBody(body *models.DlframeworkImagesRequest)

SetBody adds the body to the images params

func (*ImagesParams) SetContext

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

SetContext adds the context to the images params

func (*ImagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the images params

func (*ImagesParams) SetTimeout

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

SetTimeout adds the timeout to the images params

func (*ImagesParams) WithBody

WithBody adds the body to the images params

func (*ImagesParams) WithContext

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

WithContext adds the context to the images params

func (*ImagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the images params

func (*ImagesParams) WithTimeout

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

WithTimeout adds the timeout to the images params

func (*ImagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImagesReader

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

ImagesReader is a Reader for the Images structure.

func (*ImagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImagesStreamOK

type ImagesStreamOK struct {
	Payload *models.DlframeworkFeatureResponse
}

ImagesStreamOK handles this case with default header values.

(streaming responses)

func NewImagesStreamOK

func NewImagesStreamOK() *ImagesStreamOK

NewImagesStreamOK creates a ImagesStreamOK with default headers values

func (*ImagesStreamOK) Error

func (o *ImagesStreamOK) Error() string

type ImagesStreamParams

type ImagesStreamParams struct {

	/*Body*/
	Body *models.DlframeworkImagesRequest

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

ImagesStreamParams contains all the parameters to send to the API endpoint for the images stream operation typically these are written to a http.Request

func NewImagesStreamParams

func NewImagesStreamParams() *ImagesStreamParams

NewImagesStreamParams creates a new ImagesStreamParams object with the default values initialized.

func NewImagesStreamParamsWithContext

func NewImagesStreamParamsWithContext(ctx context.Context) *ImagesStreamParams

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

func NewImagesStreamParamsWithHTTPClient

func NewImagesStreamParamsWithHTTPClient(client *http.Client) *ImagesStreamParams

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

func NewImagesStreamParamsWithTimeout

func NewImagesStreamParamsWithTimeout(timeout time.Duration) *ImagesStreamParams

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

func (*ImagesStreamParams) SetBody

SetBody adds the body to the images stream params

func (*ImagesStreamParams) SetContext

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

SetContext adds the context to the images stream params

func (*ImagesStreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the images stream params

func (*ImagesStreamParams) SetTimeout

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

SetTimeout adds the timeout to the images stream params

func (*ImagesStreamParams) WithBody

WithBody adds the body to the images stream params

func (*ImagesStreamParams) WithContext

WithContext adds the context to the images stream params

func (*ImagesStreamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the images stream params

func (*ImagesStreamParams) WithTimeout

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

WithTimeout adds the timeout to the images stream params

func (*ImagesStreamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImagesStreamReader

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

ImagesStreamReader is a Reader for the ImagesStream structure.

func (*ImagesStreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OpenOK

type OpenOK struct {
	Payload *models.DlframeworkPredictor
}

OpenOK handles this case with default header values.

OpenOK open o k

func NewOpenOK

func NewOpenOK() *OpenOK

NewOpenOK creates a OpenOK with default headers values

func (*OpenOK) Error

func (o *OpenOK) Error() string

type OpenParams

type OpenParams struct {

	/*Body*/
	Body *models.DlframeworkPredictorOpenRequest

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

OpenParams contains all the parameters to send to the API endpoint for the open operation typically these are written to a http.Request

func NewOpenParams

func NewOpenParams() *OpenParams

NewOpenParams creates a new OpenParams object with the default values initialized.

func NewOpenParamsWithContext

func NewOpenParamsWithContext(ctx context.Context) *OpenParams

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

func NewOpenParamsWithHTTPClient

func NewOpenParamsWithHTTPClient(client *http.Client) *OpenParams

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

func NewOpenParamsWithTimeout

func NewOpenParamsWithTimeout(timeout time.Duration) *OpenParams

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

func (*OpenParams) SetBody

SetBody adds the body to the open params

func (*OpenParams) SetContext

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

SetContext adds the context to the open params

func (*OpenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the open params

func (*OpenParams) SetTimeout

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

SetTimeout adds the timeout to the open params

func (*OpenParams) WithBody

WithBody adds the body to the open params

func (*OpenParams) WithContext

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

WithContext adds the context to the open params

func (*OpenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the open params

func (*OpenParams) WithTimeout

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

WithTimeout adds the timeout to the open params

func (*OpenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OpenReader

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

OpenReader is a Reader for the Open structure.

func (*OpenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetOK

type ResetOK struct {
	Payload *models.DlframeworkResetResponse
}

ResetOK handles this case with default header values.

ResetOK reset o k

func NewResetOK

func NewResetOK() *ResetOK

NewResetOK creates a ResetOK with default headers values

func (*ResetOK) Error

func (o *ResetOK) Error() string

type ResetParams

type ResetParams struct {

	/*Body*/
	Body *models.DlframeworkResetRequest

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

ResetParams contains all the parameters to send to the API endpoint for the reset operation typically these are written to a http.Request

func NewResetParams

func NewResetParams() *ResetParams

NewResetParams creates a new ResetParams object with the default values initialized.

func NewResetParamsWithContext

func NewResetParamsWithContext(ctx context.Context) *ResetParams

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

func NewResetParamsWithHTTPClient

func NewResetParamsWithHTTPClient(client *http.Client) *ResetParams

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

func NewResetParamsWithTimeout

func NewResetParamsWithTimeout(timeout time.Duration) *ResetParams

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

func (*ResetParams) SetBody

func (o *ResetParams) SetBody(body *models.DlframeworkResetRequest)

SetBody adds the body to the reset params

func (*ResetParams) SetContext

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

SetContext adds the context to the reset params

func (*ResetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset params

func (*ResetParams) SetTimeout

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

SetTimeout adds the timeout to the reset params

func (*ResetParams) WithBody

WithBody adds the body to the reset params

func (*ResetParams) WithContext

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

WithContext adds the context to the reset params

func (*ResetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reset params

func (*ResetParams) WithTimeout

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

WithTimeout adds the timeout to the reset params

func (*ResetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ResetReader

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

ResetReader is a Reader for the Reset structure.

func (*ResetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UrlsOK

type UrlsOK struct {
	Payload *models.DlframeworkFeaturesResponse
}

UrlsOK handles this case with default header values.

UrlsOK urls o k

func NewUrlsOK

func NewUrlsOK() *UrlsOK

NewUrlsOK creates a UrlsOK with default headers values

func (*UrlsOK) Error

func (o *UrlsOK) Error() string

type UrlsParams

type UrlsParams struct {

	/*Body*/
	Body *models.DlframeworkUrlsRequest

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

UrlsParams contains all the parameters to send to the API endpoint for the urls operation typically these are written to a http.Request

func NewUrlsParams

func NewUrlsParams() *UrlsParams

NewUrlsParams creates a new UrlsParams object with the default values initialized.

func NewUrlsParamsWithContext

func NewUrlsParamsWithContext(ctx context.Context) *UrlsParams

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

func NewUrlsParamsWithHTTPClient

func NewUrlsParamsWithHTTPClient(client *http.Client) *UrlsParams

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

func NewUrlsParamsWithTimeout

func NewUrlsParamsWithTimeout(timeout time.Duration) *UrlsParams

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

func (*UrlsParams) SetBody

func (o *UrlsParams) SetBody(body *models.DlframeworkUrlsRequest)

SetBody adds the body to the urls params

func (*UrlsParams) SetContext

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

SetContext adds the context to the urls params

func (*UrlsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the urls params

func (*UrlsParams) SetTimeout

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

SetTimeout adds the timeout to the urls params

func (*UrlsParams) WithBody

func (o *UrlsParams) WithBody(body *models.DlframeworkUrlsRequest) *UrlsParams

WithBody adds the body to the urls params

func (*UrlsParams) WithContext

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

WithContext adds the context to the urls params

func (*UrlsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the urls params

func (*UrlsParams) WithTimeout

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

WithTimeout adds the timeout to the urls params

func (*UrlsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UrlsReader

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

UrlsReader is a Reader for the Urls structure.

func (*UrlsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UrlsStreamOK

type UrlsStreamOK struct {
	Payload *models.DlframeworkFeatureResponse
}

UrlsStreamOK handles this case with default header values.

(streaming responses)

func NewUrlsStreamOK

func NewUrlsStreamOK() *UrlsStreamOK

NewUrlsStreamOK creates a UrlsStreamOK with default headers values

func (*UrlsStreamOK) Error

func (o *UrlsStreamOK) Error() string

type UrlsStreamParams

type UrlsStreamParams struct {

	/*Body*/
	Body *models.DlframeworkUrlsRequest

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

UrlsStreamParams contains all the parameters to send to the API endpoint for the urls stream operation typically these are written to a http.Request

func NewUrlsStreamParams

func NewUrlsStreamParams() *UrlsStreamParams

NewUrlsStreamParams creates a new UrlsStreamParams object with the default values initialized.

func NewUrlsStreamParamsWithContext

func NewUrlsStreamParamsWithContext(ctx context.Context) *UrlsStreamParams

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

func NewUrlsStreamParamsWithHTTPClient

func NewUrlsStreamParamsWithHTTPClient(client *http.Client) *UrlsStreamParams

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

func NewUrlsStreamParamsWithTimeout

func NewUrlsStreamParamsWithTimeout(timeout time.Duration) *UrlsStreamParams

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

func (*UrlsStreamParams) SetBody

SetBody adds the body to the urls stream params

func (*UrlsStreamParams) SetContext

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

SetContext adds the context to the urls stream params

func (*UrlsStreamParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the urls stream params

func (*UrlsStreamParams) SetTimeout

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

SetTimeout adds the timeout to the urls stream params

func (*UrlsStreamParams) WithBody

WithBody adds the body to the urls stream params

func (*UrlsStreamParams) WithContext

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

WithContext adds the context to the urls stream params

func (*UrlsStreamParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the urls stream params

func (*UrlsStreamParams) WithTimeout

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

WithTimeout adds the timeout to the urls stream params

func (*UrlsStreamParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UrlsStreamReader

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

UrlsStreamReader is a Reader for the UrlsStream structure.

func (*UrlsStreamReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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