operations

package
v0.0.0-...-8832f83 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: BSD-3-Clause Imports: 14 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) SetTransport

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

SetTransport changes the transport on the client

func (*Client) WeaviateBatchingActionsCreate

WeaviateBatchingActionsCreate creates new actions based on an action template related to this key as a batch

Register new Actions in bulk. Given meta-data and schema values are validated.

func (*Client) WeaviateBatchingThingsCreate

WeaviateBatchingThingsCreate creates new things based on a thing template related to this key as a batch

Register new Things in bulk. Provided meta-data and schema values are validated.

type WeaviateBatchingActionsCreateAccepted

type WeaviateBatchingActionsCreateAccepted struct {
	Payload []*models.ActionsGetResponse
}

WeaviateBatchingActionsCreateAccepted handles this case with default header values.

Successfully received.

func NewWeaviateBatchingActionsCreateAccepted

func NewWeaviateBatchingActionsCreateAccepted() *WeaviateBatchingActionsCreateAccepted

NewWeaviateBatchingActionsCreateAccepted creates a WeaviateBatchingActionsCreateAccepted with default headers values

func (*WeaviateBatchingActionsCreateAccepted) Error

type WeaviateBatchingActionsCreateBody

type WeaviateBatchingActionsCreateBody struct {

	// actions
	Actions []*models.ActionCreate `json:"actions"`

	// If `async` is true, return a 202 with the new ID of the Action. You will receive this response before the persistence of the data is confirmed. If `async` is false, you will receive confirmation after the persistence of the data is confirmed. The value of `async` defaults to false.
	Async bool `json:"async,omitempty"`

	// Define which fields need to be returned. Default value is ALL
	Fields []*string `json:"fields"`
}

WeaviateBatchingActionsCreateBody weaviate batching actions create body swagger:model WeaviateBatchingActionsCreateBody

func (*WeaviateBatchingActionsCreateBody) MarshalBinary

func (o *WeaviateBatchingActionsCreateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WeaviateBatchingActionsCreateBody) UnmarshalBinary

func (o *WeaviateBatchingActionsCreateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WeaviateBatchingActionsCreateBody) Validate

Validate validates this weaviate batching actions create body

type WeaviateBatchingActionsCreateForbidden

type WeaviateBatchingActionsCreateForbidden struct {
}

WeaviateBatchingActionsCreateForbidden handles this case with default header values.

The used API-key has insufficient permissions.

func NewWeaviateBatchingActionsCreateForbidden

func NewWeaviateBatchingActionsCreateForbidden() *WeaviateBatchingActionsCreateForbidden

NewWeaviateBatchingActionsCreateForbidden creates a WeaviateBatchingActionsCreateForbidden with default headers values

func (*WeaviateBatchingActionsCreateForbidden) Error

type WeaviateBatchingActionsCreateInternalServerError

type WeaviateBatchingActionsCreateInternalServerError struct {
	Payload *models.ErrorResponse
}

WeaviateBatchingActionsCreateInternalServerError handles this case with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewWeaviateBatchingActionsCreateInternalServerError

func NewWeaviateBatchingActionsCreateInternalServerError() *WeaviateBatchingActionsCreateInternalServerError

NewWeaviateBatchingActionsCreateInternalServerError creates a WeaviateBatchingActionsCreateInternalServerError with default headers values

func (*WeaviateBatchingActionsCreateInternalServerError) Error

type WeaviateBatchingActionsCreateOK

type WeaviateBatchingActionsCreateOK struct {
	Payload []*models.ActionsGetResponse
}

WeaviateBatchingActionsCreateOK handles this case with default header values.

Actions created.

func NewWeaviateBatchingActionsCreateOK

func NewWeaviateBatchingActionsCreateOK() *WeaviateBatchingActionsCreateOK

NewWeaviateBatchingActionsCreateOK creates a WeaviateBatchingActionsCreateOK with default headers values

func (*WeaviateBatchingActionsCreateOK) Error

type WeaviateBatchingActionsCreateParams

