data_links

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 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 data links API

func (*Client) DeleteDatalinksID

func (a *Client) DeleteDatalinksID(params *DeleteDatalinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDatalinksIDOK, error)

DeleteDatalinksID deletes data link based on its ID

func (a *Client) GetDatalinks(params *GetDatalinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatalinksOK, error)

GetDatalinks lists of all data links

func (*Client) GetDatalinksDeviceID

func (a *Client) GetDatalinksDeviceID(params *GetDatalinksDeviceIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatalinksDeviceIDOK, error)

GetDatalinksDeviceID gets data link based on device ID

func (*Client) GetDatalinksID

func (a *Client) GetDatalinksID(params *GetDatalinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatalinksIDOK, error)

GetDatalinksID gets data link based on its ID

func (*Client) GetDatalinksSitesSiteid

func (a *Client) GetDatalinksSitesSiteid(params *GetDatalinksSitesSiteidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatalinksSitesSiteidOK, error)

GetDatalinksSitesSiteid lists of data links based site Id

func (a *Client) PostDatalinks(params *PostDatalinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDatalinksOK, error)

PostDatalinks creates data link

func (*Client) PutDatalinksID

func (a *Client) PutDatalinksID(params *PutDatalinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutDatalinksIDOK, error)

PutDatalinksID updates data link

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 {
	DeleteDatalinksID(params *DeleteDatalinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDatalinksIDOK, error)

	GetDatalinks(params *GetDatalinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatalinksOK, error)

	GetDatalinksDeviceID(params *GetDatalinksDeviceIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatalinksDeviceIDOK, error)

	GetDatalinksID(params *GetDatalinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatalinksIDOK, error)

	GetDatalinksSitesSiteid(params *GetDatalinksSitesSiteidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatalinksSitesSiteidOK, error)

	PostDatalinks(params *PostDatalinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostDatalinksOK, error)

	PutDatalinksID(params *PutDatalinksIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutDatalinksIDOK, 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 data links API client.

type DeleteDatalinksIDBadRequest

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

Bad Request

func NewDeleteDatalinksIDBadRequest

func NewDeleteDatalinksIDBadRequest() *DeleteDatalinksIDBadRequest

NewDeleteDatalinksIDBadRequest creates a DeleteDatalinksIDBadRequest with default headers values

func (*DeleteDatalinksIDBadRequest) Error

func (*DeleteDatalinksIDBadRequest) GetPayload

func (o *DeleteDatalinksIDBadRequest) GetPayload() *models.Error

type DeleteDatalinksIDForbidden

type DeleteDatalinksIDForbidden struct {
	Payload *models.Error
}
DeleteDatalinksIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteDatalinksIDForbidden

func NewDeleteDatalinksIDForbidden() *DeleteDatalinksIDForbidden

NewDeleteDatalinksIDForbidden creates a DeleteDatalinksIDForbidden with default headers values

func (*DeleteDatalinksIDForbidden) Error

func (*DeleteDatalinksIDForbidden) GetPayload

func (o *DeleteDatalinksIDForbidden) GetPayload() *models.Error

type DeleteDatalinksIDInternalServerError

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

Internal Server Error

func NewDeleteDatalinksIDInternalServerError

func NewDeleteDatalinksIDInternalServerError() *DeleteDatalinksIDInternalServerError

NewDeleteDatalinksIDInternalServerError creates a DeleteDatalinksIDInternalServerError with default headers values

func (*DeleteDatalinksIDInternalServerError) Error

func (*DeleteDatalinksIDInternalServerError) GetPayload

type DeleteDatalinksIDNotFound

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

Not Found

func NewDeleteDatalinksIDNotFound

func NewDeleteDatalinksIDNotFound() *DeleteDatalinksIDNotFound

NewDeleteDatalinksIDNotFound creates a DeleteDatalinksIDNotFound with default headers values

func (*DeleteDatalinksIDNotFound) Error

func (o *DeleteDatalinksIDNotFound) Error() string

func (*DeleteDatalinksIDNotFound) GetPayload

func (o *DeleteDatalinksIDNotFound) GetPayload() *models.Error

type DeleteDatalinksIDOK

type DeleteDatalinksIDOK struct {
	Payload string
}
DeleteDatalinksIDOK describes a response with status code 200, with default header values.

Successful

func NewDeleteDatalinksIDOK

func NewDeleteDatalinksIDOK() *DeleteDatalinksIDOK

NewDeleteDatalinksIDOK creates a DeleteDatalinksIDOK with default headers values

func (*DeleteDatalinksIDOK) Error

func (o *DeleteDatalinksIDOK) Error() string

func (*DeleteDatalinksIDOK) GetPayload

func (o *DeleteDatalinksIDOK) GetPayload() string

type DeleteDatalinksIDParams

type DeleteDatalinksIDParams struct {

	// ID.
	ID string

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

DeleteDatalinksIDParams contains all the parameters to send to the API endpoint

for the delete datalinks Id operation.

Typically these are written to a http.Request.

func NewDeleteDatalinksIDParams

func NewDeleteDatalinksIDParams() *DeleteDatalinksIDParams

NewDeleteDatalinksIDParams creates a new DeleteDatalinksIDParams 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 NewDeleteDatalinksIDParamsWithContext

func NewDeleteDatalinksIDParamsWithContext(ctx context.Context) *DeleteDatalinksIDParams

NewDeleteDatalinksIDParamsWithContext creates a new DeleteDatalinksIDParams object with the ability to set a context for a request.

func NewDeleteDatalinksIDParamsWithHTTPClient

func NewDeleteDatalinksIDParamsWithHTTPClient(client *http.Client) *DeleteDatalinksIDParams

NewDeleteDatalinksIDParamsWithHTTPClient creates a new DeleteDatalinksIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDatalinksIDParamsWithTimeout

func NewDeleteDatalinksIDParamsWithTimeout(timeout time.Duration) *DeleteDatalinksIDParams

NewDeleteDatalinksIDParamsWithTimeout creates a new DeleteDatalinksIDParams object with the ability to set a timeout on a request.

func (*DeleteDatalinksIDParams) SetContext

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

SetContext adds the context to the delete datalinks Id params

func (*DeleteDatalinksIDParams) SetDefaults

func (o *DeleteDatalinksIDParams) SetDefaults()

SetDefaults hydrates default values in the delete datalinks Id params (not the query body).

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

func (*DeleteDatalinksIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete datalinks Id params

func (*DeleteDatalinksIDParams) SetID

func (o *DeleteDatalinksIDParams) SetID(id string)

SetID adds the id to the delete datalinks Id params

func (*DeleteDatalinksIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete datalinks Id params

func (*DeleteDatalinksIDParams) WithContext

WithContext adds the context to the delete datalinks Id params

func (*DeleteDatalinksIDParams) WithDefaults

WithDefaults hydrates default values in the delete datalinks Id params (not the query body).

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

func (*DeleteDatalinksIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete datalinks Id params

func (*DeleteDatalinksIDParams) WithID

WithID adds the id to the delete datalinks Id params

func (*DeleteDatalinksIDParams) WithTimeout

WithTimeout adds the timeout to the delete datalinks Id params

func (*DeleteDatalinksIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDatalinksIDReader

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

DeleteDatalinksIDReader is a Reader for the DeleteDatalinksID structure.

func (*DeleteDatalinksIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDatalinksIDUnauthorized

type DeleteDatalinksIDUnauthorized struct {
	Payload *models.Error
}
DeleteDatalinksIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteDatalinksIDUnauthorized

func NewDeleteDatalinksIDUnauthorized() *DeleteDatalinksIDUnauthorized

NewDeleteDatalinksIDUnauthorized creates a DeleteDatalinksIDUnauthorized with default headers values

func (*DeleteDatalinksIDUnauthorized) Error

func (*DeleteDatalinksIDUnauthorized) GetPayload

func (o *DeleteDatalinksIDUnauthorized) GetPayload() *models.Error

type GetDatalinksBadRequest

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

Bad Request

func NewGetDatalinksBadRequest

func NewGetDatalinksBadRequest() *GetDatalinksBadRequest

NewGetDatalinksBadRequest creates a GetDatalinksBadRequest with default headers values

func (*GetDatalinksBadRequest) Error

func (o *GetDatalinksBadRequest) Error() string

func (*GetDatalinksBadRequest) GetPayload

func (o *GetDatalinksBadRequest) GetPayload() *models.Error

type GetDatalinksDeviceIDBadRequest

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

Bad Request

func NewGetDatalinksDeviceIDBadRequest

func NewGetDatalinksDeviceIDBadRequest() *GetDatalinksDeviceIDBadRequest

NewGetDatalinksDeviceIDBadRequest creates a GetDatalinksDeviceIDBadRequest with default headers values

func (*GetDatalinksDeviceIDBadRequest) Error

func (*GetDatalinksDeviceIDBadRequest) GetPayload

func (o *GetDatalinksDeviceIDBadRequest) GetPayload() *models.Error

type GetDatalinksDeviceIDForbidden

type GetDatalinksDeviceIDForbidden struct {
	Payload *models.Error
}
GetDatalinksDeviceIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDatalinksDeviceIDForbidden

func NewGetDatalinksDeviceIDForbidden() *GetDatalinksDeviceIDForbidden

NewGetDatalinksDeviceIDForbidden creates a GetDatalinksDeviceIDForbidden with default headers values

func (*GetDatalinksDeviceIDForbidden) Error

func (*GetDatalinksDeviceIDForbidden) GetPayload

func (o *GetDatalinksDeviceIDForbidden) GetPayload() *models.Error

type GetDatalinksDeviceIDInternalServerError

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

Internal Server Error

func NewGetDatalinksDeviceIDInternalServerError

func NewGetDatalinksDeviceIDInternalServerError() *GetDatalinksDeviceIDInternalServerError

NewGetDatalinksDeviceIDInternalServerError creates a GetDatalinksDeviceIDInternalServerError with default headers values

func (*GetDatalinksDeviceIDInternalServerError) Error

func (*GetDatalinksDeviceIDInternalServerError) GetPayload

type GetDatalinksDeviceIDNotFound

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

Not Found

func NewGetDatalinksDeviceIDNotFound

func NewGetDatalinksDeviceIDNotFound() *GetDatalinksDeviceIDNotFound

NewGetDatalinksDeviceIDNotFound creates a GetDatalinksDeviceIDNotFound with default headers values

func (*GetDatalinksDeviceIDNotFound) Error

func (*GetDatalinksDeviceIDNotFound) GetPayload

func (o *GetDatalinksDeviceIDNotFound) GetPayload() *models.Error

type GetDatalinksDeviceIDOK

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

Successful

func NewGetDatalinksDeviceIDOK

func NewGetDatalinksDeviceIDOK() *GetDatalinksDeviceIDOK

NewGetDatalinksDeviceIDOK creates a GetDatalinksDeviceIDOK with default headers values

func (*GetDatalinksDeviceIDOK) Error

func (o *GetDatalinksDeviceIDOK) Error() string

func (*GetDatalinksDeviceIDOK) GetPayload

func (o *GetDatalinksDeviceIDOK) GetPayload() *models.DataLink

type GetDatalinksDeviceIDParams

type GetDatalinksDeviceIDParams struct {

	// ID.
	ID string

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

GetDatalinksDeviceIDParams contains all the parameters to send to the API endpoint

for the get datalinks device Id operation.

Typically these are written to a http.Request.

func NewGetDatalinksDeviceIDParams

func NewGetDatalinksDeviceIDParams() *GetDatalinksDeviceIDParams

NewGetDatalinksDeviceIDParams creates a new GetDatalinksDeviceIDParams 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 NewGetDatalinksDeviceIDParamsWithContext

func NewGetDatalinksDeviceIDParamsWithContext(ctx context.Context) *GetDatalinksDeviceIDParams

NewGetDatalinksDeviceIDParamsWithContext creates a new GetDatalinksDeviceIDParams object with the ability to set a context for a request.

func NewGetDatalinksDeviceIDParamsWithHTTPClient

func NewGetDatalinksDeviceIDParamsWithHTTPClient(client *http.Client) *GetDatalinksDeviceIDParams

NewGetDatalinksDeviceIDParamsWithHTTPClient creates a new GetDatalinksDeviceIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDatalinksDeviceIDParamsWithTimeout

func NewGetDatalinksDeviceIDParamsWithTimeout(timeout time.Duration) *GetDatalinksDeviceIDParams

NewGetDatalinksDeviceIDParamsWithTimeout creates a new GetDatalinksDeviceIDParams object with the ability to set a timeout on a request.

func (*GetDatalinksDeviceIDParams) SetContext

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

SetContext adds the context to the get datalinks device Id params

func (*GetDatalinksDeviceIDParams) SetDefaults

func (o *GetDatalinksDeviceIDParams) SetDefaults()

SetDefaults hydrates default values in the get datalinks device Id params (not the query body).

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

func (*GetDatalinksDeviceIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get datalinks device Id params

func (*GetDatalinksDeviceIDParams) SetID

func (o *GetDatalinksDeviceIDParams) SetID(id string)

SetID adds the id to the get datalinks device Id params

func (*GetDatalinksDeviceIDParams) SetTimeout

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

SetTimeout adds the timeout to the get datalinks device Id params

func (*GetDatalinksDeviceIDParams) WithContext

WithContext adds the context to the get datalinks device Id params

func (*GetDatalinksDeviceIDParams) WithDefaults

WithDefaults hydrates default values in the get datalinks device Id params (not the query body).

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

func (*GetDatalinksDeviceIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get datalinks device Id params

func (*GetDatalinksDeviceIDParams) WithID

WithID adds the id to the get datalinks device Id params

func (*GetDatalinksDeviceIDParams) WithTimeout

WithTimeout adds the timeout to the get datalinks device Id params

func (*GetDatalinksDeviceIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDatalinksDeviceIDReader

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

GetDatalinksDeviceIDReader is a Reader for the GetDatalinksDeviceID structure.

func (*GetDatalinksDeviceIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDatalinksDeviceIDUnauthorized

type GetDatalinksDeviceIDUnauthorized struct {
	Payload *models.Error
}
GetDatalinksDeviceIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDatalinksDeviceIDUnauthorized

func NewGetDatalinksDeviceIDUnauthorized() *GetDatalinksDeviceIDUnauthorized

NewGetDatalinksDeviceIDUnauthorized creates a GetDatalinksDeviceIDUnauthorized with default headers values

func (*GetDatalinksDeviceIDUnauthorized) Error

func (*GetDatalinksDeviceIDUnauthorized) GetPayload

type GetDatalinksForbidden

type GetDatalinksForbidden struct {
	Payload *models.Error
}
GetDatalinksForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDatalinksForbidden

func NewGetDatalinksForbidden() *GetDatalinksForbidden

NewGetDatalinksForbidden creates a GetDatalinksForbidden with default headers values

func (*GetDatalinksForbidden) Error

func (o *GetDatalinksForbidden) Error() string

func (*GetDatalinksForbidden) GetPayload

func (o *GetDatalinksForbidden) GetPayload() *models.Error

type GetDatalinksIDBadRequest

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

Bad Request

func NewGetDatalinksIDBadRequest

func NewGetDatalinksIDBadRequest() *GetDatalinksIDBadRequest

NewGetDatalinksIDBadRequest creates a GetDatalinksIDBadRequest with default headers values

func (*GetDatalinksIDBadRequest) Error

func (o *GetDatalinksIDBadRequest) Error() string

func (*GetDatalinksIDBadRequest) GetPayload

func (o *GetDatalinksIDBadRequest) GetPayload() *models.Error

type GetDatalinksIDForbidden

type GetDatalinksIDForbidden struct {
	Payload *models.Error
}
GetDatalinksIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDatalinksIDForbidden

func NewGetDatalinksIDForbidden() *GetDatalinksIDForbidden

NewGetDatalinksIDForbidden creates a GetDatalinksIDForbidden with default headers values

func (*GetDatalinksIDForbidden) Error

func (o *GetDatalinksIDForbidden) Error() string

func (*GetDatalinksIDForbidden) GetPayload

func (o *GetDatalinksIDForbidden) GetPayload() *models.Error

type GetDatalinksIDInternalServerError

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

Internal Server Error

func NewGetDatalinksIDInternalServerError

func NewGetDatalinksIDInternalServerError() *GetDatalinksIDInternalServerError

NewGetDatalinksIDInternalServerError creates a GetDatalinksIDInternalServerError with default headers values

func (*GetDatalinksIDInternalServerError) Error

func (*GetDatalinksIDInternalServerError) GetPayload

type GetDatalinksIDNotFound

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

Not Found

func NewGetDatalinksIDNotFound

func NewGetDatalinksIDNotFound() *GetDatalinksIDNotFound

NewGetDatalinksIDNotFound creates a GetDatalinksIDNotFound with default headers values

func (*GetDatalinksIDNotFound) Error

func (o *GetDatalinksIDNotFound) Error() string

func (*GetDatalinksIDNotFound) GetPayload

func (o *GetDatalinksIDNotFound) GetPayload() *models.Error

type GetDatalinksIDOK

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

Successful

func NewGetDatalinksIDOK

func NewGetDatalinksIDOK() *GetDatalinksIDOK

NewGetDatalinksIDOK creates a GetDatalinksIDOK with default headers values

func (*GetDatalinksIDOK) Error

func (o *GetDatalinksIDOK) Error() string

func (*GetDatalinksIDOK) GetPayload

func (o *GetDatalinksIDOK) GetPayload() *models.DataLink

type GetDatalinksIDParams

type GetDatalinksIDParams struct {

	// ID.
	ID string

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

GetDatalinksIDParams contains all the parameters to send to the API endpoint

for the get datalinks Id operation.

Typically these are written to a http.Request.

func NewGetDatalinksIDParams

func NewGetDatalinksIDParams() *GetDatalinksIDParams

NewGetDatalinksIDParams creates a new GetDatalinksIDParams 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 NewGetDatalinksIDParamsWithContext

func NewGetDatalinksIDParamsWithContext(ctx context.Context) *GetDatalinksIDParams

NewGetDatalinksIDParamsWithContext creates a new GetDatalinksIDParams object with the ability to set a context for a request.

func NewGetDatalinksIDParamsWithHTTPClient

func NewGetDatalinksIDParamsWithHTTPClient(client *http.Client) *GetDatalinksIDParams

NewGetDatalinksIDParamsWithHTTPClient creates a new GetDatalinksIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDatalinksIDParamsWithTimeout

func NewGetDatalinksIDParamsWithTimeout(timeout time.Duration) *GetDatalinksIDParams

NewGetDatalinksIDParamsWithTimeout creates a new GetDatalinksIDParams object with the ability to set a timeout on a request.

func (*GetDatalinksIDParams) SetContext

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

SetContext adds the context to the get datalinks Id params

func (*GetDatalinksIDParams) SetDefaults

func (o *GetDatalinksIDParams) SetDefaults()

SetDefaults hydrates default values in the get datalinks Id params (not the query body).

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

func (*GetDatalinksIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get datalinks Id params

func (*GetDatalinksIDParams) SetID

func (o *GetDatalinksIDParams) SetID(id string)

SetID adds the id to the get datalinks Id params

func (*GetDatalinksIDParams) SetTimeout

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

SetTimeout adds the timeout to the get datalinks Id params

func (*GetDatalinksIDParams) WithContext

WithContext adds the context to the get datalinks Id params

func (*GetDatalinksIDParams) WithDefaults

func (o *GetDatalinksIDParams) WithDefaults() *GetDatalinksIDParams

WithDefaults hydrates default values in the get datalinks Id params (not the query body).

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

func (*GetDatalinksIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get datalinks Id params

func (*GetDatalinksIDParams) WithID

WithID adds the id to the get datalinks Id params

func (*GetDatalinksIDParams) WithTimeout

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

WithTimeout adds the timeout to the get datalinks Id params

func (*GetDatalinksIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDatalinksIDReader

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

GetDatalinksIDReader is a Reader for the GetDatalinksID structure.

func (*GetDatalinksIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDatalinksIDUnauthorized

type GetDatalinksIDUnauthorized struct {
	Payload *models.Error
}
GetDatalinksIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDatalinksIDUnauthorized

func NewGetDatalinksIDUnauthorized() *GetDatalinksIDUnauthorized

NewGetDatalinksIDUnauthorized creates a GetDatalinksIDUnauthorized with default headers values

func (*GetDatalinksIDUnauthorized) Error

func (*GetDatalinksIDUnauthorized) GetPayload

func (o *GetDatalinksIDUnauthorized) GetPayload() *models.Error

type GetDatalinksInternalServerError

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

Internal Server Error

func NewGetDatalinksInternalServerError

func NewGetDatalinksInternalServerError() *GetDatalinksInternalServerError

NewGetDatalinksInternalServerError creates a GetDatalinksInternalServerError with default headers values

func (*GetDatalinksInternalServerError) Error

func (*GetDatalinksInternalServerError) GetPayload

func (o *GetDatalinksInternalServerError) GetPayload() *models.Error

type GetDatalinksOK

type GetDatalinksOK struct {
	Payload models.ListOfDataLinks
}
GetDatalinksOK describes a response with status code 200, with default header values.

Successful

func NewGetDatalinksOK

func NewGetDatalinksOK() *GetDatalinksOK

NewGetDatalinksOK creates a GetDatalinksOK with default headers values

func (*GetDatalinksOK) Error

func (o *GetDatalinksOK) Error() string

func (*GetDatalinksOK) GetPayload

func (o *GetDatalinksOK) GetPayload() models.ListOfDataLinks

type GetDatalinksParams

type GetDatalinksParams struct {

	// SiteLinksOnly.
	SiteLinksOnly *bool

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

GetDatalinksParams contains all the parameters to send to the API endpoint

for the get datalinks operation.

Typically these are written to a http.Request.

func NewGetDatalinksParams

func NewGetDatalinksParams() *GetDatalinksParams

NewGetDatalinksParams creates a new GetDatalinksParams 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 NewGetDatalinksParamsWithContext

func NewGetDatalinksParamsWithContext(ctx context.Context) *GetDatalinksParams

NewGetDatalinksParamsWithContext creates a new GetDatalinksParams object with the ability to set a context for a request.

func NewGetDatalinksParamsWithHTTPClient

func NewGetDatalinksParamsWithHTTPClient(client *http.Client) *GetDatalinksParams

NewGetDatalinksParamsWithHTTPClient creates a new GetDatalinksParams object with the ability to set a custom HTTPClient for a request.

func NewGetDatalinksParamsWithTimeout

func NewGetDatalinksParamsWithTimeout(timeout time.Duration) *GetDatalinksParams

NewGetDatalinksParamsWithTimeout creates a new GetDatalinksParams object with the ability to set a timeout on a request.

func (*GetDatalinksParams) SetContext

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

SetContext adds the context to the get datalinks params

func (*GetDatalinksParams) SetDefaults

func (o *GetDatalinksParams) SetDefaults()

SetDefaults hydrates default values in the get datalinks params (not the query body).

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

func (*GetDatalinksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get datalinks params

func (*GetDatalinksParams) SetSiteLinksOnly

func (o *GetDatalinksParams) SetSiteLinksOnly(siteLinksOnly *bool)

SetSiteLinksOnly adds the siteLinksOnly to the get datalinks params

func (*GetDatalinksParams) SetTimeout

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

SetTimeout adds the timeout to the get datalinks params

func (*GetDatalinksParams) WithContext

WithContext adds the context to the get datalinks params

func (*GetDatalinksParams) WithDefaults

func (o *GetDatalinksParams) WithDefaults() *GetDatalinksParams

WithDefaults hydrates default values in the get datalinks params (not the query body).

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

func (*GetDatalinksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get datalinks params

func (*GetDatalinksParams) WithSiteLinksOnly

func (o *GetDatalinksParams) WithSiteLinksOnly(siteLinksOnly *bool) *GetDatalinksParams

WithSiteLinksOnly adds the siteLinksOnly to the get datalinks params

func (*GetDatalinksParams) WithTimeout

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

WithTimeout adds the timeout to the get datalinks params

func (*GetDatalinksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDatalinksReader

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

GetDatalinksReader is a Reader for the GetDatalinks structure.

func (*GetDatalinksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDatalinksSitesSiteidBadRequest

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

Bad Request

func NewGetDatalinksSitesSiteidBadRequest

func NewGetDatalinksSitesSiteidBadRequest() *GetDatalinksSitesSiteidBadRequest

NewGetDatalinksSitesSiteidBadRequest creates a GetDatalinksSitesSiteidBadRequest with default headers values

func (*GetDatalinksSitesSiteidBadRequest) Error

func (*GetDatalinksSitesSiteidBadRequest) GetPayload

type GetDatalinksSitesSiteidForbidden

type GetDatalinksSitesSiteidForbidden struct {
	Payload *models.Error
}
GetDatalinksSitesSiteidForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDatalinksSitesSiteidForbidden

func NewGetDatalinksSitesSiteidForbidden() *GetDatalinksSitesSiteidForbidden

NewGetDatalinksSitesSiteidForbidden creates a GetDatalinksSitesSiteidForbidden with default headers values

func (*GetDatalinksSitesSiteidForbidden) Error

func (*GetDatalinksSitesSiteidForbidden) GetPayload

type GetDatalinksSitesSiteidInternalServerError

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

Internal Server Error

func NewGetDatalinksSitesSiteidInternalServerError

func NewGetDatalinksSitesSiteidInternalServerError() *GetDatalinksSitesSiteidInternalServerError

NewGetDatalinksSitesSiteidInternalServerError creates a GetDatalinksSitesSiteidInternalServerError with default headers values

func (*GetDatalinksSitesSiteidInternalServerError) Error

func (*GetDatalinksSitesSiteidInternalServerError) GetPayload

type GetDatalinksSitesSiteidNotFound

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

Not Found

func NewGetDatalinksSitesSiteidNotFound

func NewGetDatalinksSitesSiteidNotFound() *GetDatalinksSitesSiteidNotFound

NewGetDatalinksSitesSiteidNotFound creates a GetDatalinksSitesSiteidNotFound with default headers values

func (*GetDatalinksSitesSiteidNotFound) Error

func (*GetDatalinksSitesSiteidNotFound) GetPayload

func (o *GetDatalinksSitesSiteidNotFound) GetPayload() *models.Error

type GetDatalinksSitesSiteidOK

type GetDatalinksSitesSiteidOK struct {
	Payload models.ListOfDataLinks
}
GetDatalinksSitesSiteidOK describes a response with status code 200, with default header values.

Successful

func NewGetDatalinksSitesSiteidOK

func NewGetDatalinksSitesSiteidOK() *GetDatalinksSitesSiteidOK

NewGetDatalinksSitesSiteidOK creates a GetDatalinksSitesSiteidOK with default headers values

func (*GetDatalinksSitesSiteidOK) Error

func (o *GetDatalinksSitesSiteidOK) Error() string

func (*GetDatalinksSitesSiteidOK) GetPayload

type GetDatalinksSitesSiteidParams

type GetDatalinksSitesSiteidParams struct {

	// SiteID.
	SiteID string

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

GetDatalinksSitesSiteidParams contains all the parameters to send to the API endpoint

for the get datalinks sites siteid operation.

Typically these are written to a http.Request.

func NewGetDatalinksSitesSiteidParams

func NewGetDatalinksSitesSiteidParams() *GetDatalinksSitesSiteidParams

NewGetDatalinksSitesSiteidParams creates a new GetDatalinksSitesSiteidParams 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 NewGetDatalinksSitesSiteidParamsWithContext

func NewGetDatalinksSitesSiteidParamsWithContext(ctx context.Context) *GetDatalinksSitesSiteidParams

NewGetDatalinksSitesSiteidParamsWithContext creates a new GetDatalinksSitesSiteidParams object with the ability to set a context for a request.

func NewGetDatalinksSitesSiteidParamsWithHTTPClient

func NewGetDatalinksSitesSiteidParamsWithHTTPClient(client *http.Client) *GetDatalinksSitesSiteidParams

NewGetDatalinksSitesSiteidParamsWithHTTPClient creates a new GetDatalinksSitesSiteidParams object with the ability to set a custom HTTPClient for a request.

func NewGetDatalinksSitesSiteidParamsWithTimeout

func NewGetDatalinksSitesSiteidParamsWithTimeout(timeout time.Duration) *GetDatalinksSitesSiteidParams

NewGetDatalinksSitesSiteidParamsWithTimeout creates a new GetDatalinksSitesSiteidParams object with the ability to set a timeout on a request.

func (*GetDatalinksSitesSiteidParams) SetContext

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

SetContext adds the context to the get datalinks sites siteid params

func (*GetDatalinksSitesSiteidParams) SetDefaults

func (o *GetDatalinksSitesSiteidParams) SetDefaults()

SetDefaults hydrates default values in the get datalinks sites siteid params (not the query body).

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

func (*GetDatalinksSitesSiteidParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get datalinks sites siteid params

func (*GetDatalinksSitesSiteidParams) SetSiteID

func (o *GetDatalinksSitesSiteidParams) SetSiteID(siteID string)

SetSiteID adds the siteId to the get datalinks sites siteid params

func (*GetDatalinksSitesSiteidParams) SetTimeout

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

SetTimeout adds the timeout to the get datalinks sites siteid params

func (*GetDatalinksSitesSiteidParams) WithContext

WithContext adds the context to the get datalinks sites siteid params

func (*GetDatalinksSitesSiteidParams) WithDefaults

WithDefaults hydrates default values in the get datalinks sites siteid params (not the query body).

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

func (*GetDatalinksSitesSiteidParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get datalinks sites siteid params

func (*GetDatalinksSitesSiteidParams) WithSiteID

WithSiteID adds the siteID to the get datalinks sites siteid params

func (*GetDatalinksSitesSiteidParams) WithTimeout

WithTimeout adds the timeout to the get datalinks sites siteid params

func (*GetDatalinksSitesSiteidParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDatalinksSitesSiteidReader

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

GetDatalinksSitesSiteidReader is a Reader for the GetDatalinksSitesSiteid structure.

func (*GetDatalinksSitesSiteidReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDatalinksSitesSiteidUnauthorized

type GetDatalinksSitesSiteidUnauthorized struct {
	Payload *models.Error
}
GetDatalinksSitesSiteidUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDatalinksSitesSiteidUnauthorized

func NewGetDatalinksSitesSiteidUnauthorized() *GetDatalinksSitesSiteidUnauthorized

NewGetDatalinksSitesSiteidUnauthorized creates a GetDatalinksSitesSiteidUnauthorized with default headers values

func (*GetDatalinksSitesSiteidUnauthorized) Error

func (*GetDatalinksSitesSiteidUnauthorized) GetPayload

type GetDatalinksUnauthorized

type GetDatalinksUnauthorized struct {
	Payload *models.Error
}
GetDatalinksUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetDatalinksUnauthorized

func NewGetDatalinksUnauthorized() *GetDatalinksUnauthorized

NewGetDatalinksUnauthorized creates a GetDatalinksUnauthorized with default headers values

func (*GetDatalinksUnauthorized) Error

func (o *GetDatalinksUnauthorized) Error() string

func (*GetDatalinksUnauthorized) GetPayload

func (o *GetDatalinksUnauthorized) GetPayload() *models.Error

type PostDatalinksConflict

type PostDatalinksConflict struct {
	Payload *models.Error
}
PostDatalinksConflict describes a response with status code 409, with default header values.

Conflict

func NewPostDatalinksConflict

func NewPostDatalinksConflict() *PostDatalinksConflict

NewPostDatalinksConflict creates a PostDatalinksConflict with default headers values

func (*PostDatalinksConflict) Error

func (o *PostDatalinksConflict) Error() string

func (*PostDatalinksConflict) GetPayload

func (o *PostDatalinksConflict) GetPayload() *models.Error

type PostDatalinksForbidden

type PostDatalinksForbidden struct {
	Payload *models.Error
}
PostDatalinksForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostDatalinksForbidden

func NewPostDatalinksForbidden() *PostDatalinksForbidden

NewPostDatalinksForbidden creates a PostDatalinksForbidden with default headers values

func (*PostDatalinksForbidden) Error

func (o *PostDatalinksForbidden) Error() string

func (*PostDatalinksForbidden) GetPayload

func (o *PostDatalinksForbidden) GetPayload() *models.Error

type PostDatalinksInternalServerError

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

Internal Server Error

func NewPostDatalinksInternalServerError

func NewPostDatalinksInternalServerError() *PostDatalinksInternalServerError

NewPostDatalinksInternalServerError creates a PostDatalinksInternalServerError with default headers values

func (*PostDatalinksInternalServerError) Error

func (*PostDatalinksInternalServerError) GetPayload

type PostDatalinksOK

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

Successful

func NewPostDatalinksOK

func NewPostDatalinksOK() *PostDatalinksOK

NewPostDatalinksOK creates a PostDatalinksOK with default headers values

func (*PostDatalinksOK) Error

func (o *PostDatalinksOK) Error() string

func (*PostDatalinksOK) GetPayload

func (o *PostDatalinksOK) GetPayload() *models.DataLink

type PostDatalinksParams

type PostDatalinksParams struct {

	// Body.
	Body *models.DataLinkPayload

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

PostDatalinksParams contains all the parameters to send to the API endpoint

for the post datalinks operation.

Typically these are written to a http.Request.

func NewPostDatalinksParams

func NewPostDatalinksParams() *PostDatalinksParams

NewPostDatalinksParams creates a new PostDatalinksParams 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 NewPostDatalinksParamsWithContext

func NewPostDatalinksParamsWithContext(ctx context.Context) *PostDatalinksParams

NewPostDatalinksParamsWithContext creates a new PostDatalinksParams object with the ability to set a context for a request.

func NewPostDatalinksParamsWithHTTPClient

func NewPostDatalinksParamsWithHTTPClient(client *http.Client) *PostDatalinksParams

NewPostDatalinksParamsWithHTTPClient creates a new PostDatalinksParams object with the ability to set a custom HTTPClient for a request.

func NewPostDatalinksParamsWithTimeout

func NewPostDatalinksParamsWithTimeout(timeout time.Duration) *PostDatalinksParams

NewPostDatalinksParamsWithTimeout creates a new PostDatalinksParams object with the ability to set a timeout on a request.

func (*PostDatalinksParams) SetBody

func (o *PostDatalinksParams) SetBody(body *models.DataLinkPayload)

SetBody adds the body to the post datalinks params

func (*PostDatalinksParams) SetContext

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

SetContext adds the context to the post datalinks params

func (*PostDatalinksParams) SetDefaults

func (o *PostDatalinksParams) SetDefaults()

SetDefaults hydrates default values in the post datalinks params (not the query body).

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

func (*PostDatalinksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post datalinks params

func (*PostDatalinksParams) SetTimeout

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

SetTimeout adds the timeout to the post datalinks params

func (*PostDatalinksParams) WithBody

WithBody adds the body to the post datalinks params

func (*PostDatalinksParams) WithContext

WithContext adds the context to the post datalinks params

func (*PostDatalinksParams) WithDefaults

func (o *PostDatalinksParams) WithDefaults() *PostDatalinksParams

WithDefaults hydrates default values in the post datalinks params (not the query body).

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

func (*PostDatalinksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post datalinks params

func (*PostDatalinksParams) WithTimeout

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

WithTimeout adds the timeout to the post datalinks params

func (*PostDatalinksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostDatalinksReader

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

PostDatalinksReader is a Reader for the PostDatalinks structure.

func (*PostDatalinksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDatalinksUnauthorized

type PostDatalinksUnauthorized struct {
	Payload *models.Error
}
PostDatalinksUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostDatalinksUnauthorized

func NewPostDatalinksUnauthorized() *PostDatalinksUnauthorized

NewPostDatalinksUnauthorized creates a PostDatalinksUnauthorized with default headers values

func (*PostDatalinksUnauthorized) Error

func (o *PostDatalinksUnauthorized) Error() string

func (*PostDatalinksUnauthorized) GetPayload

func (o *PostDatalinksUnauthorized) GetPayload() *models.Error

type PutDatalinksIDBadRequest

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

Bad Request

func NewPutDatalinksIDBadRequest

func NewPutDatalinksIDBadRequest() *PutDatalinksIDBadRequest

NewPutDatalinksIDBadRequest creates a PutDatalinksIDBadRequest with default headers values

func (*PutDatalinksIDBadRequest) Error

func (o *PutDatalinksIDBadRequest) Error() string

func (*PutDatalinksIDBadRequest) GetPayload

func (o *PutDatalinksIDBadRequest) GetPayload() *models.Error

type PutDatalinksIDConflict

type PutDatalinksIDConflict struct {
	Payload *models.Error
}
PutDatalinksIDConflict describes a response with status code 409, with default header values.

Conflict

func NewPutDatalinksIDConflict

func NewPutDatalinksIDConflict() *PutDatalinksIDConflict

NewPutDatalinksIDConflict creates a PutDatalinksIDConflict with default headers values

func (*PutDatalinksIDConflict) Error

func (o *PutDatalinksIDConflict) Error() string

func (*PutDatalinksIDConflict) GetPayload

func (o *PutDatalinksIDConflict) GetPayload() *models.Error

type PutDatalinksIDForbidden

type PutDatalinksIDForbidden struct {
	Payload *models.Error
}
PutDatalinksIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPutDatalinksIDForbidden

func NewPutDatalinksIDForbidden() *PutDatalinksIDForbidden

NewPutDatalinksIDForbidden creates a PutDatalinksIDForbidden with default headers values

func (*PutDatalinksIDForbidden) Error

func (o *PutDatalinksIDForbidden) Error() string

func (*PutDatalinksIDForbidden) GetPayload

func (o *PutDatalinksIDForbidden) GetPayload() *models.Error

type PutDatalinksIDInternalServerError

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

Internal Server Error

func NewPutDatalinksIDInternalServerError

func NewPutDatalinksIDInternalServerError() *PutDatalinksIDInternalServerError

NewPutDatalinksIDInternalServerError creates a PutDatalinksIDInternalServerError with default headers values

func (*PutDatalinksIDInternalServerError) Error

func (*PutDatalinksIDInternalServerError) GetPayload

type PutDatalinksIDOK

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

Successful

func NewPutDatalinksIDOK

func NewPutDatalinksIDOK() *PutDatalinksIDOK

NewPutDatalinksIDOK creates a PutDatalinksIDOK with default headers values

func (*PutDatalinksIDOK) Error

func (o *PutDatalinksIDOK) Error() string

func (*PutDatalinksIDOK) GetPayload

func (o *PutDatalinksIDOK) GetPayload() *models.DataLink

type PutDatalinksIDParams

type PutDatalinksIDParams struct {

	// Body.
	Body *models.DataLinkPayload

	// ID.
	ID string

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

PutDatalinksIDParams contains all the parameters to send to the API endpoint

for the put datalinks Id operation.

Typically these are written to a http.Request.

func NewPutDatalinksIDParams

func NewPutDatalinksIDParams() *PutDatalinksIDParams

NewPutDatalinksIDParams creates a new PutDatalinksIDParams 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 NewPutDatalinksIDParamsWithContext

func NewPutDatalinksIDParamsWithContext(ctx context.Context) *PutDatalinksIDParams

NewPutDatalinksIDParamsWithContext creates a new PutDatalinksIDParams object with the ability to set a context for a request.

func NewPutDatalinksIDParamsWithHTTPClient

func NewPutDatalinksIDParamsWithHTTPClient(client *http.Client) *PutDatalinksIDParams

NewPutDatalinksIDParamsWithHTTPClient creates a new PutDatalinksIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutDatalinksIDParamsWithTimeout

func NewPutDatalinksIDParamsWithTimeout(timeout time.Duration) *PutDatalinksIDParams

NewPutDatalinksIDParamsWithTimeout creates a new PutDatalinksIDParams object with the ability to set a timeout on a request.

func (*PutDatalinksIDParams) SetBody

func (o *PutDatalinksIDParams) SetBody(body *models.DataLinkPayload)

SetBody adds the body to the put datalinks Id params

func (*PutDatalinksIDParams) SetContext

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

SetContext adds the context to the put datalinks Id params

func (*PutDatalinksIDParams) SetDefaults

func (o *PutDatalinksIDParams) SetDefaults()

SetDefaults hydrates default values in the put datalinks Id params (not the query body).

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

func (*PutDatalinksIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put datalinks Id params

func (*PutDatalinksIDParams) SetID

func (o *PutDatalinksIDParams) SetID(id string)

SetID adds the id to the put datalinks Id params

func (*PutDatalinksIDParams) SetTimeout

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

SetTimeout adds the timeout to the put datalinks Id params

func (*PutDatalinksIDParams) WithBody

WithBody adds the body to the put datalinks Id params

func (*PutDatalinksIDParams) WithContext

WithContext adds the context to the put datalinks Id params

func (*PutDatalinksIDParams) WithDefaults

func (o *PutDatalinksIDParams) WithDefaults() *PutDatalinksIDParams

WithDefaults hydrates default values in the put datalinks Id params (not the query body).

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

func (*PutDatalinksIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put datalinks Id params

func (*PutDatalinksIDParams) WithID

WithID adds the id to the put datalinks Id params

func (*PutDatalinksIDParams) WithTimeout

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

WithTimeout adds the timeout to the put datalinks Id params

func (*PutDatalinksIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutDatalinksIDReader

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

PutDatalinksIDReader is a Reader for the PutDatalinksID structure.

func (*PutDatalinksIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutDatalinksIDUnauthorized

type PutDatalinksIDUnauthorized struct {
	Payload *models.Error
}
PutDatalinksIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPutDatalinksIDUnauthorized

func NewPutDatalinksIDUnauthorized() *PutDatalinksIDUnauthorized

NewPutDatalinksIDUnauthorized creates a PutDatalinksIDUnauthorized with default headers values

func (*PutDatalinksIDUnauthorized) Error

func (*PutDatalinksIDUnauthorized) GetPayload

func (o *PutDatalinksIDUnauthorized) GetPayload() *models.Error

Jump to

Keyboard shortcuts

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