operations

package
v0.0.0-...-87ce47b Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2017 License: Apache-2.0 Imports: 11 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 operations API

func New

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

New creates a new operations API client.

func (*Client) DeleteSetSet

func (a *Client) DeleteSetSet(params *DeleteSetSetParams) (*DeleteSetSetOK, error)

DeleteSetSet deletes a set

func (*Client) GetBackup

func (a *Client) GetBackup(params *GetBackupParams) (*GetBackupOK, error)

GetBackup produces a d b backup

func (*Client) GetDiscover

func (a *Client) GetDiscover(params *GetDiscoverParams) (*GetDiscoverOK, error)

GetDiscover performs a discovery request

func (*Client) GetSetSet

func (a *Client) GetSetSet(params *GetSetSetParams) (*GetSetSetOK, error)

GetSetSet retrieves the query or nodes for a set

func (*Client) GetSets

func (a *Client) GetSets(params *GetSetsParams) (*GetSetsOK, error)

GetSets retrieves list of known sets

func (*Client) PostSet

func (a *Client) PostSet(params *PostSetParams) (*PostSetOK, error)

PostSet creates a new set

func (*Client) PutSetSet

func (a *Client) PutSetSet(params *PutSetSetParams) (*PutSetSetOK, error)

PutSetSet updates a set

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteSetSetInternalServerError

type DeleteSetSetInternalServerError struct {
	Payload *models.ErrorModel
}

DeleteSetSetInternalServerError handles this case with default header values.

Standard Error Format

func NewDeleteSetSetInternalServerError

func NewDeleteSetSetInternalServerError() *DeleteSetSetInternalServerError

NewDeleteSetSetInternalServerError creates a DeleteSetSetInternalServerError with default headers values

func (*DeleteSetSetInternalServerError) Error

type DeleteSetSetNotFound

type DeleteSetSetNotFound struct {
}

DeleteSetSetNotFound handles this case with default header values.

Not found

func NewDeleteSetSetNotFound

func NewDeleteSetSetNotFound() *DeleteSetSetNotFound

NewDeleteSetSetNotFound creates a DeleteSetSetNotFound with default headers values

func (*DeleteSetSetNotFound) Error

func (o *DeleteSetSetNotFound) Error() string

type DeleteSetSetOK

type DeleteSetSetOK struct {
	Payload *models.SuccessModel
}

DeleteSetSetOK handles this case with default header values.

Basic successful request

func NewDeleteSetSetOK

func NewDeleteSetSetOK() *DeleteSetSetOK

NewDeleteSetSetOK creates a DeleteSetSetOK with default headers values

func (*DeleteSetSetOK) Error

func (o *DeleteSetSetOK) Error() string

type DeleteSetSetParams

