experiment_service

package
v1.7.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveExperimentDefault

type ArchiveExperimentDefault struct {
	Payload *experiment_model.APIStatus
	// contains filtered or unexported fields
}

ArchiveExperimentDefault handles this case with default header values.

ArchiveExperimentDefault archive experiment default

func NewArchiveExperimentDefault

func NewArchiveExperimentDefault(code int) *ArchiveExperimentDefault

NewArchiveExperimentDefault creates a ArchiveExperimentDefault with default headers values

func (*ArchiveExperimentDefault) Code

func (o *ArchiveExperimentDefault) Code() int

Code gets the status code for the archive experiment default response

func (*ArchiveExperimentDefault) Error

func (o *ArchiveExperimentDefault) Error() string

type ArchiveExperimentOK

type ArchiveExperimentOK struct {
	Payload interface{}
}

ArchiveExperimentOK handles this case with default header values.

A successful response.

func NewArchiveExperimentOK

func NewArchiveExperimentOK() *ArchiveExperimentOK

NewArchiveExperimentOK creates a ArchiveExperimentOK with default headers values

func (*ArchiveExperimentOK) Error

func (o *ArchiveExperimentOK) Error() string

type ArchiveExperimentParams

type ArchiveExperimentParams struct {

	/*ID
	  The ID of the experiment to be archived.

	*/
	ID string

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

ArchiveExperimentParams contains all the parameters to send to the API endpoint for the archive experiment operation typically these are written to a http.Request

func NewArchiveExperimentParams

func NewArchiveExperimentParams() *ArchiveExperimentParams

NewArchiveExperimentParams creates a new ArchiveExperimentParams object with the default values initialized.

func NewArchiveExperimentParamsWithContext

func NewArchiveExperimentParamsWithContext(ctx context.Context) *ArchiveExperimentParams

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

func NewArchiveExperimentParamsWithHTTPClient

func NewArchiveExperimentParamsWithHTTPClient(client *http.Client) *ArchiveExperimentParams

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

func NewArchiveExperimentParamsWithTimeout

func NewArchiveExperimentParamsWithTimeout(timeout time.Duration) *ArchiveExperimentParams

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

func (*ArchiveExperimentParams) SetContext

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

SetContext adds the context to the archive experiment params

func (*ArchiveExperimentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the archive experiment params

func (*ArchiveExperimentParams) SetID

func (o *ArchiveExperimentParams) SetID(id string)

SetID adds the id to the archive experiment params

func (*ArchiveExperimentParams) SetTimeout

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

SetTimeout adds the timeout to the archive experiment params

func (*ArchiveExperimentParams) WithContext

WithContext adds the context to the archive experiment params

func (*ArchiveExperimentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the archive experiment params

func (*ArchiveExperimentParams) WithID

WithID adds the id to the archive experiment params

func (*ArchiveExperimentParams) WithTimeout

WithTimeout adds the timeout to the archive experiment params

func (*ArchiveExperimentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ArchiveExperimentReader

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

ArchiveExperimentReader is a Reader for the ArchiveExperiment structure.

func (*ArchiveExperimentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for experiment service API

func New

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

New creates a new experiment service API client.

func (*Client) ArchiveExperiment

func (a *Client) ArchiveExperiment(params *ArchiveExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*ArchiveExperimentOK, error)

ArchiveExperiment archives an experiment and the experiment s runs and jobs

func (*Client) CreateExperiment

func (a *Client) CreateExperiment(params *CreateExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateExperimentOK, error)

CreateExperiment creates a new experiment

func (*Client) DeleteExperiment

func (a *Client) DeleteExperiment(params *DeleteExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteExperimentOK, error)

DeleteExperiment deletes an experiment without deleting the experiment s runs and jobs to avoid unexpected behaviors delete an experiment s runs and jobs before deleting the experiment

func (*Client) GetExperiment

func (a *Client) GetExperiment(params *GetExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*GetExperimentOK, error)

GetExperiment finds a specific experiment by ID

func (*Client) ListExperiment

func (a *Client) ListExperiment(params *ListExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*ListExperimentOK, error)

ListExperiment finds all experiments supports pagination and sorting on certain fields

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnarchiveExperiment

func (a *Client) UnarchiveExperiment(params *UnarchiveExperimentParams, authInfo runtime.ClientAuthInfoWriter) (*UnarchiveExperimentOK, error)

UnarchiveExperiment restores an archived experiment the experiment s archived runs and jobs will stay archived

type CreateExperimentDefault

type CreateExperimentDefault struct {
	Payload *experiment_model.APIStatus
	// contains filtered or unexported fields
}

CreateExperimentDefault handles this case with default header values.

CreateExperimentDefault create experiment default

func NewCreateExperimentDefault

func NewCreateExperimentDefault(code int) *CreateExperimentDefault

NewCreateExperimentDefault creates a CreateExperimentDefault with default headers values

func (*CreateExperimentDefault) Code

func (o *CreateExperimentDefault) Code() int

Code gets the status code for the create experiment default response

func (*CreateExperimentDefault) Error

func (o *CreateExperimentDefault) Error() string

type CreateExperimentOK

type CreateExperimentOK struct {
	Payload *experiment_model.APIExperiment
}

CreateExperimentOK handles this case with default header values.

A successful response.

func NewCreateExperimentOK

func NewCreateExperimentOK() *CreateExperimentOK

NewCreateExperimentOK creates a CreateExperimentOK with default headers values

func (*CreateExperimentOK) Error

func (o *CreateExperimentOK) Error() string

type CreateExperimentParams

type CreateExperimentParams struct {

	/*Body
	  The experiment to be created.

	*/
	Body *experiment_model.APIExperiment

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

CreateExperimentParams contains all the parameters to send to the API endpoint for the create experiment operation typically these are written to a http.Request

func NewCreateExperimentParams

func NewCreateExperimentParams() *CreateExperimentParams

NewCreateExperimentParams creates a new CreateExperimentParams object with the default values initialized.

func NewCreateExperimentParamsWithContext

func NewCreateExperimentParamsWithContext(ctx context.Context) *CreateExperimentParams

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

func NewCreateExperimentParamsWithHTTPClient

func NewCreateExperimentParamsWithHTTPClient(client *http.Client) *CreateExperimentParams

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

func NewCreateExperimentParamsWithTimeout

func NewCreateExperimentParamsWithTimeout(timeout time.Duration) *CreateExperimentParams

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

func (*CreateExperimentParams) SetBody

SetBody adds the body to the create experiment params

func (*CreateExperimentParams) SetContext

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

SetContext adds the context to the create experiment params

func (*CreateExperimentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create experiment params

func (*CreateExperimentParams) SetTimeout

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

SetTimeout adds the timeout to the create experiment params

func (*CreateExperimentParams) WithBody

WithBody adds the body to the create experiment params

func (*CreateExperimentParams) WithContext

WithContext adds the context to the create experiment params

func (*CreateExperimentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create experiment params

func (*CreateExperimentParams) WithTimeout

WithTimeout adds the timeout to the create experiment params

func (*CreateExperimentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateExperimentReader

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

CreateExperimentReader is a Reader for the CreateExperiment structure.

func (*CreateExperimentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteExperimentDefault

type DeleteExperimentDefault struct {
	Payload *experiment_model.APIStatus
	// contains filtered or unexported fields
}

DeleteExperimentDefault handles this case with default header values.

DeleteExperimentDefault delete experiment default

func NewDeleteExperimentDefault

func NewDeleteExperimentDefault(code int) *DeleteExperimentDefault

NewDeleteExperimentDefault creates a DeleteExperimentDefault with default headers values

func (*DeleteExperimentDefault) Code

func (o *DeleteExperimentDefault) Code() int

Code gets the status code for the delete experiment default response

func (*DeleteExperimentDefault) Error

func (o *DeleteExperimentDefault) Error() string

type DeleteExperimentOK

type DeleteExperimentOK struct {
	Payload interface{}
}

DeleteExperimentOK handles this case with default header values.

A successful response.

func NewDeleteExperimentOK

func NewDeleteExperimentOK() *DeleteExperimentOK

NewDeleteExperimentOK creates a DeleteExperimentOK with default headers values

func (*DeleteExperimentOK) Error

func (o *DeleteExperimentOK) Error() string

type DeleteExperimentParams

type DeleteExperimentParams struct {

	/*ID
	  The ID of the experiment to be deleted.

	*/
	ID string

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

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

func NewDeleteExperimentParams

func NewDeleteExperimentParams() *DeleteExperimentParams

NewDeleteExperimentParams creates a new DeleteExperimentParams object with the default values initialized.

func NewDeleteExperimentParamsWithContext

func NewDeleteExperimentParamsWithContext(ctx context.Context) *DeleteExperimentParams

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

func NewDeleteExperimentParamsWithHTTPClient

func NewDeleteExperimentParamsWithHTTPClient(client *http.Client) *DeleteExperimentParams

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

func NewDeleteExperimentParamsWithTimeout

func NewDeleteExperimentParamsWithTimeout(timeout time.Duration) *DeleteExperimentParams

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

func (*DeleteExperimentParams) SetContext

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

SetContext adds the context to the delete experiment params

func (*DeleteExperimentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete experiment params

func (*DeleteExperimentParams) SetID

func (o *DeleteExperimentParams) SetID(id string)

SetID adds the id to the delete experiment params

func (*DeleteExperimentParams) SetTimeout

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

SetTimeout adds the timeout to the delete experiment params

func (*DeleteExperimentParams) WithContext

WithContext adds the context to the delete experiment params

func (*DeleteExperimentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete experiment params

func (*DeleteExperimentParams) WithID

WithID adds the id to the delete experiment params

func (*DeleteExperimentParams) WithTimeout

WithTimeout adds the timeout to the delete experiment params

func (*DeleteExperimentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteExperimentReader

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

DeleteExperimentReader is a Reader for the DeleteExperiment structure.

func (*DeleteExperimentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExperimentDefault

type GetExperimentDefault struct {
	Payload *experiment_model.APIStatus
	// contains filtered or unexported fields
}

GetExperimentDefault handles this case with default header values.

GetExperimentDefault get experiment default

func NewGetExperimentDefault

func NewGetExperimentDefault(code int) *GetExperimentDefault

NewGetExperimentDefault creates a GetExperimentDefault with default headers values

func (*GetExperimentDefault) Code

func (o *GetExperimentDefault) Code() int

Code gets the status code for the get experiment default response

func (*GetExperimentDefault) Error

func (o *GetExperimentDefault) Error() string

type GetExperimentOK

type GetExperimentOK struct {
	Payload *experiment_model.APIExperiment
}

GetExperimentOK handles this case with default header values.

A successful response.

func NewGetExperimentOK

func NewGetExperimentOK() *GetExperimentOK

NewGetExperimentOK creates a GetExperimentOK with default headers values

func (*GetExperimentOK) Error

func (o *GetExperimentOK) Error() string

type GetExperimentParams

type GetExperimentParams struct {

	/*ID
	  The ID of the experiment to be retrieved.

	*/
	ID string

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

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

func NewGetExperimentParams

func NewGetExperimentParams() *GetExperimentParams

NewGetExperimentParams creates a new GetExperimentParams object with the default values initialized.

func NewGetExperimentParamsWithContext

func NewGetExperimentParamsWithContext(ctx context.Context) *GetExperimentParams

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

func NewGetExperimentParamsWithHTTPClient

func NewGetExperimentParamsWithHTTPClient(client *http.Client) *GetExperimentParams

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

func NewGetExperimentParamsWithTimeout

func NewGetExperimentParamsWithTimeout(timeout time.Duration) *GetExperimentParams

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

func (*GetExperimentParams) SetContext

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

SetContext adds the context to the get experiment params

func (*GetExperimentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get experiment params

func (*GetExperimentParams) SetID

func (o *GetExperimentParams) SetID(id string)

SetID adds the id to the get experiment params

func (*GetExperimentParams) SetTimeout

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

SetTimeout adds the timeout to the get experiment params

func (*GetExperimentParams) WithContext

WithContext adds the context to the get experiment params

func (*GetExperimentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get experiment params

func (*GetExperimentParams) WithID

WithID adds the id to the get experiment params

func (*GetExperimentParams) WithTimeout

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

WithTimeout adds the timeout to the get experiment params

func (*GetExperimentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetExperimentReader

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

GetExperimentReader is a Reader for the GetExperiment structure.

func (*GetExperimentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListExperimentDefault

type ListExperimentDefault struct {
	Payload *experiment_model.APIStatus
	// contains filtered or unexported fields
}

ListExperimentDefault handles this case with default header values.

ListExperimentDefault list experiment default

func NewListExperimentDefault

func NewListExperimentDefault(code int) *ListExperimentDefault

NewListExperimentDefault creates a ListExperimentDefault with default headers values

func (*ListExperimentDefault) Code

func (o *ListExperimentDefault) Code() int

Code gets the status code for the list experiment default response

func (*ListExperimentDefault) Error

func (o *ListExperimentDefault) Error() string

type ListExperimentOK

type ListExperimentOK struct {
	Payload *experiment_model.APIListExperimentsResponse
}

ListExperimentOK handles this case with default header values.

A successful response.

func NewListExperimentOK

func NewListExperimentOK() *ListExperimentOK

NewListExperimentOK creates a ListExperimentOK with default headers values

func (*ListExperimentOK) Error

func (o *ListExperimentOK) Error() string

type ListExperimentParams

type ListExperimentParams struct {

	/*Filter
	  A url-encoded, JSON-serialized Filter protocol buffer (see
	[filter.proto](https://github.com/kubeflow/pipelines/
	blob/master/backend/api/filter.proto)).

	*/
	Filter *string
	/*PageSize
	  The number of experiments to be listed per page. If there are more
	experiments than this number, the response message will contain a
	nextPageToken field you can use to fetch the next page.

	*/
	PageSize *int32
	/*PageToken
	  A page token to request the next page of results. The token is acquried
	from the nextPageToken field of the response from the previous
	ListExperiment call or can be omitted when fetching the first page.

	*/
	PageToken *string
	/*ResourceReferenceKeyID
	  The ID of the resource that referred to.

	*/
	ResourceReferenceKeyID *string
	/*ResourceReferenceKeyType
	  The type of the resource that referred to.

	*/
	ResourceReferenceKeyType *string
	/*SortBy
	  Can be format of "field_name", "field_name asc" or "field_name desc"
	Ascending by default.

	*/
	SortBy *string

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

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

func NewListExperimentParams

func NewListExperimentParams() *ListExperimentParams

NewListExperimentParams creates a new ListExperimentParams object with the default values initialized.

func NewListExperimentParamsWithContext

func NewListExperimentParamsWithContext(ctx context.Context) *ListExperimentParams

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

func NewListExperimentParamsWithHTTPClient

func NewListExperimentParamsWithHTTPClient(client *http.Client) *ListExperimentParams

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

func NewListExperimentParamsWithTimeout

func NewListExperimentParamsWithTimeout(timeout time.Duration) *ListExperimentParams

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

func (*ListExperimentParams) SetContext

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

SetContext adds the context to the list experiment params

func (*ListExperimentParams) SetFilter

func (o *ListExperimentParams) SetFilter(filter *string)

SetFilter adds the filter to the list experiment params

func (*ListExperimentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list experiment params

func (*ListExperimentParams) SetPageSize

func (o *ListExperimentParams) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the list experiment params

func (*ListExperimentParams) SetPageToken

func (o *ListExperimentParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list experiment params

func (*ListExperimentParams) SetResourceReferenceKeyID

func (o *ListExperimentParams) SetResourceReferenceKeyID(resourceReferenceKeyID *string)

SetResourceReferenceKeyID adds the resourceReferenceKeyId to the list experiment params

func (*ListExperimentParams) SetResourceReferenceKeyType

func (o *ListExperimentParams) SetResourceReferenceKeyType(resourceReferenceKeyType *string)

SetResourceReferenceKeyType adds the resourceReferenceKeyType to the list experiment params

func (*ListExperimentParams) SetSortBy

func (o *ListExperimentParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the list experiment params

func (*ListExperimentParams) SetTimeout

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

SetTimeout adds the timeout to the list experiment params

func (*ListExperimentParams) WithContext

WithContext adds the context to the list experiment params

func (*ListExperimentParams) WithFilter

func (o *ListExperimentParams) WithFilter(filter *string) *ListExperimentParams

WithFilter adds the filter to the list experiment params

func (*ListExperimentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list experiment params

func (*ListExperimentParams) WithPageSize

func (o *ListExperimentParams) WithPageSize(pageSize *int32) *ListExperimentParams

WithPageSize adds the pageSize to the list experiment params

func (*ListExperimentParams) WithPageToken

func (o *ListExperimentParams) WithPageToken(pageToken *string) *ListExperimentParams

WithPageToken adds the pageToken to the list experiment params

func (*ListExperimentParams) WithResourceReferenceKeyID

func (o *ListExperimentParams) WithResourceReferenceKeyID(resourceReferenceKeyID *string) *ListExperimentParams

WithResourceReferenceKeyID adds the resourceReferenceKeyID to the list experiment params

func (*ListExperimentParams) WithResourceReferenceKeyType

func (o *ListExperimentParams) WithResourceReferenceKeyType(resourceReferenceKeyType *string) *ListExperimentParams

WithResourceReferenceKeyType adds the resourceReferenceKeyType to the list experiment params

func (*ListExperimentParams) WithSortBy

func (o *ListExperimentParams) WithSortBy(sortBy *string) *ListExperimentParams

WithSortBy adds the sortBy to the list experiment params

func (*ListExperimentParams) WithTimeout

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

WithTimeout adds the timeout to the list experiment params

func (*ListExperimentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListExperimentReader

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

ListExperimentReader is a Reader for the ListExperiment structure.

func (*ListExperimentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnarchiveExperimentDefault

type UnarchiveExperimentDefault struct {
	Payload *experiment_model.APIStatus
	// contains filtered or unexported fields
}

UnarchiveExperimentDefault handles this case with default header values.

UnarchiveExperimentDefault unarchive experiment default

func NewUnarchiveExperimentDefault

func NewUnarchiveExperimentDefault(code int) *UnarchiveExperimentDefault

NewUnarchiveExperimentDefault creates a UnarchiveExperimentDefault with default headers values

func (*UnarchiveExperimentDefault) Code

func (o *UnarchiveExperimentDefault) Code() int

Code gets the status code for the unarchive experiment default response

func (*UnarchiveExperimentDefault) Error

type UnarchiveExperimentOK

type UnarchiveExperimentOK struct {
	Payload interface{}
}

UnarchiveExperimentOK handles this case with default header values.

A successful response.

func NewUnarchiveExperimentOK

func NewUnarchiveExperimentOK() *UnarchiveExperimentOK

NewUnarchiveExperimentOK creates a UnarchiveExperimentOK with default headers values

func (*UnarchiveExperimentOK) Error

func (o *UnarchiveExperimentOK) Error() string

type UnarchiveExperimentParams

type UnarchiveExperimentParams struct {

	/*ID
	  The ID of the experiment to be restored.

	*/
	ID string

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

UnarchiveExperimentParams contains all the parameters to send to the API endpoint for the unarchive experiment operation typically these are written to a http.Request

func NewUnarchiveExperimentParams

func NewUnarchiveExperimentParams() *UnarchiveExperimentParams

NewUnarchiveExperimentParams creates a new UnarchiveExperimentParams object with the default values initialized.

func NewUnarchiveExperimentParamsWithContext

func NewUnarchiveExperimentParamsWithContext(ctx context.Context) *UnarchiveExperimentParams

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

func NewUnarchiveExperimentParamsWithHTTPClient

func NewUnarchiveExperimentParamsWithHTTPClient(client *http.Client) *UnarchiveExperimentParams

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

func NewUnarchiveExperimentParamsWithTimeout

func NewUnarchiveExperimentParamsWithTimeout(timeout time.Duration) *UnarchiveExperimentParams

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

func (*UnarchiveExperimentParams) SetContext

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

SetContext adds the context to the unarchive experiment params

func (*UnarchiveExperimentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unarchive experiment params

func (*UnarchiveExperimentParams) SetID

func (o *UnarchiveExperimentParams) SetID(id string)

SetID adds the id to the unarchive experiment params

func (*UnarchiveExperimentParams) SetTimeout

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

SetTimeout adds the timeout to the unarchive experiment params

func (*UnarchiveExperimentParams) WithContext

WithContext adds the context to the unarchive experiment params

func (*UnarchiveExperimentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the unarchive experiment params

func (*UnarchiveExperimentParams) WithID

WithID adds the id to the unarchive experiment params

func (*UnarchiveExperimentParams) WithTimeout

WithTimeout adds the timeout to the unarchive experiment params

func (*UnarchiveExperimentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnarchiveExperimentReader

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

UnarchiveExperimentReader is a Reader for the UnarchiveExperiment structure.

func (*UnarchiveExperimentReader) ReadResponse

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