inputs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MPL-2.0 Imports: 10 Imported by: 1

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

func (*Client) DeleteV1BucketsBucketIDInputsInputID

func (a *Client) DeleteV1BucketsBucketIDInputsInputID(params *DeleteV1BucketsBucketIDInputsInputIDParams) (*DeleteV1BucketsBucketIDInputsInputIDOK, error)

DeleteV1BucketsBucketIDInputsInputID deletes input

Delete input. Once input is deleted, you will not be able to recreate a new input with the same ID.

func (*Client) PostV1BucketsBucketIDInputs

func (a *Client) PostV1BucketsBucketIDInputs(params *PostV1BucketsBucketIDInputsParams) (*PostV1BucketsBucketIDInputsCreated, error)

PostV1BucketsBucketIDInputs creates a new input

Create one or more inputs for the bucket to get unique public endpoints.

func (*Client) PutV1BucketsBucketIDInputsInputID added in v0.2.0

func (a *Client) PutV1BucketsBucketIDInputsInputID(params *PutV1BucketsBucketIDInputsInputIDParams) (*PutV1BucketsBucketIDInputsInputIDOK, error)

PutV1BucketsBucketIDInputsInputID updates input

Update input endpoint response code, body or headers.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService added in v0.3.0

type ClientService interface {
	DeleteV1BucketsBucketIDInputsInputID(params *DeleteV1BucketsBucketIDInputsInputIDParams) (*DeleteV1BucketsBucketIDInputsInputIDOK, error)

	PostV1BucketsBucketIDInputs(params *PostV1BucketsBucketIDInputsParams) (*PostV1BucketsBucketIDInputsCreated, error)

	PutV1BucketsBucketIDInputsInputID(params *PutV1BucketsBucketIDInputsInputIDParams) (*PutV1BucketsBucketIDInputsInputIDOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new inputs API client.

type DeleteV1BucketsBucketIDInputsInputIDNotFound

type DeleteV1BucketsBucketIDInputsInputIDNotFound struct {
}

DeleteV1BucketsBucketIDInputsInputIDNotFound handles this case with default header values.

Input or Bucket not found

func NewDeleteV1BucketsBucketIDInputsInputIDNotFound

func NewDeleteV1BucketsBucketIDInputsInputIDNotFound() *DeleteV1BucketsBucketIDInputsInputIDNotFound

NewDeleteV1BucketsBucketIDInputsInputIDNotFound creates a DeleteV1BucketsBucketIDInputsInputIDNotFound with default headers values

func (*DeleteV1BucketsBucketIDInputsInputIDNotFound) Error

type DeleteV1BucketsBucketIDInputsInputIDOK

type DeleteV1BucketsBucketIDInputsInputIDOK struct {
}

DeleteV1BucketsBucketIDInputsInputIDOK handles this case with default header values.

DeleteV1BucketsBucketIDInputsInputIDOK delete v1 buckets bucket Id inputs input Id o k

func NewDeleteV1BucketsBucketIDInputsInputIDOK

func NewDeleteV1BucketsBucketIDInputsInputIDOK() *DeleteV1BucketsBucketIDInputsInputIDOK

NewDeleteV1BucketsBucketIDInputsInputIDOK creates a DeleteV1BucketsBucketIDInputsInputIDOK with default headers values

func (*DeleteV1BucketsBucketIDInputsInputIDOK) Error

type DeleteV1BucketsBucketIDInputsInputIDParams

type DeleteV1BucketsBucketIDInputsInputIDParams struct {

	/*BucketID
	  ID of a bucket to create input in

	*/
	BucketID string
	/*InputID
	  ID of an input to delete

	*/
	InputID string

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

DeleteV1BucketsBucketIDInputsInputIDParams contains all the parameters to send to the API endpoint for the delete v1 buckets bucket ID inputs input ID operation typically these are written to a http.Request

func NewDeleteV1BucketsBucketIDInputsInputIDParams

func NewDeleteV1BucketsBucketIDInputsInputIDParams() *DeleteV1BucketsBucketIDInputsInputIDParams

NewDeleteV1BucketsBucketIDInputsInputIDParams creates a new DeleteV1BucketsBucketIDInputsInputIDParams object with the default values initialized.

func NewDeleteV1BucketsBucketIDInputsInputIDParamsWithContext

func NewDeleteV1BucketsBucketIDInputsInputIDParamsWithContext(ctx context.Context) *DeleteV1BucketsBucketIDInputsInputIDParams

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

func NewDeleteV1BucketsBucketIDInputsInputIDParamsWithHTTPClient

func NewDeleteV1BucketsBucketIDInputsInputIDParamsWithHTTPClient(client *http.Client) *DeleteV1BucketsBucketIDInputsInputIDParams

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

func NewDeleteV1BucketsBucketIDInputsInputIDParamsWithTimeout

func NewDeleteV1BucketsBucketIDInputsInputIDParamsWithTimeout(timeout time.Duration) *DeleteV1BucketsBucketIDInputsInputIDParams

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

func (*DeleteV1BucketsBucketIDInputsInputIDParams) SetBucketID

func (o *DeleteV1BucketsBucketIDInputsInputIDParams) SetBucketID(bucketID string)

SetBucketID adds the bucketId to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) SetContext

SetContext adds the context to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) SetInputID

func (o *DeleteV1BucketsBucketIDInputsInputIDParams) SetInputID(inputID string)

SetInputID adds the inputId to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) WithBucketID

