datasources

package
v0.0.0-...-4958bdd Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDataSourceConflict

type AddDataSourceConflict struct {
	Payload *models.ErrorResponseBody
}

AddDataSourceConflict describes a response with status code 409, with default header values.

ConflictError

func NewAddDataSourceConflict

func NewAddDataSourceConflict() *AddDataSourceConflict

NewAddDataSourceConflict creates a AddDataSourceConflict with default headers values

func (*AddDataSourceConflict) Code

func (o *AddDataSourceConflict) Code() int

Code gets the status code for the add data source conflict response

func (*AddDataSourceConflict) Error

func (o *AddDataSourceConflict) Error() string

func (*AddDataSourceConflict) GetPayload

func (*AddDataSourceConflict) IsClientError

func (o *AddDataSourceConflict) IsClientError() bool

IsClientError returns true when this add data source conflict response has a 4xx status code

func (*AddDataSourceConflict) IsCode

func (o *AddDataSourceConflict) IsCode(code int) bool

IsCode returns true when this add data source conflict response a status code equal to that given

func (*AddDataSourceConflict) IsRedirect

func (o *AddDataSourceConflict) IsRedirect() bool

IsRedirect returns true when this add data source conflict response has a 3xx status code

func (*AddDataSourceConflict) IsServerError

func (o *AddDataSourceConflict) IsServerError() bool

IsServerError returns true when this add data source conflict response has a 5xx status code

func (*AddDataSourceConflict) IsSuccess

func (o *AddDataSourceConflict) IsSuccess() bool

IsSuccess returns true when this add data source conflict response has a 2xx status code

func (*AddDataSourceConflict) String

func (o *AddDataSourceConflict) String() string

type AddDataSourceForbidden

type AddDataSourceForbidden struct {
	Payload *models.ErrorResponseBody
}

AddDataSourceForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewAddDataSourceForbidden

func NewAddDataSourceForbidden() *AddDataSourceForbidden

NewAddDataSourceForbidden creates a AddDataSourceForbidden with default headers values

func (*AddDataSourceForbidden) Code

func (o *AddDataSourceForbidden) Code() int

Code gets the status code for the add data source forbidden response

func (*AddDataSourceForbidden) Error

func (o *AddDataSourceForbidden) Error() string

func (*AddDataSourceForbidden) GetPayload

func (*AddDataSourceForbidden) IsClientError

func (o *AddDataSourceForbidden) IsClientError() bool

IsClientError returns true when this add data source forbidden response has a 4xx status code

func (*AddDataSourceForbidden) IsCode

func (o *AddDataSourceForbidden) IsCode(code int) bool

IsCode returns true when this add data source forbidden response a status code equal to that given

func (*AddDataSourceForbidden) IsRedirect

func (o *AddDataSourceForbidden) IsRedirect() bool

IsRedirect returns true when this add data source forbidden response has a 3xx status code

func (*AddDataSourceForbidden) IsServerError

func (o *AddDataSourceForbidden) IsServerError() bool

IsServerError returns true when this add data source forbidden response has a 5xx status code

func (*AddDataSourceForbidden) IsSuccess

func (o *AddDataSourceForbidden) IsSuccess() bool

IsSuccess returns true when this add data source forbidden response has a 2xx status code

func (*AddDataSourceForbidden) String

func (o *AddDataSourceForbidden) String() string

type AddDataSourceInternalServerError

type AddDataSourceInternalServerError struct {
	Payload *models.ErrorResponseBody
}

AddDataSourceInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewAddDataSourceInternalServerError

func NewAddDataSourceInternalServerError() *AddDataSourceInternalServerError

NewAddDataSourceInternalServerError creates a AddDataSourceInternalServerError with default headers values

func (*AddDataSourceInternalServerError) Code

Code gets the status code for the add data source internal server error response

func (*AddDataSourceInternalServerError) Error

func (*AddDataSourceInternalServerError) GetPayload

func (*AddDataSourceInternalServerError) IsClientError

func (o *AddDataSourceInternalServerError) IsClientError() bool

IsClientError returns true when this add data source internal server error response has a 4xx status code

func (*AddDataSourceInternalServerError) IsCode

func (o *AddDataSourceInternalServerError) IsCode(code int) bool

IsCode returns true when this add data source internal server error response a status code equal to that given

func (*AddDataSourceInternalServerError) IsRedirect

func (o *AddDataSourceInternalServerError) IsRedirect() bool

IsRedirect returns true when this add data source internal server error response has a 3xx status code

func (*AddDataSourceInternalServerError) IsServerError

func (o *AddDataSourceInternalServerError) IsServerError() bool

IsServerError returns true when this add data source internal server error response has a 5xx status code

func (*AddDataSourceInternalServerError) IsSuccess

func (o *AddDataSourceInternalServerError) IsSuccess() bool

IsSuccess returns true when this add data source internal server error response has a 2xx status code

func (*AddDataSourceInternalServerError) String

type AddDataSourceOK

type AddDataSourceOK struct {
	Payload *models.AddDataSourceOKBody
}

AddDataSourceOK describes a response with status code 200, with default header values.

(empty)

func NewAddDataSourceOK

func NewAddDataSourceOK() *AddDataSourceOK

NewAddDataSourceOK creates a AddDataSourceOK with default headers values

func (*AddDataSourceOK) Code

func (o *AddDataSourceOK) Code() int

Code gets the status code for the add data source Ok response

func (*AddDataSourceOK) Error

func (o *AddDataSourceOK) Error() string

func (*AddDataSourceOK) GetPayload

func (o *AddDataSourceOK) GetPayload() *models.AddDataSourceOKBody

func (*AddDataSourceOK) IsClientError

func (o *AddDataSourceOK) IsClientError() bool

IsClientError returns true when this add data source Ok response has a 4xx status code

func (*AddDataSourceOK) IsCode

func (o *AddDataSourceOK) IsCode(code int) bool

IsCode returns true when this add data source Ok response a status code equal to that given

func (*AddDataSourceOK) IsRedirect

func (o *AddDataSourceOK) IsRedirect() bool

IsRedirect returns true when this add data source Ok response has a 3xx status code

func (*AddDataSourceOK) IsServerError

func (o *AddDataSourceOK) IsServerError() bool

IsServerError returns true when this add data source Ok response has a 5xx status code

func (*AddDataSourceOK) IsSuccess

func (o *AddDataSourceOK) IsSuccess() bool

IsSuccess returns true when this add data source Ok response has a 2xx status code

func (*AddDataSourceOK) String

func (o *AddDataSourceOK) String() string

type AddDataSourceParams