type WeaviateBatchingActionsCreateParams struct {

	/*Body*/
	Body WeaviateBatchingActionsCreateBody

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

WeaviateBatchingActionsCreateParams contains all the parameters to send to the API endpoint for the weaviate batching actions create operation typically these are written to a http.Request

func NewWeaviateBatchingActionsCreateParams

func NewWeaviateBatchingActionsCreateParams() *WeaviateBatchingActionsCreateParams

NewWeaviateBatchingActionsCreateParams creates a new WeaviateBatchingActionsCreateParams object with the default values initialized.

func NewWeaviateBatchingActionsCreateParamsWithContext

func NewWeaviateBatchingActionsCreateParamsWithContext(ctx context.Context) *WeaviateBatchingActionsCreateParams

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

func NewWeaviateBatchingActionsCreateParamsWithHTTPClient

func NewWeaviateBatchingActionsCreateParamsWithHTTPClient(client *http.Client) *WeaviateBatchingActionsCreateParams

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

func NewWeaviateBatchingActionsCreateParamsWithTimeout

func NewWeaviateBatchingActionsCreateParamsWithTimeout(timeout time.Duration) *WeaviateBatchingActionsCreateParams

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

func (*WeaviateBatchingActionsCreateParams) SetBody

SetBody adds the body to the weaviate batching actions create params

func (*WeaviateBatchingActionsCreateParams) SetContext

SetContext adds the context to the weaviate batching actions create params

func (*WeaviateBatchingActionsCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the weaviate batching actions create params

func (*WeaviateBatchingActionsCreateParams) SetTimeout

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

SetTimeout adds the timeout to the weaviate batching actions create params

func (*WeaviateBatchingActionsCreateParams) WithBody

WithBody adds the body to the weaviate batching actions create params

func (*WeaviateBatchingActionsCreateParams) WithContext

WithContext adds the context to the weaviate batching actions create params

func (*WeaviateBatchingActionsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the weaviate batching actions create params

func (*WeaviateBatchingActionsCreateParams) WithTimeout

WithTimeout adds the timeout to the weaviate batching actions create params

func (*WeaviateBatchingActionsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WeaviateBatchingActionsCreateReader

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

WeaviateBatchingActionsCreateReader is a Reader for the WeaviateBatchingActionsCreate structure.

func (*WeaviateBatchingActionsCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WeaviateBatchingActionsCreateUnauthorized

type WeaviateBatchingActionsCreateUnauthorized struct {
}

WeaviateBatchingActionsCreateUnauthorized handles this case with default header values.

Unauthorized or invalid credentials.

func NewWeaviateBatchingActionsCreateUnauthorized

func NewWeaviateBatchingActionsCreateUnauthorized() *WeaviateBatchingActionsCreateUnauthorized

NewWeaviateBatchingActionsCreateUnauthorized creates a WeaviateBatchingActionsCreateUnauthorized with default headers values

func (*WeaviateBatchingActionsCreateUnauthorized) Error

type WeaviateBatchingActionsCreateUnprocessableEntity

type WeaviateBatchingActionsCreateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

WeaviateBatchingActionsCreateUnprocessableEntity handles this case with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?

func NewWeaviateBatchingActionsCreateUnprocessableEntity

func NewWeaviateBatchingActionsCreateUnprocessableEntity() *WeaviateBatchingActionsCreateUnprocessableEntity

NewWeaviateBatchingActionsCreateUnprocessableEntity creates a WeaviateBatchingActionsCreateUnprocessableEntity with default headers values

func (*WeaviateBatchingActionsCreateUnprocessableEntity) Error

type WeaviateBatchingThingsCreateAccepted

type WeaviateBatchingThingsCreateAccepted struct {
	Payload []*models.ThingsGetResponse
}

WeaviateBatchingThingsCreateAccepted handles this case with default header values.

Successfully received.

func NewWeaviateBatchingThingsCreateAccepted

func NewWeaviateBatchingThingsCreateAccepted() *WeaviateBatchingThingsCreateAccepted

NewWeaviateBatchingThingsCreateAccepted creates a WeaviateBatchingThingsCreateAccepted with default headers values

func (*WeaviateBatchingThingsCreateAccepted) Error

type WeaviateBatchingThingsCreateBody

type WeaviateBatchingThingsCreateBody struct {

	// If `async` is true, return a 202 with the new ID of the Thing. You will receive this response before the persistence of the data is confirmed. If `async` is false, you will receive confirmation after the persistence of the data is confirmed. The value of `async` defaults to false.
	Async bool `json:"async,omitempty"`

	// Define which fields need to be returned. Default value is ALL
	Fields []*string `json:"fields"`

	// things
	Things []*models.ThingCreate `json:"things"`
}

WeaviateBatchingThingsCreateBody weaviate batching things create body swagger:model WeaviateBatchingThingsCreateBody

func (*WeaviateBatchingThingsCreateBody) MarshalBinary

func (o *WeaviateBatchingThingsCreateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WeaviateBatchingThingsCreateBody) UnmarshalBinary

func (o *WeaviateBatchingThingsCreateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WeaviateBatchingThingsCreateBody) Validate

Validate validates this weaviate batching things create body

type WeaviateBatchingThingsCreateForbidden

type WeaviateBatchingThingsCreateForbidden struct {
}

WeaviateBatchingThingsCreateForbidden handles this case with default header values.

The used API-key has insufficient permissions.

func NewWeaviateBatchingThingsCreateForbidden

func NewWeaviateBatchingThingsCreateForbidden() *WeaviateBatchingThingsCreateForbidden

NewWeaviateBatchingThingsCreateForbidden creates a WeaviateBatchingThingsCreateForbidden with default headers values

func (*WeaviateBatchingThingsCreateForbidden) Error

type WeaviateBatchingThingsCreateInternalServerError

type WeaviateBatchingThingsCreateInternalServerError struct {
	Payload *models.ErrorResponse
}

WeaviateBatchingThingsCreateInternalServerError handles this case with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewWeaviateBatchingThingsCreateInternalServerError

func NewWeaviateBatchingThingsCreateInternalServerError() *WeaviateBatchingThingsCreateInternalServerError

NewWeaviateBatchingThingsCreateInternalServerError creates a WeaviateBatchingThingsCreateInternalServerError with default headers values

func (*WeaviateBatchingThingsCreateInternalServerError) Error

type WeaviateBatchingThingsCreateOK

type WeaviateBatchingThingsCreateOK struct {
	Payload []*models.ThingsGetResponse
}

WeaviateBatchingThingsCreateOK handles this case with default header values.

Things created.

func NewWeaviateBatchingThingsCreateOK

func NewWeaviateBatchingThingsCreateOK() *WeaviateBatchingThingsCreateOK

NewWeaviateBatchingThingsCreateOK creates a WeaviateBatchingThingsCreateOK with default headers values

func (*WeaviateBatchingThingsCreateOK) Error

type WeaviateBatchingThingsCreateParams

type WeaviateBatchingThingsCreateParams struct {

	/*Body*/
	Body WeaviateBatchingThingsCreateBody

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

WeaviateBatchingThingsCreateParams contains all the parameters to send to the API endpoint for the weaviate batching things create operation typically these are written to a http.Request

func NewWeaviateBatchingThingsCreateParams

func NewWeaviateBatchingThingsCreateParams() *WeaviateBatchingThingsCreateParams

NewWeaviateBatchingThingsCreateParams creates a new WeaviateBatchingThingsCreateParams object with the default values initialized.

func NewWeaviateBatchingThingsCreateParamsWithContext

func NewWeaviateBatchingThingsCreateParamsWithContext(ctx context.Context) *WeaviateBatchingThingsCreateParams

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

func NewWeaviateBatchingThingsCreateParamsWithHTTPClient

func NewWeaviateBatchingThingsCreateParamsWithHTTPClient(client *http.Client) *WeaviateBatchingThingsCreateParams

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

func NewWeaviateBatchingThingsCreateParamsWithTimeout

func NewWeaviateBatchingThingsCreateParamsWithTimeout(timeout time.Duration) *WeaviateBatchingThingsCreateParams

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

func (*WeaviateBatchingThingsCreateParams) SetBody

SetBody adds the body to the weaviate batching things create params

func (*WeaviateBatchingThingsCreateParams) SetContext

SetContext adds the context to the weaviate batching things create params

func (*WeaviateBatchingThingsCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the weaviate batching things create params

func (*WeaviateBatchingThingsCreateParams) SetTimeout

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

SetTimeout adds the timeout to the weaviate batching things create params

func (*WeaviateBatchingThingsCreateParams) WithBody

WithBody adds the body to the weaviate batching things create params

func (*WeaviateBatchingThingsCreateParams) WithContext

WithContext adds the context to the weaviate batching things create params

func (*WeaviateBatchingThingsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the weaviate batching things create params

func (*WeaviateBatchingThingsCreateParams) WithTimeout

WithTimeout adds the timeout to the weaviate batching things create params

func (*WeaviateBatchingThingsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type WeaviateBatchingThingsCreateReader

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

WeaviateBatchingThingsCreateReader is a Reader for the WeaviateBatchingThingsCreate structure.

func (*WeaviateBatchingThingsCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type WeaviateBatchingThingsCreateUnauthorized

type WeaviateBatchingThingsCreateUnauthorized struct {
}

WeaviateBatchingThingsCreateUnauthorized handles this case with default header values.

Unauthorized or invalid credentials.

func NewWeaviateBatchingThingsCreateUnauthorized

func NewWeaviateBatchingThingsCreateUnauthorized() *WeaviateBatchingThingsCreateUnauthorized

NewWeaviateBatchingThingsCreateUnauthorized creates a WeaviateBatchingThingsCreateUnauthorized with default headers values

func (*WeaviateBatchingThingsCreateUnauthorized) Error

type WeaviateBatchingThingsCreateUnprocessableEntity

type WeaviateBatchingThingsCreateUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

WeaviateBatchingThingsCreateUnprocessableEntity handles this case with default header values.

Request body is well-formed (i.e., syntactically correct), but semantically erroneous. Are you sure the class is defined in the configuration file?

func NewWeaviateBatchingThingsCreateUnprocessableEntity

func NewWeaviateBatchingThingsCreateUnprocessableEntity() *WeaviateBatchingThingsCreateUnprocessableEntity

NewWeaviateBatchingThingsCreateUnprocessableEntity creates a WeaviateBatchingThingsCreateUnprocessableEntity with default headers values

func (*WeaviateBatchingThingsCreateUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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