WithBucketID adds the bucketID to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) WithContext

WithContext adds the context to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) WithInputID

WithInputID adds the inputID to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 buckets bucket ID inputs input ID params

func (*DeleteV1BucketsBucketIDInputsInputIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1BucketsBucketIDInputsInputIDReader

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

DeleteV1BucketsBucketIDInputsInputIDReader is a Reader for the DeleteV1BucketsBucketIDInputsInputID structure.

func (*DeleteV1BucketsBucketIDInputsInputIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1BucketsBucketIDInputsBadRequest

type PostV1BucketsBucketIDInputsBadRequest struct {
}

PostV1BucketsBucketIDInputsBadRequest handles this case with default header values.

Invalid input request supplied

func NewPostV1BucketsBucketIDInputsBadRequest

func NewPostV1BucketsBucketIDInputsBadRequest() *PostV1BucketsBucketIDInputsBadRequest

NewPostV1BucketsBucketIDInputsBadRequest creates a PostV1BucketsBucketIDInputsBadRequest with default headers values

func (*PostV1BucketsBucketIDInputsBadRequest) Error

type PostV1BucketsBucketIDInputsCreated

type PostV1BucketsBucketIDInputsCreated struct {
	Payload *models.Input
}

PostV1BucketsBucketIDInputsCreated handles this case with default header values.

PostV1BucketsBucketIDInputsCreated post v1 buckets bucket Id inputs created

func NewPostV1BucketsBucketIDInputsCreated

func NewPostV1BucketsBucketIDInputsCreated() *PostV1BucketsBucketIDInputsCreated

NewPostV1BucketsBucketIDInputsCreated creates a PostV1BucketsBucketIDInputsCreated with default headers values

func (*PostV1BucketsBucketIDInputsCreated) Error

func (*PostV1BucketsBucketIDInputsCreated) GetPayload

type PostV1BucketsBucketIDInputsParams

type PostV1BucketsBucketIDInputsParams struct {

	/*Body*/
	Body *models.Input
	/*BucketID
	  ID of a bucket to create input in

	*/
	BucketID string

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

PostV1BucketsBucketIDInputsParams contains all the parameters to send to the API endpoint for the post v1 buckets bucket ID inputs operation typically these are written to a http.Request

func NewPostV1BucketsBucketIDInputsParams

func NewPostV1BucketsBucketIDInputsParams() *PostV1BucketsBucketIDInputsParams

NewPostV1BucketsBucketIDInputsParams creates a new PostV1BucketsBucketIDInputsParams object with the default values initialized.

func NewPostV1BucketsBucketIDInputsParamsWithContext

func NewPostV1BucketsBucketIDInputsParamsWithContext(ctx context.Context) *PostV1BucketsBucketIDInputsParams

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

func NewPostV1BucketsBucketIDInputsParamsWithHTTPClient

func NewPostV1BucketsBucketIDInputsParamsWithHTTPClient(client *http.Client) *PostV1BucketsBucketIDInputsParams

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

func NewPostV1BucketsBucketIDInputsParamsWithTimeout

func NewPostV1BucketsBucketIDInputsParamsWithTimeout(timeout time.Duration) *PostV1BucketsBucketIDInputsParams

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

func (*PostV1BucketsBucketIDInputsParams) SetBody

SetBody adds the body to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) SetBucketID

func (o *PostV1BucketsBucketIDInputsParams) SetBucketID(bucketID string)

SetBucketID adds the bucketId to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) SetContext

SetContext adds the context to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) WithBody

WithBody adds the body to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) WithBucketID

WithBucketID adds the bucketID to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) WithContext

WithContext adds the context to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) WithTimeout

WithTimeout adds the timeout to the post v1 buckets bucket ID inputs params

