elf_data_store

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC Imports: 10 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 elf data store API

func (*Client) GetElfDataStores

func (a *Client) GetElfDataStores(params *GetElfDataStoresParams, opts ...ClientOption) (*GetElfDataStoresOK, error)

GetElfDataStores get elf data stores API

func (*Client) GetElfDataStoresConnection

func (a *Client) GetElfDataStoresConnection(params *GetElfDataStoresConnectionParams, opts ...ClientOption) (*GetElfDataStoresConnectionOK, error)

GetElfDataStoresConnection get elf data stores connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetElfDataStores(params *GetElfDataStoresParams, opts ...ClientOption) (*GetElfDataStoresOK, error)

	GetElfDataStoresConnection(params *GetElfDataStoresConnectionParams, opts ...ClientOption) (*GetElfDataStoresConnectionOK, 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 elf data store API client.

type GetElfDataStoresBadRequest

type GetElfDataStoresBadRequest struct {
	Payload *models.ErrorBody
}
GetElfDataStoresBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetElfDataStoresBadRequest

func NewGetElfDataStoresBadRequest() *GetElfDataStoresBadRequest

NewGetElfDataStoresBadRequest creates a GetElfDataStoresBadRequest with default headers values

func (*GetElfDataStoresBadRequest) Error

func (*GetElfDataStoresBadRequest) GetPayload

func (o *GetElfDataStoresBadRequest) GetPayload() *models.ErrorBody

type GetElfDataStoresConnectionBadRequest

type GetElfDataStoresConnectionBadRequest struct {
	Payload *models.ErrorBody
}
GetElfDataStoresConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetElfDataStoresConnectionBadRequest

func NewGetElfDataStoresConnectionBadRequest() *GetElfDataStoresConnectionBadRequest

NewGetElfDataStoresConnectionBadRequest creates a GetElfDataStoresConnectionBadRequest with default headers values

func (*GetElfDataStoresConnectionBadRequest) Error

func (*GetElfDataStoresConnectionBadRequest) GetPayload

type GetElfDataStoresConnectionInternalServerError added in v1.10.0

type GetElfDataStoresConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetElfDataStoresConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetElfDataStoresConnectionInternalServerError added in v1.10.0

func NewGetElfDataStoresConnectionInternalServerError() *GetElfDataStoresConnectionInternalServerError

NewGetElfDataStoresConnectionInternalServerError creates a GetElfDataStoresConnectionInternalServerError with default headers values

func (*GetElfDataStoresConnectionInternalServerError) Error added in v1.10.0

func (*GetElfDataStoresConnectionInternalServerError) GetPayload added in v1.10.0

type GetElfDataStoresConnectionNotFound added in v1.10.0

type GetElfDataStoresConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetElfDataStoresConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetElfDataStoresConnectionNotFound added in v1.10.0

func NewGetElfDataStoresConnectionNotFound() *GetElfDataStoresConnectionNotFound

NewGetElfDataStoresConnectionNotFound creates a GetElfDataStoresConnectionNotFound with default headers values

func (*GetElfDataStoresConnectionNotFound) Error added in v1.10.0

func (*GetElfDataStoresConnectionNotFound) GetPayload added in v1.10.0

type GetElfDataStoresConnectionOK

type GetElfDataStoresConnectionOK struct {
	Payload *models.ElfDataStoreConnection
}
GetElfDataStoresConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetElfDataStoresConnectionOK

func NewGetElfDataStoresConnectionOK() *GetElfDataStoresConnectionOK

NewGetElfDataStoresConnectionOK creates a GetElfDataStoresConnectionOK with default headers values

func (*GetElfDataStoresConnectionOK) Error

func (*GetElfDataStoresConnectionOK) GetPayload

type GetElfDataStoresConnectionParams

type GetElfDataStoresConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetElfDataStoresConnectionRequestBody

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

GetElfDataStoresConnectionParams contains all the parameters to send to the API endpoint

for the get elf data stores connection operation.

Typically these are written to a http.Request.

func NewGetElfDataStoresConnectionParams

func NewGetElfDataStoresConnectionParams() *GetElfDataStoresConnectionParams

NewGetElfDataStoresConnectionParams creates a new GetElfDataStoresConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetElfDataStoresConnectionParamsWithContext

func NewGetElfDataStoresConnectionParamsWithContext(ctx context.Context) *GetElfDataStoresConnectionParams

NewGetElfDataStoresConnectionParamsWithContext creates a new GetElfDataStoresConnectionParams object with the ability to set a context for a request.

func NewGetElfDataStoresConnectionParamsWithHTTPClient

func NewGetElfDataStoresConnectionParamsWithHTTPClient(client *http.Client) *GetElfDataStoresConnectionParams

NewGetElfDataStoresConnectionParamsWithHTTPClient creates a new GetElfDataStoresConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetElfDataStoresConnectionParamsWithTimeout

func NewGetElfDataStoresConnectionParamsWithTimeout(timeout time.Duration) *GetElfDataStoresConnectionParams

NewGetElfDataStoresConnectionParamsWithTimeout creates a new GetElfDataStoresConnectionParams object with the ability to set a timeout on a request.

func (*GetElfDataStoresConnectionParams) SetContentLanguage

func (o *GetElfDataStoresConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) SetContext

SetContext adds the context to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) SetDefaults

func (o *GetElfDataStoresConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get elf data stores connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetElfDataStoresConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) WithContentLanguage

func (o *GetElfDataStoresConnectionParams) WithContentLanguage(contentLanguage *string) *GetElfDataStoresConnectionParams