type DeleteSetSetParams struct {

	/*Set
	  Node set to delete

	*/
	Set string

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

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

func NewDeleteSetSetParams

func NewDeleteSetSetParams() *DeleteSetSetParams

NewDeleteSetSetParams creates a new DeleteSetSetParams object with the default values initialized.

func NewDeleteSetSetParamsWithContext

func NewDeleteSetSetParamsWithContext(ctx context.Context) *DeleteSetSetParams

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

func NewDeleteSetSetParamsWithHTTPClient

func NewDeleteSetSetParamsWithHTTPClient(client *http.Client) *DeleteSetSetParams

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

func NewDeleteSetSetParamsWithTimeout

func NewDeleteSetSetParamsWithTimeout(timeout time.Duration) *DeleteSetSetParams

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

func (*DeleteSetSetParams) SetContext

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

SetContext adds the context to the delete set set params

func (*DeleteSetSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete set set params

func (*DeleteSetSetParams) SetSet

func (o *DeleteSetSetParams) SetSet(set string)

SetSet adds the set to the delete set set params

func (*DeleteSetSetParams) SetTimeout

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

SetTimeout adds the timeout to the delete set set params

func (*DeleteSetSetParams) WithContext

WithContext adds the context to the delete set set params

func (*DeleteSetSetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete set set params

func (*DeleteSetSetParams) WithSet

func (o *DeleteSetSetParams) WithSet(set string) *DeleteSetSetParams

WithSet adds the set to the delete set set params

func (*DeleteSetSetParams) WithTimeout

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

WithTimeout adds the timeout to the delete set set params

func (*DeleteSetSetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSetSetReader

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

DeleteSetSetReader is a Reader for the DeleteSetSet structure.

func (*DeleteSetSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBackupInternalServerError

type GetBackupInternalServerError struct {
	Payload *models.ErrorModel
}

GetBackupInternalServerError handles this case with default header values.

Standard Error Format

func NewGetBackupInternalServerError

func NewGetBackupInternalServerError() *GetBackupInternalServerError

NewGetBackupInternalServerError creates a GetBackupInternalServerError with default headers values

func (*GetBackupInternalServerError) Error

type GetBackupOK

type GetBackupOK struct {
	Payload *models.SuccessModel
}

GetBackupOK handles this case with default header values.

Basic successful request

func NewGetBackupOK

func NewGetBackupOK() *GetBackupOK

NewGetBackupOK creates a GetBackupOK with default headers values

func (*GetBackupOK) Error

func (o *GetBackupOK) Error() string

type GetBackupParams

type GetBackupParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetBackupParams

func NewGetBackupParams() *GetBackupParams

NewGetBackupParams creates a new GetBackupParams object with the default values initialized.

func NewGetBackupParamsWithContext

func NewGetBackupParamsWithContext(ctx context.Context) *GetBackupParams

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

func NewGetBackupParamsWithHTTPClient

func NewGetBackupParamsWithHTTPClient(client *http.Client) *GetBackupParams

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

func NewGetBackupParamsWithTimeout

func NewGetBackupParamsWithTimeout(timeout time.Duration) *GetBackupParams

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

func (*GetBackupParams) SetContext

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

SetContext adds the context to the get backup params

func (*GetBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get backup params

func (*GetBackupParams) SetTimeout

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

SetTimeout adds the timeout to the get backup params

func (*GetBackupParams) WithContext

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

WithContext adds the context to the get backup params

func (*GetBackupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get backup params

func (*GetBackupParams) WithTimeout

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

WithTimeout adds the timeout to the get backup params

func (*GetBackupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBackupReader

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

GetBackupReader is a Reader for the GetBackup structure.

func (*GetBackupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDiscoverBadRequest

type GetDiscoverBadRequest struct {
	Payload *models.ErrorModel
}

GetDiscoverBadRequest handles this case with default header values.

Standard Error Format

func NewGetDiscoverBadRequest

func NewGetDiscoverBadRequest() *GetDiscoverBadRequest

NewGetDiscoverBadRequest creates a GetDiscoverBadRequest with default headers values

func (*GetDiscoverBadRequest) Error

func (o *GetDiscoverBadRequest) Error() string

type GetDiscoverOK

type GetDiscoverOK struct {
	Payload *models.DiscoverySuccessModel
}

GetDiscoverOK handles this case with default header values.

Basic successful discovery request

func NewGetDiscoverOK

func NewGetDiscoverOK() *GetDiscoverOK

NewGetDiscoverOK creates a GetDiscoverOK with default headers values

func (*GetDiscoverOK) Error

func (o *GetDiscoverOK) Error() string

type GetDiscoverParams

type GetDiscoverParams struct {

	/*Request
	  Filter description

	*/
	Request *models.DiscoveryRequest

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

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

func NewGetDiscoverParams

func NewGetDiscoverParams() *GetDiscoverParams

NewGetDiscoverParams creates a new GetDiscoverParams object with the default values initialized.

func NewGetDiscoverParamsWithContext

func NewGetDiscoverParamsWithContext(ctx context.Context) *GetDiscoverParams

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

func NewGetDiscoverParamsWithHTTPClient

func NewGetDiscoverParamsWithHTTPClient(client *http.Client) *GetDiscoverParams

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

func NewGetDiscoverParamsWithTimeout

func NewGetDiscoverParamsWithTimeout(timeout time.Duration) *GetDiscoverParams

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

func (*GetDiscoverParams) SetContext

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

SetContext adds the context to the get discover params

func (*GetDiscoverParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get discover params

func (*GetDiscoverParams) SetRequest

func (o *GetDiscoverParams) SetRequest(request *models.DiscoveryRequest)

SetRequest adds the request to the get discover params

func (*GetDiscoverParams) SetTimeout

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

SetTimeout adds the timeout to the get discover params

func (*GetDiscoverParams) WithContext

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

WithContext adds the context to the get discover params

func (*GetDiscoverParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get discover params

func (*GetDiscoverParams) WithRequest

func (o *GetDiscoverParams) WithRequest(request *models.DiscoveryRequest) *GetDiscoverParams

WithRequest adds the request to the get discover params

func (*GetDiscoverParams) WithTimeout

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

WithTimeout adds the timeout to the get discover params

func (*GetDiscoverParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDiscoverReader

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

GetDiscoverReader is a Reader for the GetDiscover structure.

func (*GetDiscoverReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSetSetInternalServerError

type GetSetSetInternalServerError struct {
	Payload *models.ErrorModel
}

GetSetSetInternalServerError handles this case with default header values.

Standard Error Format

func NewGetSetSetInternalServerError

func NewGetSetSetInternalServerError() *GetSetSetInternalServerError

NewGetSetSetInternalServerError creates a GetSetSetInternalServerError with default headers values

func (*GetSetSetInternalServerError) Error

type GetSetSetNotFound

type GetSetSetNotFound struct {
}

GetSetSetNotFound handles this case with default header values.

Not found

func NewGetSetSetNotFound

func NewGetSetSetNotFound() *GetSetSetNotFound

NewGetSetSetNotFound creates a GetSetSetNotFound with default headers values

func (*GetSetSetNotFound) Error

func (o *GetSetSetNotFound) Error() string

type GetSetSetOK

type GetSetSetOK struct {
	Payload *models.Set
}

GetSetSetOK handles this case with default header values.

Node Set

func NewGetSetSetOK

func NewGetSetSetOK() *GetSetSetOK

NewGetSetSetOK creates a GetSetSetOK with default headers values

func (*GetSetSetOK) Error

func (o *GetSetSetOK) Error() string

type GetSetSetParams

type GetSetSetParams struct {

	/*Discover
	  Also include the matching nodes if the set is a PQL query

	*/
	Discover *bool
	/*Set
	  Node set to retrieve

	*/
	Set string

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

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

func NewGetSetSetParams

func NewGetSetSetParams() *GetSetSetParams

NewGetSetSetParams creates a new GetSetSetParams object with the default values initialized.

func NewGetSetSetParamsWithContext

func NewGetSetSetParamsWithContext(ctx context.Context) *GetSetSetParams

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

func NewGetSetSetParamsWithHTTPClient

func NewGetSetSetParamsWithHTTPClient(client *http.Client) *GetSetSetParams

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

func NewGetSetSetParamsWithTimeout

func NewGetSetSetParamsWithTimeout(timeout time.Duration) *GetSetSetParams

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

func (*GetSetSetParams) SetContext

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

SetContext adds the context to the get set set params

func (*GetSetSetParams) SetDiscover

func (o *GetSetSetParams) SetDiscover(discover *bool)

SetDiscover adds the discover to the get set set params

func (*GetSetSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get set set params

func (*GetSetSetParams) SetSet

func (o *GetSetSetParams) SetSet(set string)

SetSet adds the set to the get set set params

func (*GetSetSetParams) SetTimeout

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

SetTimeout adds the timeout to the get set set params

func (*GetSetSetParams) WithContext

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

WithContext adds the context to the get set set params

func (*GetSetSetParams) WithDiscover

func (o *GetSetSetParams) WithDiscover(discover *bool) *GetSetSetParams

WithDiscover adds the discover to the get set set params

func (*GetSetSetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get set set params

func (*GetSetSetParams) WithSet

func (o *GetSetSetParams) WithSet(set string) *GetSetSetParams

WithSet adds the set to the get set set params

func (*GetSetSetParams) WithTimeout

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

WithTimeout adds the timeout to the get set set params

func (*GetSetSetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSetSetReader

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

GetSetSetReader is a Reader for the GetSetSet structure.

func (*GetSetSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSetsOK

type GetSetsOK struct {
	Payload *models.Sets
}

GetSetsOK handles this case with default header values.

Known Sets

func NewGetSetsOK

func NewGetSetsOK() *GetSetsOK

NewGetSetsOK creates a GetSetsOK with default headers values

func (*GetSetsOK) Error

func (o *GetSetsOK) Error() string

type GetSetsParams

type GetSetsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetSetsParams

func NewGetSetsParams() *GetSetsParams

NewGetSetsParams creates a new GetSetsParams object with the default values initialized.

func NewGetSetsParamsWithContext

func NewGetSetsParamsWithContext(ctx context.Context) *GetSetsParams

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

func NewGetSetsParamsWithHTTPClient

func NewGetSetsParamsWithHTTPClient(client *http.Client) *GetSetsParams

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

func NewGetSetsParamsWithTimeout

func NewGetSetsParamsWithTimeout(timeout time.Duration) *GetSetsParams

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

func (*GetSetsParams) SetContext

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

SetContext adds the context to the get sets params

func (*GetSetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sets params

func (*GetSetsParams) SetTimeout

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

SetTimeout adds the timeout to the get sets params

func (*GetSetsParams) WithContext

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

WithContext adds the context to the get sets params

func (*GetSetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get sets params

func (*GetSetsParams) WithTimeout

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

WithTimeout adds the timeout to the get sets params

func (*GetSetsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSetsReader

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

GetSetsReader is a Reader for the GetSets structure.

func (*GetSetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostSetBadRequest

type PostSetBadRequest struct {
	Payload *models.ErrorModel
}

PostSetBadRequest handles this case with default header values.

Standard Error Format

func NewPostSetBadRequest

func NewPostSetBadRequest() *PostSetBadRequest

NewPostSetBadRequest creates a PostSetBadRequest with default headers values

func (*PostSetBadRequest) Error

func (o *PostSetBadRequest) Error() string

type PostSetInternalServerError

type PostSetInternalServerError struct {
	Payload *models.ErrorModel
}

PostSetInternalServerError handles this case with default header values.

Standard Error Format

func NewPostSetInternalServerError

func NewPostSetInternalServerError() *PostSetInternalServerError

NewPostSetInternalServerError creates a PostSetInternalServerError with default headers values

func (*PostSetInternalServerError) Error

type PostSetOK

type PostSetOK struct {
	Payload *models.SuccessModel
}

PostSetOK handles this case with default header values.

Basic successful request

func NewPostSetOK

func NewPostSetOK() *PostSetOK

NewPostSetOK creates a PostSetOK with default headers values

func (*PostSetOK) Error

func (o *PostSetOK) Error() string

type PostSetParams

type PostSetParams struct {

	/*Set
	  Node set to store

	*/
	Set *models.Set

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

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

func NewPostSetParams

func NewPostSetParams() *PostSetParams

NewPostSetParams creates a new PostSetParams object with the default values initialized.

func NewPostSetParamsWithContext

func NewPostSetParamsWithContext(ctx context.Context) *PostSetParams

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

func NewPostSetParamsWithHTTPClient

func NewPostSetParamsWithHTTPClient(client *http.Client) *PostSetParams

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

func NewPostSetParamsWithTimeout

func NewPostSetParamsWithTimeout(timeout time.Duration) *PostSetParams

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

func (*PostSetParams) SetContext

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

SetContext adds the context to the post set params

func (*PostSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post set params

func (*PostSetParams) SetSet

func (o *PostSetParams) SetSet(set *models.Set)

SetSet adds the set to the post set params

func (*PostSetParams) SetTimeout

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

SetTimeout adds the timeout to the post set params

func (*PostSetParams) WithContext

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

WithContext adds the context to the post set params

func (*PostSetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post set params

func (*PostSetParams) WithSet

func (o *PostSetParams) WithSet(set *models.Set) *PostSetParams

WithSet adds the set to the post set params

func (*PostSetParams) WithTimeout

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

WithTimeout adds the timeout to the post set params

func (*PostSetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostSetReader

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

PostSetReader is a Reader for the PostSet structure.

func (*PostSetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutSetSetInternalServerError

type PutSetSetInternalServerError struct {
	Payload *models.ErrorModel
}

PutSetSetInternalServerError handles this case with default header values.

Standard Error Format

func NewPutSetSetInternalServerError

func NewPutSetSetInternalServerError() *PutSetSetInternalServerError

NewPutSetSetInternalServerError creates a PutSetSetInternalServerError with default headers values

func (*PutSetSetInternalServerError) Error

type PutSetSetNotFound

type PutSetSetNotFound struct {
}

PutSetSetNotFound handles this case with default header values.

Not found

func NewPutSetSetNotFound

func NewPutSetSetNotFound() *PutSetSetNotFound

NewPutSetSetNotFound creates a PutSetSetNotFound with default headers values

func (*PutSetSetNotFound) Error

func (o *PutSetSetNotFound) Error() string

type PutSetSetOK

type PutSetSetOK struct {
	Payload *models.SuccessModel
}

PutSetSetOK handles this case with default header values.

Basic successful request

func NewPutSetSetOK

func NewPutSetSetOK() *PutSetSetOK

NewPutSetSetOK creates a PutSetSetOK with default headers values

func (*PutSetSetOK) Error

func (o *PutSetSetOK) Error() string

type PutSetSetParams

type PutSetSetParams struct {

	/*NewSet
	  Set Properties

	*/
	NewSet *models.Set
	/*Set
	  Node set to retrieve

	*/
	Set string

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

PutSetSetParams contains all the parameters to send to the API endpoint for the put set set operation typically these are written to a http.Request

func NewPutSetSetParams

func NewPutSetSetParams() *PutSetSetParams

NewPutSetSetParams creates a new PutSetSetParams object with the default values initialized.

func NewPutSetSetParamsWithContext

func NewPutSetSetParamsWithContext(ctx context.Context) *PutSetSetParams

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

func NewPutSetSetParamsWithHTTPClient

func NewPutSetSetParamsWithHTTPClient(client *http.Client) *PutSetSetParams

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

func NewPutSetSetParamsWithTimeout

func NewPutSetSetParamsWithTimeout(timeout time.Duration) *PutSetSetParams

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

func (*PutSetSetParams) SetContext

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

SetContext adds the context to the put set set params

func (*PutSetSetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put set set params

func (*PutSetSetParams) SetNewSet

func (o *PutSetSetParams) SetNewSet(newSet *models.Set)

SetNewSet adds the newSet to the put set set params

func (*PutSetSetParams) SetSet

func (o *PutSetSetParams) SetSet(set string)

SetSet adds the set to the put set set params

func (*PutSetSetParams) SetTimeout

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

SetTimeout adds the timeout to the put set set params

func (*PutSetSetParams) WithContext

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

WithContext adds the context to the put set set params

func (*PutSetSetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put set set params

func (*PutSetSetParams) WithNewSet

func (o *PutSetSetParams) WithNewSet(newSet *models.Set) *PutSetSetParams

WithNewSet adds the newSet to the put set set params

func (*PutSetSetParams) WithSet

func (o *PutSetSetParams) WithSet(set string) *PutSetSetParams

WithSet adds the set to the put set set params

func (*PutSetSetParams) WithTimeout

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

WithTimeout adds the timeout to the put set set params

func (*PutSetSetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutSetSetReader

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

PutSetSetReader is a Reader for the PutSetSet structure.

func (*PutSetSetReader) ReadResponse

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