type AddDataSourceParams struct {

	// Body.
	Body *models.AddDataSourceCommand

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

AddDataSourceParams contains all the parameters to send to the API endpoint

for the add data source operation.

Typically these are written to a http.Request.

func NewAddDataSourceParams

func NewAddDataSourceParams() *AddDataSourceParams

NewAddDataSourceParams creates a new AddDataSourceParams 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 NewAddDataSourceParamsWithContext

func NewAddDataSourceParamsWithContext(ctx context.Context) *AddDataSourceParams

NewAddDataSourceParamsWithContext creates a new AddDataSourceParams object with the ability to set a context for a request.

func NewAddDataSourceParamsWithHTTPClient

func NewAddDataSourceParamsWithHTTPClient(client *http.Client) *AddDataSourceParams

NewAddDataSourceParamsWithHTTPClient creates a new AddDataSourceParams object with the ability to set a custom HTTPClient for a request.

func NewAddDataSourceParamsWithTimeout

func NewAddDataSourceParamsWithTimeout(timeout time.Duration) *AddDataSourceParams

NewAddDataSourceParamsWithTimeout creates a new AddDataSourceParams object with the ability to set a timeout on a request.

func (*AddDataSourceParams) SetBody

SetBody adds the body to the add data source params

func (*AddDataSourceParams) SetContext

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

SetContext adds the context to the add data source params

func (*AddDataSourceParams) SetDefaults

func (o *AddDataSourceParams) SetDefaults()

SetDefaults hydrates default values in the add data source params (not the query body).

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

func (*AddDataSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add data source params

func (*AddDataSourceParams) SetTimeout

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

SetTimeout adds the timeout to the add data source params

func (*AddDataSourceParams) WithBody

WithBody adds the body to the add data source params

func (*AddDataSourceParams) WithContext

WithContext adds the context to the add data source params

func (*AddDataSourceParams) WithDefaults

func (o *AddDataSourceParams) WithDefaults() *AddDataSourceParams

WithDefaults hydrates default values in the add data source params (not the query body).

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

func (*AddDataSourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add data source params

func (*AddDataSourceParams) WithTimeout

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

WithTimeout adds the timeout to the add data source params

func (*AddDataSourceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddDataSourceReader

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

AddDataSourceReader is a Reader for the AddDataSource structure.

func (*AddDataSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddDataSourceUnauthorized

type AddDataSourceUnauthorized struct {
	Payload *models.ErrorResponseBody
}

AddDataSourceUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewAddDataSourceUnauthorized

func NewAddDataSourceUnauthorized() *AddDataSourceUnauthorized

NewAddDataSourceUnauthorized creates a AddDataSourceUnauthorized with default headers values

func (*AddDataSourceUnauthorized) Code

func (o *AddDataSourceUnauthorized) Code() int

Code gets the status code for the add data source unauthorized response

func (*AddDataSourceUnauthorized) Error

func (o *AddDataSourceUnauthorized) Error() string

func (*AddDataSourceUnauthorized) GetPayload

func (*AddDataSourceUnauthorized) IsClientError

func (o *AddDataSourceUnauthorized) IsClientError() bool

IsClientError returns true when this add data source unauthorized response has a 4xx status code

func (*AddDataSourceUnauthorized) IsCode

func (o *AddDataSourceUnauthorized) IsCode(code int) bool

IsCode returns true when this add data source unauthorized response a status code equal to that given

func (*AddDataSourceUnauthorized) IsRedirect

func (o *AddDataSourceUnauthorized) IsRedirect() bool

IsRedirect returns true when this add data source unauthorized response has a 3xx status code

func (*AddDataSourceUnauthorized) IsServerError

func (o *AddDataSourceUnauthorized) IsServerError() bool

IsServerError returns true when this add data source unauthorized response has a 5xx status code

func (*AddDataSourceUnauthorized) IsSuccess

func (o *AddDataSourceUnauthorized) IsSuccess() bool

IsSuccess returns true when this add data source unauthorized response has a 2xx status code

func (*AddDataSourceUnauthorized) String

func (o *AddDataSourceUnauthorized) String() string

type CallDatasourceResourceByIDBadRequest

type CallDatasourceResourceByIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCallDatasourceResourceByIDBadRequest

func NewCallDatasourceResourceByIDBadRequest() *CallDatasourceResourceByIDBadRequest

NewCallDatasourceResourceByIDBadRequest creates a CallDatasourceResourceByIDBadRequest with default headers values

func (*CallDatasourceResourceByIDBadRequest) Code

Code gets the status code for the call datasource resource by Id bad request response

func (*CallDatasourceResourceByIDBadRequest) Error

func (*CallDatasourceResourceByIDBadRequest) GetPayload

func (*CallDatasourceResourceByIDBadRequest) IsClientError

func (o *CallDatasourceResourceByIDBadRequest) IsClientError() bool

IsClientError returns true when this call datasource resource by Id bad request response has a 4xx status code

func (*CallDatasourceResourceByIDBadRequest) IsCode

IsCode returns true when this call datasource resource by Id bad request response a status code equal to that given

func (*CallDatasourceResourceByIDBadRequest) IsRedirect

IsRedirect returns true when this call datasource resource by Id bad request response has a 3xx status code

func (*CallDatasourceResourceByIDBadRequest) IsServerError

func (o *CallDatasourceResourceByIDBadRequest) IsServerError() bool

IsServerError returns true when this call datasource resource by Id bad request response has a 5xx status code

func (*CallDatasourceResourceByIDBadRequest) IsSuccess

IsSuccess returns true when this call datasource resource by Id bad request response has a 2xx status code

func (*CallDatasourceResourceByIDBadRequest) String

type CallDatasourceResourceByIDForbidden

type CallDatasourceResourceByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCallDatasourceResourceByIDForbidden

func NewCallDatasourceResourceByIDForbidden() *CallDatasourceResourceByIDForbidden

NewCallDatasourceResourceByIDForbidden creates a CallDatasourceResourceByIDForbidden with default headers values

func (*CallDatasourceResourceByIDForbidden) Code

Code gets the status code for the call datasource resource by Id forbidden response

func (*CallDatasourceResourceByIDForbidden) Error

func (*CallDatasourceResourceByIDForbidden) GetPayload

func (*CallDatasourceResourceByIDForbidden) IsClientError

func (o *CallDatasourceResourceByIDForbidden) IsClientError() bool

IsClientError returns true when this call datasource resource by Id forbidden response has a 4xx status code

func (*CallDatasourceResourceByIDForbidden) IsCode

IsCode returns true when this call datasource resource by Id forbidden response a status code equal to that given

func (*CallDatasourceResourceByIDForbidden) IsRedirect

func (o *CallDatasourceResourceByIDForbidden) IsRedirect() bool

IsRedirect returns true when this call datasource resource by Id forbidden response has a 3xx status code

func (*CallDatasourceResourceByIDForbidden) IsServerError

func (o *CallDatasourceResourceByIDForbidden) IsServerError() bool

IsServerError returns true when this call datasource resource by Id forbidden response has a 5xx status code

func (*CallDatasourceResourceByIDForbidden) IsSuccess

IsSuccess returns true when this call datasource resource by Id forbidden response has a 2xx status code

func (*CallDatasourceResourceByIDForbidden) String

type CallDatasourceResourceByIDInternalServerError

type CallDatasourceResourceByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCallDatasourceResourceByIDInternalServerError

func NewCallDatasourceResourceByIDInternalServerError() *CallDatasourceResourceByIDInternalServerError

NewCallDatasourceResourceByIDInternalServerError creates a CallDatasourceResourceByIDInternalServerError with default headers values

func (*CallDatasourceResourceByIDInternalServerError) Code

Code gets the status code for the call datasource resource by Id internal server error response

func (*CallDatasourceResourceByIDInternalServerError) Error

func (*CallDatasourceResourceByIDInternalServerError) GetPayload

func (*CallDatasourceResourceByIDInternalServerError) IsClientError

IsClientError returns true when this call datasource resource by Id internal server error response has a 4xx status code

func (*CallDatasourceResourceByIDInternalServerError) IsCode

IsCode returns true when this call datasource resource by Id internal server error response a status code equal to that given

func (*CallDatasourceResourceByIDInternalServerError) IsRedirect

IsRedirect returns true when this call datasource resource by Id internal server error response has a 3xx status code

func (*CallDatasourceResourceByIDInternalServerError) IsServerError

IsServerError returns true when this call datasource resource by Id internal server error response has a 5xx status code

func (*CallDatasourceResourceByIDInternalServerError) IsSuccess

IsSuccess returns true when this call datasource resource by Id internal server error response has a 2xx status code

func (*CallDatasourceResourceByIDInternalServerError) String

type CallDatasourceResourceByIDNotFound

type CallDatasourceResourceByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewCallDatasourceResourceByIDNotFound

func NewCallDatasourceResourceByIDNotFound() *CallDatasourceResourceByIDNotFound

NewCallDatasourceResourceByIDNotFound creates a CallDatasourceResourceByIDNotFound with default headers values

func (*CallDatasourceResourceByIDNotFound) Code

Code gets the status code for the call datasource resource by Id not found response

func (*CallDatasourceResourceByIDNotFound) Error

func (*CallDatasourceResourceByIDNotFound) GetPayload

func (*CallDatasourceResourceByIDNotFound) IsClientError

func (o *CallDatasourceResourceByIDNotFound) IsClientError() bool

IsClientError returns true when this call datasource resource by Id not found response has a 4xx status code

func (*CallDatasourceResourceByIDNotFound) IsCode

IsCode returns true when this call datasource resource by Id not found response a status code equal to that given

func (*CallDatasourceResourceByIDNotFound) IsRedirect

func (o *CallDatasourceResourceByIDNotFound) IsRedirect() bool

IsRedirect returns true when this call datasource resource by Id not found response has a 3xx status code

func (*CallDatasourceResourceByIDNotFound) IsServerError

func (o *CallDatasourceResourceByIDNotFound) IsServerError() bool

IsServerError returns true when this call datasource resource by Id not found response has a 5xx status code

func (*CallDatasourceResourceByIDNotFound) IsSuccess

IsSuccess returns true when this call datasource resource by Id not found response has a 2xx status code

func (*CallDatasourceResourceByIDNotFound) String

type CallDatasourceResourceByIDOK

type CallDatasourceResourceByIDOK struct {
	Payload *models.SuccessResponseBody
}

CallDatasourceResourceByIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewCallDatasourceResourceByIDOK

func NewCallDatasourceResourceByIDOK() *CallDatasourceResourceByIDOK

NewCallDatasourceResourceByIDOK creates a CallDatasourceResourceByIDOK with default headers values

func (*CallDatasourceResourceByIDOK) Code

Code gets the status code for the call datasource resource by Id Ok response

func (*CallDatasourceResourceByIDOK) Error

func (*CallDatasourceResourceByIDOK) GetPayload

func (*CallDatasourceResourceByIDOK) IsClientError

func (o *CallDatasourceResourceByIDOK) IsClientError() bool

IsClientError returns true when this call datasource resource by Id Ok response has a 4xx status code

func (*CallDatasourceResourceByIDOK) IsCode

func (o *CallDatasourceResourceByIDOK) IsCode(code int) bool

IsCode returns true when this call datasource resource by Id Ok response a status code equal to that given

func (*CallDatasourceResourceByIDOK) IsRedirect

func (o *CallDatasourceResourceByIDOK) IsRedirect() bool

IsRedirect returns true when this call datasource resource by Id Ok response has a 3xx status code

func (*CallDatasourceResourceByIDOK) IsServerError

func (o *CallDatasourceResourceByIDOK) IsServerError() bool

IsServerError returns true when this call datasource resource by Id Ok response has a 5xx status code

func (*CallDatasourceResourceByIDOK) IsSuccess

func (o *CallDatasourceResourceByIDOK) IsSuccess() bool

IsSuccess returns true when this call datasource resource by Id Ok response has a 2xx status code

func (*CallDatasourceResourceByIDOK) String

type CallDatasourceResourceByIDParams

type CallDatasourceResourceByIDParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// ID.
	ID string

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

CallDatasourceResourceByIDParams contains all the parameters to send to the API endpoint

for the call datasource resource by ID operation.

Typically these are written to a http.Request.

func NewCallDatasourceResourceByIDParams

func NewCallDatasourceResourceByIDParams() *CallDatasourceResourceByIDParams

NewCallDatasourceResourceByIDParams creates a new CallDatasourceResourceByIDParams 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 NewCallDatasourceResourceByIDParamsWithContext

func NewCallDatasourceResourceByIDParamsWithContext(ctx context.Context) *CallDatasourceResourceByIDParams

NewCallDatasourceResourceByIDParamsWithContext creates a new CallDatasourceResourceByIDParams object with the ability to set a context for a request.

func NewCallDatasourceResourceByIDParamsWithHTTPClient

func NewCallDatasourceResourceByIDParamsWithHTTPClient(client *http.Client) *CallDatasourceResourceByIDParams

NewCallDatasourceResourceByIDParamsWithHTTPClient creates a new CallDatasourceResourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewCallDatasourceResourceByIDParamsWithTimeout

func NewCallDatasourceResourceByIDParamsWithTimeout(timeout time.Duration) *CallDatasourceResourceByIDParams

NewCallDatasourceResourceByIDParamsWithTimeout creates a new CallDatasourceResourceByIDParams object with the ability to set a timeout on a request.

func (*CallDatasourceResourceByIDParams) SetContext

SetContext adds the context to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) SetDatasourceProxyRoute

func (o *CallDatasourceResourceByIDParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) SetDefaults

func (o *CallDatasourceResourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the call datasource resource by ID params (not the query body).

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

func (*CallDatasourceResourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) SetID

SetID adds the id to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithContext

WithContext adds the context to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithDatasourceProxyRoute

func (o *CallDatasourceResourceByIDParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *CallDatasourceResourceByIDParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithDefaults

WithDefaults hydrates default values in the call datasource resource by ID params (not the query body).

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

func (*CallDatasourceResourceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithID

WithID adds the id to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithTimeout

WithTimeout adds the timeout to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CallDatasourceResourceByIDReader

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

CallDatasourceResourceByIDReader is a Reader for the CallDatasourceResourceByID structure.

func (*CallDatasourceResourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CallDatasourceResourceByIDUnauthorized

type CallDatasourceResourceByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCallDatasourceResourceByIDUnauthorized

func NewCallDatasourceResourceByIDUnauthorized() *CallDatasourceResourceByIDUnauthorized

NewCallDatasourceResourceByIDUnauthorized creates a CallDatasourceResourceByIDUnauthorized with default headers values

func (*CallDatasourceResourceByIDUnauthorized) Code

Code gets the status code for the call datasource resource by Id unauthorized response

func (*CallDatasourceResourceByIDUnauthorized) Error

func (*CallDatasourceResourceByIDUnauthorized) GetPayload

func (*CallDatasourceResourceByIDUnauthorized) IsClientError

func (o *CallDatasourceResourceByIDUnauthorized) IsClientError() bool

IsClientError returns true when this call datasource resource by Id unauthorized response has a 4xx status code

func (*CallDatasourceResourceByIDUnauthorized) IsCode

IsCode returns true when this call datasource resource by Id unauthorized response a status code equal to that given

func (*CallDatasourceResourceByIDUnauthorized) IsRedirect

IsRedirect returns true when this call datasource resource by Id unauthorized response has a 3xx status code

func (*CallDatasourceResourceByIDUnauthorized) IsServerError

func (o *CallDatasourceResourceByIDUnauthorized) IsServerError() bool

IsServerError returns true when this call datasource resource by Id unauthorized response has a 5xx status code

func (*CallDatasourceResourceByIDUnauthorized) IsSuccess

IsSuccess returns true when this call datasource resource by Id unauthorized response has a 2xx status code

func (*CallDatasourceResourceByIDUnauthorized) String

type CallDatasourceResourceWithUIDBadRequest

type CallDatasourceResourceWithUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCallDatasourceResourceWithUIDBadRequest

func NewCallDatasourceResourceWithUIDBadRequest() *CallDatasourceResourceWithUIDBadRequest

NewCallDatasourceResourceWithUIDBadRequest creates a CallDatasourceResourceWithUIDBadRequest with default headers values

func (*CallDatasourceResourceWithUIDBadRequest) Code

Code gets the status code for the call datasource resource with Uid bad request response

func (*CallDatasourceResourceWithUIDBadRequest) Error

func (*CallDatasourceResourceWithUIDBadRequest) GetPayload

func (*CallDatasourceResourceWithUIDBadRequest) IsClientError

func (o *CallDatasourceResourceWithUIDBadRequest) IsClientError() bool

IsClientError returns true when this call datasource resource with Uid bad request response has a 4xx status code

func (*CallDatasourceResourceWithUIDBadRequest) IsCode

IsCode returns true when this call datasource resource with Uid bad request response a status code equal to that given

func (*CallDatasourceResourceWithUIDBadRequest) IsRedirect

IsRedirect returns true when this call datasource resource with Uid bad request response has a 3xx status code

func (*CallDatasourceResourceWithUIDBadRequest) IsServerError

func (o *CallDatasourceResourceWithUIDBadRequest) IsServerError() bool

IsServerError returns true when this call datasource resource with Uid bad request response has a 5xx status code

func (*CallDatasourceResourceWithUIDBadRequest) IsSuccess

IsSuccess returns true when this call datasource resource with Uid bad request response has a 2xx status code

func (*CallDatasourceResourceWithUIDBadRequest) String

type CallDatasourceResourceWithUIDForbidden

type CallDatasourceResourceWithUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCallDatasourceResourceWithUIDForbidden

func NewCallDatasourceResourceWithUIDForbidden() *CallDatasourceResourceWithUIDForbidden

NewCallDatasourceResourceWithUIDForbidden creates a CallDatasourceResourceWithUIDForbidden with default headers values

func (*CallDatasourceResourceWithUIDForbidden) Code

Code gets the status code for the call datasource resource with Uid forbidden response

func (*CallDatasourceResourceWithUIDForbidden) Error

func (*CallDatasourceResourceWithUIDForbidden) GetPayload

func (*CallDatasourceResourceWithUIDForbidden) IsClientError

func (o *CallDatasourceResourceWithUIDForbidden) IsClientError() bool

IsClientError returns true when this call datasource resource with Uid forbidden response has a 4xx status code

func (*CallDatasourceResourceWithUIDForbidden) IsCode

IsCode returns true when this call datasource resource with Uid forbidden response a status code equal to that given

func (*CallDatasourceResourceWithUIDForbidden) IsRedirect

IsRedirect returns true when this call datasource resource with Uid forbidden response has a 3xx status code

func (*CallDatasourceResourceWithUIDForbidden) IsServerError

func (o *CallDatasourceResourceWithUIDForbidden) IsServerError() bool

IsServerError returns true when this call datasource resource with Uid forbidden response has a 5xx status code

func (*CallDatasourceResourceWithUIDForbidden) IsSuccess

IsSuccess returns true when this call datasource resource with Uid forbidden response has a 2xx status code

func (*CallDatasourceResourceWithUIDForbidden) String

type CallDatasourceResourceWithUIDInternalServerError

type CallDatasourceResourceWithUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCallDatasourceResourceWithUIDInternalServerError

func NewCallDatasourceResourceWithUIDInternalServerError() *CallDatasourceResourceWithUIDInternalServerError

NewCallDatasourceResourceWithUIDInternalServerError creates a CallDatasourceResourceWithUIDInternalServerError with default headers values

func (*CallDatasourceResourceWithUIDInternalServerError) Code

Code gets the status code for the call datasource resource with Uid internal server error response

func (*CallDatasourceResourceWithUIDInternalServerError) Error

func (*CallDatasourceResourceWithUIDInternalServerError) GetPayload

func (*CallDatasourceResourceWithUIDInternalServerError) IsClientError

IsClientError returns true when this call datasource resource with Uid internal server error response has a 4xx status code

func (*CallDatasourceResourceWithUIDInternalServerError) IsCode

IsCode returns true when this call datasource resource with Uid internal server error response a status code equal to that given

func (*CallDatasourceResourceWithUIDInternalServerError) IsRedirect

IsRedirect returns true when this call datasource resource with Uid internal server error response has a 3xx status code

func (*CallDatasourceResourceWithUIDInternalServerError) IsServerError

IsServerError returns true when this call datasource resource with Uid internal server error response has a 5xx status code

func (*CallDatasourceResourceWithUIDInternalServerError) IsSuccess

IsSuccess returns true when this call datasource resource with Uid internal server error response has a 2xx status code

func (*CallDatasourceResourceWithUIDInternalServerError) String

type CallDatasourceResourceWithUIDNotFound

type CallDatasourceResourceWithUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewCallDatasourceResourceWithUIDNotFound

func NewCallDatasourceResourceWithUIDNotFound() *CallDatasourceResourceWithUIDNotFound

NewCallDatasourceResourceWithUIDNotFound creates a CallDatasourceResourceWithUIDNotFound with default headers values

func (*CallDatasourceResourceWithUIDNotFound) Code

Code gets the status code for the call datasource resource with Uid not found response

func (*CallDatasourceResourceWithUIDNotFound) Error

func (*CallDatasourceResourceWithUIDNotFound) GetPayload

func (*CallDatasourceResourceWithUIDNotFound) IsClientError

func (o *CallDatasourceResourceWithUIDNotFound) IsClientError() bool

IsClientError returns true when this call datasource resource with Uid not found response has a 4xx status code

func (*CallDatasourceResourceWithUIDNotFound) IsCode

IsCode returns true when this call datasource resource with Uid not found response a status code equal to that given

func (*CallDatasourceResourceWithUIDNotFound) IsRedirect

IsRedirect returns true when this call datasource resource with Uid not found response has a 3xx status code

func (*CallDatasourceResourceWithUIDNotFound) IsServerError

func (o *CallDatasourceResourceWithUIDNotFound) IsServerError() bool

IsServerError returns true when this call datasource resource with Uid not found response has a 5xx status code

func (*CallDatasourceResourceWithUIDNotFound) IsSuccess

IsSuccess returns true when this call datasource resource with Uid not found response has a 2xx status code

func (*CallDatasourceResourceWithUIDNotFound) String

type CallDatasourceResourceWithUIDOK

type CallDatasourceResourceWithUIDOK struct {
	Payload *models.SuccessResponseBody
}

CallDatasourceResourceWithUIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewCallDatasourceResourceWithUIDOK

func NewCallDatasourceResourceWithUIDOK() *CallDatasourceResourceWithUIDOK

NewCallDatasourceResourceWithUIDOK creates a CallDatasourceResourceWithUIDOK with default headers values

func (*CallDatasourceResourceWithUIDOK) Code

Code gets the status code for the call datasource resource with Uid Ok response

func (*CallDatasourceResourceWithUIDOK) Error

func (*CallDatasourceResourceWithUIDOK) GetPayload

func (*CallDatasourceResourceWithUIDOK) IsClientError

func (o *CallDatasourceResourceWithUIDOK) IsClientError() bool

IsClientError returns true when this call datasource resource with Uid Ok response has a 4xx status code

func (*CallDatasourceResourceWithUIDOK) IsCode

func (o *CallDatasourceResourceWithUIDOK) IsCode(code int) bool

IsCode returns true when this call datasource resource with Uid Ok response a status code equal to that given

func (*CallDatasourceResourceWithUIDOK) IsRedirect

func (o *CallDatasourceResourceWithUIDOK) IsRedirect() bool

IsRedirect returns true when this call datasource resource with Uid Ok response has a 3xx status code

func (*CallDatasourceResourceWithUIDOK) IsServerError

func (o *CallDatasourceResourceWithUIDOK) IsServerError() bool

IsServerError returns true when this call datasource resource with Uid Ok response has a 5xx status code

func (*CallDatasourceResourceWithUIDOK) IsSuccess

func (o *CallDatasourceResourceWithUIDOK) IsSuccess() bool

IsSuccess returns true when this call datasource resource with Uid Ok response has a 2xx status code

func (*CallDatasourceResourceWithUIDOK) String

type CallDatasourceResourceWithUIDParams

type CallDatasourceResourceWithUIDParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// UID.
	UID string

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

CallDatasourceResourceWithUIDParams contains all the parameters to send to the API endpoint

for the call datasource resource with UID operation.

Typically these are written to a http.Request.

func NewCallDatasourceResourceWithUIDParams

func NewCallDatasourceResourceWithUIDParams() *CallDatasourceResourceWithUIDParams

NewCallDatasourceResourceWithUIDParams creates a new CallDatasourceResourceWithUIDParams 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 NewCallDatasourceResourceWithUIDParamsWithContext

func NewCallDatasourceResourceWithUIDParamsWithContext(ctx context.Context) *CallDatasourceResourceWithUIDParams

NewCallDatasourceResourceWithUIDParamsWithContext creates a new CallDatasourceResourceWithUIDParams object with the ability to set a context for a request.

func NewCallDatasourceResourceWithUIDParamsWithHTTPClient

func NewCallDatasourceResourceWithUIDParamsWithHTTPClient(client *http.Client) *CallDatasourceResourceWithUIDParams

NewCallDatasourceResourceWithUIDParamsWithHTTPClient creates a new CallDatasourceResourceWithUIDParams object with the ability to set a custom HTTPClient for a request.

func NewCallDatasourceResourceWithUIDParamsWithTimeout

func NewCallDatasourceResourceWithUIDParamsWithTimeout(timeout time.Duration) *CallDatasourceResourceWithUIDParams

NewCallDatasourceResourceWithUIDParamsWithTimeout creates a new CallDatasourceResourceWithUIDParams object with the ability to set a timeout on a request.

func (*CallDatasourceResourceWithUIDParams) SetContext

SetContext adds the context to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) SetDatasourceProxyRoute

func (o *CallDatasourceResourceWithUIDParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) SetDefaults

func (o *CallDatasourceResourceWithUIDParams) SetDefaults()

SetDefaults hydrates default values in the call datasource resource with UID params (not the query body).

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

func (*CallDatasourceResourceWithUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) SetTimeout

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

SetTimeout adds the timeout to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) SetUID

SetUID adds the uid to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithContext

WithContext adds the context to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithDatasourceProxyRoute

func (o *CallDatasourceResourceWithUIDParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *CallDatasourceResourceWithUIDParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithDefaults

WithDefaults hydrates default values in the call datasource resource with UID params (not the query body).

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

func (*CallDatasourceResourceWithUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithTimeout

WithTimeout adds the timeout to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithUID

WithUID adds the uid to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CallDatasourceResourceWithUIDReader

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

CallDatasourceResourceWithUIDReader is a Reader for the CallDatasourceResourceWithUID structure.

func (*CallDatasourceResourceWithUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CallDatasourceResourceWithUIDUnauthorized

type CallDatasourceResourceWithUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCallDatasourceResourceWithUIDUnauthorized

func NewCallDatasourceResourceWithUIDUnauthorized() *CallDatasourceResourceWithUIDUnauthorized

NewCallDatasourceResourceWithUIDUnauthorized creates a CallDatasourceResourceWithUIDUnauthorized with default headers values

func (*CallDatasourceResourceWithUIDUnauthorized) Code

Code gets the status code for the call datasource resource with Uid unauthorized response

func (*CallDatasourceResourceWithUIDUnauthorized) Error

func (*CallDatasourceResourceWithUIDUnauthorized) GetPayload

func (*CallDatasourceResourceWithUIDUnauthorized) IsClientError

IsClientError returns true when this call datasource resource with Uid unauthorized response has a 4xx status code

func (*CallDatasourceResourceWithUIDUnauthorized) IsCode

IsCode returns true when this call datasource resource with Uid unauthorized response a status code equal to that given

func (*CallDatasourceResourceWithUIDUnauthorized) IsRedirect

IsRedirect returns true when this call datasource resource with Uid unauthorized response has a 3xx status code

func (*CallDatasourceResourceWithUIDUnauthorized) IsServerError

IsServerError returns true when this call datasource resource with Uid unauthorized response has a 5xx status code

func (*CallDatasourceResourceWithUIDUnauthorized) IsSuccess

IsSuccess returns true when this call datasource resource with Uid unauthorized response has a 2xx status code

func (*CallDatasourceResourceWithUIDUnauthorized) String

type CheckDatasourceHealthByIDBadRequest

type CheckDatasourceHealthByIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthByIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCheckDatasourceHealthByIDBadRequest

func NewCheckDatasourceHealthByIDBadRequest() *CheckDatasourceHealthByIDBadRequest

NewCheckDatasourceHealthByIDBadRequest creates a CheckDatasourceHealthByIDBadRequest with default headers values

func (*CheckDatasourceHealthByIDBadRequest) Code

Code gets the status code for the check datasource health by Id bad request response

func (*CheckDatasourceHealthByIDBadRequest) Error

func (*CheckDatasourceHealthByIDBadRequest) GetPayload

func (*CheckDatasourceHealthByIDBadRequest) IsClientError

func (o *CheckDatasourceHealthByIDBadRequest) IsClientError() bool

IsClientError returns true when this check datasource health by Id bad request response has a 4xx status code

func (*CheckDatasourceHealthByIDBadRequest) IsCode

IsCode returns true when this check datasource health by Id bad request response a status code equal to that given

func (*CheckDatasourceHealthByIDBadRequest) IsRedirect

func (o *CheckDatasourceHealthByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this check datasource health by Id bad request response has a 3xx status code

func (*CheckDatasourceHealthByIDBadRequest) IsServerError

func (o *CheckDatasourceHealthByIDBadRequest) IsServerError() bool

IsServerError returns true when this check datasource health by Id bad request response has a 5xx status code

func (*CheckDatasourceHealthByIDBadRequest) IsSuccess

IsSuccess returns true when this check datasource health by Id bad request response has a 2xx status code

func (*CheckDatasourceHealthByIDBadRequest) String

type CheckDatasourceHealthByIDForbidden

type CheckDatasourceHealthByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCheckDatasourceHealthByIDForbidden

func NewCheckDatasourceHealthByIDForbidden() *CheckDatasourceHealthByIDForbidden

NewCheckDatasourceHealthByIDForbidden creates a CheckDatasourceHealthByIDForbidden with default headers values

func (*CheckDatasourceHealthByIDForbidden) Code

Code gets the status code for the check datasource health by Id forbidden response

func (*CheckDatasourceHealthByIDForbidden) Error

func (*CheckDatasourceHealthByIDForbidden) GetPayload

func (*CheckDatasourceHealthByIDForbidden) IsClientError

func (o *CheckDatasourceHealthByIDForbidden) IsClientError() bool

IsClientError returns true when this check datasource health by Id forbidden response has a 4xx status code

func (*CheckDatasourceHealthByIDForbidden) IsCode

IsCode returns true when this check datasource health by Id forbidden response a status code equal to that given

func (*CheckDatasourceHealthByIDForbidden) IsRedirect

func (o *CheckDatasourceHealthByIDForbidden) IsRedirect() bool

IsRedirect returns true when this check datasource health by Id forbidden response has a 3xx status code

func (*CheckDatasourceHealthByIDForbidden) IsServerError

func (o *CheckDatasourceHealthByIDForbidden) IsServerError() bool

IsServerError returns true when this check datasource health by Id forbidden response has a 5xx status code

func (*CheckDatasourceHealthByIDForbidden) IsSuccess

IsSuccess returns true when this check datasource health by Id forbidden response has a 2xx status code

func (*CheckDatasourceHealthByIDForbidden) String

type CheckDatasourceHealthByIDInternalServerError

type CheckDatasourceHealthByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCheckDatasourceHealthByIDInternalServerError

func NewCheckDatasourceHealthByIDInternalServerError() *CheckDatasourceHealthByIDInternalServerError

NewCheckDatasourceHealthByIDInternalServerError creates a CheckDatasourceHealthByIDInternalServerError with default headers values

func (*CheckDatasourceHealthByIDInternalServerError) Code

Code gets the status code for the check datasource health by Id internal server error response

func (*CheckDatasourceHealthByIDInternalServerError) Error

func (*CheckDatasourceHealthByIDInternalServerError) GetPayload

func (*CheckDatasourceHealthByIDInternalServerError) IsClientError

IsClientError returns true when this check datasource health by Id internal server error response has a 4xx status code

func (*CheckDatasourceHealthByIDInternalServerError) IsCode

IsCode returns true when this check datasource health by Id internal server error response a status code equal to that given

func (*CheckDatasourceHealthByIDInternalServerError) IsRedirect

IsRedirect returns true when this check datasource health by Id internal server error response has a 3xx status code

func (*CheckDatasourceHealthByIDInternalServerError) IsServerError

IsServerError returns true when this check datasource health by Id internal server error response has a 5xx status code

func (*CheckDatasourceHealthByIDInternalServerError) IsSuccess

IsSuccess returns true when this check datasource health by Id internal server error response has a 2xx status code

func (*CheckDatasourceHealthByIDInternalServerError) String

type CheckDatasourceHealthByIDOK

type CheckDatasourceHealthByIDOK struct {
	Payload *models.SuccessResponseBody
}

CheckDatasourceHealthByIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewCheckDatasourceHealthByIDOK

func NewCheckDatasourceHealthByIDOK() *CheckDatasourceHealthByIDOK

NewCheckDatasourceHealthByIDOK creates a CheckDatasourceHealthByIDOK with default headers values

func (*CheckDatasourceHealthByIDOK) Code

func (o *CheckDatasourceHealthByIDOK) Code() int

Code gets the status code for the check datasource health by Id Ok response

func (*CheckDatasourceHealthByIDOK) Error

func (*CheckDatasourceHealthByIDOK) GetPayload

func (*CheckDatasourceHealthByIDOK) IsClientError

func (o *CheckDatasourceHealthByIDOK) IsClientError() bool

IsClientError returns true when this check datasource health by Id Ok response has a 4xx status code

func (*CheckDatasourceHealthByIDOK) IsCode

func (o *CheckDatasourceHealthByIDOK) IsCode(code int) bool

IsCode returns true when this check datasource health by Id Ok response a status code equal to that given

func (*CheckDatasourceHealthByIDOK) IsRedirect

func (o *CheckDatasourceHealthByIDOK) IsRedirect() bool

IsRedirect returns true when this check datasource health by Id Ok response has a 3xx status code

func (*CheckDatasourceHealthByIDOK) IsServerError

func (o *CheckDatasourceHealthByIDOK) IsServerError() bool

IsServerError returns true when this check datasource health by Id Ok response has a 5xx status code

func (*CheckDatasourceHealthByIDOK) IsSuccess

func (o *CheckDatasourceHealthByIDOK) IsSuccess() bool

IsSuccess returns true when this check datasource health by Id Ok response has a 2xx status code

func (*CheckDatasourceHealthByIDOK) String

func (o *CheckDatasourceHealthByIDOK) String() string

type CheckDatasourceHealthByIDParams

type CheckDatasourceHealthByIDParams struct {

	// ID.
	ID string

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

CheckDatasourceHealthByIDParams contains all the parameters to send to the API endpoint

for the check datasource health by ID operation.

Typically these are written to a http.Request.

func NewCheckDatasourceHealthByIDParams

func NewCheckDatasourceHealthByIDParams() *CheckDatasourceHealthByIDParams

NewCheckDatasourceHealthByIDParams creates a new CheckDatasourceHealthByIDParams 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 NewCheckDatasourceHealthByIDParamsWithContext

func NewCheckDatasourceHealthByIDParamsWithContext(ctx context.Context) *CheckDatasourceHealthByIDParams

NewCheckDatasourceHealthByIDParamsWithContext creates a new CheckDatasourceHealthByIDParams object with the ability to set a context for a request.

func NewCheckDatasourceHealthByIDParamsWithHTTPClient

func NewCheckDatasourceHealthByIDParamsWithHTTPClient(client *http.Client) *CheckDatasourceHealthByIDParams

NewCheckDatasourceHealthByIDParamsWithHTTPClient creates a new CheckDatasourceHealthByIDParams object with the ability to set a custom HTTPClient for a request.

func NewCheckDatasourceHealthByIDParamsWithTimeout

func NewCheckDatasourceHealthByIDParamsWithTimeout(timeout time.Duration) *CheckDatasourceHealthByIDParams

NewCheckDatasourceHealthByIDParamsWithTimeout creates a new CheckDatasourceHealthByIDParams object with the ability to set a timeout on a request.

func (*CheckDatasourceHealthByIDParams) SetContext

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

SetContext adds the context to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) SetDefaults

func (o *CheckDatasourceHealthByIDParams) SetDefaults()

SetDefaults hydrates default values in the check datasource health by ID params (not the query body).

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

func (*CheckDatasourceHealthByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) SetID

SetID adds the id to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) SetTimeout

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

SetTimeout adds the timeout to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WithContext

WithContext adds the context to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WithDefaults

WithDefaults hydrates default values in the check datasource health by ID params (not the query body).

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

func (*CheckDatasourceHealthByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WithID

WithID adds the id to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WithTimeout

WithTimeout adds the timeout to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckDatasourceHealthByIDReader

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

CheckDatasourceHealthByIDReader is a Reader for the CheckDatasourceHealthByID structure.

func (*CheckDatasourceHealthByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckDatasourceHealthByIDUnauthorized

type CheckDatasourceHealthByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCheckDatasourceHealthByIDUnauthorized

func NewCheckDatasourceHealthByIDUnauthorized() *CheckDatasourceHealthByIDUnauthorized

NewCheckDatasourceHealthByIDUnauthorized creates a CheckDatasourceHealthByIDUnauthorized with default headers values

func (*CheckDatasourceHealthByIDUnauthorized) Code

Code gets the status code for the check datasource health by Id unauthorized response

func (*CheckDatasourceHealthByIDUnauthorized) Error

func (*CheckDatasourceHealthByIDUnauthorized) GetPayload

func (*CheckDatasourceHealthByIDUnauthorized) IsClientError

func (o *CheckDatasourceHealthByIDUnauthorized) IsClientError() bool

IsClientError returns true when this check datasource health by Id unauthorized response has a 4xx status code

func (*CheckDatasourceHealthByIDUnauthorized) IsCode

IsCode returns true when this check datasource health by Id unauthorized response a status code equal to that given

func (*CheckDatasourceHealthByIDUnauthorized) IsRedirect

IsRedirect returns true when this check datasource health by Id unauthorized response has a 3xx status code

func (*CheckDatasourceHealthByIDUnauthorized) IsServerError

func (o *CheckDatasourceHealthByIDUnauthorized) IsServerError() bool

IsServerError returns true when this check datasource health by Id unauthorized response has a 5xx status code

func (*CheckDatasourceHealthByIDUnauthorized) IsSuccess

IsSuccess returns true when this check datasource health by Id unauthorized response has a 2xx status code

func (*CheckDatasourceHealthByIDUnauthorized) String

type CheckDatasourceHealthWithUIDBadRequest

type CheckDatasourceHealthWithUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthWithUIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCheckDatasourceHealthWithUIDBadRequest

func NewCheckDatasourceHealthWithUIDBadRequest() *CheckDatasourceHealthWithUIDBadRequest

NewCheckDatasourceHealthWithUIDBadRequest creates a CheckDatasourceHealthWithUIDBadRequest with default headers values

func (*CheckDatasourceHealthWithUIDBadRequest) Code

Code gets the status code for the check datasource health with Uid bad request response

func (*CheckDatasourceHealthWithUIDBadRequest) Error

func (*CheckDatasourceHealthWithUIDBadRequest) GetPayload

func (*CheckDatasourceHealthWithUIDBadRequest) IsClientError

func (o *CheckDatasourceHealthWithUIDBadRequest) IsClientError() bool

IsClientError returns true when this check datasource health with Uid bad request response has a 4xx status code

func (*CheckDatasourceHealthWithUIDBadRequest) IsCode

IsCode returns true when this check datasource health with Uid bad request response a status code equal to that given

func (*CheckDatasourceHealthWithUIDBadRequest) IsRedirect

IsRedirect returns true when this check datasource health with Uid bad request response has a 3xx status code

func (*CheckDatasourceHealthWithUIDBadRequest) IsServerError

func (o *CheckDatasourceHealthWithUIDBadRequest) IsServerError() bool

IsServerError returns true when this check datasource health with Uid bad request response has a 5xx status code

func (*CheckDatasourceHealthWithUIDBadRequest) IsSuccess

IsSuccess returns true when this check datasource health with Uid bad request response has a 2xx status code

func (*CheckDatasourceHealthWithUIDBadRequest) String

type CheckDatasourceHealthWithUIDForbidden

type CheckDatasourceHealthWithUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthWithUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCheckDatasourceHealthWithUIDForbidden

func NewCheckDatasourceHealthWithUIDForbidden() *CheckDatasourceHealthWithUIDForbidden

NewCheckDatasourceHealthWithUIDForbidden creates a CheckDatasourceHealthWithUIDForbidden with default headers values

func (*CheckDatasourceHealthWithUIDForbidden) Code

Code gets the status code for the check datasource health with Uid forbidden response

func (*CheckDatasourceHealthWithUIDForbidden) Error

func (*CheckDatasourceHealthWithUIDForbidden) GetPayload

func (*CheckDatasourceHealthWithUIDForbidden) IsClientError

func (o *CheckDatasourceHealthWithUIDForbidden) IsClientError() bool

IsClientError returns true when this check datasource health with Uid forbidden response has a 4xx status code

func (*CheckDatasourceHealthWithUIDForbidden) IsCode

IsCode returns true when this check datasource health with Uid forbidden response a status code equal to that given

func (*CheckDatasourceHealthWithUIDForbidden) IsRedirect

IsRedirect returns true when this check datasource health with Uid forbidden response has a 3xx status code

func (*CheckDatasourceHealthWithUIDForbidden) IsServerError

func (o *CheckDatasourceHealthWithUIDForbidden) IsServerError() bool

IsServerError returns true when this check datasource health with Uid forbidden response has a 5xx status code

func (*CheckDatasourceHealthWithUIDForbidden) IsSuccess

IsSuccess returns true when this check datasource health with Uid forbidden response has a 2xx status code

func (*CheckDatasourceHealthWithUIDForbidden) String

type CheckDatasourceHealthWithUIDInternalServerError

type CheckDatasourceHealthWithUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthWithUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCheckDatasourceHealthWithUIDInternalServerError

func NewCheckDatasourceHealthWithUIDInternalServerError() *CheckDatasourceHealthWithUIDInternalServerError

NewCheckDatasourceHealthWithUIDInternalServerError creates a CheckDatasourceHealthWithUIDInternalServerError with default headers values

func (*CheckDatasourceHealthWithUIDInternalServerError) Code

Code gets the status code for the check datasource health with Uid internal server error response

func (*CheckDatasourceHealthWithUIDInternalServerError) Error

func (*CheckDatasourceHealthWithUIDInternalServerError) GetPayload

func (*CheckDatasourceHealthWithUIDInternalServerError) IsClientError

IsClientError returns true when this check datasource health with Uid internal server error response has a 4xx status code

func (*CheckDatasourceHealthWithUIDInternalServerError) IsCode

IsCode returns true when this check datasource health with Uid internal server error response a status code equal to that given

func (*CheckDatasourceHealthWithUIDInternalServerError) IsRedirect

IsRedirect returns true when this check datasource health with Uid internal server error response has a 3xx status code

func (*CheckDatasourceHealthWithUIDInternalServerError) IsServerError

IsServerError returns true when this check datasource health with Uid internal server error response has a 5xx status code

func (*CheckDatasourceHealthWithUIDInternalServerError) IsSuccess

IsSuccess returns true when this check datasource health with Uid internal server error response has a 2xx status code

func (*CheckDatasourceHealthWithUIDInternalServerError) String

type CheckDatasourceHealthWithUIDOK

type CheckDatasourceHealthWithUIDOK struct {
	Payload *models.SuccessResponseBody
}

CheckDatasourceHealthWithUIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewCheckDatasourceHealthWithUIDOK

func NewCheckDatasourceHealthWithUIDOK() *CheckDatasourceHealthWithUIDOK

NewCheckDatasourceHealthWithUIDOK creates a CheckDatasourceHealthWithUIDOK with default headers values

func (*CheckDatasourceHealthWithUIDOK) Code

Code gets the status code for the check datasource health with Uid Ok response

func (*CheckDatasourceHealthWithUIDOK) Error

func (*CheckDatasourceHealthWithUIDOK) GetPayload

func (*CheckDatasourceHealthWithUIDOK) IsClientError

func (o *CheckDatasourceHealthWithUIDOK) IsClientError() bool

IsClientError returns true when this check datasource health with Uid Ok response has a 4xx status code

func (*CheckDatasourceHealthWithUIDOK) IsCode

func (o *CheckDatasourceHealthWithUIDOK) IsCode(code int) bool

IsCode returns true when this check datasource health with Uid Ok response a status code equal to that given

func (*CheckDatasourceHealthWithUIDOK) IsRedirect

func (o *CheckDatasourceHealthWithUIDOK) IsRedirect() bool

IsRedirect returns true when this check datasource health with Uid Ok response has a 3xx status code

func (*CheckDatasourceHealthWithUIDOK) IsServerError

func (o *CheckDatasourceHealthWithUIDOK) IsServerError() bool

IsServerError returns true when this check datasource health with Uid Ok response has a 5xx status code

func (*CheckDatasourceHealthWithUIDOK) IsSuccess

func (o *CheckDatasourceHealthWithUIDOK) IsSuccess() bool

IsSuccess returns true when this check datasource health with Uid Ok response has a 2xx status code

func (*CheckDatasourceHealthWithUIDOK) String

type CheckDatasourceHealthWithUIDParams

type CheckDatasourceHealthWithUIDParams struct {

	// UID.
	UID string

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

CheckDatasourceHealthWithUIDParams contains all the parameters to send to the API endpoint

for the check datasource health with UID operation.

Typically these are written to a http.Request.

func NewCheckDatasourceHealthWithUIDParams

func NewCheckDatasourceHealthWithUIDParams() *CheckDatasourceHealthWithUIDParams

NewCheckDatasourceHealthWithUIDParams creates a new CheckDatasourceHealthWithUIDParams 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 NewCheckDatasourceHealthWithUIDParamsWithContext

func NewCheckDatasourceHealthWithUIDParamsWithContext(ctx context.Context) *CheckDatasourceHealthWithUIDParams

NewCheckDatasourceHealthWithUIDParamsWithContext creates a new CheckDatasourceHealthWithUIDParams object with the ability to set a context for a request.

func NewCheckDatasourceHealthWithUIDParamsWithHTTPClient

func NewCheckDatasourceHealthWithUIDParamsWithHTTPClient(client *http.Client) *CheckDatasourceHealthWithUIDParams

NewCheckDatasourceHealthWithUIDParamsWithHTTPClient creates a new CheckDatasourceHealthWithUIDParams object with the ability to set a custom HTTPClient for a request.

func NewCheckDatasourceHealthWithUIDParamsWithTimeout

func NewCheckDatasourceHealthWithUIDParamsWithTimeout(timeout time.Duration) *CheckDatasourceHealthWithUIDParams

NewCheckDatasourceHealthWithUIDParamsWithTimeout creates a new CheckDatasourceHealthWithUIDParams object with the ability to set a timeout on a request.

func (*CheckDatasourceHealthWithUIDParams) SetContext

SetContext adds the context to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) SetDefaults

func (o *CheckDatasourceHealthWithUIDParams) SetDefaults()

SetDefaults hydrates default values in the check datasource health with UID params (not the query body).

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

func (*CheckDatasourceHealthWithUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) SetTimeout

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

SetTimeout adds the timeout to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) SetUID

SetUID adds the uid to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WithContext

WithContext adds the context to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WithDefaults

WithDefaults hydrates default values in the check datasource health with UID params (not the query body).

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

func (*CheckDatasourceHealthWithUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WithTimeout

WithTimeout adds the timeout to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WithUID

WithUID adds the uid to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckDatasourceHealthWithUIDReader

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

CheckDatasourceHealthWithUIDReader is a Reader for the CheckDatasourceHealthWithUID structure.

func (*CheckDatasourceHealthWithUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckDatasourceHealthWithUIDUnauthorized

type CheckDatasourceHealthWithUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthWithUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCheckDatasourceHealthWithUIDUnauthorized

func NewCheckDatasourceHealthWithUIDUnauthorized() *CheckDatasourceHealthWithUIDUnauthorized

NewCheckDatasourceHealthWithUIDUnauthorized creates a CheckDatasourceHealthWithUIDUnauthorized with default headers values

func (*CheckDatasourceHealthWithUIDUnauthorized) Code

Code gets the status code for the check datasource health with Uid unauthorized response

func (*CheckDatasourceHealthWithUIDUnauthorized) Error

func (*CheckDatasourceHealthWithUIDUnauthorized) GetPayload

func (*CheckDatasourceHealthWithUIDUnauthorized) IsClientError

IsClientError returns true when this check datasource health with Uid unauthorized response has a 4xx status code

func (*CheckDatasourceHealthWithUIDUnauthorized) IsCode

IsCode returns true when this check datasource health with Uid unauthorized response a status code equal to that given

func (*CheckDatasourceHealthWithUIDUnauthorized) IsRedirect

IsRedirect returns true when this check datasource health with Uid unauthorized response has a 3xx status code

func (*CheckDatasourceHealthWithUIDUnauthorized) IsServerError

IsServerError returns true when this check datasource health with Uid unauthorized response has a 5xx status code

func (*CheckDatasourceHealthWithUIDUnauthorized) IsSuccess

IsSuccess returns true when this check datasource health with Uid unauthorized response has a 2xx status code

func (*CheckDatasourceHealthWithUIDUnauthorized) String

type Client

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

Client for datasources API

func (*Client) AddDataSource

func (a *Client) AddDataSource(body *models.AddDataSourceCommand, opts ...ClientOption) (*AddDataSourceOK, error)

AddDataSource creates a data source

By defining `password` and `basicAuthPassword` under secureJsonData property Grafana encrypts them securely as an encrypted blob in the database. The response then lists the encrypted fields under secureJsonFields.

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:create`

func (*Client) AddDataSourceWithParams

func (a *Client) AddDataSourceWithParams(params *AddDataSourceParams, opts ...ClientOption) (*AddDataSourceOK, error)

func (*Client) CallDatasourceResourceByID

func (a *Client) CallDatasourceResourceByID(id string, datasourceProxyRoute string, opts ...ClientOption) (*CallDatasourceResourceByIDOK, error)

CallDatasourceResourceByID fetches data source resources by Id

Please refer to [updated API](#/datasources/callDatasourceResourceWithUID) instead

func (*Client) CallDatasourceResourceByIDWithParams

func (a *Client) CallDatasourceResourceByIDWithParams(params *CallDatasourceResourceByIDParams, opts ...ClientOption) (*CallDatasourceResourceByIDOK, error)

func (*Client) CallDatasourceResourceWithUID

func (a *Client) CallDatasourceResourceWithUID(uid string, datasourceProxyRoute string, opts ...ClientOption) (*CallDatasourceResourceWithUIDOK, error)

CallDatasourceResourceWithUID fetches data source resources

func (*Client) CallDatasourceResourceWithUIDWithParams

func (a *Client) CallDatasourceResourceWithUIDWithParams(params *CallDatasourceResourceWithUIDParams, opts ...ClientOption) (*CallDatasourceResourceWithUIDOK, error)

func (*Client) CheckDatasourceHealthByID

func (a *Client) CheckDatasourceHealthByID(id string, opts ...ClientOption) (*CheckDatasourceHealthByIDOK, error)

CheckDatasourceHealthByID sends a health check request to the plugin datasource identified by the ID

Please refer to [updated API](#/datasources/checkDatasourceHealthWithUID) instead

func (*Client) CheckDatasourceHealthByIDWithParams

func (a *Client) CheckDatasourceHealthByIDWithParams(params *CheckDatasourceHealthByIDParams, opts ...ClientOption) (*CheckDatasourceHealthByIDOK, error)

func (*Client) CheckDatasourceHealthWithUID

func (a *Client) CheckDatasourceHealthWithUID(uid string, opts ...ClientOption) (*CheckDatasourceHealthWithUIDOK, error)

CheckDatasourceHealthWithUID sends a health check request to the plugin datasource identified by the UID

func (*Client) CheckDatasourceHealthWithUIDWithParams

func (a *Client) CheckDatasourceHealthWithUIDWithParams(params *CheckDatasourceHealthWithUIDParams, opts ...ClientOption) (*CheckDatasourceHealthWithUIDOK, error)

func (*Client) DatasourceProxyDELETEByUIDcalls

func (a *Client) DatasourceProxyDELETEByUIDcalls(uid string, datasourceProxyRoute string, opts ...ClientOption) (*DatasourceProxyDELETEByUIDcallsAccepted, error)

DatasourceProxyDELETEByUIDcalls data source proxy d e l e t e calls

Proxies all calls to the actual data source.

func (*Client) DatasourceProxyDELETEByUIDcallsWithParams

func (a *Client) DatasourceProxyDELETEByUIDcallsWithParams(params *DatasourceProxyDELETEByUIDcallsParams, opts ...ClientOption) (*DatasourceProxyDELETEByUIDcallsAccepted, error)

func (*Client) DatasourceProxyDELETEcalls

func (a *Client) DatasourceProxyDELETEcalls(id string, datasourceProxyRoute string, opts ...ClientOption) (*DatasourceProxyDELETEcallsAccepted, error)

DatasourceProxyDELETEcalls data source proxy d e l e t e calls

Proxies all calls to the actual data source.

Please refer to [updated API](#/datasources/datasourceProxyDELETEByUIDcalls) instead

func (*Client) DatasourceProxyDELETEcallsWithParams

func (a *Client) DatasourceProxyDELETEcallsWithParams(params *DatasourceProxyDELETEcallsParams, opts ...ClientOption) (*DatasourceProxyDELETEcallsAccepted, error)

func (*Client) DatasourceProxyGETByUIDcalls

func (a *Client) DatasourceProxyGETByUIDcalls(uid string, datasourceProxyRoute string, opts ...ClientOption) (*DatasourceProxyGETByUIDcallsOK, error)

DatasourceProxyGETByUIDcalls data source proxy g e t calls

Proxies all calls to the actual data source.

func (*Client) DatasourceProxyGETByUIDcallsWithParams

func (a *Client) DatasourceProxyGETByUIDcallsWithParams(params *DatasourceProxyGETByUIDcallsParams, opts ...ClientOption) (*DatasourceProxyGETByUIDcallsOK, error)

func (*Client) DatasourceProxyGETcalls

func (a *Client) DatasourceProxyGETcalls(id string, datasourceProxyRoute string, opts ...ClientOption) (*DatasourceProxyGETcallsOK, error)

DatasourceProxyGETcalls data source proxy g e t calls

Proxies all calls to the actual data source.

Please refer to [updated API](#/datasources/datasourceProxyGETByUIDcalls) instead

func (*Client) DatasourceProxyGETcallsWithParams

func (a *Client) DatasourceProxyGETcallsWithParams(params *DatasourceProxyGETcallsParams, opts ...ClientOption) (*DatasourceProxyGETcallsOK, error)

func (*Client) DeleteDataSourceByID

func (a *Client) DeleteDataSourceByID(id string, opts ...ClientOption) (*DeleteDataSourceByIDOK, error)

DeleteDataSourceByID deletes an existing data source by id

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:delete` and scopes: `datasources:*`, `datasources:id:*` and `datasources:id:1` (single data source).

Please refer to [updated API](#/datasources/deleteDataSourceByUID) instead

func (*Client) DeleteDataSourceByIDWithParams

func (a *Client) DeleteDataSourceByIDWithParams(params *DeleteDataSourceByIDParams, opts ...ClientOption) (*DeleteDataSourceByIDOK, error)

func (*Client) DeleteDataSourceByName

func (a *Client) DeleteDataSourceByName(name string, opts ...ClientOption) (*DeleteDataSourceByNameOK, error)

DeleteDataSourceByName deletes an existing data source by name

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:delete` and scopes: `datasources:*`, `datasources:name:*` and `datasources:name:test_datasource` (single data source).

func (*Client) DeleteDataSourceByNameWithParams

func (a *Client) DeleteDataSourceByNameWithParams(params *DeleteDataSourceByNameParams, opts ...ClientOption) (*DeleteDataSourceByNameOK, error)

func (*Client) DeleteDataSourceByUID

func (a *Client) DeleteDataSourceByUID(uid string, opts ...ClientOption) (*DeleteDataSourceByUIDOK, error)

DeleteDataSourceByUID deletes an existing data source by UID

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:delete` and scopes: `datasources:*`, `datasources:uid:*` and `datasources:uid:kLtEtcRGk` (single data source).

func (*Client) DeleteDataSourceByUIDWithParams

func (a *Client) DeleteDataSourceByUIDWithParams(params *DeleteDataSourceByUIDParams, opts ...ClientOption) (*DeleteDataSourceByUIDOK, error)

func (*Client) GetDataSourceByID

func (a *Client) GetDataSourceByID(id string, opts ...ClientOption) (*GetDataSourceByIDOK, error)

GetDataSourceByID gets a single data source by Id

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:read` and scopes: `datasources:*`, `datasources:id:*` and `datasources:id:1` (single data source).

Please refer to [updated API](#/datasources/getDataSourceByUID) instead

func (*Client) GetDataSourceByIDWithParams

func (a *Client) GetDataSourceByIDWithParams(params *GetDataSourceByIDParams, opts ...ClientOption) (*GetDataSourceByIDOK, error)

func (*Client) GetDataSourceByName

func (a *Client) GetDataSourceByName(name string, opts ...ClientOption) (*GetDataSourceByNameOK, error)

GetDataSourceByName gets a single data source by name

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:read` and scopes: `datasources:*`, `datasources:name:*` and `datasources:name:test_datasource` (single data source).

func (*Client) GetDataSourceByNameWithParams

func (a *Client) GetDataSourceByNameWithParams(params *GetDataSourceByNameParams, opts ...ClientOption) (*GetDataSourceByNameOK, error)

func (*Client) GetDataSourceByUID

func (a *Client) GetDataSourceByUID(uid string, opts ...ClientOption) (*GetDataSourceByUIDOK, error)

GetDataSourceByUID gets a single data source by UID

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:read` and scopes: `datasources:*`, `datasources:uid:*` and `datasources:uid:kLtEtcRGk` (single data source).

func (*Client) GetDataSourceByUIDWithParams

func (a *Client) GetDataSourceByUIDWithParams(params *GetDataSourceByUIDParams, opts ...ClientOption) (*GetDataSourceByUIDOK, error)

func (*Client) GetDataSourceIDByName

func (a *Client) GetDataSourceIDByName(name string, opts ...ClientOption) (*GetDataSourceIDByNameOK, error)

GetDataSourceIDByName gets data source Id by name

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:read` and scopes: `datasources:*`, `datasources:name:*` and `datasources:name:test_datasource` (single data source).

func (*Client) GetDataSourceIDByNameWithParams

func (a *Client) GetDataSourceIDByNameWithParams(params *GetDataSourceIDByNameParams, opts ...ClientOption) (*GetDataSourceIDByNameOK, error)

func (*Client) GetDataSources

func (a *Client) GetDataSources(opts ...ClientOption) (*GetDataSourcesOK, error)

GetDataSources gets all data sources

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:read` and scope: `datasources:*`.

func (*Client) GetDataSourcesWithParams

func (a *Client) GetDataSourcesWithParams(params *GetDataSourcesParams, opts ...ClientOption) (*GetDataSourcesOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDataSourceByID

func (a *Client) UpdateDataSourceByID(id string, body *models.UpdateDataSourceCommand, opts ...ClientOption) (*UpdateDataSourceByIDOK, error)

UpdateDataSourceByID updates an existing data source by its sequential ID

Similar to creating a data source, `password` and `basicAuthPassword` should be defined under secureJsonData in order to be stored securely as an encrypted blob in the database. Then, the encrypted fields are listed under secureJsonFields section in the response.

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:write` and scopes: `datasources:*`, `datasources:id:*` and `datasources:id:1` (single data source).

Please refer to [updated API](#/datasources/updateDataSourceByUID) instead

func (*Client) UpdateDataSourceByIDWithParams

func (a *Client) UpdateDataSourceByIDWithParams(params *UpdateDataSourceByIDParams, opts ...ClientOption) (*UpdateDataSourceByIDOK, error)

func (*Client) UpdateDataSourceByUID

func (a *Client) UpdateDataSourceByUID(uid string, body *models.UpdateDataSourceCommand, opts ...ClientOption) (*UpdateDataSourceByUIDOK, error)

UpdateDataSourceByUID updates an existing data source

Similar to creating a data source, `password` and `basicAuthPassword` should be defined under secureJsonData in order to be stored securely as an encrypted blob in the database. Then, the encrypted fields are listed under secureJsonFields section in the response.

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:write` and scopes: `datasources:*`, `datasources:uid:*` and `datasources:uid:1` (single data source).

func (*Client) UpdateDataSourceByUIDWithParams

func (a *Client) UpdateDataSourceByUIDWithParams(params *UpdateDataSourceByUIDParams, opts ...ClientOption) (*UpdateDataSourceByUIDOK, error)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	AddDataSource(body *models.AddDataSourceCommand, opts ...ClientOption) (*AddDataSourceOK, error)
	AddDataSourceWithParams(params *AddDataSourceParams, opts ...ClientOption) (*AddDataSourceOK, error)

	CallDatasourceResourceByID(id string, datasourceProxyRoute string, opts ...ClientOption) (*CallDatasourceResourceByIDOK, error)
	CallDatasourceResourceByIDWithParams(params *CallDatasourceResourceByIDParams, opts ...ClientOption) (*CallDatasourceResourceByIDOK, error)

	CallDatasourceResourceWithUID(uid string, datasourceProxyRoute string, opts ...ClientOption) (*CallDatasourceResourceWithUIDOK, error)
	CallDatasourceResourceWithUIDWithParams(params *CallDatasourceResourceWithUIDParams, opts ...ClientOption) (*CallDatasourceResourceWithUIDOK, error)

	CheckDatasourceHealthByID(id string, opts ...ClientOption) (*CheckDatasourceHealthByIDOK, error)
	CheckDatasourceHealthByIDWithParams(params *CheckDatasourceHealthByIDParams, opts ...ClientOption) (*CheckDatasourceHealthByIDOK, error)

	CheckDatasourceHealthWithUID(uid string, opts ...ClientOption) (*CheckDatasourceHealthWithUIDOK, error)
	CheckDatasourceHealthWithUIDWithParams(params *CheckDatasourceHealthWithUIDParams, opts ...ClientOption) (*CheckDatasourceHealthWithUIDOK, error)

	DatasourceProxyDELETEByUIDcalls(uid string, datasourceProxyRoute string, opts ...ClientOption) (*DatasourceProxyDELETEByUIDcallsAccepted, error)
	DatasourceProxyDELETEByUIDcallsWithParams(params *DatasourceProxyDELETEByUIDcallsParams, opts ...ClientOption) (*DatasourceProxyDELETEByUIDcallsAccepted, error)

	DatasourceProxyDELETEcalls(id string, datasourceProxyRoute string, opts ...ClientOption) (*DatasourceProxyDELETEcallsAccepted, error)
	DatasourceProxyDELETEcallsWithParams(params *DatasourceProxyDELETEcallsParams, opts ...ClientOption) (*DatasourceProxyDELETEcallsAccepted, error)

	DatasourceProxyGETByUIDcalls(uid string, datasourceProxyRoute string, opts ...ClientOption) (*DatasourceProxyGETByUIDcallsOK, error)
	DatasourceProxyGETByUIDcallsWithParams(params *DatasourceProxyGETByUIDcallsParams, opts ...ClientOption) (*DatasourceProxyGETByUIDcallsOK, error)

	DatasourceProxyGETcalls(id string, datasourceProxyRoute string, opts ...ClientOption) (*DatasourceProxyGETcallsOK, error)
	DatasourceProxyGETcallsWithParams(params *DatasourceProxyGETcallsParams, opts ...ClientOption) (*DatasourceProxyGETcallsOK, error)

	DatasourceProxyPOSTByUIDcalls(params *DatasourceProxyPOSTByUIDcallsParams, opts ...ClientOption) (*DatasourceProxyPOSTByUIDcallsCreated, *DatasourceProxyPOSTByUIDcallsAccepted, error)

	DatasourceProxyPOSTcalls(params *DatasourceProxyPOSTcallsParams, opts ...ClientOption) (*DatasourceProxyPOSTcallsCreated, *DatasourceProxyPOSTcallsAccepted, error)

	DeleteDataSourceByID(id string, opts ...ClientOption) (*DeleteDataSourceByIDOK, error)
	DeleteDataSourceByIDWithParams(params *DeleteDataSourceByIDParams, opts ...ClientOption) (*DeleteDataSourceByIDOK, error)

	DeleteDataSourceByName(name string, opts ...ClientOption) (*DeleteDataSourceByNameOK, error)
	DeleteDataSourceByNameWithParams(params *DeleteDataSourceByNameParams, opts ...ClientOption) (*DeleteDataSourceByNameOK, error)

	DeleteDataSourceByUID(uid string, opts ...ClientOption) (*DeleteDataSourceByUIDOK, error)
	DeleteDataSourceByUIDWithParams(params *DeleteDataSourceByUIDParams, opts ...ClientOption) (*DeleteDataSourceByUIDOK, error)

	GetDataSourceByID(id string, opts ...ClientOption) (*GetDataSourceByIDOK, error)
	GetDataSourceByIDWithParams(params *GetDataSourceByIDParams, opts ...ClientOption) (*GetDataSourceByIDOK, error)

	GetDataSourceByName(name string, opts ...ClientOption) (*GetDataSourceByNameOK, error)
	GetDataSourceByNameWithParams(params *GetDataSourceByNameParams, opts ...ClientOption) (*GetDataSourceByNameOK, error)

	GetDataSourceByUID(uid string, opts ...ClientOption) (*GetDataSourceByUIDOK, error)
	GetDataSourceByUIDWithParams(params *GetDataSourceByUIDParams, opts ...ClientOption) (*GetDataSourceByUIDOK, error)

	GetDataSourceIDByName(name string, opts ...ClientOption) (*GetDataSourceIDByNameOK, error)
	GetDataSourceIDByNameWithParams(params *GetDataSourceIDByNameParams, opts ...ClientOption) (*GetDataSourceIDByNameOK, error)

	GetDataSources(opts ...ClientOption) (*GetDataSourcesOK, error)
	GetDataSourcesWithParams(params *GetDataSourcesParams, opts ...ClientOption) (*GetDataSourcesOK, error)

	UpdateDataSourceByID(id string, body *models.UpdateDataSourceCommand, opts ...ClientOption) (*UpdateDataSourceByIDOK, error)
	UpdateDataSourceByIDWithParams(params *UpdateDataSourceByIDParams, opts ...ClientOption) (*UpdateDataSourceByIDOK, error)

	UpdateDataSourceByUID(uid string, body *models.UpdateDataSourceCommand, opts ...ClientOption) (*UpdateDataSourceByUIDOK, error)
	UpdateDataSourceByUIDWithParams(params *UpdateDataSourceByUIDParams, opts ...ClientOption) (*UpdateDataSourceByUIDOK, 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 datasources API client.

type DatasourceProxyDELETEByUIDcallsAccepted

type DatasourceProxyDELETEByUIDcallsAccepted struct {
}

DatasourceProxyDELETEByUIDcallsAccepted describes a response with status code 202, with default header values.

(empty)

func NewDatasourceProxyDELETEByUIDcallsAccepted

func NewDatasourceProxyDELETEByUIDcallsAccepted() *DatasourceProxyDELETEByUIDcallsAccepted

NewDatasourceProxyDELETEByUIDcallsAccepted creates a DatasourceProxyDELETEByUIDcallsAccepted with default headers values

func (*DatasourceProxyDELETEByUIDcallsAccepted) Code

Code gets the status code for the datasource proxy d e l e t e by Ui dcalls accepted response

func (*DatasourceProxyDELETEByUIDcallsAccepted) Error

func (*DatasourceProxyDELETEByUIDcallsAccepted) IsClientError

func (o *DatasourceProxyDELETEByUIDcallsAccepted) IsClientError() bool

IsClientError returns true when this datasource proxy d e l e t e by Ui dcalls accepted response has a 4xx status code

func (*DatasourceProxyDELETEByUIDcallsAccepted) IsCode

IsCode returns true when this datasource proxy d e l e t e by Ui dcalls accepted response a status code equal to that given

func (*DatasourceProxyDELETEByUIDcallsAccepted) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t e by Ui dcalls accepted response has a 3xx status code

func (*DatasourceProxyDELETEByUIDcallsAccepted) IsServerError

func (o *DatasourceProxyDELETEByUIDcallsAccepted) IsServerError() bool

IsServerError returns true when this datasource proxy d e l e t e by Ui dcalls accepted response has a 5xx status code

func (*DatasourceProxyDELETEByUIDcallsAccepted) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t e by Ui dcalls accepted response has a 2xx status code

func (*DatasourceProxyDELETEByUIDcallsAccepted) String

type DatasourceProxyDELETEByUIDcallsBadRequest

type DatasourceProxyDELETEByUIDcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyDELETEByUIDcallsBadRequest

func NewDatasourceProxyDELETEByUIDcallsBadRequest() *DatasourceProxyDELETEByUIDcallsBadRequest

NewDatasourceProxyDELETEByUIDcallsBadRequest creates a DatasourceProxyDELETEByUIDcallsBadRequest with default headers values

func (*DatasourceProxyDELETEByUIDcallsBadRequest) Code

Code gets the status code for the datasource proxy d e l e t e by Ui dcalls bad request response

func (*DatasourceProxyDELETEByUIDcallsBadRequest) Error

func (*DatasourceProxyDELETEByUIDcallsBadRequest) GetPayload

func (*DatasourceProxyDELETEByUIDcallsBadRequest) IsClientError

IsClientError returns true when this datasource proxy d e l e t e by Ui dcalls bad request response has a 4xx status code

func (*DatasourceProxyDELETEByUIDcallsBadRequest) IsCode

IsCode returns true when this datasource proxy d e l e t e by Ui dcalls bad request response a status code equal to that given

func (*DatasourceProxyDELETEByUIDcallsBadRequest) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t e by Ui dcalls bad request response has a 3xx status code

func (*DatasourceProxyDELETEByUIDcallsBadRequest) IsServerError

IsServerError returns true when this datasource proxy d e l e t e by Ui dcalls bad request response has a 5xx status code

func (*DatasourceProxyDELETEByUIDcallsBadRequest) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t e by Ui dcalls bad request response has a 2xx status code

func (*DatasourceProxyDELETEByUIDcallsBadRequest) String

type DatasourceProxyDELETEByUIDcallsForbidden

type DatasourceProxyDELETEByUIDcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyDELETEByUIDcallsForbidden

func NewDatasourceProxyDELETEByUIDcallsForbidden() *DatasourceProxyDELETEByUIDcallsForbidden

NewDatasourceProxyDELETEByUIDcallsForbidden creates a DatasourceProxyDELETEByUIDcallsForbidden with default headers values

func (*DatasourceProxyDELETEByUIDcallsForbidden) Code

Code gets the status code for the datasource proxy d e l e t e by Ui dcalls forbidden response

func (*DatasourceProxyDELETEByUIDcallsForbidden) Error

func (*DatasourceProxyDELETEByUIDcallsForbidden) GetPayload

func (*DatasourceProxyDELETEByUIDcallsForbidden) IsClientError

IsClientError returns true when this datasource proxy d e l e t e by Ui dcalls forbidden response has a 4xx status code

func (*DatasourceProxyDELETEByUIDcallsForbidden) IsCode

IsCode returns true when this datasource proxy d e l e t e by Ui dcalls forbidden response a status code equal to that given

func (*DatasourceProxyDELETEByUIDcallsForbidden) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t e by Ui dcalls forbidden response has a 3xx status code

func (*DatasourceProxyDELETEByUIDcallsForbidden) IsServerError

IsServerError returns true when this datasource proxy d e l e t e by Ui dcalls forbidden response has a 5xx status code

func (*DatasourceProxyDELETEByUIDcallsForbidden) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t e by Ui dcalls forbidden response has a 2xx status code

func (*DatasourceProxyDELETEByUIDcallsForbidden) String

type DatasourceProxyDELETEByUIDcallsInternalServerError

type DatasourceProxyDELETEByUIDcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyDELETEByUIDcallsInternalServerError

func NewDatasourceProxyDELETEByUIDcallsInternalServerError() *DatasourceProxyDELETEByUIDcallsInternalServerError

NewDatasourceProxyDELETEByUIDcallsInternalServerError creates a DatasourceProxyDELETEByUIDcallsInternalServerError with default headers values

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) Code

Code gets the status code for the datasource proxy d e l e t e by Ui dcalls internal server error response

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) Error

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) GetPayload

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) IsClientError

IsClientError returns true when this datasource proxy d e l e t e by Ui dcalls internal server error response has a 4xx status code

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) IsCode

IsCode returns true when this datasource proxy d e l e t e by Ui dcalls internal server error response a status code equal to that given

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t e by Ui dcalls internal server error response has a 3xx status code

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) IsServerError

IsServerError returns true when this datasource proxy d e l e t e by Ui dcalls internal server error response has a 5xx status code

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t e by Ui dcalls internal server error response has a 2xx status code

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) String

type DatasourceProxyDELETEByUIDcallsNotFound

type DatasourceProxyDELETEByUIDcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyDELETEByUIDcallsNotFound

func NewDatasourceProxyDELETEByUIDcallsNotFound() *DatasourceProxyDELETEByUIDcallsNotFound

NewDatasourceProxyDELETEByUIDcallsNotFound creates a DatasourceProxyDELETEByUIDcallsNotFound with default headers values

func (*DatasourceProxyDELETEByUIDcallsNotFound) Code

Code gets the status code for the datasource proxy d e l e t e by Ui dcalls not found response

func (*DatasourceProxyDELETEByUIDcallsNotFound) Error

func (*DatasourceProxyDELETEByUIDcallsNotFound) GetPayload

func (*DatasourceProxyDELETEByUIDcallsNotFound) IsClientError

func (o *DatasourceProxyDELETEByUIDcallsNotFound) IsClientError() bool

IsClientError returns true when this datasource proxy d e l e t e by Ui dcalls not found response has a 4xx status code

func (*DatasourceProxyDELETEByUIDcallsNotFound) IsCode

IsCode returns true when this datasource proxy d e l e t e by Ui dcalls not found response a status code equal to that given

func (*DatasourceProxyDELETEByUIDcallsNotFound) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t e by Ui dcalls not found response has a 3xx status code

func (*DatasourceProxyDELETEByUIDcallsNotFound) IsServerError

func (o *DatasourceProxyDELETEByUIDcallsNotFound) IsServerError() bool

IsServerError returns true when this datasource proxy d e l e t e by Ui dcalls not found response has a 5xx status code

func (*DatasourceProxyDELETEByUIDcallsNotFound) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t e by Ui dcalls not found response has a 2xx status code

func (*DatasourceProxyDELETEByUIDcallsNotFound) String

type DatasourceProxyDELETEByUIDcallsParams

type DatasourceProxyDELETEByUIDcallsParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// UID.
	UID string

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

DatasourceProxyDELETEByUIDcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy d e l e t e by UI dcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyDELETEByUIDcallsParams

func NewDatasourceProxyDELETEByUIDcallsParams() *DatasourceProxyDELETEByUIDcallsParams

NewDatasourceProxyDELETEByUIDcallsParams creates a new DatasourceProxyDELETEByUIDcallsParams 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 NewDatasourceProxyDELETEByUIDcallsParamsWithContext

func NewDatasourceProxyDELETEByUIDcallsParamsWithContext(ctx context.Context) *DatasourceProxyDELETEByUIDcallsParams

NewDatasourceProxyDELETEByUIDcallsParamsWithContext creates a new DatasourceProxyDELETEByUIDcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyDELETEByUIDcallsParamsWithHTTPClient

func NewDatasourceProxyDELETEByUIDcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyDELETEByUIDcallsParams

NewDatasourceProxyDELETEByUIDcallsParamsWithHTTPClient creates a new DatasourceProxyDELETEByUIDcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyDELETEByUIDcallsParamsWithTimeout

func NewDatasourceProxyDELETEByUIDcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyDELETEByUIDcallsParams

NewDatasourceProxyDELETEByUIDcallsParamsWithTimeout creates a new DatasourceProxyDELETEByUIDcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyDELETEByUIDcallsParams) SetContext

SetContext adds the context to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyDELETEByUIDcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) SetDefaults

func (o *DatasourceProxyDELETEByUIDcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy d e l e t e by UI dcalls params (not the query body).

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

func (*DatasourceProxyDELETEByUIDcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) SetUID

SetUID adds the uid to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithContext

WithContext adds the context to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyDELETEByUIDcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyDELETEByUIDcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy d e l e t e by UI dcalls params (not the query body).

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

func (*DatasourceProxyDELETEByUIDcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithUID

WithUID adds the uid to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyDELETEByUIDcallsReader

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

DatasourceProxyDELETEByUIDcallsReader is a Reader for the DatasourceProxyDELETEByUIDcalls structure.

func (*DatasourceProxyDELETEByUIDcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyDELETEByUIDcallsUnauthorized

type DatasourceProxyDELETEByUIDcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyDELETEByUIDcallsUnauthorized

func NewDatasourceProxyDELETEByUIDcallsUnauthorized() *DatasourceProxyDELETEByUIDcallsUnauthorized

NewDatasourceProxyDELETEByUIDcallsUnauthorized creates a DatasourceProxyDELETEByUIDcallsUnauthorized with default headers values

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) Code

Code gets the status code for the datasource proxy d e l e t e by Ui dcalls unauthorized response

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) Error

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) GetPayload

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) IsClientError

IsClientError returns true when this datasource proxy d e l e t e by Ui dcalls unauthorized response has a 4xx status code

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) IsCode

IsCode returns true when this datasource proxy d e l e t e by Ui dcalls unauthorized response a status code equal to that given

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t e by Ui dcalls unauthorized response has a 3xx status code

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) IsServerError

IsServerError returns true when this datasource proxy d e l e t e by Ui dcalls unauthorized response has a 5xx status code

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t e by Ui dcalls unauthorized response has a 2xx status code

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) String

type DatasourceProxyDELETEcallsAccepted

type DatasourceProxyDELETEcallsAccepted struct {
}

DatasourceProxyDELETEcallsAccepted describes a response with status code 202, with default header values.

(empty)

func NewDatasourceProxyDELETEcallsAccepted

func NewDatasourceProxyDELETEcallsAccepted() *DatasourceProxyDELETEcallsAccepted

NewDatasourceProxyDELETEcallsAccepted creates a DatasourceProxyDELETEcallsAccepted with default headers values

func (*DatasourceProxyDELETEcallsAccepted) Code

Code gets the status code for the datasource proxy d e l e t ecalls accepted response

func (*DatasourceProxyDELETEcallsAccepted) Error

func (*DatasourceProxyDELETEcallsAccepted) IsClientError

func (o *DatasourceProxyDELETEcallsAccepted) IsClientError() bool

IsClientError returns true when this datasource proxy d e l e t ecalls accepted response has a 4xx status code

func (*DatasourceProxyDELETEcallsAccepted) IsCode

IsCode returns true when this datasource proxy d e l e t ecalls accepted response a status code equal to that given

func (*DatasourceProxyDELETEcallsAccepted) IsRedirect

func (o *DatasourceProxyDELETEcallsAccepted) IsRedirect() bool

IsRedirect returns true when this datasource proxy d e l e t ecalls accepted response has a 3xx status code

func (*DatasourceProxyDELETEcallsAccepted) IsServerError

func (o *DatasourceProxyDELETEcallsAccepted) IsServerError() bool

IsServerError returns true when this datasource proxy d e l e t ecalls accepted response has a 5xx status code

func (*DatasourceProxyDELETEcallsAccepted) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t ecalls accepted response has a 2xx status code

func (*DatasourceProxyDELETEcallsAccepted) String

type DatasourceProxyDELETEcallsBadRequest

type DatasourceProxyDELETEcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyDELETEcallsBadRequest

func NewDatasourceProxyDELETEcallsBadRequest() *DatasourceProxyDELETEcallsBadRequest

NewDatasourceProxyDELETEcallsBadRequest creates a DatasourceProxyDELETEcallsBadRequest with default headers values

func (*DatasourceProxyDELETEcallsBadRequest) Code

Code gets the status code for the datasource proxy d e l e t ecalls bad request response

func (*DatasourceProxyDELETEcallsBadRequest) Error

func (*DatasourceProxyDELETEcallsBadRequest) GetPayload

func (*DatasourceProxyDELETEcallsBadRequest) IsClientError

func (o *DatasourceProxyDELETEcallsBadRequest) IsClientError() bool

IsClientError returns true when this datasource proxy d e l e t ecalls bad request response has a 4xx status code

func (*DatasourceProxyDELETEcallsBadRequest) IsCode

IsCode returns true when this datasource proxy d e l e t ecalls bad request response a status code equal to that given

func (*DatasourceProxyDELETEcallsBadRequest) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t ecalls bad request response has a 3xx status code

func (*DatasourceProxyDELETEcallsBadRequest) IsServerError

func (o *DatasourceProxyDELETEcallsBadRequest) IsServerError() bool

IsServerError returns true when this datasource proxy d e l e t ecalls bad request response has a 5xx status code

func (*DatasourceProxyDELETEcallsBadRequest) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t ecalls bad request response has a 2xx status code

func (*DatasourceProxyDELETEcallsBadRequest) String

type DatasourceProxyDELETEcallsForbidden

type DatasourceProxyDELETEcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyDELETEcallsForbidden

func NewDatasourceProxyDELETEcallsForbidden() *DatasourceProxyDELETEcallsForbidden

NewDatasourceProxyDELETEcallsForbidden creates a DatasourceProxyDELETEcallsForbidden with default headers values

func (*DatasourceProxyDELETEcallsForbidden) Code

Code gets the status code for the datasource proxy d e l e t ecalls forbidden response

func (*DatasourceProxyDELETEcallsForbidden) Error

func (*DatasourceProxyDELETEcallsForbidden) GetPayload

func (*DatasourceProxyDELETEcallsForbidden) IsClientError

func (o *DatasourceProxyDELETEcallsForbidden) IsClientError() bool

IsClientError returns true when this datasource proxy d e l e t ecalls forbidden response has a 4xx status code

func (*DatasourceProxyDELETEcallsForbidden) IsCode

IsCode returns true when this datasource proxy d e l e t ecalls forbidden response a status code equal to that given

func (*DatasourceProxyDELETEcallsForbidden) IsRedirect

func (o *DatasourceProxyDELETEcallsForbidden) IsRedirect() bool

IsRedirect returns true when this datasource proxy d e l e t ecalls forbidden response has a 3xx status code

func (*DatasourceProxyDELETEcallsForbidden) IsServerError

func (o *DatasourceProxyDELETEcallsForbidden) IsServerError() bool

IsServerError returns true when this datasource proxy d e l e t ecalls forbidden response has a 5xx status code

func (*DatasourceProxyDELETEcallsForbidden) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t ecalls forbidden response has a 2xx status code

func (*DatasourceProxyDELETEcallsForbidden) String

type DatasourceProxyDELETEcallsInternalServerError

type DatasourceProxyDELETEcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyDELETEcallsInternalServerError

func NewDatasourceProxyDELETEcallsInternalServerError() *DatasourceProxyDELETEcallsInternalServerError

NewDatasourceProxyDELETEcallsInternalServerError creates a DatasourceProxyDELETEcallsInternalServerError with default headers values

func (*DatasourceProxyDELETEcallsInternalServerError) Code

Code gets the status code for the datasource proxy d e l e t ecalls internal server error response

func (*DatasourceProxyDELETEcallsInternalServerError) Error

func (*DatasourceProxyDELETEcallsInternalServerError) GetPayload

func (*DatasourceProxyDELETEcallsInternalServerError) IsClientError

IsClientError returns true when this datasource proxy d e l e t ecalls internal server error response has a 4xx status code

func (*DatasourceProxyDELETEcallsInternalServerError) IsCode

IsCode returns true when this datasource proxy d e l e t ecalls internal server error response a status code equal to that given

func (*DatasourceProxyDELETEcallsInternalServerError) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t ecalls internal server error response has a 3xx status code

func (*DatasourceProxyDELETEcallsInternalServerError) IsServerError

IsServerError returns true when this datasource proxy d e l e t ecalls internal server error response has a 5xx status code

func (*DatasourceProxyDELETEcallsInternalServerError) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t ecalls internal server error response has a 2xx status code

func (*DatasourceProxyDELETEcallsInternalServerError) String

type DatasourceProxyDELETEcallsNotFound

type DatasourceProxyDELETEcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyDELETEcallsNotFound

func NewDatasourceProxyDELETEcallsNotFound() *DatasourceProxyDELETEcallsNotFound

NewDatasourceProxyDELETEcallsNotFound creates a DatasourceProxyDELETEcallsNotFound with default headers values

func (*DatasourceProxyDELETEcallsNotFound) Code

Code gets the status code for the datasource proxy d e l e t ecalls not found response

func (*DatasourceProxyDELETEcallsNotFound) Error

func (*DatasourceProxyDELETEcallsNotFound) GetPayload

func (*DatasourceProxyDELETEcallsNotFound) IsClientError

func (o *DatasourceProxyDELETEcallsNotFound) IsClientError() bool

IsClientError returns true when this datasource proxy d e l e t ecalls not found response has a 4xx status code

func (*DatasourceProxyDELETEcallsNotFound) IsCode

IsCode returns true when this datasource proxy d e l e t ecalls not found response a status code equal to that given

func (*DatasourceProxyDELETEcallsNotFound) IsRedirect

func (o *DatasourceProxyDELETEcallsNotFound) IsRedirect() bool

IsRedirect returns true when this datasource proxy d e l e t ecalls not found response has a 3xx status code

func (*DatasourceProxyDELETEcallsNotFound) IsServerError

func (o *DatasourceProxyDELETEcallsNotFound) IsServerError() bool

IsServerError returns true when this datasource proxy d e l e t ecalls not found response has a 5xx status code

func (*DatasourceProxyDELETEcallsNotFound) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t ecalls not found response has a 2xx status code

func (*DatasourceProxyDELETEcallsNotFound) String

type DatasourceProxyDELETEcallsParams

type DatasourceProxyDELETEcallsParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// ID.
	ID string

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

DatasourceProxyDELETEcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy d e l e t ecalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyDELETEcallsParams

func NewDatasourceProxyDELETEcallsParams() *DatasourceProxyDELETEcallsParams

NewDatasourceProxyDELETEcallsParams creates a new DatasourceProxyDELETEcallsParams 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 NewDatasourceProxyDELETEcallsParamsWithContext

func NewDatasourceProxyDELETEcallsParamsWithContext(ctx context.Context) *DatasourceProxyDELETEcallsParams

NewDatasourceProxyDELETEcallsParamsWithContext creates a new DatasourceProxyDELETEcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyDELETEcallsParamsWithHTTPClient

func NewDatasourceProxyDELETEcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyDELETEcallsParams

NewDatasourceProxyDELETEcallsParamsWithHTTPClient creates a new DatasourceProxyDELETEcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyDELETEcallsParamsWithTimeout

func NewDatasourceProxyDELETEcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyDELETEcallsParams

NewDatasourceProxyDELETEcallsParamsWithTimeout creates a new DatasourceProxyDELETEcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyDELETEcallsParams) SetContext

SetContext adds the context to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyDELETEcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) SetDefaults

func (o *DatasourceProxyDELETEcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy d e l e t ecalls params (not the query body).

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

func (*DatasourceProxyDELETEcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) SetID

SetID adds the id to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithContext

WithContext adds the context to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyDELETEcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyDELETEcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy d e l e t ecalls params (not the query body).

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

func (*DatasourceProxyDELETEcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithID

WithID adds the id to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyDELETEcallsReader

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

DatasourceProxyDELETEcallsReader is a Reader for the DatasourceProxyDELETEcalls structure.

func (*DatasourceProxyDELETEcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyDELETEcallsUnauthorized

type DatasourceProxyDELETEcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyDELETEcallsUnauthorized

func NewDatasourceProxyDELETEcallsUnauthorized() *DatasourceProxyDELETEcallsUnauthorized

NewDatasourceProxyDELETEcallsUnauthorized creates a DatasourceProxyDELETEcallsUnauthorized with default headers values

func (*DatasourceProxyDELETEcallsUnauthorized) Code

Code gets the status code for the datasource proxy d e l e t ecalls unauthorized response

func (*DatasourceProxyDELETEcallsUnauthorized) Error

func (*DatasourceProxyDELETEcallsUnauthorized) GetPayload

func (*DatasourceProxyDELETEcallsUnauthorized) IsClientError

func (o *DatasourceProxyDELETEcallsUnauthorized) IsClientError() bool

IsClientError returns true when this datasource proxy d e l e t ecalls unauthorized response has a 4xx status code

func (*DatasourceProxyDELETEcallsUnauthorized) IsCode

IsCode returns true when this datasource proxy d e l e t ecalls unauthorized response a status code equal to that given

func (*DatasourceProxyDELETEcallsUnauthorized) IsRedirect

IsRedirect returns true when this datasource proxy d e l e t ecalls unauthorized response has a 3xx status code

func (*DatasourceProxyDELETEcallsUnauthorized) IsServerError

func (o *DatasourceProxyDELETEcallsUnauthorized) IsServerError() bool

IsServerError returns true when this datasource proxy d e l e t ecalls unauthorized response has a 5xx status code

func (*DatasourceProxyDELETEcallsUnauthorized) IsSuccess

IsSuccess returns true when this datasource proxy d e l e t ecalls unauthorized response has a 2xx status code

func (*DatasourceProxyDELETEcallsUnauthorized) String

type DatasourceProxyGETByUIDcallsBadRequest

type DatasourceProxyGETByUIDcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyGETByUIDcallsBadRequest

func NewDatasourceProxyGETByUIDcallsBadRequest() *DatasourceProxyGETByUIDcallsBadRequest

NewDatasourceProxyGETByUIDcallsBadRequest creates a DatasourceProxyGETByUIDcallsBadRequest with default headers values

func (*DatasourceProxyGETByUIDcallsBadRequest) Code

Code gets the status code for the datasource proxy g e t by Ui dcalls bad request response

func (*DatasourceProxyGETByUIDcallsBadRequest) Error

func (*DatasourceProxyGETByUIDcallsBadRequest) GetPayload

func (*DatasourceProxyGETByUIDcallsBadRequest) IsClientError

func (o *DatasourceProxyGETByUIDcallsBadRequest) IsClientError() bool

IsClientError returns true when this datasource proxy g e t by Ui dcalls bad request response has a 4xx status code

func (*DatasourceProxyGETByUIDcallsBadRequest) IsCode

IsCode returns true when this datasource proxy g e t by Ui dcalls bad request response a status code equal to that given

func (*DatasourceProxyGETByUIDcallsBadRequest) IsRedirect

IsRedirect returns true when this datasource proxy g e t by Ui dcalls bad request response has a 3xx status code

func (*DatasourceProxyGETByUIDcallsBadRequest) IsServerError

func (o *DatasourceProxyGETByUIDcallsBadRequest) IsServerError() bool

IsServerError returns true when this datasource proxy g e t by Ui dcalls bad request response has a 5xx status code

func (*DatasourceProxyGETByUIDcallsBadRequest) IsSuccess

IsSuccess returns true when this datasource proxy g e t by Ui dcalls bad request response has a 2xx status code

func (*DatasourceProxyGETByUIDcallsBadRequest) String

type DatasourceProxyGETByUIDcallsForbidden

type DatasourceProxyGETByUIDcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyGETByUIDcallsForbidden

func NewDatasourceProxyGETByUIDcallsForbidden() *DatasourceProxyGETByUIDcallsForbidden

NewDatasourceProxyGETByUIDcallsForbidden creates a DatasourceProxyGETByUIDcallsForbidden with default headers values

func (*DatasourceProxyGETByUIDcallsForbidden) Code

Code gets the status code for the datasource proxy g e t by Ui dcalls forbidden response

func (*DatasourceProxyGETByUIDcallsForbidden) Error

func (*DatasourceProxyGETByUIDcallsForbidden) GetPayload

func (*DatasourceProxyGETByUIDcallsForbidden) IsClientError

func (o *DatasourceProxyGETByUIDcallsForbidden) IsClientError() bool

IsClientError returns true when this datasource proxy g e t by Ui dcalls forbidden response has a 4xx status code

func (*DatasourceProxyGETByUIDcallsForbidden) IsCode

IsCode returns true when this datasource proxy g e t by Ui dcalls forbidden response a status code equal to that given

func (*DatasourceProxyGETByUIDcallsForbidden) IsRedirect

IsRedirect returns true when this datasource proxy g e t by Ui dcalls forbidden response has a 3xx status code

func (*DatasourceProxyGETByUIDcallsForbidden) IsServerError

func (o *DatasourceProxyGETByUIDcallsForbidden) IsServerError() bool

IsServerError returns true when this datasource proxy g e t by Ui dcalls forbidden response has a 5xx status code

func (*DatasourceProxyGETByUIDcallsForbidden) IsSuccess

IsSuccess returns true when this datasource proxy g e t by Ui dcalls forbidden response has a 2xx status code

func (*DatasourceProxyGETByUIDcallsForbidden) String

type DatasourceProxyGETByUIDcallsInternalServerError

type DatasourceProxyGETByUIDcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyGETByUIDcallsInternalServerError

func NewDatasourceProxyGETByUIDcallsInternalServerError() *DatasourceProxyGETByUIDcallsInternalServerError

NewDatasourceProxyGETByUIDcallsInternalServerError creates a DatasourceProxyGETByUIDcallsInternalServerError with default headers values

func (*DatasourceProxyGETByUIDcallsInternalServerError) Code

Code gets the status code for the datasource proxy g e t by Ui dcalls internal server error response

func (*DatasourceProxyGETByUIDcallsInternalServerError) Error

func (*DatasourceProxyGETByUIDcallsInternalServerError) GetPayload

func (*DatasourceProxyGETByUIDcallsInternalServerError) IsClientError

IsClientError returns true when this datasource proxy g e t by Ui dcalls internal server error response has a 4xx status code

func (*DatasourceProxyGETByUIDcallsInternalServerError) IsCode

IsCode returns true when this datasource proxy g e t by Ui dcalls internal server error response a status code equal to that given

func (*DatasourceProxyGETByUIDcallsInternalServerError) IsRedirect

IsRedirect returns true when this datasource proxy g e t by Ui dcalls internal server error response has a 3xx status code

func (*DatasourceProxyGETByUIDcallsInternalServerError) IsServerError

IsServerError returns true when this datasource proxy g e t by Ui dcalls internal server error response has a 5xx status code

func (*DatasourceProxyGETByUIDcallsInternalServerError) IsSuccess

IsSuccess returns true when this datasource proxy g e t by Ui dcalls internal server error response has a 2xx status code

func (*DatasourceProxyGETByUIDcallsInternalServerError) String

type DatasourceProxyGETByUIDcallsNotFound

type DatasourceProxyGETByUIDcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyGETByUIDcallsNotFound

func NewDatasourceProxyGETByUIDcallsNotFound() *DatasourceProxyGETByUIDcallsNotFound

NewDatasourceProxyGETByUIDcallsNotFound creates a DatasourceProxyGETByUIDcallsNotFound with default headers values

func (*DatasourceProxyGETByUIDcallsNotFound) Code

Code gets the status code for the datasource proxy g e t by Ui dcalls not found response

func (*DatasourceProxyGETByUIDcallsNotFound) Error

func (*DatasourceProxyGETByUIDcallsNotFound) GetPayload

func (*DatasourceProxyGETByUIDcallsNotFound) IsClientError

func (o *DatasourceProxyGETByUIDcallsNotFound) IsClientError() bool

IsClientError returns true when this datasource proxy g e t by Ui dcalls not found response has a 4xx status code

func (*DatasourceProxyGETByUIDcallsNotFound) IsCode

IsCode returns true when this datasource proxy g e t by Ui dcalls not found response a status code equal to that given

func (*DatasourceProxyGETByUIDcallsNotFound) IsRedirect

IsRedirect returns true when this datasource proxy g e t by Ui dcalls not found response has a 3xx status code

func (*DatasourceProxyGETByUIDcallsNotFound) IsServerError

func (o *DatasourceProxyGETByUIDcallsNotFound) IsServerError() bool

IsServerError returns true when this datasource proxy g e t by Ui dcalls not found response has a 5xx status code

func (*DatasourceProxyGETByUIDcallsNotFound) IsSuccess

IsSuccess returns true when this datasource proxy g e t by Ui dcalls not found response has a 2xx status code

func (*DatasourceProxyGETByUIDcallsNotFound) String

type DatasourceProxyGETByUIDcallsOK

type DatasourceProxyGETByUIDcallsOK struct {
}

DatasourceProxyGETByUIDcallsOK describes a response with status code 200, with default header values.

(empty)

func NewDatasourceProxyGETByUIDcallsOK

func NewDatasourceProxyGETByUIDcallsOK() *DatasourceProxyGETByUIDcallsOK

NewDatasourceProxyGETByUIDcallsOK creates a DatasourceProxyGETByUIDcallsOK with default headers values

func (*DatasourceProxyGETByUIDcallsOK) Code

Code gets the status code for the datasource proxy g e t by Ui dcalls Ok response

func (*DatasourceProxyGETByUIDcallsOK) Error

func (*DatasourceProxyGETByUIDcallsOK) IsClientError

func (o *DatasourceProxyGETByUIDcallsOK) IsClientError() bool

IsClientError returns true when this datasource proxy g e t by Ui dcalls Ok response has a 4xx status code

func (*DatasourceProxyGETByUIDcallsOK) IsCode

func (o *DatasourceProxyGETByUIDcallsOK) IsCode(code int) bool

IsCode returns true when this datasource proxy g e t by Ui dcalls Ok response a status code equal to that given

func (*DatasourceProxyGETByUIDcallsOK) IsRedirect

func (o *DatasourceProxyGETByUIDcallsOK) IsRedirect() bool

IsRedirect returns true when this datasource proxy g e t by Ui dcalls Ok response has a 3xx status code

func (*DatasourceProxyGETByUIDcallsOK) IsServerError

func (o *DatasourceProxyGETByUIDcallsOK) IsServerError() bool

IsServerError returns true when this datasource proxy g e t by Ui dcalls Ok response has a 5xx status code

func (*DatasourceProxyGETByUIDcallsOK) IsSuccess

func (o *DatasourceProxyGETByUIDcallsOK) IsSuccess() bool

IsSuccess returns true when this datasource proxy g e t by Ui dcalls Ok response has a 2xx status code

func (*DatasourceProxyGETByUIDcallsOK) String

type DatasourceProxyGETByUIDcallsParams

type DatasourceProxyGETByUIDcallsParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// UID.
	UID string

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

DatasourceProxyGETByUIDcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy g e t by UI dcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyGETByUIDcallsParams

func NewDatasourceProxyGETByUIDcallsParams() *DatasourceProxyGETByUIDcallsParams

NewDatasourceProxyGETByUIDcallsParams creates a new DatasourceProxyGETByUIDcallsParams 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 NewDatasourceProxyGETByUIDcallsParamsWithContext

func NewDatasourceProxyGETByUIDcallsParamsWithContext(ctx context.Context) *DatasourceProxyGETByUIDcallsParams

NewDatasourceProxyGETByUIDcallsParamsWithContext creates a new DatasourceProxyGETByUIDcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyGETByUIDcallsParamsWithHTTPClient

func NewDatasourceProxyGETByUIDcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyGETByUIDcallsParams

NewDatasourceProxyGETByUIDcallsParamsWithHTTPClient creates a new DatasourceProxyGETByUIDcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyGETByUIDcallsParamsWithTimeout

func NewDatasourceProxyGETByUIDcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyGETByUIDcallsParams

NewDatasourceProxyGETByUIDcallsParamsWithTimeout creates a new DatasourceProxyGETByUIDcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyGETByUIDcallsParams) SetContext

SetContext adds the context to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyGETByUIDcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) SetDefaults

func (o *DatasourceProxyGETByUIDcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy g e t by UI dcalls params (not the query body).

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

func (*DatasourceProxyGETByUIDcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) SetUID

SetUID adds the uid to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithContext

WithContext adds the context to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyGETByUIDcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyGETByUIDcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy g e t by UI dcalls params (not the query body).

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

func (*DatasourceProxyGETByUIDcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithUID

WithUID adds the uid to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyGETByUIDcallsReader

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

DatasourceProxyGETByUIDcallsReader is a Reader for the DatasourceProxyGETByUIDcalls structure.

func (*DatasourceProxyGETByUIDcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyGETByUIDcallsUnauthorized

type DatasourceProxyGETByUIDcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyGETByUIDcallsUnauthorized

func NewDatasourceProxyGETByUIDcallsUnauthorized() *DatasourceProxyGETByUIDcallsUnauthorized

NewDatasourceProxyGETByUIDcallsUnauthorized creates a DatasourceProxyGETByUIDcallsUnauthorized with default headers values

func (*DatasourceProxyGETByUIDcallsUnauthorized) Code

Code gets the status code for the datasource proxy g e t by Ui dcalls unauthorized response

func (*DatasourceProxyGETByUIDcallsUnauthorized) Error

func (*DatasourceProxyGETByUIDcallsUnauthorized) GetPayload

func (*DatasourceProxyGETByUIDcallsUnauthorized) IsClientError

IsClientError returns true when this datasource proxy g e t by Ui dcalls unauthorized response has a 4xx status code

func (*DatasourceProxyGETByUIDcallsUnauthorized) IsCode

IsCode returns true when this datasource proxy g e t by Ui dcalls unauthorized response a status code equal to that given

func (*DatasourceProxyGETByUIDcallsUnauthorized) IsRedirect

IsRedirect returns true when this datasource proxy g e t by Ui dcalls unauthorized response has a 3xx status code

func (*DatasourceProxyGETByUIDcallsUnauthorized) IsServerError

IsServerError returns true when this datasource proxy g e t by Ui dcalls unauthorized response has a 5xx status code

func (*DatasourceProxyGETByUIDcallsUnauthorized) IsSuccess

IsSuccess returns true when this datasource proxy g e t by Ui dcalls unauthorized response has a 2xx status code

func (*DatasourceProxyGETByUIDcallsUnauthorized) String

type DatasourceProxyGETcallsBadRequest

type DatasourceProxyGETcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyGETcallsBadRequest

func NewDatasourceProxyGETcallsBadRequest() *DatasourceProxyGETcallsBadRequest

NewDatasourceProxyGETcallsBadRequest creates a DatasourceProxyGETcallsBadRequest with default headers values

func (*DatasourceProxyGETcallsBadRequest) Code

Code gets the status code for the datasource proxy g e tcalls bad request response

func (*DatasourceProxyGETcallsBadRequest) Error

func (*DatasourceProxyGETcallsBadRequest) GetPayload

func (*DatasourceProxyGETcallsBadRequest) IsClientError

func (o *DatasourceProxyGETcallsBadRequest) IsClientError() bool

IsClientError returns true when this datasource proxy g e tcalls bad request response has a 4xx status code

func (*DatasourceProxyGETcallsBadRequest) IsCode

func (o *DatasourceProxyGETcallsBadRequest) IsCode(code int) bool

IsCode returns true when this datasource proxy g e tcalls bad request response a status code equal to that given

func (*DatasourceProxyGETcallsBadRequest) IsRedirect

func (o *DatasourceProxyGETcallsBadRequest) IsRedirect() bool

IsRedirect returns true when this datasource proxy g e tcalls bad request response has a 3xx status code

func (*DatasourceProxyGETcallsBadRequest) IsServerError

func (o *DatasourceProxyGETcallsBadRequest) IsServerError() bool

IsServerError returns true when this datasource proxy g e tcalls bad request response has a 5xx status code

func (*DatasourceProxyGETcallsBadRequest) IsSuccess

func (o *DatasourceProxyGETcallsBadRequest) IsSuccess() bool

IsSuccess returns true when this datasource proxy g e tcalls bad request response has a 2xx status code

func (*DatasourceProxyGETcallsBadRequest) String

type DatasourceProxyGETcallsForbidden

type DatasourceProxyGETcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyGETcallsForbidden

func NewDatasourceProxyGETcallsForbidden() *DatasourceProxyGETcallsForbidden

NewDatasourceProxyGETcallsForbidden creates a DatasourceProxyGETcallsForbidden with default headers values

func (*DatasourceProxyGETcallsForbidden) Code

Code gets the status code for the datasource proxy g e tcalls forbidden response

func (*DatasourceProxyGETcallsForbidden) Error

func (*DatasourceProxyGETcallsForbidden) GetPayload

func (*DatasourceProxyGETcallsForbidden) IsClientError

func (o *DatasourceProxyGETcallsForbidden) IsClientError() bool

IsClientError returns true when this datasource proxy g e tcalls forbidden response has a 4xx status code

func (*DatasourceProxyGETcallsForbidden) IsCode

func (o *DatasourceProxyGETcallsForbidden) IsCode(code int) bool

IsCode returns true when this datasource proxy g e tcalls forbidden response a status code equal to that given

func (*DatasourceProxyGETcallsForbidden) IsRedirect

func (o *DatasourceProxyGETcallsForbidden) IsRedirect() bool

IsRedirect returns true when this datasource proxy g e tcalls forbidden response has a 3xx status code

func (*DatasourceProxyGETcallsForbidden) IsServerError

func (o *DatasourceProxyGETcallsForbidden) IsServerError() bool

IsServerError returns true when this datasource proxy g e tcalls forbidden response has a 5xx status code

func (*DatasourceProxyGETcallsForbidden) IsSuccess

func (o *DatasourceProxyGETcallsForbidden) IsSuccess() bool

IsSuccess returns true when this datasource proxy g e tcalls forbidden response has a 2xx status code

func (*DatasourceProxyGETcallsForbidden) String

type DatasourceProxyGETcallsInternalServerError

type DatasourceProxyGETcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyGETcallsInternalServerError

func NewDatasourceProxyGETcallsInternalServerError() *DatasourceProxyGETcallsInternalServerError

NewDatasourceProxyGETcallsInternalServerError creates a DatasourceProxyGETcallsInternalServerError with default headers values

func (*DatasourceProxyGETcallsInternalServerError) Code

Code gets the status code for the datasource proxy g e tcalls internal server error response

func (*DatasourceProxyGETcallsInternalServerError) Error

func (*DatasourceProxyGETcallsInternalServerError) GetPayload

func (*DatasourceProxyGETcallsInternalServerError) IsClientError

IsClientError returns true when this datasource proxy g e tcalls internal server error response has a 4xx status code

func (*DatasourceProxyGETcallsInternalServerError) IsCode

IsCode returns true when this datasource proxy g e tcalls internal server error response a status code equal to that given

func (*DatasourceProxyGETcallsInternalServerError) IsRedirect

IsRedirect returns true when this datasource proxy g e tcalls internal server error response has a 3xx status code

func (*DatasourceProxyGETcallsInternalServerError) IsServerError

IsServerError returns true when this datasource proxy g e tcalls internal server error response has a 5xx status code

func (*DatasourceProxyGETcallsInternalServerError) IsSuccess

IsSuccess returns true when this datasource proxy g e tcalls internal server error response has a 2xx status code

func (*DatasourceProxyGETcallsInternalServerError) String

type DatasourceProxyGETcallsNotFound

type DatasourceProxyGETcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyGETcallsNotFound

func NewDatasourceProxyGETcallsNotFound() *DatasourceProxyGETcallsNotFound

NewDatasourceProxyGETcallsNotFound creates a DatasourceProxyGETcallsNotFound with default headers values

func (*DatasourceProxyGETcallsNotFound) Code

Code gets the status code for the datasource proxy g e tcalls not found response

func (*DatasourceProxyGETcallsNotFound) Error

func (*DatasourceProxyGETcallsNotFound) GetPayload

func (*DatasourceProxyGETcallsNotFound) IsClientError

func (o *DatasourceProxyGETcallsNotFound) IsClientError() bool

IsClientError returns true when this datasource proxy g e tcalls not found response has a 4xx status code

func (*DatasourceProxyGETcallsNotFound) IsCode

func (o *DatasourceProxyGETcallsNotFound) IsCode(code int) bool

IsCode returns true when this datasource proxy g e tcalls not found response a status code equal to that given

func (*DatasourceProxyGETcallsNotFound) IsRedirect

func (o *DatasourceProxyGETcallsNotFound) IsRedirect() bool

IsRedirect returns true when this datasource proxy g e tcalls not found response has a 3xx status code

func (*DatasourceProxyGETcallsNotFound) IsServerError

func (o *DatasourceProxyGETcallsNotFound) IsServerError() bool

IsServerError returns true when this datasource proxy g e tcalls not found response has a 5xx status code

func (*DatasourceProxyGETcallsNotFound) IsSuccess

func (o *DatasourceProxyGETcallsNotFound) IsSuccess() bool

IsSuccess returns true when this datasource proxy g e tcalls not found response has a 2xx status code

func (*DatasourceProxyGETcallsNotFound) String

type DatasourceProxyGETcallsOK

type DatasourceProxyGETcallsOK struct {
}

DatasourceProxyGETcallsOK describes a response with status code 200, with default header values.

(empty)

func NewDatasourceProxyGETcallsOK

func NewDatasourceProxyGETcallsOK() *DatasourceProxyGETcallsOK

NewDatasourceProxyGETcallsOK creates a DatasourceProxyGETcallsOK with default headers values

func (*DatasourceProxyGETcallsOK) Code

func (o *DatasourceProxyGETcallsOK) Code() int

Code gets the status code for the datasource proxy g e tcalls Ok response

func (*DatasourceProxyGETcallsOK) Error

func (o *DatasourceProxyGETcallsOK) Error() string

func (*DatasourceProxyGETcallsOK) IsClientError

func (o *DatasourceProxyGETcallsOK) IsClientError() bool

IsClientError returns true when this datasource proxy g e tcalls Ok response has a 4xx status code

func (*DatasourceProxyGETcallsOK) IsCode

func (o *DatasourceProxyGETcallsOK) IsCode(code int) bool

IsCode returns true when this datasource proxy g e tcalls Ok response a status code equal to that given

func (*DatasourceProxyGETcallsOK) IsRedirect

func (o *DatasourceProxyGETcallsOK) IsRedirect() bool

IsRedirect returns true when this datasource proxy g e tcalls Ok response has a 3xx status code

func (*DatasourceProxyGETcallsOK) IsServerError

func (o *DatasourceProxyGETcallsOK) IsServerError() bool

IsServerError returns true when this datasource proxy g e tcalls Ok response has a 5xx status code

func (*DatasourceProxyGETcallsOK) IsSuccess

func (o *DatasourceProxyGETcallsOK) IsSuccess() bool

IsSuccess returns true when this datasource proxy g e tcalls Ok response has a 2xx status code

func (*DatasourceProxyGETcallsOK) String

func (o *DatasourceProxyGETcallsOK) String() string

type DatasourceProxyGETcallsParams

type DatasourceProxyGETcallsParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// ID.
	ID string

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

DatasourceProxyGETcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy g e tcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyGETcallsParams

func NewDatasourceProxyGETcallsParams() *DatasourceProxyGETcallsParams

NewDatasourceProxyGETcallsParams creates a new DatasourceProxyGETcallsParams 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 NewDatasourceProxyGETcallsParamsWithContext

func NewDatasourceProxyGETcallsParamsWithContext(ctx context.Context) *DatasourceProxyGETcallsParams

NewDatasourceProxyGETcallsParamsWithContext creates a new DatasourceProxyGETcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyGETcallsParamsWithHTTPClient

func NewDatasourceProxyGETcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyGETcallsParams

NewDatasourceProxyGETcallsParamsWithHTTPClient creates a new DatasourceProxyGETcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyGETcallsParamsWithTimeout

func NewDatasourceProxyGETcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyGETcallsParams

NewDatasourceProxyGETcallsParamsWithTimeout creates a new DatasourceProxyGETcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyGETcallsParams) SetContext

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

SetContext adds the context to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyGETcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) SetDefaults

func (o *DatasourceProxyGETcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy g e tcalls params (not the query body).

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

func (*DatasourceProxyGETcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) SetID

SetID adds the id to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithContext

WithContext adds the context to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyGETcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyGETcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy g e tcalls params (not the query body).

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

func (*DatasourceProxyGETcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithID

WithID adds the id to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyGETcallsReader

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

DatasourceProxyGETcallsReader is a Reader for the DatasourceProxyGETcalls structure.

func (*DatasourceProxyGETcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyGETcallsUnauthorized

type DatasourceProxyGETcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyGETcallsUnauthorized

func NewDatasourceProxyGETcallsUnauthorized() *DatasourceProxyGETcallsUnauthorized

NewDatasourceProxyGETcallsUnauthorized creates a DatasourceProxyGETcallsUnauthorized with default headers values

func (*DatasourceProxyGETcallsUnauthorized) Code

Code gets the status code for the datasource proxy g e tcalls unauthorized response

func (*DatasourceProxyGETcallsUnauthorized) Error

func (*DatasourceProxyGETcallsUnauthorized) GetPayload

func (*DatasourceProxyGETcallsUnauthorized) IsClientError

func (o *DatasourceProxyGETcallsUnauthorized) IsClientError() bool

IsClientError returns true when this datasource proxy g e tcalls unauthorized response has a 4xx status code

func (*DatasourceProxyGETcallsUnauthorized) IsCode

IsCode returns true when this datasource proxy g e tcalls unauthorized response a status code equal to that given

func (*DatasourceProxyGETcallsUnauthorized) IsRedirect

func (o *DatasourceProxyGETcallsUnauthorized) IsRedirect() bool

IsRedirect returns true when this datasource proxy g e tcalls unauthorized response has a 3xx status code

func (*DatasourceProxyGETcallsUnauthorized) IsServerError

func (o *DatasourceProxyGETcallsUnauthorized) IsServerError() bool

IsServerError returns true when this datasource proxy g e tcalls unauthorized response has a 5xx status code

func (*DatasourceProxyGETcallsUnauthorized) IsSuccess

IsSuccess returns true when this datasource proxy g e tcalls unauthorized response has a 2xx status code

func (*DatasourceProxyGETcallsUnauthorized) String

type DatasourceProxyPOSTByUIDcallsAccepted

type DatasourceProxyPOSTByUIDcallsAccepted struct {
}

DatasourceProxyPOSTByUIDcallsAccepted describes a response with status code 202, with default header values.

(empty)

func NewDatasourceProxyPOSTByUIDcallsAccepted

func NewDatasourceProxyPOSTByUIDcallsAccepted() *DatasourceProxyPOSTByUIDcallsAccepted

NewDatasourceProxyPOSTByUIDcallsAccepted creates a DatasourceProxyPOSTByUIDcallsAccepted with default headers values

func (*DatasourceProxyPOSTByUIDcallsAccepted) Code

Code gets the status code for the datasource proxy p o s t by Ui dcalls accepted response

func (*DatasourceProxyPOSTByUIDcallsAccepted) Error

func (*DatasourceProxyPOSTByUIDcallsAccepted) IsClientError

func (o *DatasourceProxyPOSTByUIDcallsAccepted) IsClientError() bool

IsClientError returns true when this datasource proxy p o s t by Ui dcalls accepted response has a 4xx status code

func (*DatasourceProxyPOSTByUIDcallsAccepted) IsCode

IsCode returns true when this datasource proxy p o s t by Ui dcalls accepted response a status code equal to that given

func (*DatasourceProxyPOSTByUIDcallsAccepted) IsRedirect

IsRedirect returns true when this datasource proxy p o s t by Ui dcalls accepted response has a 3xx status code

func (*DatasourceProxyPOSTByUIDcallsAccepted) IsServerError

func (o *DatasourceProxyPOSTByUIDcallsAccepted) IsServerError() bool

IsServerError returns true when this datasource proxy p o s t by Ui dcalls accepted response has a 5xx status code

func (*DatasourceProxyPOSTByUIDcallsAccepted) IsSuccess

IsSuccess returns true when this datasource proxy p o s t by Ui dcalls accepted response has a 2xx status code

func (*DatasourceProxyPOSTByUIDcallsAccepted) String

type DatasourceProxyPOSTByUIDcallsBadRequest

type DatasourceProxyPOSTByUIDcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyPOSTByUIDcallsBadRequest

func NewDatasourceProxyPOSTByUIDcallsBadRequest() *DatasourceProxyPOSTByUIDcallsBadRequest

NewDatasourceProxyPOSTByUIDcallsBadRequest creates a DatasourceProxyPOSTByUIDcallsBadRequest with default headers values

func (*DatasourceProxyPOSTByUIDcallsBadRequest) Code

Code gets the status code for the datasource proxy p o s t by Ui dcalls bad request response

func (*DatasourceProxyPOSTByUIDcallsBadRequest) Error

func (*DatasourceProxyPOSTByUIDcallsBadRequest) GetPayload

func (*DatasourceProxyPOSTByUIDcallsBadRequest) IsClientError

func (o *DatasourceProxyPOSTByUIDcallsBadRequest) IsClientError() bool

IsClientError returns true when this datasource proxy p o s t by Ui dcalls bad request response has a 4xx status code

func (*DatasourceProxyPOSTByUIDcallsBadRequest) IsCode

IsCode returns true when this datasource proxy p o s t by Ui dcalls bad request response a status code equal to that given

func (*DatasourceProxyPOSTByUIDcallsBadRequest) IsRedirect

IsRedirect returns true when this datasource proxy p o s t by Ui dcalls bad request response has a 3xx status code

func (*DatasourceProxyPOSTByUIDcallsBadRequest) IsServerError

func (o *DatasourceProxyPOSTByUIDcallsBadRequest) IsServerError() bool

IsServerError returns true when this datasource proxy p o s t by Ui dcalls bad request response has a 5xx status code

func (*DatasourceProxyPOSTByUIDcallsBadRequest) IsSuccess

IsSuccess returns true when this datasource proxy p o s t by Ui dcalls bad request response has a 2xx status code

func (*DatasourceProxyPOSTByUIDcallsBadRequest) String

type DatasourceProxyPOSTByUIDcallsCreated

type DatasourceProxyPOSTByUIDcallsCreated struct {
}

DatasourceProxyPOSTByUIDcallsCreated describes a response with status code 201, with default header values.

(empty)

func NewDatasourceProxyPOSTByUIDcallsCreated

func NewDatasourceProxyPOSTByUIDcallsCreated() *DatasourceProxyPOSTByUIDcallsCreated

NewDatasourceProxyPOSTByUIDcallsCreated creates a DatasourceProxyPOSTByUIDcallsCreated with default headers values

func (*DatasourceProxyPOSTByUIDcallsCreated) Code

Code gets the status code for the datasource proxy p o s t by Ui dcalls created response

func (*DatasourceProxyPOSTByUIDcallsCreated) Error

func (*DatasourceProxyPOSTByUIDcallsCreated) IsClientError

func (o *DatasourceProxyPOSTByUIDcallsCreated) IsClientError() bool

IsClientError returns true when this datasource proxy p o s t by Ui dcalls created response has a 4xx status code

func (*DatasourceProxyPOSTByUIDcallsCreated) IsCode

IsCode returns true when this datasource proxy p o s t by Ui dcalls created response a status code equal to that given

func (*DatasourceProxyPOSTByUIDcallsCreated) IsRedirect

IsRedirect returns true when this datasource proxy p o s t by Ui dcalls created response has a 3xx status code

func (*DatasourceProxyPOSTByUIDcallsCreated) IsServerError

func (o *DatasourceProxyPOSTByUIDcallsCreated) IsServerError() bool

IsServerError returns true when this datasource proxy p o s t by Ui dcalls created response has a 5xx status code

func (*DatasourceProxyPOSTByUIDcallsCreated) IsSuccess

IsSuccess returns true when this datasource proxy p o s t by Ui dcalls created response has a 2xx status code

func (*DatasourceProxyPOSTByUIDcallsCreated) String

type DatasourceProxyPOSTByUIDcallsForbidden

type DatasourceProxyPOSTByUIDcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyPOSTByUIDcallsForbidden

func NewDatasourceProxyPOSTByUIDcallsForbidden() *DatasourceProxyPOSTByUIDcallsForbidden

NewDatasourceProxyPOSTByUIDcallsForbidden creates a DatasourceProxyPOSTByUIDcallsForbidden with default headers values

func (*DatasourceProxyPOSTByUIDcallsForbidden) Code

Code gets the status code for the datasource proxy p o s t by Ui dcalls forbidden response

func (*DatasourceProxyPOSTByUIDcallsForbidden) Error

func (*DatasourceProxyPOSTByUIDcallsForbidden) GetPayload

func (*DatasourceProxyPOSTByUIDcallsForbidden) IsClientError

func (o *DatasourceProxyPOSTByUIDcallsForbidden) IsClientError() bool

IsClientError returns true when this datasource proxy p o s t by Ui dcalls forbidden response has a 4xx status code

func (*DatasourceProxyPOSTByUIDcallsForbidden) IsCode

IsCode returns true when this datasource proxy p o s t by Ui dcalls forbidden response a status code equal to that given

func (*DatasourceProxyPOSTByUIDcallsForbidden) IsRedirect

IsRedirect returns true when this datasource proxy p o s t by Ui dcalls forbidden response has a 3xx status code

func (*DatasourceProxyPOSTByUIDcallsForbidden) IsServerError

func (o *DatasourceProxyPOSTByUIDcallsForbidden) IsServerError() bool

IsServerError returns true when this datasource proxy p o s t by Ui dcalls forbidden response has a 5xx status code

func (*DatasourceProxyPOSTByUIDcallsForbidden) IsSuccess

IsSuccess returns true when this datasource proxy p o s t by Ui dcalls forbidden response has a 2xx status code

func (*DatasourceProxyPOSTByUIDcallsForbidden) String

type DatasourceProxyPOSTByUIDcallsInternalServerError

type DatasourceProxyPOSTByUIDcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyPOSTByUIDcallsInternalServerError

func NewDatasourceProxyPOSTByUIDcallsInternalServerError() *DatasourceProxyPOSTByUIDcallsInternalServerError

NewDatasourceProxyPOSTByUIDcallsInternalServerError creates a DatasourceProxyPOSTByUIDcallsInternalServerError with default headers values

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) Code

Code gets the status code for the datasource proxy p o s t by Ui dcalls internal server error response

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) Error

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) GetPayload

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) IsClientError

IsClientError returns true when this datasource proxy p o s t by Ui dcalls internal server error response has a 4xx status code

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) IsCode

IsCode returns true when this datasource proxy p o s t by Ui dcalls internal server error response a status code equal to that given

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) IsRedirect

IsRedirect returns true when this datasource proxy p o s t by Ui dcalls internal server error response has a 3xx status code

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) IsServerError

IsServerError returns true when this datasource proxy p o s t by Ui dcalls internal server error response has a 5xx status code

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) IsSuccess

IsSuccess returns true when this datasource proxy p o s t by Ui dcalls internal server error response has a 2xx status code

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) String

type DatasourceProxyPOSTByUIDcallsNotFound

type DatasourceProxyPOSTByUIDcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyPOSTByUIDcallsNotFound

func NewDatasourceProxyPOSTByUIDcallsNotFound() *DatasourceProxyPOSTByUIDcallsNotFound

NewDatasourceProxyPOSTByUIDcallsNotFound creates a DatasourceProxyPOSTByUIDcallsNotFound with default headers values

func (*DatasourceProxyPOSTByUIDcallsNotFound) Code

Code gets the status code for the datasource proxy p o s t by Ui dcalls not found response

func (*DatasourceProxyPOSTByUIDcallsNotFound) Error

func (*DatasourceProxyPOSTByUIDcallsNotFound) GetPayload

func (*DatasourceProxyPOSTByUIDcallsNotFound) IsClientError

func (o *DatasourceProxyPOSTByUIDcallsNotFound) IsClientError() bool

IsClientError returns true when this datasource proxy p o s t by Ui dcalls not found response has a 4xx status code

func (*DatasourceProxyPOSTByUIDcallsNotFound) IsCode

IsCode returns true when this datasource proxy p o s t by Ui dcalls not found response a status code equal to that given

func (*DatasourceProxyPOSTByUIDcallsNotFound) IsRedirect

IsRedirect returns true when this datasource proxy p o s t by Ui dcalls not found response has a 3xx status code

func (*DatasourceProxyPOSTByUIDcallsNotFound) IsServerError

func (o *DatasourceProxyPOSTByUIDcallsNotFound) IsServerError() bool

IsServerError returns true when this datasource proxy p o s t by Ui dcalls not found response has a 5xx status code

func (*DatasourceProxyPOSTByUIDcallsNotFound) IsSuccess

IsSuccess returns true when this datasource proxy p o s t by Ui dcalls not found response has a 2xx status code

func (*DatasourceProxyPOSTByUIDcallsNotFound) String

type DatasourceProxyPOSTByUIDcallsParams

type DatasourceProxyPOSTByUIDcallsParams struct {

	// DatasourceProxyParam.
	DatasourceProxyParam interface{}

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// UID.
	UID string

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

DatasourceProxyPOSTByUIDcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy p o s t by UI dcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyPOSTByUIDcallsParams

func NewDatasourceProxyPOSTByUIDcallsParams() *DatasourceProxyPOSTByUIDcallsParams

NewDatasourceProxyPOSTByUIDcallsParams creates a new DatasourceProxyPOSTByUIDcallsParams 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 NewDatasourceProxyPOSTByUIDcallsParamsWithContext

func NewDatasourceProxyPOSTByUIDcallsParamsWithContext(ctx context.Context) *DatasourceProxyPOSTByUIDcallsParams

NewDatasourceProxyPOSTByUIDcallsParamsWithContext creates a new DatasourceProxyPOSTByUIDcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyPOSTByUIDcallsParamsWithHTTPClient

func NewDatasourceProxyPOSTByUIDcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyPOSTByUIDcallsParams

NewDatasourceProxyPOSTByUIDcallsParamsWithHTTPClient creates a new DatasourceProxyPOSTByUIDcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyPOSTByUIDcallsParamsWithTimeout

func NewDatasourceProxyPOSTByUIDcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyPOSTByUIDcallsParams

NewDatasourceProxyPOSTByUIDcallsParamsWithTimeout creates a new DatasourceProxyPOSTByUIDcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyPOSTByUIDcallsParams) SetContext

SetContext adds the context to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetDatasourceProxyParam

func (o *DatasourceProxyPOSTByUIDcallsParams) SetDatasourceProxyParam(datasourceProxyParam interface{})

SetDatasourceProxyParam adds the datasourceProxyParam to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyPOSTByUIDcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetDefaults

func (o *DatasourceProxyPOSTByUIDcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy p o s t by UI dcalls params (not the query body).

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

func (*DatasourceProxyPOSTByUIDcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetUID

SetUID adds the uid to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithContext

WithContext adds the context to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithDatasourceProxyParam

func (o *DatasourceProxyPOSTByUIDcallsParams) WithDatasourceProxyParam(datasourceProxyParam interface{}) *DatasourceProxyPOSTByUIDcallsParams

WithDatasourceProxyParam adds the datasourceProxyParam to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyPOSTByUIDcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyPOSTByUIDcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy p o s t by UI dcalls params (not the query body).

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

func (*DatasourceProxyPOSTByUIDcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithUID

WithUID adds the uid to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyPOSTByUIDcallsReader

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

DatasourceProxyPOSTByUIDcallsReader is a Reader for the DatasourceProxyPOSTByUIDcalls structure.

func (*DatasourceProxyPOSTByUIDcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyPOSTByUIDcallsUnauthorized

type DatasourceProxyPOSTByUIDcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyPOSTByUIDcallsUnauthorized

func NewDatasourceProxyPOSTByUIDcallsUnauthorized() *DatasourceProxyPOSTByUIDcallsUnauthorized

NewDatasourceProxyPOSTByUIDcallsUnauthorized creates a DatasourceProxyPOSTByUIDcallsUnauthorized with default headers values

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) Code

Code gets the status code for the datasource proxy p o s t by Ui dcalls unauthorized response

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) Error

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) GetPayload

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) IsClientError

IsClientError returns true when this datasource proxy p o s t by Ui dcalls unauthorized response has a 4xx status code

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) IsCode

IsCode returns true when this datasource proxy p o s t by Ui dcalls unauthorized response a status code equal to that given

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) IsRedirect

IsRedirect returns true when this datasource proxy p o s t by Ui dcalls unauthorized response has a 3xx status code

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) IsServerError

IsServerError returns true when this datasource proxy p o s t by Ui dcalls unauthorized response has a 5xx status code

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) IsSuccess

IsSuccess returns true when this datasource proxy p o s t by Ui dcalls unauthorized response has a 2xx status code

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) String

type DatasourceProxyPOSTcallsAccepted

type DatasourceProxyPOSTcallsAccepted struct {
}

DatasourceProxyPOSTcallsAccepted describes a response with status code 202, with default header values.

(empty)

func NewDatasourceProxyPOSTcallsAccepted

func NewDatasourceProxyPOSTcallsAccepted() *DatasourceProxyPOSTcallsAccepted

NewDatasourceProxyPOSTcallsAccepted creates a DatasourceProxyPOSTcallsAccepted with default headers values

func (*DatasourceProxyPOSTcallsAccepted) Code

Code gets the status code for the datasource proxy p o s tcalls accepted response

func (*DatasourceProxyPOSTcallsAccepted) Error

func (*DatasourceProxyPOSTcallsAccepted) IsClientError

func (o *DatasourceProxyPOSTcallsAccepted) IsClientError() bool

IsClientError returns true when this datasource proxy p o s tcalls accepted response has a 4xx status code

func (*DatasourceProxyPOSTcallsAccepted) IsCode

func (o *DatasourceProxyPOSTcallsAccepted) IsCode(code int) bool

IsCode returns true when this datasource proxy p o s tcalls accepted response a status code equal to that given

func (*DatasourceProxyPOSTcallsAccepted) IsRedirect

func (o *DatasourceProxyPOSTcallsAccepted) IsRedirect() bool

IsRedirect returns true when this datasource proxy p o s tcalls accepted response has a 3xx status code

func (*DatasourceProxyPOSTcallsAccepted) IsServerError

func (o *DatasourceProxyPOSTcallsAccepted) IsServerError() bool

IsServerError returns true when this datasource proxy p o s tcalls accepted response has a 5xx status code

func (*DatasourceProxyPOSTcallsAccepted) IsSuccess

func (o *DatasourceProxyPOSTcallsAccepted) IsSuccess() bool

IsSuccess returns true when this datasource proxy p o s tcalls accepted response has a 2xx status code

func (*DatasourceProxyPOSTcallsAccepted) String

type DatasourceProxyPOSTcallsBadRequest

type DatasourceProxyPOSTcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyPOSTcallsBadRequest

func NewDatasourceProxyPOSTcallsBadRequest() *DatasourceProxyPOSTcallsBadRequest

NewDatasourceProxyPOSTcallsBadRequest creates a DatasourceProxyPOSTcallsBadRequest with default headers values

func (*DatasourceProxyPOSTcallsBadRequest) Code

Code gets the status code for the datasource proxy p o s tcalls bad request response

func (*DatasourceProxyPOSTcallsBadRequest) Error

func (*DatasourceProxyPOSTcallsBadRequest) GetPayload

func (*DatasourceProxyPOSTcallsBadRequest) IsClientError

func (o *DatasourceProxyPOSTcallsBadRequest) IsClientError() bool

IsClientError returns true when this datasource proxy p o s tcalls bad request response has a 4xx status code

func (*DatasourceProxyPOSTcallsBadRequest) IsCode

IsCode returns true when this datasource proxy p o s tcalls bad request response a status code equal to that given

func (*DatasourceProxyPOSTcallsBadRequest) IsRedirect

func (o *DatasourceProxyPOSTcallsBadRequest) IsRedirect() bool

IsRedirect returns true when this datasource proxy p o s tcalls bad request response has a 3xx status code

func (*DatasourceProxyPOSTcallsBadRequest) IsServerError

func (o *DatasourceProxyPOSTcallsBadRequest) IsServerError() bool

IsServerError returns true when this datasource proxy p o s tcalls bad request response has a 5xx status code

func (*DatasourceProxyPOSTcallsBadRequest) IsSuccess

IsSuccess returns true when this datasource proxy p o s tcalls bad request response has a 2xx status code

func (*DatasourceProxyPOSTcallsBadRequest) String

type DatasourceProxyPOSTcallsCreated

type DatasourceProxyPOSTcallsCreated struct {
}

DatasourceProxyPOSTcallsCreated describes a response with status code 201, with default header values.

(empty)

func NewDatasourceProxyPOSTcallsCreated

func NewDatasourceProxyPOSTcallsCreated() *DatasourceProxyPOSTcallsCreated

NewDatasourceProxyPOSTcallsCreated creates a DatasourceProxyPOSTcallsCreated with default headers values

func (*DatasourceProxyPOSTcallsCreated) Code

Code gets the status code for the datasource proxy p o s tcalls created response

func (*DatasourceProxyPOSTcallsCreated) Error

func (*DatasourceProxyPOSTcallsCreated) IsClientError

func (o *DatasourceProxyPOSTcallsCreated) IsClientError() bool

IsClientError returns true when this datasource proxy p o s tcalls created response has a 4xx status code

func (*DatasourceProxyPOSTcallsCreated) IsCode

func (o *DatasourceProxyPOSTcallsCreated) IsCode(code int) bool

IsCode returns true when this datasource proxy p o s tcalls created response a status code equal to that given

func (*DatasourceProxyPOSTcallsCreated) IsRedirect

func (o *DatasourceProxyPOSTcallsCreated) IsRedirect() bool

IsRedirect returns true when this datasource proxy p o s tcalls created response has a 3xx status code

func (*DatasourceProxyPOSTcallsCreated) IsServerError

func (o *DatasourceProxyPOSTcallsCreated) IsServerError() bool

IsServerError returns true when this datasource proxy p o s tcalls created response has a 5xx status code

func (*DatasourceProxyPOSTcallsCreated) IsSuccess

func (o *DatasourceProxyPOSTcallsCreated) IsSuccess() bool

IsSuccess returns true when this datasource proxy p o s tcalls created response has a 2xx status code

func (*DatasourceProxyPOSTcallsCreated) String

type DatasourceProxyPOSTcallsForbidden

type DatasourceProxyPOSTcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyPOSTcallsForbidden

func NewDatasourceProxyPOSTcallsForbidden() *DatasourceProxyPOSTcallsForbidden

NewDatasourceProxyPOSTcallsForbidden creates a DatasourceProxyPOSTcallsForbidden with default headers values

func (*DatasourceProxyPOSTcallsForbidden) Code

Code gets the status code for the datasource proxy p o s tcalls forbidden response

func (*DatasourceProxyPOSTcallsForbidden) Error

func (*DatasourceProxyPOSTcallsForbidden) GetPayload

func (*DatasourceProxyPOSTcallsForbidden) IsClientError

func (o *DatasourceProxyPOSTcallsForbidden) IsClientError() bool

IsClientError returns true when this datasource proxy p o s tcalls forbidden response has a 4xx status code

func (*DatasourceProxyPOSTcallsForbidden) IsCode

func (o *DatasourceProxyPOSTcallsForbidden) IsCode(code int) bool

IsCode returns true when this datasource proxy p o s tcalls forbidden response a status code equal to that given

func (*DatasourceProxyPOSTcallsForbidden) IsRedirect

func (o *DatasourceProxyPOSTcallsForbidden) IsRedirect() bool

IsRedirect returns true when this datasource proxy p o s tcalls forbidden response has a 3xx status code

func (*DatasourceProxyPOSTcallsForbidden) IsServerError

func (o *DatasourceProxyPOSTcallsForbidden) IsServerError() bool

IsServerError returns true when this datasource proxy p o s tcalls forbidden response has a 5xx status code

func (*DatasourceProxyPOSTcallsForbidden) IsSuccess

func (o *DatasourceProxyPOSTcallsForbidden) IsSuccess() bool

IsSuccess returns true when this datasource proxy p o s tcalls forbidden response has a 2xx status code

func (*DatasourceProxyPOSTcallsForbidden) String

type DatasourceProxyPOSTcallsInternalServerError

type DatasourceProxyPOSTcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyPOSTcallsInternalServerError

func NewDatasourceProxyPOSTcallsInternalServerError() *DatasourceProxyPOSTcallsInternalServerError

NewDatasourceProxyPOSTcallsInternalServerError creates a DatasourceProxyPOSTcallsInternalServerError with default headers values

func (*DatasourceProxyPOSTcallsInternalServerError) Code

Code gets the status code for the datasource proxy p o s tcalls internal server error response

func (*DatasourceProxyPOSTcallsInternalServerError) Error

func (*DatasourceProxyPOSTcallsInternalServerError) GetPayload

func (*DatasourceProxyPOSTcallsInternalServerError) IsClientError

IsClientError returns true when this datasource proxy p o s tcalls internal server error response has a 4xx status code

func (*DatasourceProxyPOSTcallsInternalServerError) IsCode

IsCode returns true when this datasource proxy p o s tcalls internal server error response a status code equal to that given

func (*DatasourceProxyPOSTcallsInternalServerError) IsRedirect

IsRedirect returns true when this datasource proxy p o s tcalls internal server error response has a 3xx status code

func (*DatasourceProxyPOSTcallsInternalServerError) IsServerError

IsServerError returns true when this datasource proxy p o s tcalls internal server error response has a 5xx status code

func (*DatasourceProxyPOSTcallsInternalServerError) IsSuccess

IsSuccess returns true when this datasource proxy p o s tcalls internal server error response has a 2xx status code

func (*DatasourceProxyPOSTcallsInternalServerError) String

type DatasourceProxyPOSTcallsNotFound

type DatasourceProxyPOSTcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyPOSTcallsNotFound

func NewDatasourceProxyPOSTcallsNotFound() *DatasourceProxyPOSTcallsNotFound

NewDatasourceProxyPOSTcallsNotFound creates a DatasourceProxyPOSTcallsNotFound with default headers values

func (*DatasourceProxyPOSTcallsNotFound) Code

Code gets the status code for the datasource proxy p o s tcalls not found response

func (*DatasourceProxyPOSTcallsNotFound) Error

func (*DatasourceProxyPOSTcallsNotFound) GetPayload

func (*DatasourceProxyPOSTcallsNotFound) IsClientError

func (o *DatasourceProxyPOSTcallsNotFound) IsClientError() bool

IsClientError returns true when this datasource proxy p o s tcalls not found response has a 4xx status code

func (*DatasourceProxyPOSTcallsNotFound) IsCode

func (o *DatasourceProxyPOSTcallsNotFound) IsCode(code int) bool

IsCode returns true when this datasource proxy p o s tcalls not found response a status code equal to that given

func (*DatasourceProxyPOSTcallsNotFound) IsRedirect

func (o *DatasourceProxyPOSTcallsNotFound) IsRedirect() bool

IsRedirect returns true when this datasource proxy p o s tcalls not found response has a 3xx status code

func (*DatasourceProxyPOSTcallsNotFound) IsServerError

func (o *DatasourceProxyPOSTcallsNotFound) IsServerError() bool

IsServerError returns true when this datasource proxy p o s tcalls not found response has a 5xx status code

func (*DatasourceProxyPOSTcallsNotFound) IsSuccess

func (o *DatasourceProxyPOSTcallsNotFound) IsSuccess() bool

IsSuccess returns true when this datasource proxy p o s tcalls not found response has a 2xx status code

func (*DatasourceProxyPOSTcallsNotFound) String

type DatasourceProxyPOSTcallsParams

type DatasourceProxyPOSTcallsParams struct {

	// DatasourceProxyParam.
	DatasourceProxyParam interface{}

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// ID.
	ID string

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

DatasourceProxyPOSTcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy p o s tcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyPOSTcallsParams

func NewDatasourceProxyPOSTcallsParams() *DatasourceProxyPOSTcallsParams

NewDatasourceProxyPOSTcallsParams creates a new DatasourceProxyPOSTcallsParams 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 NewDatasourceProxyPOSTcallsParamsWithContext

func NewDatasourceProxyPOSTcallsParamsWithContext(ctx context.Context) *DatasourceProxyPOSTcallsParams

NewDatasourceProxyPOSTcallsParamsWithContext creates a new DatasourceProxyPOSTcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyPOSTcallsParamsWithHTTPClient

func NewDatasourceProxyPOSTcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyPOSTcallsParams

NewDatasourceProxyPOSTcallsParamsWithHTTPClient creates a new DatasourceProxyPOSTcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyPOSTcallsParamsWithTimeout

func NewDatasourceProxyPOSTcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyPOSTcallsParams

NewDatasourceProxyPOSTcallsParamsWithTimeout creates a new DatasourceProxyPOSTcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyPOSTcallsParams) SetContext

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

SetContext adds the context to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetDatasourceProxyParam

func (o *DatasourceProxyPOSTcallsParams) SetDatasourceProxyParam(datasourceProxyParam interface{})

SetDatasourceProxyParam adds the datasourceProxyParam to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyPOSTcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetDefaults

func (o *DatasourceProxyPOSTcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy p o s tcalls params (not the query body).

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

func (*DatasourceProxyPOSTcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetID

SetID adds the id to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithContext

WithContext adds the context to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithDatasourceProxyParam

func (o *DatasourceProxyPOSTcallsParams) WithDatasourceProxyParam(datasourceProxyParam interface{}) *DatasourceProxyPOSTcallsParams

WithDatasourceProxyParam adds the datasourceProxyParam to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyPOSTcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyPOSTcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy p o s tcalls params (not the query body).

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

func (*DatasourceProxyPOSTcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithID

WithID adds the id to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyPOSTcallsReader

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

DatasourceProxyPOSTcallsReader is a Reader for the DatasourceProxyPOSTcalls structure.

func (*DatasourceProxyPOSTcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyPOSTcallsUnauthorized

type DatasourceProxyPOSTcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyPOSTcallsUnauthorized

func NewDatasourceProxyPOSTcallsUnauthorized() *DatasourceProxyPOSTcallsUnauthorized

NewDatasourceProxyPOSTcallsUnauthorized creates a DatasourceProxyPOSTcallsUnauthorized with default headers values

func (*DatasourceProxyPOSTcallsUnauthorized) Code

Code gets the status code for the datasource proxy p o s tcalls unauthorized response

func (*DatasourceProxyPOSTcallsUnauthorized) Error

func (*DatasourceProxyPOSTcallsUnauthorized) GetPayload

func (*DatasourceProxyPOSTcallsUnauthorized) IsClientError

func (o *DatasourceProxyPOSTcallsUnauthorized) IsClientError() bool

IsClientError returns true when this datasource proxy p o s tcalls unauthorized response has a 4xx status code

func (*DatasourceProxyPOSTcallsUnauthorized) IsCode

IsCode returns true when this datasource proxy p o s tcalls unauthorized response a status code equal to that given

func (*DatasourceProxyPOSTcallsUnauthorized) IsRedirect

IsRedirect returns true when this datasource proxy p o s tcalls unauthorized response has a 3xx status code

func (*DatasourceProxyPOSTcallsUnauthorized) IsServerError

func (o *DatasourceProxyPOSTcallsUnauthorized) IsServerError() bool

IsServerError returns true when this datasource proxy p o s tcalls unauthorized response has a 5xx status code

func (*DatasourceProxyPOSTcallsUnauthorized) IsSuccess

IsSuccess returns true when this datasource proxy p o s tcalls unauthorized response has a 2xx status code

func (*DatasourceProxyPOSTcallsUnauthorized) String

type DeleteDataSourceByIDForbidden

type DeleteDataSourceByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteDataSourceByIDForbidden

func NewDeleteDataSourceByIDForbidden() *DeleteDataSourceByIDForbidden

NewDeleteDataSourceByIDForbidden creates a DeleteDataSourceByIDForbidden with default headers values

func (*DeleteDataSourceByIDForbidden) Code

Code gets the status code for the delete data source by Id forbidden response

func (*DeleteDataSourceByIDForbidden) Error

func (*DeleteDataSourceByIDForbidden) GetPayload

func (*DeleteDataSourceByIDForbidden) IsClientError

func (o *DeleteDataSourceByIDForbidden) IsClientError() bool

IsClientError returns true when this delete data source by Id forbidden response has a 4xx status code

func (*DeleteDataSourceByIDForbidden) IsCode

func (o *DeleteDataSourceByIDForbidden) IsCode(code int) bool

IsCode returns true when this delete data source by Id forbidden response a status code equal to that given

func (*DeleteDataSourceByIDForbidden) IsRedirect

func (o *DeleteDataSourceByIDForbidden) IsRedirect() bool

IsRedirect returns true when this delete data source by Id forbidden response has a 3xx status code

func (*DeleteDataSourceByIDForbidden) IsServerError

func (o *DeleteDataSourceByIDForbidden) IsServerError() bool

IsServerError returns true when this delete data source by Id forbidden response has a 5xx status code

func (*DeleteDataSourceByIDForbidden) IsSuccess

func (o *DeleteDataSourceByIDForbidden) IsSuccess() bool

IsSuccess returns true when this delete data source by Id forbidden response has a 2xx status code

func (*DeleteDataSourceByIDForbidden) String

type DeleteDataSourceByIDInternalServerError

type DeleteDataSourceByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteDataSourceByIDInternalServerError

func NewDeleteDataSourceByIDInternalServerError() *DeleteDataSourceByIDInternalServerError

NewDeleteDataSourceByIDInternalServerError creates a DeleteDataSourceByIDInternalServerError with default headers values

func (*DeleteDataSourceByIDInternalServerError) Code

Code gets the status code for the delete data source by Id internal server error response

func (*DeleteDataSourceByIDInternalServerError) Error

func (*DeleteDataSourceByIDInternalServerError) GetPayload

func (*DeleteDataSourceByIDInternalServerError) IsClientError

func (o *DeleteDataSourceByIDInternalServerError) IsClientError() bool

IsClientError returns true when this delete data source by Id internal server error response has a 4xx status code

func (*DeleteDataSourceByIDInternalServerError) IsCode

IsCode returns true when this delete data source by Id internal server error response a status code equal to that given

func (*DeleteDataSourceByIDInternalServerError) IsRedirect

IsRedirect returns true when this delete data source by Id internal server error response has a 3xx status code

func (*DeleteDataSourceByIDInternalServerError) IsServerError

func (o *DeleteDataSourceByIDInternalServerError) IsServerError() bool

IsServerError returns true when this delete data source by Id internal server error response has a 5xx status code

func (*DeleteDataSourceByIDInternalServerError) IsSuccess

IsSuccess returns true when this delete data source by Id internal server error response has a 2xx status code

func (*DeleteDataSourceByIDInternalServerError) String

type DeleteDataSourceByIDNotFound

type DeleteDataSourceByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteDataSourceByIDNotFound

func NewDeleteDataSourceByIDNotFound() *DeleteDataSourceByIDNotFound

NewDeleteDataSourceByIDNotFound creates a DeleteDataSourceByIDNotFound with default headers values

func (*DeleteDataSourceByIDNotFound) Code

Code gets the status code for the delete data source by Id not found response

func (*DeleteDataSourceByIDNotFound) Error

func (*DeleteDataSourceByIDNotFound) GetPayload

func (*DeleteDataSourceByIDNotFound) IsClientError

func (o *DeleteDataSourceByIDNotFound) IsClientError() bool

IsClientError returns true when this delete data source by Id not found response has a 4xx status code

func (*DeleteDataSourceByIDNotFound) IsCode

func (o *DeleteDataSourceByIDNotFound) IsCode(code int) bool

IsCode returns true when this delete data source by Id not found response a status code equal to that given

func (*DeleteDataSourceByIDNotFound) IsRedirect

func (o *DeleteDataSourceByIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete data source by Id not found response has a 3xx status code

func (*DeleteDataSourceByIDNotFound) IsServerError

func (o *DeleteDataSourceByIDNotFound) IsServerError() bool

IsServerError returns true when this delete data source by Id not found response has a 5xx status code

func (*DeleteDataSourceByIDNotFound) IsSuccess

func (o *DeleteDataSourceByIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete data source by Id not found response has a 2xx status code

func (*DeleteDataSourceByIDNotFound) String

type DeleteDataSourceByIDOK

type DeleteDataSourceByIDOK struct {
	Payload *models.SuccessResponseBody
}

DeleteDataSourceByIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewDeleteDataSourceByIDOK

func NewDeleteDataSourceByIDOK() *DeleteDataSourceByIDOK

NewDeleteDataSourceByIDOK creates a DeleteDataSourceByIDOK with default headers values

func (*DeleteDataSourceByIDOK) Code

func (o *DeleteDataSourceByIDOK) Code() int

Code gets the status code for the delete data source by Id Ok response

func (*DeleteDataSourceByIDOK) Error

func (o *DeleteDataSourceByIDOK) Error() string

func (*DeleteDataSourceByIDOK) GetPayload

func (*DeleteDataSourceByIDOK) IsClientError

func (o *DeleteDataSourceByIDOK) IsClientError() bool

IsClientError returns true when this delete data source by Id Ok response has a 4xx status code

func (*DeleteDataSourceByIDOK) IsCode

func (o *DeleteDataSourceByIDOK) IsCode(code int) bool

IsCode returns true when this delete data source by Id Ok response a status code equal to that given

func (*DeleteDataSourceByIDOK) IsRedirect

func (o *DeleteDataSourceByIDOK) IsRedirect() bool

IsRedirect returns true when this delete data source by Id Ok response has a 3xx status code

func (*DeleteDataSourceByIDOK) IsServerError

func (o *DeleteDataSourceByIDOK) IsServerError() bool

IsServerError returns true when this delete data source by Id Ok response has a 5xx status code

func (*DeleteDataSourceByIDOK) IsSuccess

func (o *DeleteDataSourceByIDOK) IsSuccess() bool

IsSuccess returns true when this delete data source by Id Ok response has a 2xx status code

func (*DeleteDataSourceByIDOK) String

func (o *DeleteDataSourceByIDOK) String() string

type DeleteDataSourceByIDParams

type DeleteDataSourceByIDParams struct {

	// ID.
	ID string

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

DeleteDataSourceByIDParams contains all the parameters to send to the API endpoint

for the delete data source by ID operation.

Typically these are written to a http.Request.

func NewDeleteDataSourceByIDParams

func NewDeleteDataSourceByIDParams() *DeleteDataSourceByIDParams

NewDeleteDataSourceByIDParams creates a new DeleteDataSourceByIDParams 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 NewDeleteDataSourceByIDParamsWithContext

func NewDeleteDataSourceByIDParamsWithContext(ctx context.Context) *DeleteDataSourceByIDParams

NewDeleteDataSourceByIDParamsWithContext creates a new DeleteDataSourceByIDParams object with the ability to set a context for a request.

func NewDeleteDataSourceByIDParamsWithHTTPClient

func NewDeleteDataSourceByIDParamsWithHTTPClient(client *http.Client) *DeleteDataSourceByIDParams

NewDeleteDataSourceByIDParamsWithHTTPClient creates a new DeleteDataSourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDataSourceByIDParamsWithTimeout

func NewDeleteDataSourceByIDParamsWithTimeout(timeout time.Duration) *DeleteDataSourceByIDParams

NewDeleteDataSourceByIDParamsWithTimeout creates a new DeleteDataSourceByIDParams object with the ability to set a timeout on a request.

func (*DeleteDataSourceByIDParams) SetContext

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

SetContext adds the context to the delete data source by ID params

func (*DeleteDataSourceByIDParams) SetDefaults

func (o *DeleteDataSourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the delete data source by ID params (not the query body).

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

func (*DeleteDataSourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete data source by ID params

func (*DeleteDataSourceByIDParams) SetID

func (o *DeleteDataSourceByIDParams) SetID(id string)

SetID adds the id to the delete data source by ID params

func (*DeleteDataSourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WithContext

WithContext adds the context to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WithDefaults

WithDefaults hydrates default values in the delete data source by ID params (not the query body).

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

func (*DeleteDataSourceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WithID

WithID adds the id to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WithTimeout

WithTimeout adds the timeout to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDataSourceByIDReader

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

DeleteDataSourceByIDReader is a Reader for the DeleteDataSourceByID structure.

func (*DeleteDataSourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDataSourceByIDUnauthorized

type DeleteDataSourceByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteDataSourceByIDUnauthorized

func NewDeleteDataSourceByIDUnauthorized() *DeleteDataSourceByIDUnauthorized

NewDeleteDataSourceByIDUnauthorized creates a DeleteDataSourceByIDUnauthorized with default headers values

func (*DeleteDataSourceByIDUnauthorized) Code

Code gets the status code for the delete data source by Id unauthorized response

func (*DeleteDataSourceByIDUnauthorized) Error

func (*DeleteDataSourceByIDUnauthorized) GetPayload

func (*DeleteDataSourceByIDUnauthorized) IsClientError

func (o *DeleteDataSourceByIDUnauthorized) IsClientError() bool

IsClientError returns true when this delete data source by Id unauthorized response has a 4xx status code

func (*DeleteDataSourceByIDUnauthorized) IsCode

func (o *DeleteDataSourceByIDUnauthorized) IsCode(code int) bool

IsCode returns true when this delete data source by Id unauthorized response a status code equal to that given

func (*DeleteDataSourceByIDUnauthorized) IsRedirect

func (o *DeleteDataSourceByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete data source by Id unauthorized response has a 3xx status code

func (*DeleteDataSourceByIDUnauthorized) IsServerError

func (o *DeleteDataSourceByIDUnauthorized) IsServerError() bool

IsServerError returns true when this delete data source by Id unauthorized response has a 5xx status code

func (*DeleteDataSourceByIDUnauthorized) IsSuccess

func (o *DeleteDataSourceByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete data source by Id unauthorized response has a 2xx status code

func (*DeleteDataSourceByIDUnauthorized) String

type DeleteDataSourceByNameForbidden

type DeleteDataSourceByNameForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByNameForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteDataSourceByNameForbidden

func NewDeleteDataSourceByNameForbidden() *DeleteDataSourceByNameForbidden

NewDeleteDataSourceByNameForbidden creates a DeleteDataSourceByNameForbidden with default headers values

func (*DeleteDataSourceByNameForbidden) Code

Code gets the status code for the delete data source by name forbidden response

func (*DeleteDataSourceByNameForbidden) Error

func (*DeleteDataSourceByNameForbidden) GetPayload

func (*DeleteDataSourceByNameForbidden) IsClientError

func (o *DeleteDataSourceByNameForbidden) IsClientError() bool

IsClientError returns true when this delete data source by name forbidden response has a 4xx status code

func (*DeleteDataSourceByNameForbidden) IsCode

func (o *DeleteDataSourceByNameForbidden) IsCode(code int) bool

IsCode returns true when this delete data source by name forbidden response a status code equal to that given

func (*DeleteDataSourceByNameForbidden) IsRedirect

func (o *DeleteDataSourceByNameForbidden) IsRedirect() bool

IsRedirect returns true when this delete data source by name forbidden response has a 3xx status code

func (*DeleteDataSourceByNameForbidden) IsServerError

func (o *DeleteDataSourceByNameForbidden) IsServerError() bool

IsServerError returns true when this delete data source by name forbidden response has a 5xx status code

func (*DeleteDataSourceByNameForbidden) IsSuccess

func (o *DeleteDataSourceByNameForbidden) IsSuccess() bool

IsSuccess returns true when this delete data source by name forbidden response has a 2xx status code

func (*DeleteDataSourceByNameForbidden) String

type DeleteDataSourceByNameInternalServerError

type DeleteDataSourceByNameInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByNameInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteDataSourceByNameInternalServerError

func NewDeleteDataSourceByNameInternalServerError() *DeleteDataSourceByNameInternalServerError

NewDeleteDataSourceByNameInternalServerError creates a DeleteDataSourceByNameInternalServerError with default headers values

func (*DeleteDataSourceByNameInternalServerError) Code

Code gets the status code for the delete data source by name internal server error response

func (*DeleteDataSourceByNameInternalServerError) Error

func (*DeleteDataSourceByNameInternalServerError) GetPayload

func (*DeleteDataSourceByNameInternalServerError) IsClientError

IsClientError returns true when this delete data source by name internal server error response has a 4xx status code

func (*DeleteDataSourceByNameInternalServerError) IsCode

IsCode returns true when this delete data source by name internal server error response a status code equal to that given

func (*DeleteDataSourceByNameInternalServerError) IsRedirect

IsRedirect returns true when this delete data source by name internal server error response has a 3xx status code

func (*DeleteDataSourceByNameInternalServerError) IsServerError

IsServerError returns true when this delete data source by name internal server error response has a 5xx status code

func (*DeleteDataSourceByNameInternalServerError) IsSuccess

IsSuccess returns true when this delete data source by name internal server error response has a 2xx status code

func (*DeleteDataSourceByNameInternalServerError) String

type DeleteDataSourceByNameNotFound

type DeleteDataSourceByNameNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByNameNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteDataSourceByNameNotFound

func NewDeleteDataSourceByNameNotFound() *DeleteDataSourceByNameNotFound

NewDeleteDataSourceByNameNotFound creates a DeleteDataSourceByNameNotFound with default headers values

func (*DeleteDataSourceByNameNotFound) Code

Code gets the status code for the delete data source by name not found response

func (*DeleteDataSourceByNameNotFound) Error

func (*DeleteDataSourceByNameNotFound) GetPayload

func (*DeleteDataSourceByNameNotFound) IsClientError

func (o *DeleteDataSourceByNameNotFound) IsClientError() bool

IsClientError returns true when this delete data source by name not found response has a 4xx status code

func (*DeleteDataSourceByNameNotFound) IsCode

func (o *DeleteDataSourceByNameNotFound) IsCode(code int) bool

IsCode returns true when this delete data source by name not found response a status code equal to that given

func (*DeleteDataSourceByNameNotFound) IsRedirect

func (o *DeleteDataSourceByNameNotFound) IsRedirect() bool

IsRedirect returns true when this delete data source by name not found response has a 3xx status code

func (*DeleteDataSourceByNameNotFound) IsServerError

func (o *DeleteDataSourceByNameNotFound) IsServerError() bool

IsServerError returns true when this delete data source by name not found response has a 5xx status code

func (*DeleteDataSourceByNameNotFound) IsSuccess

func (o *DeleteDataSourceByNameNotFound) IsSuccess() bool

IsSuccess returns true when this delete data source by name not found response has a 2xx status code

func (*DeleteDataSourceByNameNotFound) String

type DeleteDataSourceByNameOK

type DeleteDataSourceByNameOK struct {
	Payload *models.DeleteDataSourceByNameOKBody
}

DeleteDataSourceByNameOK describes a response with status code 200, with default header values.

(empty)

func NewDeleteDataSourceByNameOK

func NewDeleteDataSourceByNameOK() *DeleteDataSourceByNameOK

NewDeleteDataSourceByNameOK creates a DeleteDataSourceByNameOK with default headers values

func (*DeleteDataSourceByNameOK) Code

func (o *DeleteDataSourceByNameOK) Code() int

Code gets the status code for the delete data source by name Ok response

func (*DeleteDataSourceByNameOK) Error

func (o *DeleteDataSourceByNameOK) Error() string

func (*DeleteDataSourceByNameOK) GetPayload

func (*DeleteDataSourceByNameOK) IsClientError

func (o *DeleteDataSourceByNameOK) IsClientError() bool

IsClientError returns true when this delete data source by name Ok response has a 4xx status code

func (*DeleteDataSourceByNameOK) IsCode

func (o *DeleteDataSourceByNameOK) IsCode(code int) bool

IsCode returns true when this delete data source by name Ok response a status code equal to that given

func (*DeleteDataSourceByNameOK) IsRedirect

func (o *DeleteDataSourceByNameOK) IsRedirect() bool

IsRedirect returns true when this delete data source by name Ok response has a 3xx status code

func (*DeleteDataSourceByNameOK) IsServerError

func (o *DeleteDataSourceByNameOK) IsServerError() bool

IsServerError returns true when this delete data source by name Ok response has a 5xx status code

func (*DeleteDataSourceByNameOK) IsSuccess

func (o *DeleteDataSourceByNameOK) IsSuccess() bool

IsSuccess returns true when this delete data source by name Ok response has a 2xx status code

func (*DeleteDataSourceByNameOK) String

func (o *DeleteDataSourceByNameOK) String() string

type DeleteDataSourceByNameParams

type DeleteDataSourceByNameParams struct {

	// Name.
	Name string

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

DeleteDataSourceByNameParams contains all the parameters to send to the API endpoint

for the delete data source by name operation.

Typically these are written to a http.Request.

func NewDeleteDataSourceByNameParams

func NewDeleteDataSourceByNameParams() *DeleteDataSourceByNameParams

NewDeleteDataSourceByNameParams creates a new DeleteDataSourceByNameParams 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 NewDeleteDataSourceByNameParamsWithContext

func NewDeleteDataSourceByNameParamsWithContext(ctx context.Context) *DeleteDataSourceByNameParams

NewDeleteDataSourceByNameParamsWithContext creates a new DeleteDataSourceByNameParams object with the ability to set a context for a request.

func NewDeleteDataSourceByNameParamsWithHTTPClient

func NewDeleteDataSourceByNameParamsWithHTTPClient(client *http.Client) *DeleteDataSourceByNameParams

NewDeleteDataSourceByNameParamsWithHTTPClient creates a new DeleteDataSourceByNameParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDataSourceByNameParamsWithTimeout

func NewDeleteDataSourceByNameParamsWithTimeout(timeout time.Duration) *DeleteDataSourceByNameParams

NewDeleteDataSourceByNameParamsWithTimeout creates a new DeleteDataSourceByNameParams object with the ability to set a timeout on a request.

func (*DeleteDataSourceByNameParams) SetContext

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

SetContext adds the context to the delete data source by name params

func (*DeleteDataSourceByNameParams) SetDefaults

func (o *DeleteDataSourceByNameParams) SetDefaults()

SetDefaults hydrates default values in the delete data source by name params (not the query body).

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

func (*DeleteDataSourceByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete data source by name params

func (*DeleteDataSourceByNameParams) SetName

func (o *DeleteDataSourceByNameParams) SetName(name string)

SetName adds the name to the delete data source by name params

func (*DeleteDataSourceByNameParams) SetTimeout

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

SetTimeout adds the timeout to the delete data source by name params

func (*DeleteDataSourceByNameParams) WithContext

WithContext adds the context to the delete data source by name params

func (*DeleteDataSourceByNameParams) WithDefaults

WithDefaults hydrates default values in the delete data source by name params (not the query body).

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

func (*DeleteDataSourceByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete data source by name params

func (*DeleteDataSourceByNameParams) WithName

WithName adds the name to the delete data source by name params

func (*DeleteDataSourceByNameParams) WithTimeout

WithTimeout adds the timeout to the delete data source by name params

func (*DeleteDataSourceByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDataSourceByNameReader

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

DeleteDataSourceByNameReader is a Reader for the DeleteDataSourceByName structure.

func (*DeleteDataSourceByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDataSourceByNameUnauthorized

type DeleteDataSourceByNameUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByNameUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteDataSourceByNameUnauthorized

func NewDeleteDataSourceByNameUnauthorized() *DeleteDataSourceByNameUnauthorized

NewDeleteDataSourceByNameUnauthorized creates a DeleteDataSourceByNameUnauthorized with default headers values

func (*DeleteDataSourceByNameUnauthorized) Code

Code gets the status code for the delete data source by name unauthorized response

func (*DeleteDataSourceByNameUnauthorized) Error

func (*DeleteDataSourceByNameUnauthorized) GetPayload

func (*DeleteDataSourceByNameUnauthorized) IsClientError

func (o *DeleteDataSourceByNameUnauthorized) IsClientError() bool

IsClientError returns true when this delete data source by name unauthorized response has a 4xx status code

func (*DeleteDataSourceByNameUnauthorized) IsCode

IsCode returns true when this delete data source by name unauthorized response a status code equal to that given

func (*DeleteDataSourceByNameUnauthorized) IsRedirect

func (o *DeleteDataSourceByNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete data source by name unauthorized response has a 3xx status code

func (*DeleteDataSourceByNameUnauthorized) IsServerError

func (o *DeleteDataSourceByNameUnauthorized) IsServerError() bool

IsServerError returns true when this delete data source by name unauthorized response has a 5xx status code

func (*DeleteDataSourceByNameUnauthorized) IsSuccess

IsSuccess returns true when this delete data source by name unauthorized response has a 2xx status code

func (*DeleteDataSourceByNameUnauthorized) String

type DeleteDataSourceByUIDForbidden

type DeleteDataSourceByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteDataSourceByUIDForbidden

func NewDeleteDataSourceByUIDForbidden() *DeleteDataSourceByUIDForbidden

NewDeleteDataSourceByUIDForbidden creates a DeleteDataSourceByUIDForbidden with default headers values

func (*DeleteDataSourceByUIDForbidden) Code

Code gets the status code for the delete data source by Uid forbidden response

func (*DeleteDataSourceByUIDForbidden) Error

func (*DeleteDataSourceByUIDForbidden) GetPayload

func (*DeleteDataSourceByUIDForbidden) IsClientError

func (o *DeleteDataSourceByUIDForbidden) IsClientError() bool

IsClientError returns true when this delete data source by Uid forbidden response has a 4xx status code

func (*DeleteDataSourceByUIDForbidden) IsCode

func (o *DeleteDataSourceByUIDForbidden) IsCode(code int) bool

IsCode returns true when this delete data source by Uid forbidden response a status code equal to that given

func (*DeleteDataSourceByUIDForbidden) IsRedirect

func (o *DeleteDataSourceByUIDForbidden) IsRedirect() bool

IsRedirect returns true when this delete data source by Uid forbidden response has a 3xx status code

func (*DeleteDataSourceByUIDForbidden) IsServerError

func (o *DeleteDataSourceByUIDForbidden) IsServerError() bool

IsServerError returns true when this delete data source by Uid forbidden response has a 5xx status code

func (*DeleteDataSourceByUIDForbidden) IsSuccess

func (o *DeleteDataSourceByUIDForbidden) IsSuccess() bool

IsSuccess returns true when this delete data source by Uid forbidden response has a 2xx status code

func (*DeleteDataSourceByUIDForbidden) String

type DeleteDataSourceByUIDInternalServerError

type DeleteDataSourceByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteDataSourceByUIDInternalServerError

func NewDeleteDataSourceByUIDInternalServerError() *DeleteDataSourceByUIDInternalServerError

NewDeleteDataSourceByUIDInternalServerError creates a DeleteDataSourceByUIDInternalServerError with default headers values

func (*DeleteDataSourceByUIDInternalServerError) Code

Code gets the status code for the delete data source by Uid internal server error response

func (*DeleteDataSourceByUIDInternalServerError) Error

func (*DeleteDataSourceByUIDInternalServerError) GetPayload

func (*DeleteDataSourceByUIDInternalServerError) IsClientError

IsClientError returns true when this delete data source by Uid internal server error response has a 4xx status code

func (*DeleteDataSourceByUIDInternalServerError) IsCode

IsCode returns true when this delete data source by Uid internal server error response a status code equal to that given

func (*DeleteDataSourceByUIDInternalServerError) IsRedirect

IsRedirect returns true when this delete data source by Uid internal server error response has a 3xx status code

func (*DeleteDataSourceByUIDInternalServerError) IsServerError

IsServerError returns true when this delete data source by Uid internal server error response has a 5xx status code

func (*DeleteDataSourceByUIDInternalServerError) IsSuccess

IsSuccess returns true when this delete data source by Uid internal server error response has a 2xx status code

func (*DeleteDataSourceByUIDInternalServerError) String

type DeleteDataSourceByUIDNotFound

type DeleteDataSourceByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteDataSourceByUIDNotFound

func NewDeleteDataSourceByUIDNotFound() *DeleteDataSourceByUIDNotFound

NewDeleteDataSourceByUIDNotFound creates a DeleteDataSourceByUIDNotFound with default headers values

func (*DeleteDataSourceByUIDNotFound) Code

Code gets the status code for the delete data source by Uid not found response

func (*DeleteDataSourceByUIDNotFound) Error

func (*DeleteDataSourceByUIDNotFound) GetPayload

func (*DeleteDataSourceByUIDNotFound) IsClientError

func (o *DeleteDataSourceByUIDNotFound) IsClientError() bool

IsClientError returns true when this delete data source by Uid not found response has a 4xx status code

func (*DeleteDataSourceByUIDNotFound) IsCode

func (o *DeleteDataSourceByUIDNotFound) IsCode(code int) bool

IsCode returns true when this delete data source by Uid not found response a status code equal to that given

func (*DeleteDataSourceByUIDNotFound) IsRedirect

func (o *DeleteDataSourceByUIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete data source by Uid not found response has a 3xx status code

func (*DeleteDataSourceByUIDNotFound) IsServerError

func (o *DeleteDataSourceByUIDNotFound) IsServerError() bool

IsServerError returns true when this delete data source by Uid not found response has a 5xx status code

func (*DeleteDataSourceByUIDNotFound) IsSuccess

func (o *DeleteDataSourceByUIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete data source by Uid not found response has a 2xx status code

func (*DeleteDataSourceByUIDNotFound) String

type DeleteDataSourceByUIDOK

type DeleteDataSourceByUIDOK struct {
	Payload *models.SuccessResponseBody
}

DeleteDataSourceByUIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewDeleteDataSourceByUIDOK

func NewDeleteDataSourceByUIDOK() *DeleteDataSourceByUIDOK

NewDeleteDataSourceByUIDOK creates a DeleteDataSourceByUIDOK with default headers values

func (*DeleteDataSourceByUIDOK) Code

func (o *DeleteDataSourceByUIDOK) Code() int

Code gets the status code for the delete data source by Uid Ok response

func (*DeleteDataSourceByUIDOK) Error

func (o *DeleteDataSourceByUIDOK) Error() string

func (*DeleteDataSourceByUIDOK) GetPayload

func (*DeleteDataSourceByUIDOK) IsClientError

func (o *DeleteDataSourceByUIDOK) IsClientError() bool

IsClientError returns true when this delete data source by Uid Ok response has a 4xx status code

func (*DeleteDataSourceByUIDOK) IsCode

func (o *DeleteDataSourceByUIDOK) IsCode(code int) bool

IsCode returns true when this delete data source by Uid Ok response a status code equal to that given

func (*DeleteDataSourceByUIDOK) IsRedirect

func (o *DeleteDataSourceByUIDOK) IsRedirect() bool

IsRedirect returns true when this delete data source by Uid Ok response has a 3xx status code

func (*DeleteDataSourceByUIDOK) IsServerError

func (o *DeleteDataSourceByUIDOK) IsServerError() bool

IsServerError returns true when this delete data source by Uid Ok response has a 5xx status code

func (*DeleteDataSourceByUIDOK) IsSuccess

func (o *DeleteDataSourceByUIDOK) IsSuccess() bool

IsSuccess returns true when this delete data source by Uid Ok response has a 2xx status code

func (*DeleteDataSourceByUIDOK) String

func (o *DeleteDataSourceByUIDOK) String() string

type DeleteDataSourceByUIDParams

type DeleteDataSourceByUIDParams struct {

	// UID.
	UID string

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

DeleteDataSourceByUIDParams contains all the parameters to send to the API endpoint

for the delete data source by UID operation.

Typically these are written to a http.Request.

func NewDeleteDataSourceByUIDParams

func NewDeleteDataSourceByUIDParams() *DeleteDataSourceByUIDParams

NewDeleteDataSourceByUIDParams creates a new DeleteDataSourceByUIDParams 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 NewDeleteDataSourceByUIDParamsWithContext

func NewDeleteDataSourceByUIDParamsWithContext(ctx context.Context) *DeleteDataSourceByUIDParams

NewDeleteDataSourceByUIDParamsWithContext creates a new DeleteDataSourceByUIDParams object with the ability to set a context for a request.

func NewDeleteDataSourceByUIDParamsWithHTTPClient

func NewDeleteDataSourceByUIDParamsWithHTTPClient(client *http.Client) *DeleteDataSourceByUIDParams

NewDeleteDataSourceByUIDParamsWithHTTPClient creates a new DeleteDataSourceByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDataSourceByUIDParamsWithTimeout

func NewDeleteDataSourceByUIDParamsWithTimeout(timeout time.Duration) *DeleteDataSourceByUIDParams

NewDeleteDataSourceByUIDParamsWithTimeout creates a new DeleteDataSourceByUIDParams object with the ability to set a timeout on a request.

func (*DeleteDataSourceByUIDParams) SetContext

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

SetContext adds the context to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) SetDefaults

func (o *DeleteDataSourceByUIDParams) SetDefaults()

SetDefaults hydrates default values in the delete data source by UID params (not the query body).

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

func (*DeleteDataSourceByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) SetUID

func (o *DeleteDataSourceByUIDParams) SetUID(uid string)

SetUID adds the uid to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WithContext

WithContext adds the context to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WithDefaults

WithDefaults hydrates default values in the delete data source by UID params (not the query body).

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

func (*DeleteDataSourceByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WithTimeout

WithTimeout adds the timeout to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WithUID

WithUID adds the uid to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDataSourceByUIDReader

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

DeleteDataSourceByUIDReader is a Reader for the DeleteDataSourceByUID structure.

func (*DeleteDataSourceByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDataSourceByUIDUnauthorized

type DeleteDataSourceByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteDataSourceByUIDUnauthorized

func NewDeleteDataSourceByUIDUnauthorized() *DeleteDataSourceByUIDUnauthorized

NewDeleteDataSourceByUIDUnauthorized creates a DeleteDataSourceByUIDUnauthorized with default headers values

func (*DeleteDataSourceByUIDUnauthorized) Code

Code gets the status code for the delete data source by Uid unauthorized response

func (*DeleteDataSourceByUIDUnauthorized) Error

func (*DeleteDataSourceByUIDUnauthorized) GetPayload

func (*DeleteDataSourceByUIDUnauthorized) IsClientError

func (o *DeleteDataSourceByUIDUnauthorized) IsClientError() bool

IsClientError returns true when this delete data source by Uid unauthorized response has a 4xx status code

func (*DeleteDataSourceByUIDUnauthorized) IsCode

func (o *DeleteDataSourceByUIDUnauthorized) IsCode(code int) bool

IsCode returns true when this delete data source by Uid unauthorized response a status code equal to that given

func (*DeleteDataSourceByUIDUnauthorized) IsRedirect

func (o *DeleteDataSourceByUIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete data source by Uid unauthorized response has a 3xx status code

func (*DeleteDataSourceByUIDUnauthorized) IsServerError

func (o *DeleteDataSourceByUIDUnauthorized) IsServerError() bool

IsServerError returns true when this delete data source by Uid unauthorized response has a 5xx status code

func (*DeleteDataSourceByUIDUnauthorized) IsSuccess

func (o *DeleteDataSourceByUIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete data source by Uid unauthorized response has a 2xx status code

func (*DeleteDataSourceByUIDUnauthorized) String

type GetDataSourceByIDBadRequest

type GetDataSourceByIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewGetDataSourceByIDBadRequest

func NewGetDataSourceByIDBadRequest() *GetDataSourceByIDBadRequest

NewGetDataSourceByIDBadRequest creates a GetDataSourceByIDBadRequest with default headers values

func (*GetDataSourceByIDBadRequest) Code

func (o *GetDataSourceByIDBadRequest) Code() int

Code gets the status code for the get data source by Id bad request response

func (*GetDataSourceByIDBadRequest) Error

func (*GetDataSourceByIDBadRequest) GetPayload

func (*GetDataSourceByIDBadRequest) IsClientError

func (o *GetDataSourceByIDBadRequest) IsClientError() bool

IsClientError returns true when this get data source by Id bad request response has a 4xx status code

func (*GetDataSourceByIDBadRequest) IsCode

func (o *GetDataSourceByIDBadRequest) IsCode(code int) bool

IsCode returns true when this get data source by Id bad request response a status code equal to that given

func (*GetDataSourceByIDBadRequest) IsRedirect

func (o *GetDataSourceByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get data source by Id bad request response has a 3xx status code

func (*GetDataSourceByIDBadRequest) IsServerError

func (o *GetDataSourceByIDBadRequest) IsServerError() bool

IsServerError returns true when this get data source by Id bad request response has a 5xx status code

func (*GetDataSourceByIDBadRequest) IsSuccess

func (o *GetDataSourceByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this get data source by Id bad request response has a 2xx status code

func (*GetDataSourceByIDBadRequest) String

func (o *GetDataSourceByIDBadRequest) String() string

type GetDataSourceByIDForbidden

type GetDataSourceByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourceByIDForbidden

func NewGetDataSourceByIDForbidden() *GetDataSourceByIDForbidden

NewGetDataSourceByIDForbidden creates a GetDataSourceByIDForbidden with default headers values

func (*GetDataSourceByIDForbidden) Code

func (o *GetDataSourceByIDForbidden) Code() int

Code gets the status code for the get data source by Id forbidden response

func (*GetDataSourceByIDForbidden) Error

func (*GetDataSourceByIDForbidden) GetPayload

func (*GetDataSourceByIDForbidden) IsClientError

func (o *GetDataSourceByIDForbidden) IsClientError() bool

IsClientError returns true when this get data source by Id forbidden response has a 4xx status code

func (*GetDataSourceByIDForbidden) IsCode

func (o *GetDataSourceByIDForbidden) IsCode(code int) bool

IsCode returns true when this get data source by Id forbidden response a status code equal to that given

func (*GetDataSourceByIDForbidden) IsRedirect

func (o *GetDataSourceByIDForbidden) IsRedirect() bool

IsRedirect returns true when this get data source by Id forbidden response has a 3xx status code

func (*GetDataSourceByIDForbidden) IsServerError

func (o *GetDataSourceByIDForbidden) IsServerError() bool

IsServerError returns true when this get data source by Id forbidden response has a 5xx status code

func (*GetDataSourceByIDForbidden) IsSuccess

func (o *GetDataSourceByIDForbidden) IsSuccess() bool

IsSuccess returns true when this get data source by Id forbidden response has a 2xx status code

func (*GetDataSourceByIDForbidden) String

func (o *GetDataSourceByIDForbidden) String() string

type GetDataSourceByIDInternalServerError

type GetDataSourceByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourceByIDInternalServerError

func NewGetDataSourceByIDInternalServerError() *GetDataSourceByIDInternalServerError

NewGetDataSourceByIDInternalServerError creates a GetDataSourceByIDInternalServerError with default headers values

func (*GetDataSourceByIDInternalServerError) Code

Code gets the status code for the get data source by Id internal server error response

func (*GetDataSourceByIDInternalServerError) Error

func (*GetDataSourceByIDInternalServerError) GetPayload

func (*GetDataSourceByIDInternalServerError) IsClientError

func (o *GetDataSourceByIDInternalServerError) IsClientError() bool

IsClientError returns true when this get data source by Id internal server error response has a 4xx status code

func (*GetDataSourceByIDInternalServerError) IsCode

IsCode returns true when this get data source by Id internal server error response a status code equal to that given

func (*GetDataSourceByIDInternalServerError) IsRedirect

IsRedirect returns true when this get data source by Id internal server error response has a 3xx status code

func (*GetDataSourceByIDInternalServerError) IsServerError

func (o *GetDataSourceByIDInternalServerError) IsServerError() bool

IsServerError returns true when this get data source by Id internal server error response has a 5xx status code

func (*GetDataSourceByIDInternalServerError) IsSuccess

IsSuccess returns true when this get data source by Id internal server error response has a 2xx status code

func (*GetDataSourceByIDInternalServerError) String

type GetDataSourceByIDNotFound

type GetDataSourceByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetDataSourceByIDNotFound

func NewGetDataSourceByIDNotFound() *GetDataSourceByIDNotFound

NewGetDataSourceByIDNotFound creates a GetDataSourceByIDNotFound with default headers values

func (*GetDataSourceByIDNotFound) Code

func (o *GetDataSourceByIDNotFound) Code() int

Code gets the status code for the get data source by Id not found response

func (*GetDataSourceByIDNotFound) Error

func (o *GetDataSourceByIDNotFound) Error() string

func (*GetDataSourceByIDNotFound) GetPayload

func (*GetDataSourceByIDNotFound) IsClientError

func (o *GetDataSourceByIDNotFound) IsClientError() bool

IsClientError returns true when this get data source by Id not found response has a 4xx status code

func (*GetDataSourceByIDNotFound) IsCode

func (o *GetDataSourceByIDNotFound) IsCode(code int) bool

IsCode returns true when this get data source by Id not found response a status code equal to that given

func (*GetDataSourceByIDNotFound) IsRedirect

func (o *GetDataSourceByIDNotFound) IsRedirect() bool

IsRedirect returns true when this get data source by Id not found response has a 3xx status code

func (*GetDataSourceByIDNotFound) IsServerError

func (o *GetDataSourceByIDNotFound) IsServerError() bool

IsServerError returns true when this get data source by Id not found response has a 5xx status code

func (*GetDataSourceByIDNotFound) IsSuccess

func (o *GetDataSourceByIDNotFound) IsSuccess() bool

IsSuccess returns true when this get data source by Id not found response has a 2xx status code

func (*GetDataSourceByIDNotFound) String

func (o *GetDataSourceByIDNotFound) String() string

type GetDataSourceByIDOK

type GetDataSourceByIDOK struct {
	Payload *models.DataSource
}

GetDataSourceByIDOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourceByIDOK

func NewGetDataSourceByIDOK() *GetDataSourceByIDOK

NewGetDataSourceByIDOK creates a GetDataSourceByIDOK with default headers values

func (*GetDataSourceByIDOK) Code

func (o *GetDataSourceByIDOK) Code() int

Code gets the status code for the get data source by Id Ok response

func (*GetDataSourceByIDOK) Error

func (o *GetDataSourceByIDOK) Error() string

func (*GetDataSourceByIDOK) GetPayload

func (o *GetDataSourceByIDOK) GetPayload() *models.DataSource

func (*GetDataSourceByIDOK) IsClientError

func (o *GetDataSourceByIDOK) IsClientError() bool

IsClientError returns true when this get data source by Id Ok response has a 4xx status code

func (*GetDataSourceByIDOK) IsCode

func (o *GetDataSourceByIDOK) IsCode(code int) bool

IsCode returns true when this get data source by Id Ok response a status code equal to that given

func (*GetDataSourceByIDOK) IsRedirect

func (o *GetDataSourceByIDOK) IsRedirect() bool

IsRedirect returns true when this get data source by Id Ok response has a 3xx status code

func (*GetDataSourceByIDOK) IsServerError

func (o *GetDataSourceByIDOK) IsServerError() bool

IsServerError returns true when this get data source by Id Ok response has a 5xx status code

func (*GetDataSourceByIDOK) IsSuccess

func (o *GetDataSourceByIDOK) IsSuccess() bool

IsSuccess returns true when this get data source by Id Ok response has a 2xx status code

func (*GetDataSourceByIDOK) String

func (o *GetDataSourceByIDOK) String() string

type GetDataSourceByIDParams

type GetDataSourceByIDParams struct {

	// ID.
	ID string

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

GetDataSourceByIDParams contains all the parameters to send to the API endpoint

for the get data source by ID operation.

Typically these are written to a http.Request.

func NewGetDataSourceByIDParams

func NewGetDataSourceByIDParams() *GetDataSourceByIDParams

NewGetDataSourceByIDParams creates a new GetDataSourceByIDParams 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 NewGetDataSourceByIDParamsWithContext

func NewGetDataSourceByIDParamsWithContext(ctx context.Context) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithContext creates a new GetDataSourceByIDParams object with the ability to set a context for a request.

func NewGetDataSourceByIDParamsWithHTTPClient

func NewGetDataSourceByIDParamsWithHTTPClient(client *http.Client) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithHTTPClient creates a new GetDataSourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceByIDParamsWithTimeout

func NewGetDataSourceByIDParamsWithTimeout(timeout time.Duration) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithTimeout creates a new GetDataSourceByIDParams object with the ability to set a timeout on a request.

func (*GetDataSourceByIDParams) SetContext

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

SetContext adds the context to the get data source by ID params

func (*GetDataSourceByIDParams) SetDefaults

func (o *GetDataSourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the get data source by ID params (not the query body).

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

func (*GetDataSourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source by ID params

func (*GetDataSourceByIDParams) SetID

func (o *GetDataSourceByIDParams) SetID(id string)

SetID adds the id to the get data source by ID params

func (*GetDataSourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get data source by ID params

func (*GetDataSourceByIDParams) WithContext

WithContext adds the context to the get data source by ID params

func (*GetDataSourceByIDParams) WithDefaults

WithDefaults hydrates default values in the get data source by ID params (not the query body).

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

func (*GetDataSourceByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data source by ID params

func (*GetDataSourceByIDParams) WithID

WithID adds the id to the get data source by ID params

func (*GetDataSourceByIDParams) WithTimeout

WithTimeout adds the timeout to the get data source by ID params

func (*GetDataSourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceByIDReader

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

GetDataSourceByIDReader is a Reader for the GetDataSourceByID structure.

func (*GetDataSourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceByIDUnauthorized

type GetDataSourceByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourceByIDUnauthorized

func NewGetDataSourceByIDUnauthorized() *GetDataSourceByIDUnauthorized

NewGetDataSourceByIDUnauthorized creates a GetDataSourceByIDUnauthorized with default headers values

func (*GetDataSourceByIDUnauthorized) Code

Code gets the status code for the get data source by Id unauthorized response

func (*GetDataSourceByIDUnauthorized) Error

func (*GetDataSourceByIDUnauthorized) GetPayload

func (*GetDataSourceByIDUnauthorized) IsClientError

func (o *GetDataSourceByIDUnauthorized) IsClientError() bool

IsClientError returns true when this get data source by Id unauthorized response has a 4xx status code

func (*GetDataSourceByIDUnauthorized) IsCode

func (o *GetDataSourceByIDUnauthorized) IsCode(code int) bool

IsCode returns true when this get data source by Id unauthorized response a status code equal to that given

func (*GetDataSourceByIDUnauthorized) IsRedirect

func (o *GetDataSourceByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this get data source by Id unauthorized response has a 3xx status code

func (*GetDataSourceByIDUnauthorized) IsServerError

func (o *GetDataSourceByIDUnauthorized) IsServerError() bool

IsServerError returns true when this get data source by Id unauthorized response has a 5xx status code

func (*GetDataSourceByIDUnauthorized) IsSuccess

func (o *GetDataSourceByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this get data source by Id unauthorized response has a 2xx status code

func (*GetDataSourceByIDUnauthorized) String

type GetDataSourceByNameForbidden

type GetDataSourceByNameForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByNameForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourceByNameForbidden

func NewGetDataSourceByNameForbidden() *GetDataSourceByNameForbidden

NewGetDataSourceByNameForbidden creates a GetDataSourceByNameForbidden with default headers values

func (*GetDataSourceByNameForbidden) Code

Code gets the status code for the get data source by name forbidden response

func (*GetDataSourceByNameForbidden) Error

func (*GetDataSourceByNameForbidden) GetPayload

func (*GetDataSourceByNameForbidden) IsClientError

func (o *GetDataSourceByNameForbidden) IsClientError() bool

IsClientError returns true when this get data source by name forbidden response has a 4xx status code

func (*GetDataSourceByNameForbidden) IsCode

func (o *GetDataSourceByNameForbidden) IsCode(code int) bool

IsCode returns true when this get data source by name forbidden response a status code equal to that given

func (*GetDataSourceByNameForbidden) IsRedirect

func (o *GetDataSourceByNameForbidden) IsRedirect() bool

IsRedirect returns true when this get data source by name forbidden response has a 3xx status code

func (*GetDataSourceByNameForbidden) IsServerError

func (o *GetDataSourceByNameForbidden) IsServerError() bool

IsServerError returns true when this get data source by name forbidden response has a 5xx status code

func (*GetDataSourceByNameForbidden) IsSuccess

func (o *GetDataSourceByNameForbidden) IsSuccess() bool

IsSuccess returns true when this get data source by name forbidden response has a 2xx status code

func (*GetDataSourceByNameForbidden) String

type GetDataSourceByNameInternalServerError

type GetDataSourceByNameInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByNameInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourceByNameInternalServerError

func NewGetDataSourceByNameInternalServerError() *GetDataSourceByNameInternalServerError

NewGetDataSourceByNameInternalServerError creates a GetDataSourceByNameInternalServerError with default headers values

func (*GetDataSourceByNameInternalServerError) Code

Code gets the status code for the get data source by name internal server error response

func (*GetDataSourceByNameInternalServerError) Error

func (*GetDataSourceByNameInternalServerError) GetPayload

func (*GetDataSourceByNameInternalServerError) IsClientError

func (o *GetDataSourceByNameInternalServerError) IsClientError() bool

IsClientError returns true when this get data source by name internal server error response has a 4xx status code

func (*GetDataSourceByNameInternalServerError) IsCode

IsCode returns true when this get data source by name internal server error response a status code equal to that given

func (*GetDataSourceByNameInternalServerError) IsRedirect

IsRedirect returns true when this get data source by name internal server error response has a 3xx status code

func (*GetDataSourceByNameInternalServerError) IsServerError

func (o *GetDataSourceByNameInternalServerError) IsServerError() bool

IsServerError returns true when this get data source by name internal server error response has a 5xx status code

func (*GetDataSourceByNameInternalServerError) IsSuccess

IsSuccess returns true when this get data source by name internal server error response has a 2xx status code

func (*GetDataSourceByNameInternalServerError) String

type GetDataSourceByNameOK

type GetDataSourceByNameOK struct {
	Payload *models.DataSource
}

GetDataSourceByNameOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourceByNameOK

func NewGetDataSourceByNameOK() *GetDataSourceByNameOK

NewGetDataSourceByNameOK creates a GetDataSourceByNameOK with default headers values

func (*GetDataSourceByNameOK) Code

func (o *GetDataSourceByNameOK) Code() int

Code gets the status code for the get data source by name Ok response

func (*GetDataSourceByNameOK) Error

func (o *GetDataSourceByNameOK) Error() string

func (*GetDataSourceByNameOK) GetPayload

func (o *GetDataSourceByNameOK) GetPayload() *models.DataSource

func (*GetDataSourceByNameOK) IsClientError

func (o *GetDataSourceByNameOK) IsClientError() bool

IsClientError returns true when this get data source by name Ok response has a 4xx status code

func (*GetDataSourceByNameOK) IsCode

func (o *GetDataSourceByNameOK) IsCode(code int) bool

IsCode returns true when this get data source by name Ok response a status code equal to that given

func (*GetDataSourceByNameOK) IsRedirect

func (o *GetDataSourceByNameOK) IsRedirect() bool

IsRedirect returns true when this get data source by name Ok response has a 3xx status code

func (*GetDataSourceByNameOK) IsServerError

func (o *GetDataSourceByNameOK) IsServerError() bool

IsServerError returns true when this get data source by name Ok response has a 5xx status code

func (*GetDataSourceByNameOK) IsSuccess

func (o *GetDataSourceByNameOK) IsSuccess() bool

IsSuccess returns true when this get data source by name Ok response has a 2xx status code

func (*GetDataSourceByNameOK) String

func (o *GetDataSourceByNameOK) String() string

type GetDataSourceByNameParams

type GetDataSourceByNameParams struct {

	// Name.
	Name string

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

GetDataSourceByNameParams contains all the parameters to send to the API endpoint

for the get data source by name operation.

Typically these are written to a http.Request.

func NewGetDataSourceByNameParams

func NewGetDataSourceByNameParams() *GetDataSourceByNameParams

NewGetDataSourceByNameParams creates a new GetDataSourceByNameParams 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 NewGetDataSourceByNameParamsWithContext

func NewGetDataSourceByNameParamsWithContext(ctx context.Context) *GetDataSourceByNameParams

NewGetDataSourceByNameParamsWithContext creates a new GetDataSourceByNameParams object with the ability to set a context for a request.

func NewGetDataSourceByNameParamsWithHTTPClient

func NewGetDataSourceByNameParamsWithHTTPClient(client *http.Client) *GetDataSourceByNameParams

NewGetDataSourceByNameParamsWithHTTPClient creates a new GetDataSourceByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceByNameParamsWithTimeout

func NewGetDataSourceByNameParamsWithTimeout(timeout time.Duration) *GetDataSourceByNameParams

NewGetDataSourceByNameParamsWithTimeout creates a new GetDataSourceByNameParams object with the ability to set a timeout on a request.

func (*GetDataSourceByNameParams) SetContext

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

SetContext adds the context to the get data source by name params

func (*GetDataSourceByNameParams) SetDefaults

func (o *GetDataSourceByNameParams) SetDefaults()

SetDefaults hydrates default values in the get data source by name params (not the query body).

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

func (*GetDataSourceByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source by name params

func (*GetDataSourceByNameParams) SetName

func (o *GetDataSourceByNameParams) SetName(name string)

SetName adds the name to the get data source by name params

func (*GetDataSourceByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get data source by name params

func (*GetDataSourceByNameParams) WithContext

WithContext adds the context to the get data source by name params

func (*GetDataSourceByNameParams) WithDefaults

WithDefaults hydrates default values in the get data source by name params (not the query body).

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

func (*GetDataSourceByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data source by name params

func (*GetDataSourceByNameParams) WithName

WithName adds the name to the get data source by name params

func (*GetDataSourceByNameParams) WithTimeout

WithTimeout adds the timeout to the get data source by name params

func (*GetDataSourceByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceByNameReader

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

GetDataSourceByNameReader is a Reader for the GetDataSourceByName structure.

func (*GetDataSourceByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceByNameUnauthorized

type GetDataSourceByNameUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByNameUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourceByNameUnauthorized

func NewGetDataSourceByNameUnauthorized() *GetDataSourceByNameUnauthorized

NewGetDataSourceByNameUnauthorized creates a GetDataSourceByNameUnauthorized with default headers values

func (*GetDataSourceByNameUnauthorized) Code

Code gets the status code for the get data source by name unauthorized response

func (*GetDataSourceByNameUnauthorized) Error

func (*GetDataSourceByNameUnauthorized) GetPayload

func (*GetDataSourceByNameUnauthorized) IsClientError

func (o *GetDataSourceByNameUnauthorized) IsClientError() bool

IsClientError returns true when this get data source by name unauthorized response has a 4xx status code

func (*GetDataSourceByNameUnauthorized) IsCode

func (o *GetDataSourceByNameUnauthorized) IsCode(code int) bool

IsCode returns true when this get data source by name unauthorized response a status code equal to that given

func (*GetDataSourceByNameUnauthorized) IsRedirect

func (o *GetDataSourceByNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this get data source by name unauthorized response has a 3xx status code

func (*GetDataSourceByNameUnauthorized) IsServerError

func (o *GetDataSourceByNameUnauthorized) IsServerError() bool

IsServerError returns true when this get data source by name unauthorized response has a 5xx status code

func (*GetDataSourceByNameUnauthorized) IsSuccess

func (o *GetDataSourceByNameUnauthorized) IsSuccess() bool

IsSuccess returns true when this get data source by name unauthorized response has a 2xx status code

func (*GetDataSourceByNameUnauthorized) String

type GetDataSourceByUIDBadRequest

type GetDataSourceByUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewGetDataSourceByUIDBadRequest

func NewGetDataSourceByUIDBadRequest() *GetDataSourceByUIDBadRequest

NewGetDataSourceByUIDBadRequest creates a GetDataSourceByUIDBadRequest with default headers values

func (*GetDataSourceByUIDBadRequest) Code

Code gets the status code for the get data source by Uid bad request response

func (*GetDataSourceByUIDBadRequest) Error

func (*GetDataSourceByUIDBadRequest) GetPayload

func (*GetDataSourceByUIDBadRequest) IsClientError

func (o *GetDataSourceByUIDBadRequest) IsClientError() bool

IsClientError returns true when this get data source by Uid bad request response has a 4xx status code

func (*GetDataSourceByUIDBadRequest) IsCode

func (o *GetDataSourceByUIDBadRequest) IsCode(code int) bool

IsCode returns true when this get data source by Uid bad request response a status code equal to that given

func (*GetDataSourceByUIDBadRequest) IsRedirect

func (o *GetDataSourceByUIDBadRequest) IsRedirect() bool

IsRedirect returns true when this get data source by Uid bad request response has a 3xx status code

func (*GetDataSourceByUIDBadRequest) IsServerError

func (o *GetDataSourceByUIDBadRequest) IsServerError() bool

IsServerError returns true when this get data source by Uid bad request response has a 5xx status code

func (*GetDataSourceByUIDBadRequest) IsSuccess

func (o *GetDataSourceByUIDBadRequest) IsSuccess() bool

IsSuccess returns true when this get data source by Uid bad request response has a 2xx status code

func (*GetDataSourceByUIDBadRequest) String

type GetDataSourceByUIDForbidden

type GetDataSourceByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourceByUIDForbidden

func NewGetDataSourceByUIDForbidden() *GetDataSourceByUIDForbidden

NewGetDataSourceByUIDForbidden creates a GetDataSourceByUIDForbidden with default headers values

func (*GetDataSourceByUIDForbidden) Code

func (o *GetDataSourceByUIDForbidden) Code() int

Code gets the status code for the get data source by Uid forbidden response

func (*GetDataSourceByUIDForbidden) Error

func (*GetDataSourceByUIDForbidden) GetPayload

func (*GetDataSourceByUIDForbidden) IsClientError

func (o *GetDataSourceByUIDForbidden) IsClientError() bool

IsClientError returns true when this get data source by Uid forbidden response has a 4xx status code

func (*GetDataSourceByUIDForbidden) IsCode

func (o *GetDataSourceByUIDForbidden) IsCode(code int) bool

IsCode returns true when this get data source by Uid forbidden response a status code equal to that given

func (*GetDataSourceByUIDForbidden) IsRedirect

func (o *GetDataSourceByUIDForbidden) IsRedirect() bool

IsRedirect returns true when this get data source by Uid forbidden response has a 3xx status code

func (*GetDataSourceByUIDForbidden) IsServerError

func (o *GetDataSourceByUIDForbidden) IsServerError() bool

IsServerError returns true when this get data source by Uid forbidden response has a 5xx status code

func (*GetDataSourceByUIDForbidden) IsSuccess

func (o *GetDataSourceByUIDForbidden) IsSuccess() bool

IsSuccess returns true when this get data source by Uid forbidden response has a 2xx status code

func (*GetDataSourceByUIDForbidden) String

func (o *GetDataSourceByUIDForbidden) String() string

type GetDataSourceByUIDInternalServerError

type GetDataSourceByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourceByUIDInternalServerError

func NewGetDataSourceByUIDInternalServerError() *GetDataSourceByUIDInternalServerError

NewGetDataSourceByUIDInternalServerError creates a GetDataSourceByUIDInternalServerError with default headers values

func (*GetDataSourceByUIDInternalServerError) Code

Code gets the status code for the get data source by Uid internal server error response

func (*GetDataSourceByUIDInternalServerError) Error

func (*GetDataSourceByUIDInternalServerError) GetPayload

func (*GetDataSourceByUIDInternalServerError) IsClientError

func (o *GetDataSourceByUIDInternalServerError) IsClientError() bool

IsClientError returns true when this get data source by Uid internal server error response has a 4xx status code

func (*GetDataSourceByUIDInternalServerError) IsCode

IsCode returns true when this get data source by Uid internal server error response a status code equal to that given

func (*GetDataSourceByUIDInternalServerError) IsRedirect

IsRedirect returns true when this get data source by Uid internal server error response has a 3xx status code

func (*GetDataSourceByUIDInternalServerError) IsServerError

func (o *GetDataSourceByUIDInternalServerError) IsServerError() bool

IsServerError returns true when this get data source by Uid internal server error response has a 5xx status code

func (*GetDataSourceByUIDInternalServerError) IsSuccess

IsSuccess returns true when this get data source by Uid internal server error response has a 2xx status code

func (*GetDataSourceByUIDInternalServerError) String

type GetDataSourceByUIDNotFound

type GetDataSourceByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetDataSourceByUIDNotFound

func NewGetDataSourceByUIDNotFound() *GetDataSourceByUIDNotFound

NewGetDataSourceByUIDNotFound creates a GetDataSourceByUIDNotFound with default headers values

func (*GetDataSourceByUIDNotFound) Code

func (o *GetDataSourceByUIDNotFound) Code() int

Code gets the status code for the get data source by Uid not found response

func (*GetDataSourceByUIDNotFound) Error

func (*GetDataSourceByUIDNotFound) GetPayload

func (*GetDataSourceByUIDNotFound) IsClientError

func (o *GetDataSourceByUIDNotFound) IsClientError() bool

IsClientError returns true when this get data source by Uid not found response has a 4xx status code

func (*GetDataSourceByUIDNotFound) IsCode

func (o *GetDataSourceByUIDNotFound) IsCode(code int) bool

IsCode returns true when this get data source by Uid not found response a status code equal to that given

func (*GetDataSourceByUIDNotFound) IsRedirect

func (o *GetDataSourceByUIDNotFound) IsRedirect() bool

IsRedirect returns true when this get data source by Uid not found response has a 3xx status code

func (*GetDataSourceByUIDNotFound) IsServerError

func (o *GetDataSourceByUIDNotFound) IsServerError() bool

IsServerError returns true when this get data source by Uid not found response has a 5xx status code

func (*GetDataSourceByUIDNotFound) IsSuccess

func (o *GetDataSourceByUIDNotFound) IsSuccess() bool

IsSuccess returns true when this get data source by Uid not found response has a 2xx status code

func (*GetDataSourceByUIDNotFound) String

func (o *GetDataSourceByUIDNotFound) String() string

type GetDataSourceByUIDOK

type GetDataSourceByUIDOK struct {
	Payload *models.DataSource
}

GetDataSourceByUIDOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourceByUIDOK

func NewGetDataSourceByUIDOK() *GetDataSourceByUIDOK

NewGetDataSourceByUIDOK creates a GetDataSourceByUIDOK with default headers values

func (*GetDataSourceByUIDOK) Code

func (o *GetDataSourceByUIDOK) Code() int

Code gets the status code for the get data source by Uid Ok response

func (*GetDataSourceByUIDOK) Error

func (o *GetDataSourceByUIDOK) Error() string

func (*GetDataSourceByUIDOK) GetPayload

func (o *GetDataSourceByUIDOK) GetPayload() *models.DataSource

func (*GetDataSourceByUIDOK) IsClientError

func (o *GetDataSourceByUIDOK) IsClientError() bool

IsClientError returns true when this get data source by Uid Ok response has a 4xx status code

func (*GetDataSourceByUIDOK) IsCode

func (o *GetDataSourceByUIDOK) IsCode(code int) bool

IsCode returns true when this get data source by Uid Ok response a status code equal to that given

func (*GetDataSourceByUIDOK) IsRedirect

func (o *GetDataSourceByUIDOK) IsRedirect() bool

IsRedirect returns true when this get data source by Uid Ok response has a 3xx status code

func (*GetDataSourceByUIDOK) IsServerError

func (o *GetDataSourceByUIDOK) IsServerError() bool

IsServerError returns true when this get data source by Uid Ok response has a 5xx status code

func (*GetDataSourceByUIDOK) IsSuccess

func (o *GetDataSourceByUIDOK) IsSuccess() bool

IsSuccess returns true when this get data source by Uid Ok response has a 2xx status code

func (*GetDataSourceByUIDOK) String

func (o *GetDataSourceByUIDOK) String() string

type GetDataSourceByUIDParams

type GetDataSourceByUIDParams struct {

	// UID.
	UID string

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

GetDataSourceByUIDParams contains all the parameters to send to the API endpoint

for the get data source by UID operation.

Typically these are written to a http.Request.

func NewGetDataSourceByUIDParams

func NewGetDataSourceByUIDParams() *GetDataSourceByUIDParams

NewGetDataSourceByUIDParams creates a new GetDataSourceByUIDParams 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 NewGetDataSourceByUIDParamsWithContext

func NewGetDataSourceByUIDParamsWithContext(ctx context.Context) *GetDataSourceByUIDParams

NewGetDataSourceByUIDParamsWithContext creates a new GetDataSourceByUIDParams object with the ability to set a context for a request.

func NewGetDataSourceByUIDParamsWithHTTPClient

func NewGetDataSourceByUIDParamsWithHTTPClient(client *http.Client) *GetDataSourceByUIDParams

NewGetDataSourceByUIDParamsWithHTTPClient creates a new GetDataSourceByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceByUIDParamsWithTimeout

func NewGetDataSourceByUIDParamsWithTimeout(timeout time.Duration) *GetDataSourceByUIDParams

NewGetDataSourceByUIDParamsWithTimeout creates a new GetDataSourceByUIDParams object with the ability to set a timeout on a request.

func (*GetDataSourceByUIDParams) SetContext

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

SetContext adds the context to the get data source by UID params

func (*GetDataSourceByUIDParams) SetDefaults

func (o *GetDataSourceByUIDParams) SetDefaults()

SetDefaults hydrates default values in the get data source by UID params (not the query body).

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

func (*GetDataSourceByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source by UID params

func (*GetDataSourceByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the get data source by UID params

func (*GetDataSourceByUIDParams) SetUID

func (o *GetDataSourceByUIDParams) SetUID(uid string)

SetUID adds the uid to the get data source by UID params

func (*GetDataSourceByUIDParams) WithContext

WithContext adds the context to the get data source by UID params

func (*GetDataSourceByUIDParams) WithDefaults

WithDefaults hydrates default values in the get data source by UID params (not the query body).

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

func (*GetDataSourceByUIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data source by UID params

func (*GetDataSourceByUIDParams) WithTimeout

WithTimeout adds the timeout to the get data source by UID params

func (*GetDataSourceByUIDParams) WithUID

WithUID adds the uid to the get data source by UID params

func (*GetDataSourceByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceByUIDReader

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

GetDataSourceByUIDReader is a Reader for the GetDataSourceByUID structure.

func (*GetDataSourceByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceByUIDUnauthorized

type GetDataSourceByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourceByUIDUnauthorized

func NewGetDataSourceByUIDUnauthorized() *GetDataSourceByUIDUnauthorized

NewGetDataSourceByUIDUnauthorized creates a GetDataSourceByUIDUnauthorized with default headers values

func (*GetDataSourceByUIDUnauthorized) Code

Code gets the status code for the get data source by Uid unauthorized response

func (*GetDataSourceByUIDUnauthorized) Error

func (*GetDataSourceByUIDUnauthorized) GetPayload

func (*GetDataSourceByUIDUnauthorized) IsClientError

func (o *GetDataSourceByUIDUnauthorized) IsClientError() bool

IsClientError returns true when this get data source by Uid unauthorized response has a 4xx status code

func (*GetDataSourceByUIDUnauthorized) IsCode

func (o *GetDataSourceByUIDUnauthorized) IsCode(code int) bool

IsCode returns true when this get data source by Uid unauthorized response a status code equal to that given

func (*GetDataSourceByUIDUnauthorized) IsRedirect

func (o *GetDataSourceByUIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this get data source by Uid unauthorized response has a 3xx status code

func (*GetDataSourceByUIDUnauthorized) IsServerError

func (o *GetDataSourceByUIDUnauthorized) IsServerError() bool

IsServerError returns true when this get data source by Uid unauthorized response has a 5xx status code

func (*GetDataSourceByUIDUnauthorized) IsSuccess

func (o *GetDataSourceByUIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this get data source by Uid unauthorized response has a 2xx status code

func (*GetDataSourceByUIDUnauthorized) String

type GetDataSourceIDByNameForbidden

type GetDataSourceIDByNameForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceIDByNameForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourceIDByNameForbidden

func NewGetDataSourceIDByNameForbidden() *GetDataSourceIDByNameForbidden

NewGetDataSourceIDByNameForbidden creates a GetDataSourceIDByNameForbidden with default headers values

func (*GetDataSourceIDByNameForbidden) Code

Code gets the status code for the get data source Id by name forbidden response

func (*GetDataSourceIDByNameForbidden) Error

func (*GetDataSourceIDByNameForbidden) GetPayload

func (*GetDataSourceIDByNameForbidden) IsClientError

func (o *GetDataSourceIDByNameForbidden) IsClientError() bool

IsClientError returns true when this get data source Id by name forbidden response has a 4xx status code

func (*GetDataSourceIDByNameForbidden) IsCode

func (o *GetDataSourceIDByNameForbidden) IsCode(code int) bool

IsCode returns true when this get data source Id by name forbidden response a status code equal to that given

func (*GetDataSourceIDByNameForbidden) IsRedirect

func (o *GetDataSourceIDByNameForbidden) IsRedirect() bool

IsRedirect returns true when this get data source Id by name forbidden response has a 3xx status code

func (*GetDataSourceIDByNameForbidden) IsServerError

func (o *GetDataSourceIDByNameForbidden) IsServerError() bool

IsServerError returns true when this get data source Id by name forbidden response has a 5xx status code

func (*GetDataSourceIDByNameForbidden) IsSuccess

func (o *GetDataSourceIDByNameForbidden) IsSuccess() bool

IsSuccess returns true when this get data source Id by name forbidden response has a 2xx status code

func (*GetDataSourceIDByNameForbidden) String

type GetDataSourceIDByNameInternalServerError

type GetDataSourceIDByNameInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceIDByNameInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourceIDByNameInternalServerError

func NewGetDataSourceIDByNameInternalServerError() *GetDataSourceIDByNameInternalServerError

NewGetDataSourceIDByNameInternalServerError creates a GetDataSourceIDByNameInternalServerError with default headers values

func (*GetDataSourceIDByNameInternalServerError) Code

Code gets the status code for the get data source Id by name internal server error response

func (*GetDataSourceIDByNameInternalServerError) Error

func (*GetDataSourceIDByNameInternalServerError) GetPayload

func (*GetDataSourceIDByNameInternalServerError) IsClientError

IsClientError returns true when this get data source Id by name internal server error response has a 4xx status code

func (*GetDataSourceIDByNameInternalServerError) IsCode

IsCode returns true when this get data source Id by name internal server error response a status code equal to that given

func (*GetDataSourceIDByNameInternalServerError) IsRedirect

IsRedirect returns true when this get data source Id by name internal server error response has a 3xx status code

func (*GetDataSourceIDByNameInternalServerError) IsServerError

IsServerError returns true when this get data source Id by name internal server error response has a 5xx status code

func (*GetDataSourceIDByNameInternalServerError) IsSuccess

IsSuccess returns true when this get data source Id by name internal server error response has a 2xx status code

func (*GetDataSourceIDByNameInternalServerError) String

type GetDataSourceIDByNameNotFound

type GetDataSourceIDByNameNotFound struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceIDByNameNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetDataSourceIDByNameNotFound

func NewGetDataSourceIDByNameNotFound() *GetDataSourceIDByNameNotFound

NewGetDataSourceIDByNameNotFound creates a GetDataSourceIDByNameNotFound with default headers values

func (*GetDataSourceIDByNameNotFound) Code

Code gets the status code for the get data source Id by name not found response

func (*GetDataSourceIDByNameNotFound) Error

func (*GetDataSourceIDByNameNotFound) GetPayload

func (*GetDataSourceIDByNameNotFound) IsClientError

func (o *GetDataSourceIDByNameNotFound) IsClientError() bool

IsClientError returns true when this get data source Id by name not found response has a 4xx status code

func (*GetDataSourceIDByNameNotFound) IsCode

func (o *GetDataSourceIDByNameNotFound) IsCode(code int) bool

IsCode returns true when this get data source Id by name not found response a status code equal to that given

func (*GetDataSourceIDByNameNotFound) IsRedirect

func (o *GetDataSourceIDByNameNotFound) IsRedirect() bool

IsRedirect returns true when this get data source Id by name not found response has a 3xx status code

func (*GetDataSourceIDByNameNotFound) IsServerError

func (o *GetDataSourceIDByNameNotFound) IsServerError() bool

IsServerError returns true when this get data source Id by name not found response has a 5xx status code

func (*GetDataSourceIDByNameNotFound) IsSuccess

func (o *GetDataSourceIDByNameNotFound) IsSuccess() bool

IsSuccess returns true when this get data source Id by name not found response has a 2xx status code

func (*GetDataSourceIDByNameNotFound) String

type GetDataSourceIDByNameOK

type GetDataSourceIDByNameOK struct {
	Payload *models.GetDataSourceIDByNameOKBody
}

GetDataSourceIDByNameOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourceIDByNameOK

func NewGetDataSourceIDByNameOK() *GetDataSourceIDByNameOK

NewGetDataSourceIDByNameOK creates a GetDataSourceIDByNameOK with default headers values

func (*GetDataSourceIDByNameOK) Code

func (o *GetDataSourceIDByNameOK) Code() int

Code gets the status code for the get data source Id by name Ok response

func (*GetDataSourceIDByNameOK) Error

func (o *GetDataSourceIDByNameOK) Error() string

func (*GetDataSourceIDByNameOK) GetPayload

func (*GetDataSourceIDByNameOK) IsClientError

func (o *GetDataSourceIDByNameOK) IsClientError() bool

IsClientError returns true when this get data source Id by name Ok response has a 4xx status code

func (*GetDataSourceIDByNameOK) IsCode

func (o *GetDataSourceIDByNameOK) IsCode(code int) bool

IsCode returns true when this get data source Id by name Ok response a status code equal to that given

func (*GetDataSourceIDByNameOK) IsRedirect

func (o *GetDataSourceIDByNameOK) IsRedirect() bool

IsRedirect returns true when this get data source Id by name Ok response has a 3xx status code

func (*GetDataSourceIDByNameOK) IsServerError

func (o *GetDataSourceIDByNameOK) IsServerError() bool

IsServerError returns true when this get data source Id by name Ok response has a 5xx status code

func (*GetDataSourceIDByNameOK) IsSuccess

func (o *GetDataSourceIDByNameOK) IsSuccess() bool

IsSuccess returns true when this get data source Id by name Ok response has a 2xx status code

func (*GetDataSourceIDByNameOK) String

func (o *GetDataSourceIDByNameOK) String() string

type GetDataSourceIDByNameParams

type GetDataSourceIDByNameParams struct {

	// Name.
	Name string

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

GetDataSourceIDByNameParams contains all the parameters to send to the API endpoint

for the get data source Id by name operation.

Typically these are written to a http.Request.

func NewGetDataSourceIDByNameParams

func NewGetDataSourceIDByNameParams() *GetDataSourceIDByNameParams

NewGetDataSourceIDByNameParams creates a new GetDataSourceIDByNameParams 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 NewGetDataSourceIDByNameParamsWithContext

func NewGetDataSourceIDByNameParamsWithContext(ctx context.Context) *GetDataSourceIDByNameParams

NewGetDataSourceIDByNameParamsWithContext creates a new GetDataSourceIDByNameParams object with the ability to set a context for a request.

func NewGetDataSourceIDByNameParamsWithHTTPClient

func NewGetDataSourceIDByNameParamsWithHTTPClient(client *http.Client) *GetDataSourceIDByNameParams

NewGetDataSourceIDByNameParamsWithHTTPClient creates a new GetDataSourceIDByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceIDByNameParamsWithTimeout

func NewGetDataSourceIDByNameParamsWithTimeout(timeout time.Duration) *GetDataSourceIDByNameParams

NewGetDataSourceIDByNameParamsWithTimeout creates a new GetDataSourceIDByNameParams object with the ability to set a timeout on a request.

func (*GetDataSourceIDByNameParams) SetContext

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

SetContext adds the context to the get data source Id by name params

func (*GetDataSourceIDByNameParams) SetDefaults

func (o *GetDataSourceIDByNameParams) SetDefaults()

SetDefaults hydrates default values in the get data source Id by name params (not the query body).

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

func (*GetDataSourceIDByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source Id by name params

func (*GetDataSourceIDByNameParams) SetName

func (o *GetDataSourceIDByNameParams) SetName(name string)

SetName adds the name to the get data source Id by name params

func (*GetDataSourceIDByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WithContext

WithContext adds the context to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WithDefaults

WithDefaults hydrates default values in the get data source Id by name params (not the query body).

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

func (*GetDataSourceIDByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WithName

WithName adds the name to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WithTimeout

WithTimeout adds the timeout to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceIDByNameReader

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

GetDataSourceIDByNameReader is a Reader for the GetDataSourceIDByName structure.

func (*GetDataSourceIDByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceIDByNameUnauthorized

type GetDataSourceIDByNameUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceIDByNameUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourceIDByNameUnauthorized

func NewGetDataSourceIDByNameUnauthorized() *GetDataSourceIDByNameUnauthorized

NewGetDataSourceIDByNameUnauthorized creates a GetDataSourceIDByNameUnauthorized with default headers values

func (*GetDataSourceIDByNameUnauthorized) Code

Code gets the status code for the get data source Id by name unauthorized response

func (*GetDataSourceIDByNameUnauthorized) Error

func (*GetDataSourceIDByNameUnauthorized) GetPayload

func (*GetDataSourceIDByNameUnauthorized) IsClientError

func (o *GetDataSourceIDByNameUnauthorized) IsClientError() bool

IsClientError returns true when this get data source Id by name unauthorized response has a 4xx status code

func (*GetDataSourceIDByNameUnauthorized) IsCode

func (o *GetDataSourceIDByNameUnauthorized) IsCode(code int) bool

IsCode returns true when this get data source Id by name unauthorized response a status code equal to that given

func (*GetDataSourceIDByNameUnauthorized) IsRedirect

func (o *GetDataSourceIDByNameUnauthorized) IsRedirect() bool

IsRedirect returns true when this get data source Id by name unauthorized response has a 3xx status code

func (*GetDataSourceIDByNameUnauthorized) IsServerError

func (o *GetDataSourceIDByNameUnauthorized) IsServerError() bool

IsServerError returns true when this get data source Id by name unauthorized response has a 5xx status code

func (*GetDataSourceIDByNameUnauthorized) IsSuccess

func (o *GetDataSourceIDByNameUnauthorized) IsSuccess() bool

IsSuccess returns true when this get data source Id by name unauthorized response has a 2xx status code

func (*GetDataSourceIDByNameUnauthorized) String

type GetDataSourcesForbidden

type GetDataSourcesForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourcesForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourcesForbidden

func NewGetDataSourcesForbidden() *GetDataSourcesForbidden

NewGetDataSourcesForbidden creates a GetDataSourcesForbidden with default headers values

func (*GetDataSourcesForbidden) Code

func (o *GetDataSourcesForbidden) Code() int

Code gets the status code for the get data sources forbidden response

func (*GetDataSourcesForbidden) Error

func (o *GetDataSourcesForbidden) Error() string

func (*GetDataSourcesForbidden) GetPayload

func (*GetDataSourcesForbidden) IsClientError

func (o *GetDataSourcesForbidden) IsClientError() bool

IsClientError returns true when this get data sources forbidden response has a 4xx status code

func (*GetDataSourcesForbidden) IsCode

func (o *GetDataSourcesForbidden) IsCode(code int) bool

IsCode returns true when this get data sources forbidden response a status code equal to that given

func (*GetDataSourcesForbidden) IsRedirect

func (o *GetDataSourcesForbidden) IsRedirect() bool

IsRedirect returns true when this get data sources forbidden response has a 3xx status code

func (*GetDataSourcesForbidden) IsServerError

func (o *GetDataSourcesForbidden) IsServerError() bool

IsServerError returns true when this get data sources forbidden response has a 5xx status code

func (*GetDataSourcesForbidden) IsSuccess

func (o *GetDataSourcesForbidden) IsSuccess() bool

IsSuccess returns true when this get data sources forbidden response has a 2xx status code

func (*GetDataSourcesForbidden) String

func (o *GetDataSourcesForbidden) String() string

type GetDataSourcesInternalServerError

type GetDataSourcesInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourcesInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourcesInternalServerError

func NewGetDataSourcesInternalServerError() *GetDataSourcesInternalServerError

NewGetDataSourcesInternalServerError creates a GetDataSourcesInternalServerError with default headers values

func (*GetDataSourcesInternalServerError) Code

Code gets the status code for the get data sources internal server error response

func (*GetDataSourcesInternalServerError) Error

func (*GetDataSourcesInternalServerError) GetPayload

func (*GetDataSourcesInternalServerError) IsClientError

func (o *GetDataSourcesInternalServerError) IsClientError() bool

IsClientError returns true when this get data sources internal server error response has a 4xx status code

func (*GetDataSourcesInternalServerError) IsCode

func (o *GetDataSourcesInternalServerError) IsCode(code int) bool

IsCode returns true when this get data sources internal server error response a status code equal to that given

func (*GetDataSourcesInternalServerError) IsRedirect

func (o *GetDataSourcesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get data sources internal server error response has a 3xx status code

func (*GetDataSourcesInternalServerError) IsServerError

func (o *GetDataSourcesInternalServerError) IsServerError() bool

IsServerError returns true when this get data sources internal server error response has a 5xx status code

func (*GetDataSourcesInternalServerError) IsSuccess

func (o *GetDataSourcesInternalServerError) IsSuccess() bool

IsSuccess returns true when this get data sources internal server error response has a 2xx status code

func (*GetDataSourcesInternalServerError) String

type GetDataSourcesOK

type GetDataSourcesOK struct {
	Payload models.DataSourceList
}

GetDataSourcesOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourcesOK

func NewGetDataSourcesOK() *GetDataSourcesOK

NewGetDataSourcesOK creates a GetDataSourcesOK with default headers values

func (*GetDataSourcesOK) Code

func (o *GetDataSourcesOK) Code() int

Code gets the status code for the get data sources Ok response

func (*GetDataSourcesOK) Error

func (o *GetDataSourcesOK) Error() string

func (*GetDataSourcesOK) GetPayload

func (o *GetDataSourcesOK) GetPayload() models.DataSourceList

func (*GetDataSourcesOK) IsClientError

func (o *GetDataSourcesOK) IsClientError() bool

IsClientError returns true when this get data sources Ok response has a 4xx status code

func (*GetDataSourcesOK) IsCode

func (o *GetDataSourcesOK) IsCode(code int) bool

IsCode returns true when this get data sources Ok response a status code equal to that given

func (*GetDataSourcesOK) IsRedirect

func (o *GetDataSourcesOK) IsRedirect() bool

IsRedirect returns true when this get data sources Ok response has a 3xx status code

func (*GetDataSourcesOK) IsServerError

func (o *GetDataSourcesOK) IsServerError() bool

IsServerError returns true when this get data sources Ok response has a 5xx status code

func (*GetDataSourcesOK) IsSuccess

func (o *GetDataSourcesOK) IsSuccess() bool

IsSuccess returns true when this get data sources Ok response has a 2xx status code

func (*GetDataSourcesOK) String

func (o *GetDataSourcesOK) String() string

type GetDataSourcesParams

type GetDataSourcesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDataSourcesParams contains all the parameters to send to the API endpoint

for the get data sources operation.

Typically these are written to a http.Request.

func NewGetDataSourcesParams

func NewGetDataSourcesParams() *GetDataSourcesParams

NewGetDataSourcesParams creates a new GetDataSourcesParams 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 NewGetDataSourcesParamsWithContext

func NewGetDataSourcesParamsWithContext(ctx context.Context) *GetDataSourcesParams

NewGetDataSourcesParamsWithContext creates a new GetDataSourcesParams object with the ability to set a context for a request.

func NewGetDataSourcesParamsWithHTTPClient

func NewGetDataSourcesParamsWithHTTPClient(client *http.Client) *GetDataSourcesParams

NewGetDataSourcesParamsWithHTTPClient creates a new GetDataSourcesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourcesParamsWithTimeout

func NewGetDataSourcesParamsWithTimeout(timeout time.Duration) *GetDataSourcesParams

NewGetDataSourcesParamsWithTimeout creates a new GetDataSourcesParams object with the ability to set a timeout on a request.

func (*GetDataSourcesParams) SetContext

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

SetContext adds the context to the get data sources params

func (*GetDataSourcesParams) SetDefaults

func (o *GetDataSourcesParams) SetDefaults()

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

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

func (*GetDataSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data sources params

func (*GetDataSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the get data sources params

func (*GetDataSourcesParams) WithContext

WithContext adds the context to the get data sources params

func (*GetDataSourcesParams) WithDefaults

func (o *GetDataSourcesParams) WithDefaults() *GetDataSourcesParams

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

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

func (*GetDataSourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data sources params

func (*GetDataSourcesParams) WithTimeout

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

WithTimeout adds the timeout to the get data sources params

func (*GetDataSourcesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDataSourcesReader

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

GetDataSourcesReader is a Reader for the GetDataSources structure.

func (*GetDataSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourcesUnauthorized

type GetDataSourcesUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourcesUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourcesUnauthorized

func NewGetDataSourcesUnauthorized() *GetDataSourcesUnauthorized

NewGetDataSourcesUnauthorized creates a GetDataSourcesUnauthorized with default headers values

func (*GetDataSourcesUnauthorized) Code

func (o *GetDataSourcesUnauthorized) Code() int

Code gets the status code for the get data sources unauthorized response

func (*GetDataSourcesUnauthorized) Error

func (*GetDataSourcesUnauthorized) GetPayload

func (*GetDataSourcesUnauthorized) IsClientError

func (o *GetDataSourcesUnauthorized) IsClientError() bool

IsClientError returns true when this get data sources unauthorized response has a 4xx status code

func (*GetDataSourcesUnauthorized) IsCode

func (o *GetDataSourcesUnauthorized) IsCode(code int) bool

IsCode returns true when this get data sources unauthorized response a status code equal to that given

func (*GetDataSourcesUnauthorized) IsRedirect

func (o *GetDataSourcesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get data sources unauthorized response has a 3xx status code

func (*GetDataSourcesUnauthorized) IsServerError

func (o *GetDataSourcesUnauthorized) IsServerError() bool

IsServerError returns true when this get data sources unauthorized response has a 5xx status code

func (*GetDataSourcesUnauthorized) IsSuccess

func (o *GetDataSourcesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get data sources unauthorized response has a 2xx status code

func (*GetDataSourcesUnauthorized) String

func (o *GetDataSourcesUnauthorized) String() string

type UpdateDataSourceByIDForbidden

type UpdateDataSourceByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdateDataSourceByIDForbidden

func NewUpdateDataSourceByIDForbidden() *UpdateDataSourceByIDForbidden

NewUpdateDataSourceByIDForbidden creates a UpdateDataSourceByIDForbidden with default headers values

func (*UpdateDataSourceByIDForbidden) Code

Code gets the status code for the update data source by Id forbidden response

func (*UpdateDataSourceByIDForbidden) Error

func (*UpdateDataSourceByIDForbidden) GetPayload

func (*UpdateDataSourceByIDForbidden) IsClientError

func (o *UpdateDataSourceByIDForbidden) IsClientError() bool

IsClientError returns true when this update data source by Id forbidden response has a 4xx status code

func (*UpdateDataSourceByIDForbidden) IsCode

func (o *UpdateDataSourceByIDForbidden) IsCode(code int) bool

IsCode returns true when this update data source by Id forbidden response a status code equal to that given

func (*UpdateDataSourceByIDForbidden) IsRedirect

func (o *UpdateDataSourceByIDForbidden) IsRedirect() bool

IsRedirect returns true when this update data source by Id forbidden response has a 3xx status code

func (*UpdateDataSourceByIDForbidden) IsServerError

func (o *UpdateDataSourceByIDForbidden) IsServerError() bool

IsServerError returns true when this update data source by Id forbidden response has a 5xx status code

func (*UpdateDataSourceByIDForbidden) IsSuccess

func (o *UpdateDataSourceByIDForbidden) IsSuccess() bool

IsSuccess returns true when this update data source by Id forbidden response has a 2xx status code

func (*UpdateDataSourceByIDForbidden) String

type UpdateDataSourceByIDInternalServerError

type UpdateDataSourceByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateDataSourceByIDInternalServerError

func NewUpdateDataSourceByIDInternalServerError() *UpdateDataSourceByIDInternalServerError

NewUpdateDataSourceByIDInternalServerError creates a UpdateDataSourceByIDInternalServerError with default headers values

func (*UpdateDataSourceByIDInternalServerError) Code

Code gets the status code for the update data source by Id internal server error response

func (*UpdateDataSourceByIDInternalServerError) Error

func (*UpdateDataSourceByIDInternalServerError) GetPayload

func (*UpdateDataSourceByIDInternalServerError) IsClientError

func (o *UpdateDataSourceByIDInternalServerError) IsClientError() bool

IsClientError returns true when this update data source by Id internal server error response has a 4xx status code

func (*UpdateDataSourceByIDInternalServerError) IsCode

IsCode returns true when this update data source by Id internal server error response a status code equal to that given

func (*UpdateDataSourceByIDInternalServerError) IsRedirect

IsRedirect returns true when this update data source by Id internal server error response has a 3xx status code

func (*UpdateDataSourceByIDInternalServerError) IsServerError

func (o *UpdateDataSourceByIDInternalServerError) IsServerError() bool

IsServerError returns true when this update data source by Id internal server error response has a 5xx status code

func (*UpdateDataSourceByIDInternalServerError) IsSuccess

IsSuccess returns true when this update data source by Id internal server error response has a 2xx status code

func (*UpdateDataSourceByIDInternalServerError) String

type UpdateDataSourceByIDOK

type UpdateDataSourceByIDOK struct {
	Payload *models.UpdateDataSourceByIDOKBody
}

UpdateDataSourceByIDOK describes a response with status code 200, with default header values.

(empty)

func NewUpdateDataSourceByIDOK

func NewUpdateDataSourceByIDOK() *UpdateDataSourceByIDOK

NewUpdateDataSourceByIDOK creates a UpdateDataSourceByIDOK with default headers values

func (*UpdateDataSourceByIDOK) Code

func (o *UpdateDataSourceByIDOK) Code() int

Code gets the status code for the update data source by Id Ok response

func (*UpdateDataSourceByIDOK) Error

func (o *UpdateDataSourceByIDOK) Error() string

func (*UpdateDataSourceByIDOK) GetPayload

func (*UpdateDataSourceByIDOK) IsClientError

func (o *UpdateDataSourceByIDOK) IsClientError() bool

IsClientError returns true when this update data source by Id Ok response has a 4xx status code

func (*UpdateDataSourceByIDOK) IsCode

func (o *UpdateDataSourceByIDOK) IsCode(code int) bool

IsCode returns true when this update data source by Id Ok response a status code equal to that given

func (*UpdateDataSourceByIDOK) IsRedirect

func (o *UpdateDataSourceByIDOK) IsRedirect() bool

IsRedirect returns true when this update data source by Id Ok response has a 3xx status code

func (*UpdateDataSourceByIDOK) IsServerError

func (o *UpdateDataSourceByIDOK) IsServerError() bool

IsServerError returns true when this update data source by Id Ok response has a 5xx status code

func (*UpdateDataSourceByIDOK) IsSuccess

func (o *UpdateDataSourceByIDOK) IsSuccess() bool

IsSuccess returns true when this update data source by Id Ok response has a 2xx status code

func (*UpdateDataSourceByIDOK) String

func (o *UpdateDataSourceByIDOK) String() string

type UpdateDataSourceByIDParams

type UpdateDataSourceByIDParams struct {

	// Body.
	Body *models.UpdateDataSourceCommand

	// ID.
	ID string

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

UpdateDataSourceByIDParams contains all the parameters to send to the API endpoint

for the update data source by ID operation.

Typically these are written to a http.Request.

func NewUpdateDataSourceByIDParams

func NewUpdateDataSourceByIDParams() *UpdateDataSourceByIDParams

NewUpdateDataSourceByIDParams creates a new UpdateDataSourceByIDParams 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 NewUpdateDataSourceByIDParamsWithContext

func NewUpdateDataSourceByIDParamsWithContext(ctx context.Context) *UpdateDataSourceByIDParams

NewUpdateDataSourceByIDParamsWithContext creates a new UpdateDataSourceByIDParams object with the ability to set a context for a request.

func NewUpdateDataSourceByIDParamsWithHTTPClient

func NewUpdateDataSourceByIDParamsWithHTTPClient(client *http.Client) *UpdateDataSourceByIDParams

NewUpdateDataSourceByIDParamsWithHTTPClient creates a new UpdateDataSourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDataSourceByIDParamsWithTimeout

func NewUpdateDataSourceByIDParamsWithTimeout(timeout time.Duration) *UpdateDataSourceByIDParams

NewUpdateDataSourceByIDParamsWithTimeout creates a new UpdateDataSourceByIDParams object with the ability to set a timeout on a request.

func (*UpdateDataSourceByIDParams) SetBody

SetBody adds the body to the update data source by ID params

func (*UpdateDataSourceByIDParams) SetContext

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

SetContext adds the context to the update data source by ID params

func (*UpdateDataSourceByIDParams) SetDefaults

func (o *UpdateDataSourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the update data source by ID params (not the query body).

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

func (*UpdateDataSourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update data source by ID params

func (*UpdateDataSourceByIDParams) SetID

func (o *UpdateDataSourceByIDParams) SetID(id string)

SetID adds the id to the update data source by ID params

func (*UpdateDataSourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithBody

WithBody adds the body to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithContext

WithContext adds the context to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithDefaults

WithDefaults hydrates default values in the update data source by ID params (not the query body).

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

func (*UpdateDataSourceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithID

WithID adds the id to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithTimeout

WithTimeout adds the timeout to the update data source by ID params

func (*UpdateDataSourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDataSourceByIDReader

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

UpdateDataSourceByIDReader is a Reader for the UpdateDataSourceByID structure.

func (*UpdateDataSourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDataSourceByIDUnauthorized

type UpdateDataSourceByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateDataSourceByIDUnauthorized

func NewUpdateDataSourceByIDUnauthorized() *UpdateDataSourceByIDUnauthorized

NewUpdateDataSourceByIDUnauthorized creates a UpdateDataSourceByIDUnauthorized with default headers values

func (*UpdateDataSourceByIDUnauthorized) Code

Code gets the status code for the update data source by Id unauthorized response

func (*UpdateDataSourceByIDUnauthorized) Error

func (*UpdateDataSourceByIDUnauthorized) GetPayload

func (*UpdateDataSourceByIDUnauthorized) IsClientError

func (o *UpdateDataSourceByIDUnauthorized) IsClientError() bool

IsClientError returns true when this update data source by Id unauthorized response has a 4xx status code

func (*UpdateDataSourceByIDUnauthorized) IsCode

func (o *UpdateDataSourceByIDUnauthorized) IsCode(code int) bool

IsCode returns true when this update data source by Id unauthorized response a status code equal to that given

func (*UpdateDataSourceByIDUnauthorized) IsRedirect

func (o *UpdateDataSourceByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this update data source by Id unauthorized response has a 3xx status code

func (*UpdateDataSourceByIDUnauthorized) IsServerError

func (o *UpdateDataSourceByIDUnauthorized) IsServerError() bool

IsServerError returns true when this update data source by Id unauthorized response has a 5xx status code

func (*UpdateDataSourceByIDUnauthorized) IsSuccess

func (o *UpdateDataSourceByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this update data source by Id unauthorized response has a 2xx status code

func (*UpdateDataSourceByIDUnauthorized) String

type UpdateDataSourceByUIDForbidden

type UpdateDataSourceByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdateDataSourceByUIDForbidden

func NewUpdateDataSourceByUIDForbidden() *UpdateDataSourceByUIDForbidden

NewUpdateDataSourceByUIDForbidden creates a UpdateDataSourceByUIDForbidden with default headers values

func (*UpdateDataSourceByUIDForbidden) Code

Code gets the status code for the update data source by Uid forbidden response

func (*UpdateDataSourceByUIDForbidden) Error

func (*UpdateDataSourceByUIDForbidden) GetPayload

func (*UpdateDataSourceByUIDForbidden) IsClientError

func (o *UpdateDataSourceByUIDForbidden) IsClientError() bool

IsClientError returns true when this update data source by Uid forbidden response has a 4xx status code

func (*UpdateDataSourceByUIDForbidden) IsCode

func (o *UpdateDataSourceByUIDForbidden) IsCode(code int) bool

IsCode returns true when this update data source by Uid forbidden response a status code equal to that given

func (*UpdateDataSourceByUIDForbidden) IsRedirect

func (o *UpdateDataSourceByUIDForbidden) IsRedirect() bool

IsRedirect returns true when this update data source by Uid forbidden response has a 3xx status code

func (*UpdateDataSourceByUIDForbidden) IsServerError

func (o *UpdateDataSourceByUIDForbidden) IsServerError() bool

IsServerError returns true when this update data source by Uid forbidden response has a 5xx status code

func (*UpdateDataSourceByUIDForbidden) IsSuccess

func (o *UpdateDataSourceByUIDForbidden) IsSuccess() bool

IsSuccess returns true when this update data source by Uid forbidden response has a 2xx status code

func (*UpdateDataSourceByUIDForbidden) String

type UpdateDataSourceByUIDInternalServerError

type UpdateDataSourceByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateDataSourceByUIDInternalServerError

func NewUpdateDataSourceByUIDInternalServerError() *UpdateDataSourceByUIDInternalServerError

NewUpdateDataSourceByUIDInternalServerError creates a UpdateDataSourceByUIDInternalServerError with default headers values

func (*UpdateDataSourceByUIDInternalServerError) Code

Code gets the status code for the update data source by Uid internal server error response

func (*UpdateDataSourceByUIDInternalServerError) Error

func (*UpdateDataSourceByUIDInternalServerError) GetPayload

func (*UpdateDataSourceByUIDInternalServerError) IsClientError

IsClientError returns true when this update data source by Uid internal server error response has a 4xx status code

func (*UpdateDataSourceByUIDInternalServerError) IsCode

IsCode returns true when this update data source by Uid internal server error response a status code equal to that given

func (*UpdateDataSourceByUIDInternalServerError) IsRedirect

IsRedirect returns true when this update data source by Uid internal server error response has a 3xx status code

func (*UpdateDataSourceByUIDInternalServerError) IsServerError

IsServerError returns true when this update data source by Uid internal server error response has a 5xx status code

func (*UpdateDataSourceByUIDInternalServerError) IsSuccess

IsSuccess returns true when this update data source by Uid internal server error response has a 2xx status code

func (*UpdateDataSourceByUIDInternalServerError) String

type UpdateDataSourceByUIDOK

type UpdateDataSourceByUIDOK struct {
	Payload *models.UpdateDataSourceByUIDOKBody
}

UpdateDataSourceByUIDOK describes a response with status code 200, with default header values.

(empty)

func NewUpdateDataSourceByUIDOK

func NewUpdateDataSourceByUIDOK() *UpdateDataSourceByUIDOK

NewUpdateDataSourceByUIDOK creates a UpdateDataSourceByUIDOK with default headers values

func (*UpdateDataSourceByUIDOK) Code

func (o *UpdateDataSourceByUIDOK) Code() int

Code gets the status code for the update data source by Uid Ok response

func (*UpdateDataSourceByUIDOK) Error

func (o *UpdateDataSourceByUIDOK) Error() string

func (*UpdateDataSourceByUIDOK) GetPayload

func (*UpdateDataSourceByUIDOK) IsClientError

func (o *UpdateDataSourceByUIDOK) IsClientError() bool

IsClientError returns true when this update data source by Uid Ok response has a 4xx status code

func (*UpdateDataSourceByUIDOK) IsCode

func (o *UpdateDataSourceByUIDOK) IsCode(code int) bool

IsCode returns true when this update data source by Uid Ok response a status code equal to that given

func (*UpdateDataSourceByUIDOK) IsRedirect

func (o *UpdateDataSourceByUIDOK) IsRedirect() bool

IsRedirect returns true when this update data source by Uid Ok response has a 3xx status code

func (*UpdateDataSourceByUIDOK) IsServerError

func (o *UpdateDataSourceByUIDOK) IsServerError() bool

IsServerError returns true when this update data source by Uid Ok response has a 5xx status code

func (*UpdateDataSourceByUIDOK) IsSuccess

func (o *UpdateDataSourceByUIDOK) IsSuccess() bool

IsSuccess returns true when this update data source by Uid Ok response has a 2xx status code

func (*UpdateDataSourceByUIDOK) String

func (o *UpdateDataSourceByUIDOK) String() string

type UpdateDataSourceByUIDParams

type UpdateDataSourceByUIDParams struct {

	// Body.
	Body *models.UpdateDataSourceCommand

	// UID.
	UID string

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

UpdateDataSourceByUIDParams contains all the parameters to send to the API endpoint

for the update data source by UID operation.

Typically these are written to a http.Request.

func NewUpdateDataSourceByUIDParams

func NewUpdateDataSourceByUIDParams() *UpdateDataSourceByUIDParams

NewUpdateDataSourceByUIDParams creates a new UpdateDataSourceByUIDParams 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 NewUpdateDataSourceByUIDParamsWithContext

func NewUpdateDataSourceByUIDParamsWithContext(ctx context.Context) *UpdateDataSourceByUIDParams

NewUpdateDataSourceByUIDParamsWithContext creates a new UpdateDataSourceByUIDParams object with the ability to set a context for a request.

func NewUpdateDataSourceByUIDParamsWithHTTPClient

func NewUpdateDataSourceByUIDParamsWithHTTPClient(client *http.Client) *UpdateDataSourceByUIDParams

NewUpdateDataSourceByUIDParamsWithHTTPClient creates a new UpdateDataSourceByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDataSourceByUIDParamsWithTimeout

func NewUpdateDataSourceByUIDParamsWithTimeout(timeout time.Duration) *UpdateDataSourceByUIDParams

NewUpdateDataSourceByUIDParamsWithTimeout creates a new UpdateDataSourceByUIDParams object with the ability to set a timeout on a request.

func (*UpdateDataSourceByUIDParams) SetBody

SetBody adds the body to the update data source by UID params

func (*UpdateDataSourceByUIDParams) SetContext

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

SetContext adds the context to the update data source by UID params

func (*UpdateDataSourceByUIDParams) SetDefaults

func (o *UpdateDataSourceByUIDParams) SetDefaults()

SetDefaults hydrates default values in the update data source by UID params (not the query body).

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

func (*UpdateDataSourceByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update data source by UID params

func (*UpdateDataSourceByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the update data source by UID params

func (*UpdateDataSourceByUIDParams) SetUID

func (o *UpdateDataSourceByUIDParams) SetUID(uid string)

SetUID adds the uid to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithBody

WithBody adds the body to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithContext

WithContext adds the context to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithDefaults

WithDefaults hydrates default values in the update data source by UID params (not the query body).

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

func (*UpdateDataSourceByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithTimeout

WithTimeout adds the timeout to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithUID

WithUID adds the uid to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDataSourceByUIDReader

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

UpdateDataSourceByUIDReader is a Reader for the UpdateDataSourceByUID structure.

func (*UpdateDataSourceByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDataSourceByUIDUnauthorized

type UpdateDataSourceByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateDataSourceByUIDUnauthorized

func NewUpdateDataSourceByUIDUnauthorized() *UpdateDataSourceByUIDUnauthorized

NewUpdateDataSourceByUIDUnauthorized creates a UpdateDataSourceByUIDUnauthorized with default headers values

func (*UpdateDataSourceByUIDUnauthorized) Code

Code gets the status code for the update data source by Uid unauthorized response

func (*UpdateDataSourceByUIDUnauthorized) Error

func (*UpdateDataSourceByUIDUnauthorized) GetPayload

func (*UpdateDataSourceByUIDUnauthorized) IsClientError

func (o *UpdateDataSourceByUIDUnauthorized) IsClientError() bool

IsClientError returns true when this update data source by Uid unauthorized response has a 4xx status code

func (*UpdateDataSourceByUIDUnauthorized) IsCode

func (o *UpdateDataSourceByUIDUnauthorized) IsCode(code int) bool

IsCode returns true when this update data source by Uid unauthorized response a status code equal to that given

func (*UpdateDataSourceByUIDUnauthorized) IsRedirect

func (o *UpdateDataSourceByUIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this update data source by Uid unauthorized response has a 3xx status code

func (*UpdateDataSourceByUIDUnauthorized) IsServerError

func (o *UpdateDataSourceByUIDUnauthorized) IsServerError() bool

IsServerError returns true when this update data source by Uid unauthorized response has a 5xx status code

func (*UpdateDataSourceByUIDUnauthorized) IsSuccess

func (o *UpdateDataSourceByUIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this update data source by Uid unauthorized response has a 2xx status code

func (*UpdateDataSourceByUIDUnauthorized) String

Source Files

Jump to

Keyboard shortcuts

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