inputs

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 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 New

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

New creates a new inputs API client.

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) SetTransport

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

SetTransport changes the transport on the 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.InputRequest
	/*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.

Jump to

Keyboard shortcuts

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