WithContentLanguage adds the contentLanguage to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) WithContext

WithContext adds the context to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) WithDefaults

WithDefaults hydrates default values in the get elf data stores connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetElfDataStoresConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) WithTimeout

WithTimeout adds the timeout to the get elf data stores connection params

func (*GetElfDataStoresConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetElfDataStoresConnectionReader

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

GetElfDataStoresConnectionReader is a Reader for the GetElfDataStoresConnection structure.

func (*GetElfDataStoresConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetElfDataStoresInternalServerError added in v1.10.0

type GetElfDataStoresInternalServerError struct {
	Payload *models.ErrorBody
}
GetElfDataStoresInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetElfDataStoresInternalServerError added in v1.10.0

func NewGetElfDataStoresInternalServerError() *GetElfDataStoresInternalServerError

NewGetElfDataStoresInternalServerError creates a GetElfDataStoresInternalServerError with default headers values

func (*GetElfDataStoresInternalServerError) Error added in v1.10.0

func (*GetElfDataStoresInternalServerError) GetPayload added in v1.10.0

type GetElfDataStoresNotFound added in v1.10.0

type GetElfDataStoresNotFound struct {
	Payload *models.ErrorBody
}
GetElfDataStoresNotFound describes a response with status code 404, with default header values.

Not found

func NewGetElfDataStoresNotFound added in v1.10.0

func NewGetElfDataStoresNotFound() *GetElfDataStoresNotFound

NewGetElfDataStoresNotFound creates a GetElfDataStoresNotFound with default headers values

func (*GetElfDataStoresNotFound) Error added in v1.10.0

func (o *GetElfDataStoresNotFound) Error() string

func (*GetElfDataStoresNotFound) GetPayload added in v1.10.0

func (o *GetElfDataStoresNotFound) GetPayload() *models.ErrorBody

type GetElfDataStoresOK

type GetElfDataStoresOK struct {
	Payload []*models.ElfDataStore
}
GetElfDataStoresOK describes a response with status code 200, with default header values.

Ok

func NewGetElfDataStoresOK

func NewGetElfDataStoresOK() *GetElfDataStoresOK

NewGetElfDataStoresOK creates a GetElfDataStoresOK with default headers values

func (*GetElfDataStoresOK) Error

func (o *GetElfDataStoresOK) Error() string

func (*GetElfDataStoresOK) GetPayload

func (o *GetElfDataStoresOK) GetPayload() []*models.ElfDataStore

type GetElfDataStoresParams

type GetElfDataStoresParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetElfDataStoresRequestBody

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

GetElfDataStoresParams contains all the parameters to send to the API endpoint

for the get elf data stores operation.

Typically these are written to a http.Request.

func NewGetElfDataStoresParams

func NewGetElfDataStoresParams() *GetElfDataStoresParams

NewGetElfDataStoresParams creates a new GetElfDataStoresParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetElfDataStoresParamsWithContext

func NewGetElfDataStoresParamsWithContext(ctx context.Context) *GetElfDataStoresParams

NewGetElfDataStoresParamsWithContext creates a new GetElfDataStoresParams object with the ability to set a context for a request.

func NewGetElfDataStoresParamsWithHTTPClient

func NewGetElfDataStoresParamsWithHTTPClient(client *http.Client) *GetElfDataStoresParams

NewGetElfDataStoresParamsWithHTTPClient creates a new GetElfDataStoresParams object with the ability to set a custom HTTPClient for a request.

func NewGetElfDataStoresParamsWithTimeout

func NewGetElfDataStoresParamsWithTimeout(timeout time.Duration) *GetElfDataStoresParams

NewGetElfDataStoresParamsWithTimeout creates a new GetElfDataStoresParams object with the ability to set a timeout on a request.

func (*GetElfDataStoresParams) SetContentLanguage

func (o *GetElfDataStoresParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get elf data stores params

func (*GetElfDataStoresParams) SetContext

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

SetContext adds the context to the get elf data stores params

func (*GetElfDataStoresParams) SetDefaults

func (o *GetElfDataStoresParams) SetDefaults()

SetDefaults hydrates default values in the get elf data stores params (not the query body).

All values with no default are reset to their zero value.

func (*GetElfDataStoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get elf data stores params

func (*GetElfDataStoresParams) SetRequestBody

func (o *GetElfDataStoresParams) SetRequestBody(requestBody *models.GetElfDataStoresRequestBody)

SetRequestBody adds the requestBody to the get elf data stores params

func (*GetElfDataStoresParams) SetTimeout

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

SetTimeout adds the timeout to the get elf data stores params

func (*GetElfDataStoresParams) WithContentLanguage

func (o *GetElfDataStoresParams) WithContentLanguage(contentLanguage *string) *GetElfDataStoresParams

WithContentLanguage adds the contentLanguage to the get elf data stores params

func (*GetElfDataStoresParams) WithContext

WithContext adds the context to the get elf data stores params

func (*GetElfDataStoresParams) WithDefaults

WithDefaults hydrates default values in the get elf data stores params (not the query body).

All values with no default are reset to their zero value.

func (*GetElfDataStoresParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get elf data stores params

func (*GetElfDataStoresParams) WithRequestBody

WithRequestBody adds the requestBody to the get elf data stores params

func (*GetElfDataStoresParams) WithTimeout

WithTimeout adds the timeout to the get elf data stores params

func (*GetElfDataStoresParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetElfDataStoresReader

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

GetElfDataStoresReader is a Reader for the GetElfDataStores structure.

func (*GetElfDataStoresReader) ReadResponse

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