func (*PostV1BucketsBucketIDInputsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1BucketsBucketIDInputsReader

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

PostV1BucketsBucketIDInputsReader is a Reader for the PostV1BucketsBucketIDInputs structure.

func (*PostV1BucketsBucketIDInputsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1BucketsBucketIDInputsInputIDBadRequest added in v0.2.0

type PutV1BucketsBucketIDInputsInputIDBadRequest struct {
}

PutV1BucketsBucketIDInputsInputIDBadRequest handles this case with default header values.

Invalid input request supplied

func NewPutV1BucketsBucketIDInputsInputIDBadRequest added in v0.2.0

func NewPutV1BucketsBucketIDInputsInputIDBadRequest() *PutV1BucketsBucketIDInputsInputIDBadRequest

NewPutV1BucketsBucketIDInputsInputIDBadRequest creates a PutV1BucketsBucketIDInputsInputIDBadRequest with default headers values

func (*PutV1BucketsBucketIDInputsInputIDBadRequest) Error added in v0.2.0

type PutV1BucketsBucketIDInputsInputIDOK added in v0.2.0

type PutV1BucketsBucketIDInputsInputIDOK struct {
	Payload *models.Input
}

PutV1BucketsBucketIDInputsInputIDOK handles this case with default header values.

Input updated

func NewPutV1BucketsBucketIDInputsInputIDOK added in v0.2.0

func NewPutV1BucketsBucketIDInputsInputIDOK() *PutV1BucketsBucketIDInputsInputIDOK

NewPutV1BucketsBucketIDInputsInputIDOK creates a PutV1BucketsBucketIDInputsInputIDOK with default headers values

func (*PutV1BucketsBucketIDInputsInputIDOK) Error added in v0.2.0

func (*PutV1BucketsBucketIDInputsInputIDOK) GetPayload added in v0.2.0

type PutV1BucketsBucketIDInputsInputIDParams added in v0.2.0

type PutV1BucketsBucketIDInputsInputIDParams struct {

	/*Body*/
	Body *models.Input
	/*BucketID
	  ID of a bucket to create input in

	*/
	BucketID string
	/*InputID
	  ID of an input to delete

	*/
	InputID string

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

PutV1BucketsBucketIDInputsInputIDParams contains all the parameters to send to the API endpoint for the put v1 buckets bucket ID inputs input ID operation typically these are written to a http.Request

func NewPutV1BucketsBucketIDInputsInputIDParams added in v0.2.0

func NewPutV1BucketsBucketIDInputsInputIDParams() *PutV1BucketsBucketIDInputsInputIDParams

NewPutV1BucketsBucketIDInputsInputIDParams creates a new PutV1BucketsBucketIDInputsInputIDParams object with the default values initialized.

func NewPutV1BucketsBucketIDInputsInputIDParamsWithContext added in v0.2.0

func NewPutV1BucketsBucketIDInputsInputIDParamsWithContext(ctx context.Context) *PutV1BucketsBucketIDInputsInputIDParams

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

func NewPutV1BucketsBucketIDInputsInputIDParamsWithHTTPClient added in v0.2.0

func NewPutV1BucketsBucketIDInputsInputIDParamsWithHTTPClient(client *http.Client) *PutV1BucketsBucketIDInputsInputIDParams

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

func NewPutV1BucketsBucketIDInputsInputIDParamsWithTimeout added in v0.2.0

func NewPutV1BucketsBucketIDInputsInputIDParamsWithTimeout(timeout time.Duration) *PutV1BucketsBucketIDInputsInputIDParams

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

func (*PutV1BucketsBucketIDInputsInputIDParams) SetBody added in v0.2.0

SetBody adds the body to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) SetBucketID added in v0.2.0

func (o *PutV1BucketsBucketIDInputsInputIDParams) SetBucketID(bucketID string)

SetBucketID adds the bucketId to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) SetContext added in v0.2.0

SetContext adds the context to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) SetInputID added in v0.2.0

func (o *PutV1BucketsBucketIDInputsInputIDParams) SetInputID(inputID string)

SetInputID adds the inputId to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) WithBody added in v0.2.0

WithBody adds the body to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) WithBucketID added in v0.2.0

WithBucketID adds the bucketID to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) WithContext added in v0.2.0

WithContext adds the context to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) WithInputID added in v0.2.0

WithInputID adds the inputID to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the put v1 buckets bucket ID inputs input ID params

func (*PutV1BucketsBucketIDInputsInputIDParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type PutV1BucketsBucketIDInputsInputIDReader added in v0.2.0

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

PutV1BucketsBucketIDInputsInputIDReader is a Reader for the PutV1BucketsBucketIDInputsInputID structure.

func (*PutV1BucketsBucketIDInputsInputIDReader) ReadResponse added in v0.2.0

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