operations

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for operations API

func (*Client) DeleteClustersID

func (a *Client) DeleteClustersID(params *DeleteClustersIDParams, opts ...ClientOption) (*DeleteClustersIDNoContent, error)

DeleteClustersID deletes cluster by ID

Delete the cluster with the specified ID

func (*Client) DeleteDatabasesID

func (a *Client) DeleteDatabasesID(params *DeleteDatabasesIDParams, opts ...ClientOption) (*DeleteDatabasesIDNoContent, error)

DeleteDatabasesID deletes a database

Delete the database with the specified ID

func (*Client) GetClusters

func (a *Client) GetClusters(params *GetClustersParams, opts ...ClientOption) (*GetClustersOK, error)

GetClusters gets all clusters

Retrieve a list of clusters with optional limit and offset

func (*Client) GetClustersID

func (a *Client) GetClustersID(params *GetClustersIDParams, opts ...ClientOption) (*GetClustersIDOK, error)

GetClustersID gets cluster by ID

Retrieve detailed information about a specific cluster

func (*Client) GetDatabases

func (a *Client) GetDatabases(params *GetDatabasesParams, opts ...ClientOption) (*GetDatabasesOK, error)

GetDatabases gets all databases

Retrieve a list of all databases

func (*Client) GetDatabasesID

func (a *Client) GetDatabasesID(params *GetDatabasesIDParams, opts ...ClientOption) (*GetDatabasesIDOK, error)

GetDatabasesID gets database by ID

Retrieve detailed information about a specific database

func (*Client) PostClusters

func (a *Client) PostClusters(params *PostClustersParams, opts ...ClientOption) (*PostClustersOK, error)

PostClusters creates a new cluster

Create a new cluster with the specified options

func (*Client) PostDatabases

func (a *Client) PostDatabases(params *PostDatabasesParams, opts ...ClientOption) (*PostDatabasesOK, error)

PostDatabases creates a new database

Create a new database with the specified options

func (*Client) PostDatabasesIDReplicate

func (a *Client) PostDatabasesIDReplicate(params *PostDatabasesIDReplicateParams, opts ...ClientOption) (*PostDatabasesIDReplicateOK, error)

PostDatabasesIDReplicate replicates database

Replicate the database with the specified ID

func (*Client) PostOauthToken

func (a *Client) PostOauthToken(params *PostOauthTokenParams, opts ...ClientOption) (*PostOauthTokenOK, error)

PostOauthToken obtains o auth token

Get an OAuth token using client credentials

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteClustersID(params *DeleteClustersIDParams, opts ...ClientOption) (*DeleteClustersIDNoContent, error)

	DeleteDatabasesID(params *DeleteDatabasesIDParams, opts ...ClientOption) (*DeleteDatabasesIDNoContent, error)

	GetClusters(params *GetClustersParams, opts ...ClientOption) (*GetClustersOK, error)

	GetClustersID(params *GetClustersIDParams, opts ...ClientOption) (*GetClustersIDOK, error)

	GetDatabases(params *GetDatabasesParams, opts ...ClientOption) (*GetDatabasesOK, error)

	GetDatabasesID(params *GetDatabasesIDParams, opts ...ClientOption) (*GetDatabasesIDOK, error)

	PostClusters(params *PostClustersParams, opts ...ClientOption) (*PostClustersOK, error)

	PostDatabases(params *PostDatabasesParams, opts ...ClientOption) (*PostDatabasesOK, error)

	PostDatabasesIDReplicate(params *PostDatabasesIDReplicateParams, opts ...ClientOption) (*PostDatabasesIDReplicateOK, error)

	PostOauthToken(params *PostOauthTokenParams, opts ...ClientOption) (*PostOauthTokenOK, 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 operations API client.

type DeleteClustersIDInternalServerError

type DeleteClustersIDInternalServerError struct {
}

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

Internal Server Error

func NewDeleteClustersIDInternalServerError

func NewDeleteClustersIDInternalServerError() *DeleteClustersIDInternalServerError

NewDeleteClustersIDInternalServerError creates a DeleteClustersIDInternalServerError with default headers values

func (*DeleteClustersIDInternalServerError) Code

Code gets the status code for the delete clusters Id internal server error response

func (*DeleteClustersIDInternalServerError) Error

func (*DeleteClustersIDInternalServerError) IsClientError

func (o *DeleteClustersIDInternalServerError) IsClientError() bool

IsClientError returns true when this delete clusters Id internal server error response has a 4xx status code

func (*DeleteClustersIDInternalServerError) IsCode

IsCode returns true when this delete clusters Id internal server error response a status code equal to that given

func (*DeleteClustersIDInternalServerError) IsRedirect

func (o *DeleteClustersIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete clusters Id internal server error response has a 3xx status code

func (*DeleteClustersIDInternalServerError) IsServerError

func (o *DeleteClustersIDInternalServerError) IsServerError() bool

IsServerError returns true when this delete clusters Id internal server error response has a 5xx status code

func (*DeleteClustersIDInternalServerError) IsSuccess

IsSuccess returns true when this delete clusters Id internal server error response has a 2xx status code

func (*DeleteClustersIDInternalServerError) String

type DeleteClustersIDNoContent

type DeleteClustersIDNoContent struct {
}

DeleteClustersIDNoContent describes a response with status code 204, with default header values.

No Content (successful deletion)

func NewDeleteClustersIDNoContent

func NewDeleteClustersIDNoContent() *DeleteClustersIDNoContent

NewDeleteClustersIDNoContent creates a DeleteClustersIDNoContent with default headers values

func (*DeleteClustersIDNoContent) Code

func (o *DeleteClustersIDNoContent) Code() int

Code gets the status code for the delete clusters Id no content response

func (*DeleteClustersIDNoContent) Error

func (o *DeleteClustersIDNoContent) Error() string

func (*DeleteClustersIDNoContent) IsClientError

func (o *DeleteClustersIDNoContent) IsClientError() bool

IsClientError returns true when this delete clusters Id no content response has a 4xx status code

func (*DeleteClustersIDNoContent) IsCode

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

IsCode returns true when this delete clusters Id no content response a status code equal to that given

func (*DeleteClustersIDNoContent) IsRedirect

func (o *DeleteClustersIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete clusters Id no content response has a 3xx status code

func (*DeleteClustersIDNoContent) IsServerError

func (o *DeleteClustersIDNoContent) IsServerError() bool

IsServerError returns true when this delete clusters Id no content response has a 5xx status code

func (*DeleteClustersIDNoContent) IsSuccess

func (o *DeleteClustersIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete clusters Id no content response has a 2xx status code

func (*DeleteClustersIDNoContent) String

func (o *DeleteClustersIDNoContent) String() string

type DeleteClustersIDNotFound

type DeleteClustersIDNotFound struct {
}

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

Cluster not found

func NewDeleteClustersIDNotFound

func NewDeleteClustersIDNotFound() *DeleteClustersIDNotFound

NewDeleteClustersIDNotFound creates a DeleteClustersIDNotFound with default headers values

func (*DeleteClustersIDNotFound) Code

func (o *DeleteClustersIDNotFound) Code() int

Code gets the status code for the delete clusters Id not found response

func (*DeleteClustersIDNotFound) Error

func (o *DeleteClustersIDNotFound) Error() string

func (*DeleteClustersIDNotFound) IsClientError

func (o *DeleteClustersIDNotFound) IsClientError() bool

IsClientError returns true when this delete clusters Id not found response has a 4xx status code

func (*DeleteClustersIDNotFound) IsCode

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

IsCode returns true when this delete clusters Id not found response a status code equal to that given

func (*DeleteClustersIDNotFound) IsRedirect

func (o *DeleteClustersIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete clusters Id not found response has a 3xx status code

func (*DeleteClustersIDNotFound) IsServerError

func (o *DeleteClustersIDNotFound) IsServerError() bool

IsServerError returns true when this delete clusters Id not found response has a 5xx status code

func (*DeleteClustersIDNotFound) IsSuccess

func (o *DeleteClustersIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete clusters Id not found response has a 2xx status code

func (*DeleteClustersIDNotFound) String

func (o *DeleteClustersIDNotFound) String() string

type DeleteClustersIDParams

type DeleteClustersIDParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

	// ID.
	//
	// Format: uuid
	ID strfmt.UUID

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

DeleteClustersIDParams contains all the parameters to send to the API endpoint

for the delete clusters ID operation.

Typically these are written to a http.Request.

func NewDeleteClustersIDParams

func NewDeleteClustersIDParams() *DeleteClustersIDParams

NewDeleteClustersIDParams creates a new DeleteClustersIDParams 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 NewDeleteClustersIDParamsWithContext

func NewDeleteClustersIDParamsWithContext(ctx context.Context) *DeleteClustersIDParams

NewDeleteClustersIDParamsWithContext creates a new DeleteClustersIDParams object with the ability to set a context for a request.

func NewDeleteClustersIDParamsWithHTTPClient

func NewDeleteClustersIDParamsWithHTTPClient(client *http.Client) *DeleteClustersIDParams

NewDeleteClustersIDParamsWithHTTPClient creates a new DeleteClustersIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClustersIDParamsWithTimeout

func NewDeleteClustersIDParamsWithTimeout(timeout time.Duration) *DeleteClustersIDParams

NewDeleteClustersIDParamsWithTimeout creates a new DeleteClustersIDParams object with the ability to set a timeout on a request.

func (*DeleteClustersIDParams) SetAuthorization

func (o *DeleteClustersIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete clusters ID params

func (*DeleteClustersIDParams) SetContext

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

SetContext adds the context to the delete clusters ID params

func (*DeleteClustersIDParams) SetDefaults

func (o *DeleteClustersIDParams) SetDefaults()

SetDefaults hydrates default values in the delete clusters ID params (not the query body).

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

func (*DeleteClustersIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete clusters ID params

func (*DeleteClustersIDParams) SetID

func (o *DeleteClustersIDParams) SetID(id strfmt.UUID)

SetID adds the id to the delete clusters ID params

func (*DeleteClustersIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete clusters ID params

func (*DeleteClustersIDParams) WithAuthorization

func (o *DeleteClustersIDParams) WithAuthorization(authorization string) *DeleteClustersIDParams

WithAuthorization adds the authorization to the delete clusters ID params

func (*DeleteClustersIDParams) WithContext

WithContext adds the context to the delete clusters ID params

func (*DeleteClustersIDParams) WithDefaults

WithDefaults hydrates default values in the delete clusters ID params (not the query body).

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

func (*DeleteClustersIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete clusters ID params

func (*DeleteClustersIDParams) WithID

WithID adds the id to the delete clusters ID params

func (*DeleteClustersIDParams) WithTimeout

WithTimeout adds the timeout to the delete clusters ID params

func (*DeleteClustersIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClustersIDReader

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

DeleteClustersIDReader is a Reader for the DeleteClustersID structure.

func (*DeleteClustersIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteClustersIDUnauthorized

type DeleteClustersIDUnauthorized struct {
}

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

Unauthorized

func NewDeleteClustersIDUnauthorized

func NewDeleteClustersIDUnauthorized() *DeleteClustersIDUnauthorized

NewDeleteClustersIDUnauthorized creates a DeleteClustersIDUnauthorized with default headers values

func (*DeleteClustersIDUnauthorized) Code

Code gets the status code for the delete clusters Id unauthorized response

func (*DeleteClustersIDUnauthorized) Error

func (*DeleteClustersIDUnauthorized) IsClientError

func (o *DeleteClustersIDUnauthorized) IsClientError() bool

IsClientError returns true when this delete clusters Id unauthorized response has a 4xx status code

func (*DeleteClustersIDUnauthorized) IsCode

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

IsCode returns true when this delete clusters Id unauthorized response a status code equal to that given

func (*DeleteClustersIDUnauthorized) IsRedirect

func (o *DeleteClustersIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete clusters Id unauthorized response has a 3xx status code

func (*DeleteClustersIDUnauthorized) IsServerError

func (o *DeleteClustersIDUnauthorized) IsServerError() bool

IsServerError returns true when this delete clusters Id unauthorized response has a 5xx status code

func (*DeleteClustersIDUnauthorized) IsSuccess

func (o *DeleteClustersIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete clusters Id unauthorized response has a 2xx status code

func (*DeleteClustersIDUnauthorized) String

type DeleteDatabasesIDInternalServerError

type DeleteDatabasesIDInternalServerError struct {
}

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

Internal Server Error

func NewDeleteDatabasesIDInternalServerError

func NewDeleteDatabasesIDInternalServerError() *DeleteDatabasesIDInternalServerError

NewDeleteDatabasesIDInternalServerError creates a DeleteDatabasesIDInternalServerError with default headers values

func (*DeleteDatabasesIDInternalServerError) Code

Code gets the status code for the delete databases Id internal server error response

func (*DeleteDatabasesIDInternalServerError) Error

func (*DeleteDatabasesIDInternalServerError) IsClientError

func (o *DeleteDatabasesIDInternalServerError) IsClientError() bool

IsClientError returns true when this delete databases Id internal server error response has a 4xx status code

func (*DeleteDatabasesIDInternalServerError) IsCode

IsCode returns true when this delete databases Id internal server error response a status code equal to that given

func (*DeleteDatabasesIDInternalServerError) IsRedirect

IsRedirect returns true when this delete databases Id internal server error response has a 3xx status code

func (*DeleteDatabasesIDInternalServerError) IsServerError

func (o *DeleteDatabasesIDInternalServerError) IsServerError() bool

IsServerError returns true when this delete databases Id internal server error response has a 5xx status code

func (*DeleteDatabasesIDInternalServerError) IsSuccess

IsSuccess returns true when this delete databases Id internal server error response has a 2xx status code

func (*DeleteDatabasesIDInternalServerError) String

type DeleteDatabasesIDNoContent

type DeleteDatabasesIDNoContent struct {
}

DeleteDatabasesIDNoContent describes a response with status code 204, with default header values.

No Content (successful deletion)

func NewDeleteDatabasesIDNoContent

func NewDeleteDatabasesIDNoContent() *DeleteDatabasesIDNoContent

NewDeleteDatabasesIDNoContent creates a DeleteDatabasesIDNoContent with default headers values

func (*DeleteDatabasesIDNoContent) Code

func (o *DeleteDatabasesIDNoContent) Code() int

Code gets the status code for the delete databases Id no content response

func (*DeleteDatabasesIDNoContent) Error

func (*DeleteDatabasesIDNoContent) IsClientError

func (o *DeleteDatabasesIDNoContent) IsClientError() bool

IsClientError returns true when this delete databases Id no content response has a 4xx status code

func (*DeleteDatabasesIDNoContent) IsCode

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

IsCode returns true when this delete databases Id no content response a status code equal to that given

func (*DeleteDatabasesIDNoContent) IsRedirect

func (o *DeleteDatabasesIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete databases Id no content response has a 3xx status code

func (*DeleteDatabasesIDNoContent) IsServerError

func (o *DeleteDatabasesIDNoContent) IsServerError() bool

IsServerError returns true when this delete databases Id no content response has a 5xx status code

func (*DeleteDatabasesIDNoContent) IsSuccess

func (o *DeleteDatabasesIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete databases Id no content response has a 2xx status code

func (*DeleteDatabasesIDNoContent) String

func (o *DeleteDatabasesIDNoContent) String() string

type DeleteDatabasesIDNotFound

type DeleteDatabasesIDNotFound struct {
}

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

Database not found

func NewDeleteDatabasesIDNotFound

func NewDeleteDatabasesIDNotFound() *DeleteDatabasesIDNotFound

NewDeleteDatabasesIDNotFound creates a DeleteDatabasesIDNotFound with default headers values

func (*DeleteDatabasesIDNotFound) Code

func (o *DeleteDatabasesIDNotFound) Code() int

Code gets the status code for the delete databases Id not found response

func (*DeleteDatabasesIDNotFound) Error

func (o *DeleteDatabasesIDNotFound) Error() string

func (*DeleteDatabasesIDNotFound) IsClientError

func (o *DeleteDatabasesIDNotFound) IsClientError() bool

IsClientError returns true when this delete databases Id not found response has a 4xx status code

func (*DeleteDatabasesIDNotFound) IsCode

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

IsCode returns true when this delete databases Id not found response a status code equal to that given

func (*DeleteDatabasesIDNotFound) IsRedirect

func (o *DeleteDatabasesIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete databases Id not found response has a 3xx status code

func (*DeleteDatabasesIDNotFound) IsServerError

func (o *DeleteDatabasesIDNotFound) IsServerError() bool

IsServerError returns true when this delete databases Id not found response has a 5xx status code

func (*DeleteDatabasesIDNotFound) IsSuccess

func (o *DeleteDatabasesIDNotFound) IsSuccess() bool

IsSuccess returns true when this delete databases Id not found response has a 2xx status code

func (*DeleteDatabasesIDNotFound) String

func (o *DeleteDatabasesIDNotFound) String() string

type DeleteDatabasesIDParams

type DeleteDatabasesIDParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

	// ID.
	//
	// Format: uuid
	ID strfmt.UUID

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

DeleteDatabasesIDParams contains all the parameters to send to the API endpoint

for the delete databases ID operation.

Typically these are written to a http.Request.

func NewDeleteDatabasesIDParams

func NewDeleteDatabasesIDParams() *DeleteDatabasesIDParams

NewDeleteDatabasesIDParams creates a new DeleteDatabasesIDParams 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 NewDeleteDatabasesIDParamsWithContext

func NewDeleteDatabasesIDParamsWithContext(ctx context.Context) *DeleteDatabasesIDParams

NewDeleteDatabasesIDParamsWithContext creates a new DeleteDatabasesIDParams object with the ability to set a context for a request.

func NewDeleteDatabasesIDParamsWithHTTPClient

func NewDeleteDatabasesIDParamsWithHTTPClient(client *http.Client) *DeleteDatabasesIDParams

NewDeleteDatabasesIDParamsWithHTTPClient creates a new DeleteDatabasesIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDatabasesIDParamsWithTimeout

func NewDeleteDatabasesIDParamsWithTimeout(timeout time.Duration) *DeleteDatabasesIDParams

NewDeleteDatabasesIDParamsWithTimeout creates a new DeleteDatabasesIDParams object with the ability to set a timeout on a request.

func (*DeleteDatabasesIDParams) SetAuthorization

func (o *DeleteDatabasesIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete databases ID params

func (*DeleteDatabasesIDParams) SetContext

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

SetContext adds the context to the delete databases ID params

func (*DeleteDatabasesIDParams) SetDefaults

func (o *DeleteDatabasesIDParams) SetDefaults()

SetDefaults hydrates default values in the delete databases ID params (not the query body).

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

func (*DeleteDatabasesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete databases ID params

func (*DeleteDatabasesIDParams) SetID

func (o *DeleteDatabasesIDParams) SetID(id strfmt.UUID)

SetID adds the id to the delete databases ID params

func (*DeleteDatabasesIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete databases ID params

func (*DeleteDatabasesIDParams) WithAuthorization

func (o *DeleteDatabasesIDParams) WithAuthorization(authorization string) *DeleteDatabasesIDParams

WithAuthorization adds the authorization to the delete databases ID params

func (*DeleteDatabasesIDParams) WithContext

WithContext adds the context to the delete databases ID params

func (*DeleteDatabasesIDParams) WithDefaults

WithDefaults hydrates default values in the delete databases ID params (not the query body).

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

func (*DeleteDatabasesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete databases ID params

func (*DeleteDatabasesIDParams) WithID

WithID adds the id to the delete databases ID params

func (*DeleteDatabasesIDParams) WithTimeout

WithTimeout adds the timeout to the delete databases ID params

func (*DeleteDatabasesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDatabasesIDReader

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

DeleteDatabasesIDReader is a Reader for the DeleteDatabasesID structure.

func (*DeleteDatabasesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDatabasesIDUnauthorized

type DeleteDatabasesIDUnauthorized struct {
}

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

Unauthorized

func NewDeleteDatabasesIDUnauthorized

func NewDeleteDatabasesIDUnauthorized() *DeleteDatabasesIDUnauthorized

NewDeleteDatabasesIDUnauthorized creates a DeleteDatabasesIDUnauthorized with default headers values

func (*DeleteDatabasesIDUnauthorized) Code

Code gets the status code for the delete databases Id unauthorized response

func (*DeleteDatabasesIDUnauthorized) Error

func (*DeleteDatabasesIDUnauthorized) IsClientError

func (o *DeleteDatabasesIDUnauthorized) IsClientError() bool

IsClientError returns true when this delete databases Id unauthorized response has a 4xx status code

func (*DeleteDatabasesIDUnauthorized) IsCode

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

IsCode returns true when this delete databases Id unauthorized response a status code equal to that given

func (*DeleteDatabasesIDUnauthorized) IsRedirect

func (o *DeleteDatabasesIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete databases Id unauthorized response has a 3xx status code

func (*DeleteDatabasesIDUnauthorized) IsServerError

func (o *DeleteDatabasesIDUnauthorized) IsServerError() bool

IsServerError returns true when this delete databases Id unauthorized response has a 5xx status code

func (*DeleteDatabasesIDUnauthorized) IsSuccess

func (o *DeleteDatabasesIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete databases Id unauthorized response has a 2xx status code

func (*DeleteDatabasesIDUnauthorized) String

type GetClustersIDInternalServerError

type GetClustersIDInternalServerError struct {
}

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

Internal Server Error

func NewGetClustersIDInternalServerError

func NewGetClustersIDInternalServerError() *GetClustersIDInternalServerError

NewGetClustersIDInternalServerError creates a GetClustersIDInternalServerError with default headers values

func (*GetClustersIDInternalServerError) Code

Code gets the status code for the get clusters Id internal server error response

func (*GetClustersIDInternalServerError) Error

func (*GetClustersIDInternalServerError) IsClientError

func (o *GetClustersIDInternalServerError) IsClientError() bool

IsClientError returns true when this get clusters Id internal server error response has a 4xx status code

func (*GetClustersIDInternalServerError) IsCode

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

IsCode returns true when this get clusters Id internal server error response a status code equal to that given

func (*GetClustersIDInternalServerError) IsRedirect

func (o *GetClustersIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this get clusters Id internal server error response has a 3xx status code

func (*GetClustersIDInternalServerError) IsServerError

func (o *GetClustersIDInternalServerError) IsServerError() bool

IsServerError returns true when this get clusters Id internal server error response has a 5xx status code

func (*GetClustersIDInternalServerError) IsSuccess

func (o *GetClustersIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this get clusters Id internal server error response has a 2xx status code

func (*GetClustersIDInternalServerError) String

type GetClustersIDNotFound

type GetClustersIDNotFound struct {
}

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

Cluster not found

func NewGetClustersIDNotFound

func NewGetClustersIDNotFound() *GetClustersIDNotFound

NewGetClustersIDNotFound creates a GetClustersIDNotFound with default headers values

func (*GetClustersIDNotFound) Code

func (o *GetClustersIDNotFound) Code() int

Code gets the status code for the get clusters Id not found response

func (*GetClustersIDNotFound) Error

func (o *GetClustersIDNotFound) Error() string

func (*GetClustersIDNotFound) IsClientError

func (o *GetClustersIDNotFound) IsClientError() bool

IsClientError returns true when this get clusters Id not found response has a 4xx status code

func (*GetClustersIDNotFound) IsCode

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

IsCode returns true when this get clusters Id not found response a status code equal to that given

func (*GetClustersIDNotFound) IsRedirect

func (o *GetClustersIDNotFound) IsRedirect() bool

IsRedirect returns true when this get clusters Id not found response has a 3xx status code

func (*GetClustersIDNotFound) IsServerError

func (o *GetClustersIDNotFound) IsServerError() bool

IsServerError returns true when this get clusters Id not found response has a 5xx status code

func (*GetClustersIDNotFound) IsSuccess

func (o *GetClustersIDNotFound) IsSuccess() bool

IsSuccess returns true when this get clusters Id not found response has a 2xx status code

func (*GetClustersIDNotFound) String

func (o *GetClustersIDNotFound) String() string

type GetClustersIDOK

type GetClustersIDOK struct {
	Payload *models.ClusterDetails
}

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

Successful response

func NewGetClustersIDOK

func NewGetClustersIDOK() *GetClustersIDOK

NewGetClustersIDOK creates a GetClustersIDOK with default headers values

func (*GetClustersIDOK) Code

func (o *GetClustersIDOK) Code() int

Code gets the status code for the get clusters Id o k response

func (*GetClustersIDOK) Error

func (o *GetClustersIDOK) Error() string

func (*GetClustersIDOK) GetPayload

func (o *GetClustersIDOK) GetPayload() *models.ClusterDetails

func (*GetClustersIDOK) IsClientError

func (o *GetClustersIDOK) IsClientError() bool

IsClientError returns true when this get clusters Id o k response has a 4xx status code

func (*GetClustersIDOK) IsCode

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

IsCode returns true when this get clusters Id o k response a status code equal to that given

func (*GetClustersIDOK) IsRedirect

func (o *GetClustersIDOK) IsRedirect() bool

IsRedirect returns true when this get clusters Id o k response has a 3xx status code

func (*GetClustersIDOK) IsServerError

func (o *GetClustersIDOK) IsServerError() bool

IsServerError returns true when this get clusters Id o k response has a 5xx status code

func (*GetClustersIDOK) IsSuccess

func (o *GetClustersIDOK) IsSuccess() bool

IsSuccess returns true when this get clusters Id o k response has a 2xx status code

func (*GetClustersIDOK) String

func (o *GetClustersIDOK) String() string

type GetClustersIDParams

type GetClustersIDParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

	// ID.
	//
	// Format: uuid
	ID strfmt.UUID

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

GetClustersIDParams contains all the parameters to send to the API endpoint

for the get clusters ID operation.

Typically these are written to a http.Request.

func NewGetClustersIDParams

func NewGetClustersIDParams() *GetClustersIDParams

NewGetClustersIDParams creates a new GetClustersIDParams 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 NewGetClustersIDParamsWithContext

func NewGetClustersIDParamsWithContext(ctx context.Context) *GetClustersIDParams

NewGetClustersIDParamsWithContext creates a new GetClustersIDParams object with the ability to set a context for a request.

func NewGetClustersIDParamsWithHTTPClient

func NewGetClustersIDParamsWithHTTPClient(client *http.Client) *GetClustersIDParams

NewGetClustersIDParamsWithHTTPClient creates a new GetClustersIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetClustersIDParamsWithTimeout

func NewGetClustersIDParamsWithTimeout(timeout time.Duration) *GetClustersIDParams

NewGetClustersIDParamsWithTimeout creates a new GetClustersIDParams object with the ability to set a timeout on a request.

func (*GetClustersIDParams) SetAuthorization

func (o *GetClustersIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get clusters ID params

func (*GetClustersIDParams) SetContext

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

SetContext adds the context to the get clusters ID params

func (*GetClustersIDParams) SetDefaults

func (o *GetClustersIDParams) SetDefaults()

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

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

func (*GetClustersIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get clusters ID params

func (*GetClustersIDParams) SetID

func (o *GetClustersIDParams) SetID(id strfmt.UUID)

SetID adds the id to the get clusters ID params

func (*GetClustersIDParams) SetTimeout

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

SetTimeout adds the timeout to the get clusters ID params

func (*GetClustersIDParams) WithAuthorization

func (o *GetClustersIDParams) WithAuthorization(authorization string) *GetClustersIDParams

WithAuthorization adds the authorization to the get clusters ID params

func (*GetClustersIDParams) WithContext

WithContext adds the context to the get clusters ID params

func (*GetClustersIDParams) WithDefaults

func (o *GetClustersIDParams) WithDefaults() *GetClustersIDParams

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

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

func (*GetClustersIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get clusters ID params

func (*GetClustersIDParams) WithID

WithID adds the id to the get clusters ID params

func (*GetClustersIDParams) WithTimeout

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

WithTimeout adds the timeout to the get clusters ID params

func (*GetClustersIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClustersIDReader

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

GetClustersIDReader is a Reader for the GetClustersID structure.

func (*GetClustersIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClustersIDUnauthorized

type GetClustersIDUnauthorized struct {
}

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

Unauthorized

func NewGetClustersIDUnauthorized

func NewGetClustersIDUnauthorized() *GetClustersIDUnauthorized

NewGetClustersIDUnauthorized creates a GetClustersIDUnauthorized with default headers values

func (*GetClustersIDUnauthorized) Code

func (o *GetClustersIDUnauthorized) Code() int

Code gets the status code for the get clusters Id unauthorized response

func (*GetClustersIDUnauthorized) Error

func (o *GetClustersIDUnauthorized) Error() string

func (*GetClustersIDUnauthorized) IsClientError

func (o *GetClustersIDUnauthorized) IsClientError() bool

IsClientError returns true when this get clusters Id unauthorized response has a 4xx status code

func (*GetClustersIDUnauthorized) IsCode

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

IsCode returns true when this get clusters Id unauthorized response a status code equal to that given

func (*GetClustersIDUnauthorized) IsRedirect

func (o *GetClustersIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this get clusters Id unauthorized response has a 3xx status code

func (*GetClustersIDUnauthorized) IsServerError

func (o *GetClustersIDUnauthorized) IsServerError() bool

IsServerError returns true when this get clusters Id unauthorized response has a 5xx status code

func (*GetClustersIDUnauthorized) IsSuccess

func (o *GetClustersIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this get clusters Id unauthorized response has a 2xx status code

func (*GetClustersIDUnauthorized) String

func (o *GetClustersIDUnauthorized) String() string

type GetClustersInternalServerError

type GetClustersInternalServerError struct {
}

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

Internal Server Error

func NewGetClustersInternalServerError

func NewGetClustersInternalServerError() *GetClustersInternalServerError

NewGetClustersInternalServerError creates a GetClustersInternalServerError with default headers values

func (*GetClustersInternalServerError) Code

Code gets the status code for the get clusters internal server error response

func (*GetClustersInternalServerError) Error

func (*GetClustersInternalServerError) IsClientError

func (o *GetClustersInternalServerError) IsClientError() bool

IsClientError returns true when this get clusters internal server error response has a 4xx status code

func (*GetClustersInternalServerError) IsCode

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

IsCode returns true when this get clusters internal server error response a status code equal to that given

func (*GetClustersInternalServerError) IsRedirect

func (o *GetClustersInternalServerError) IsRedirect() bool

IsRedirect returns true when this get clusters internal server error response has a 3xx status code

func (*GetClustersInternalServerError) IsServerError

func (o *GetClustersInternalServerError) IsServerError() bool

IsServerError returns true when this get clusters internal server error response has a 5xx status code

func (*GetClustersInternalServerError) IsSuccess

func (o *GetClustersInternalServerError) IsSuccess() bool

IsSuccess returns true when this get clusters internal server error response has a 2xx status code

func (*GetClustersInternalServerError) String

type GetClustersOK

type GetClustersOK struct {
	Payload []*models.ClusterDetails
}

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

Successful response

func NewGetClustersOK

func NewGetClustersOK() *GetClustersOK

NewGetClustersOK creates a GetClustersOK with default headers values

func (*GetClustersOK) Code

func (o *GetClustersOK) Code() int

Code gets the status code for the get clusters o k response

func (*GetClustersOK) Error

func (o *GetClustersOK) Error() string

func (*GetClustersOK) GetPayload

func (o *GetClustersOK) GetPayload() []*models.ClusterDetails

func (*GetClustersOK) IsClientError

func (o *GetClustersOK) IsClientError() bool

IsClientError returns true when this get clusters o k response has a 4xx status code

func (*GetClustersOK) IsCode

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

IsCode returns true when this get clusters o k response a status code equal to that given

func (*GetClustersOK) IsRedirect

func (o *GetClustersOK) IsRedirect() bool

IsRedirect returns true when this get clusters o k response has a 3xx status code

func (*GetClustersOK) IsServerError

func (o *GetClustersOK) IsServerError() bool

IsServerError returns true when this get clusters o k response has a 5xx status code

func (*GetClustersOK) IsSuccess

func (o *GetClustersOK) IsSuccess() bool

IsSuccess returns true when this get clusters o k response has a 2xx status code

func (*GetClustersOK) String

func (o *GetClustersOK) String() string

type GetClustersParams

type GetClustersParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

	/* Limit.

	   Number of clusters to retrieve (default is 10)

	   Format: int32
	*/
	Limit *int32

	/* Offset.

	   Offset for pagination (default is 0)

	   Format: int32
	*/
	Offset *int32

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

GetClustersParams contains all the parameters to send to the API endpoint

for the get clusters operation.

Typically these are written to a http.Request.

func NewGetClustersParams

func NewGetClustersParams() *GetClustersParams

NewGetClustersParams creates a new GetClustersParams 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 NewGetClustersParamsWithContext

func NewGetClustersParamsWithContext(ctx context.Context) *GetClustersParams

NewGetClustersParamsWithContext creates a new GetClustersParams object with the ability to set a context for a request.

func NewGetClustersParamsWithHTTPClient

func NewGetClustersParamsWithHTTPClient(client *http.Client) *GetClustersParams

NewGetClustersParamsWithHTTPClient creates a new GetClustersParams object with the ability to set a custom HTTPClient for a request.

func NewGetClustersParamsWithTimeout

func NewGetClustersParamsWithTimeout(timeout time.Duration) *GetClustersParams

NewGetClustersParamsWithTimeout creates a new GetClustersParams object with the ability to set a timeout on a request.

func (*GetClustersParams) SetAuthorization

func (o *GetClustersParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get clusters params

func (*GetClustersParams) SetContext

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

SetContext adds the context to the get clusters params

func (*GetClustersParams) SetDefaults

func (o *GetClustersParams) SetDefaults()

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

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

func (*GetClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get clusters params

func (*GetClustersParams) SetLimit

func (o *GetClustersParams) SetLimit(limit *int32)

SetLimit adds the limit to the get clusters params

func (*GetClustersParams) SetOffset

func (o *GetClustersParams) SetOffset(offset *int32)

SetOffset adds the offset to the get clusters params

func (*GetClustersParams) SetTimeout

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

SetTimeout adds the timeout to the get clusters params

func (*GetClustersParams) WithAuthorization

func (o *GetClustersParams) WithAuthorization(authorization string) *GetClustersParams

WithAuthorization adds the authorization to the get clusters params

func (*GetClustersParams) WithContext

func (o *GetClustersParams) WithContext(ctx context.Context) *GetClustersParams

WithContext adds the context to the get clusters params

func (*GetClustersParams) WithDefaults

func (o *GetClustersParams) WithDefaults() *GetClustersParams

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

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

func (*GetClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get clusters params

func (*GetClustersParams) WithLimit

func (o *GetClustersParams) WithLimit(limit *int32) *GetClustersParams

WithLimit adds the limit to the get clusters params

func (*GetClustersParams) WithOffset

func (o *GetClustersParams) WithOffset(offset *int32) *GetClustersParams

WithOffset adds the offset to the get clusters params

func (*GetClustersParams) WithTimeout

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

WithTimeout adds the timeout to the get clusters params

func (*GetClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClustersReader

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

GetClustersReader is a Reader for the GetClusters structure.

func (*GetClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClustersUnauthorized

type GetClustersUnauthorized struct {
}

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

Unauthorized

func NewGetClustersUnauthorized

func NewGetClustersUnauthorized() *GetClustersUnauthorized

NewGetClustersUnauthorized creates a GetClustersUnauthorized with default headers values

func (*GetClustersUnauthorized) Code

func (o *GetClustersUnauthorized) Code() int

Code gets the status code for the get clusters unauthorized response

func (*GetClustersUnauthorized) Error

func (o *GetClustersUnauthorized) Error() string

func (*GetClustersUnauthorized) IsClientError

func (o *GetClustersUnauthorized) IsClientError() bool

IsClientError returns true when this get clusters unauthorized response has a 4xx status code

func (*GetClustersUnauthorized) IsCode

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

IsCode returns true when this get clusters unauthorized response a status code equal to that given

func (*GetClustersUnauthorized) IsRedirect

func (o *GetClustersUnauthorized) IsRedirect() bool

IsRedirect returns true when this get clusters unauthorized response has a 3xx status code

func (*GetClustersUnauthorized) IsServerError

func (o *GetClustersUnauthorized) IsServerError() bool

IsServerError returns true when this get clusters unauthorized response has a 5xx status code

func (*GetClustersUnauthorized) IsSuccess

func (o *GetClustersUnauthorized) IsSuccess() bool

IsSuccess returns true when this get clusters unauthorized response has a 2xx status code

func (*GetClustersUnauthorized) String

func (o *GetClustersUnauthorized) String() string

type GetDatabasesIDInternalServerError

type GetDatabasesIDInternalServerError struct {
}

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

Internal Server Error

func NewGetDatabasesIDInternalServerError

func NewGetDatabasesIDInternalServerError() *GetDatabasesIDInternalServerError

NewGetDatabasesIDInternalServerError creates a GetDatabasesIDInternalServerError with default headers values

func (*GetDatabasesIDInternalServerError) Code

Code gets the status code for the get databases Id internal server error response

func (*GetDatabasesIDInternalServerError) Error

func (*GetDatabasesIDInternalServerError) IsClientError

func (o *GetDatabasesIDInternalServerError) IsClientError() bool

IsClientError returns true when this get databases Id internal server error response has a 4xx status code

func (*GetDatabasesIDInternalServerError) IsCode

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

IsCode returns true when this get databases Id internal server error response a status code equal to that given

func (*GetDatabasesIDInternalServerError) IsRedirect

func (o *GetDatabasesIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this get databases Id internal server error response has a 3xx status code

func (*GetDatabasesIDInternalServerError) IsServerError

func (o *GetDatabasesIDInternalServerError) IsServerError() bool

IsServerError returns true when this get databases Id internal server error response has a 5xx status code

func (*GetDatabasesIDInternalServerError) IsSuccess

func (o *GetDatabasesIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this get databases Id internal server error response has a 2xx status code

func (*GetDatabasesIDInternalServerError) String

type GetDatabasesIDOK

type GetDatabasesIDOK struct {
	Payload *models.DatabaseDetails
}

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

Successful response

func NewGetDatabasesIDOK

func NewGetDatabasesIDOK() *GetDatabasesIDOK

NewGetDatabasesIDOK creates a GetDatabasesIDOK with default headers values

func (*GetDatabasesIDOK) Code

func (o *GetDatabasesIDOK) Code() int

Code gets the status code for the get databases Id o k response

func (*GetDatabasesIDOK) Error

func (o *GetDatabasesIDOK) Error() string

func (*GetDatabasesIDOK) GetPayload

func (o *GetDatabasesIDOK) GetPayload() *models.DatabaseDetails

func (*GetDatabasesIDOK) IsClientError

func (o *GetDatabasesIDOK) IsClientError() bool

IsClientError returns true when this get databases Id o k response has a 4xx status code

func (*GetDatabasesIDOK) IsCode

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

IsCode returns true when this get databases Id o k response a status code equal to that given

func (*GetDatabasesIDOK) IsRedirect

func (o *GetDatabasesIDOK) IsRedirect() bool

IsRedirect returns true when this get databases Id o k response has a 3xx status code

func (*GetDatabasesIDOK) IsServerError

func (o *GetDatabasesIDOK) IsServerError() bool

IsServerError returns true when this get databases Id o k response has a 5xx status code

func (*GetDatabasesIDOK) IsSuccess

func (o *GetDatabasesIDOK) IsSuccess() bool

IsSuccess returns true when this get databases Id o k response has a 2xx status code

func (*GetDatabasesIDOK) String

func (o *GetDatabasesIDOK) String() string

type GetDatabasesIDParams

type GetDatabasesIDParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

	// ID.
	//
	// Format: uuid
	ID strfmt.UUID

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

GetDatabasesIDParams contains all the parameters to send to the API endpoint

for the get databases ID operation.

Typically these are written to a http.Request.

func NewGetDatabasesIDParams

func NewGetDatabasesIDParams() *GetDatabasesIDParams

NewGetDatabasesIDParams creates a new GetDatabasesIDParams 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 NewGetDatabasesIDParamsWithContext

func NewGetDatabasesIDParamsWithContext(ctx context.Context) *GetDatabasesIDParams

NewGetDatabasesIDParamsWithContext creates a new GetDatabasesIDParams object with the ability to set a context for a request.

func NewGetDatabasesIDParamsWithHTTPClient

func NewGetDatabasesIDParamsWithHTTPClient(client *http.Client) *GetDatabasesIDParams

NewGetDatabasesIDParamsWithHTTPClient creates a new GetDatabasesIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDatabasesIDParamsWithTimeout

func NewGetDatabasesIDParamsWithTimeout(timeout time.Duration) *GetDatabasesIDParams

NewGetDatabasesIDParamsWithTimeout creates a new GetDatabasesIDParams object with the ability to set a timeout on a request.

func (*GetDatabasesIDParams) SetAuthorization

func (o *GetDatabasesIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get databases ID params

func (*GetDatabasesIDParams) SetContext

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

SetContext adds the context to the get databases ID params

func (*GetDatabasesIDParams) SetDefaults

func (o *GetDatabasesIDParams) SetDefaults()

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

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

func (*GetDatabasesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get databases ID params

func (*GetDatabasesIDParams) SetID

func (o *GetDatabasesIDParams) SetID(id strfmt.UUID)

SetID adds the id to the get databases ID params

func (*GetDatabasesIDParams) SetTimeout

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

SetTimeout adds the timeout to the get databases ID params

func (*GetDatabasesIDParams) WithAuthorization

func (o *GetDatabasesIDParams) WithAuthorization(authorization string) *GetDatabasesIDParams

WithAuthorization adds the authorization to the get databases ID params

func (*GetDatabasesIDParams) WithContext

WithContext adds the context to the get databases ID params

func (*GetDatabasesIDParams) WithDefaults

func (o *GetDatabasesIDParams) WithDefaults() *GetDatabasesIDParams

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

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

func (*GetDatabasesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get databases ID params

func (*GetDatabasesIDParams) WithID

WithID adds the id to the get databases ID params

func (*GetDatabasesIDParams) WithTimeout

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

WithTimeout adds the timeout to the get databases ID params

func (*GetDatabasesIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDatabasesIDReader

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

GetDatabasesIDReader is a Reader for the GetDatabasesID structure.

func (*GetDatabasesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDatabasesIDUnauthorized

type GetDatabasesIDUnauthorized struct {
}

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

Unauthorized

func NewGetDatabasesIDUnauthorized

func NewGetDatabasesIDUnauthorized() *GetDatabasesIDUnauthorized

NewGetDatabasesIDUnauthorized creates a GetDatabasesIDUnauthorized with default headers values

func (*GetDatabasesIDUnauthorized) Code

func (o *GetDatabasesIDUnauthorized) Code() int

Code gets the status code for the get databases Id unauthorized response

func (*GetDatabasesIDUnauthorized) Error

func (*GetDatabasesIDUnauthorized) IsClientError

func (o *GetDatabasesIDUnauthorized) IsClientError() bool

IsClientError returns true when this get databases Id unauthorized response has a 4xx status code

func (*GetDatabasesIDUnauthorized) IsCode

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

IsCode returns true when this get databases Id unauthorized response a status code equal to that given

func (*GetDatabasesIDUnauthorized) IsRedirect

func (o *GetDatabasesIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this get databases Id unauthorized response has a 3xx status code

func (*GetDatabasesIDUnauthorized) IsServerError

func (o *GetDatabasesIDUnauthorized) IsServerError() bool

IsServerError returns true when this get databases Id unauthorized response has a 5xx status code

func (*GetDatabasesIDUnauthorized) IsSuccess

func (o *GetDatabasesIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this get databases Id unauthorized response has a 2xx status code

func (*GetDatabasesIDUnauthorized) String

func (o *GetDatabasesIDUnauthorized) String() string

type GetDatabasesInternalServerError

type GetDatabasesInternalServerError struct {
}

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

Internal Server Error

func NewGetDatabasesInternalServerError

func NewGetDatabasesInternalServerError() *GetDatabasesInternalServerError

NewGetDatabasesInternalServerError creates a GetDatabasesInternalServerError with default headers values

func (*GetDatabasesInternalServerError) Code

Code gets the status code for the get databases internal server error response

func (*GetDatabasesInternalServerError) Error

func (*GetDatabasesInternalServerError) IsClientError

func (o *GetDatabasesInternalServerError) IsClientError() bool

IsClientError returns true when this get databases internal server error response has a 4xx status code

func (*GetDatabasesInternalServerError) IsCode

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

IsCode returns true when this get databases internal server error response a status code equal to that given

func (*GetDatabasesInternalServerError) IsRedirect

func (o *GetDatabasesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get databases internal server error response has a 3xx status code

func (*GetDatabasesInternalServerError) IsServerError

func (o *GetDatabasesInternalServerError) IsServerError() bool

IsServerError returns true when this get databases internal server error response has a 5xx status code

func (*GetDatabasesInternalServerError) IsSuccess

func (o *GetDatabasesInternalServerError) IsSuccess() bool

IsSuccess returns true when this get databases internal server error response has a 2xx status code

func (*GetDatabasesInternalServerError) String

type GetDatabasesOK

type GetDatabasesOK struct {
	Payload []*models.Database
}

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

Successful response

func NewGetDatabasesOK

func NewGetDatabasesOK() *GetDatabasesOK

NewGetDatabasesOK creates a GetDatabasesOK with default headers values

func (*GetDatabasesOK) Code

func (o *GetDatabasesOK) Code() int

Code gets the status code for the get databases o k response

func (*GetDatabasesOK) Error

func (o *GetDatabasesOK) Error() string

func (*GetDatabasesOK) GetPayload

func (o *GetDatabasesOK) GetPayload() []*models.Database

func (*GetDatabasesOK) IsClientError

func (o *GetDatabasesOK) IsClientError() bool

IsClientError returns true when this get databases o k response has a 4xx status code

func (*GetDatabasesOK) IsCode

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

IsCode returns true when this get databases o k response a status code equal to that given

func (*GetDatabasesOK) IsRedirect

func (o *GetDatabasesOK) IsRedirect() bool

IsRedirect returns true when this get databases o k response has a 3xx status code

func (*GetDatabasesOK) IsServerError

func (o *GetDatabasesOK) IsServerError() bool

IsServerError returns true when this get databases o k response has a 5xx status code

func (*GetDatabasesOK) IsSuccess

func (o *GetDatabasesOK) IsSuccess() bool

IsSuccess returns true when this get databases o k response has a 2xx status code

func (*GetDatabasesOK) String

func (o *GetDatabasesOK) String() string

type GetDatabasesParams

type GetDatabasesParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

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

GetDatabasesParams contains all the parameters to send to the API endpoint

for the get databases operation.

Typically these are written to a http.Request.

func NewGetDatabasesParams

func NewGetDatabasesParams() *GetDatabasesParams

NewGetDatabasesParams creates a new GetDatabasesParams 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 NewGetDatabasesParamsWithContext

func NewGetDatabasesParamsWithContext(ctx context.Context) *GetDatabasesParams

NewGetDatabasesParamsWithContext creates a new GetDatabasesParams object with the ability to set a context for a request.

func NewGetDatabasesParamsWithHTTPClient

func NewGetDatabasesParamsWithHTTPClient(client *http.Client) *GetDatabasesParams

NewGetDatabasesParamsWithHTTPClient creates a new GetDatabasesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDatabasesParamsWithTimeout

func NewGetDatabasesParamsWithTimeout(timeout time.Duration) *GetDatabasesParams

NewGetDatabasesParamsWithTimeout creates a new GetDatabasesParams object with the ability to set a timeout on a request.

func (*GetDatabasesParams) SetAuthorization

func (o *GetDatabasesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get databases params

func (*GetDatabasesParams) SetContext

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

SetContext adds the context to the get databases params

func (*GetDatabasesParams) SetDefaults

func (o *GetDatabasesParams) SetDefaults()

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

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

func (*GetDatabasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get databases params

func (*GetDatabasesParams) SetTimeout

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

SetTimeout adds the timeout to the get databases params

func (*GetDatabasesParams) WithAuthorization

func (o *GetDatabasesParams) WithAuthorization(authorization string) *GetDatabasesParams

WithAuthorization adds the authorization to the get databases params

func (*GetDatabasesParams) WithContext

WithContext adds the context to the get databases params

func (*GetDatabasesParams) WithDefaults

func (o *GetDatabasesParams) WithDefaults() *GetDatabasesParams

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

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

func (*GetDatabasesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get databases params

func (*GetDatabasesParams) WithTimeout

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

WithTimeout adds the timeout to the get databases params

func (*GetDatabasesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDatabasesReader

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

GetDatabasesReader is a Reader for the GetDatabases structure.

func (*GetDatabasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDatabasesUnauthorized

type GetDatabasesUnauthorized struct {
}

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

Unauthorized

func NewGetDatabasesUnauthorized

func NewGetDatabasesUnauthorized() *GetDatabasesUnauthorized

NewGetDatabasesUnauthorized creates a GetDatabasesUnauthorized with default headers values

func (*GetDatabasesUnauthorized) Code

func (o *GetDatabasesUnauthorized) Code() int

Code gets the status code for the get databases unauthorized response

func (*GetDatabasesUnauthorized) Error

func (o *GetDatabasesUnauthorized) Error() string

func (*GetDatabasesUnauthorized) IsClientError

func (o *GetDatabasesUnauthorized) IsClientError() bool

IsClientError returns true when this get databases unauthorized response has a 4xx status code

func (*GetDatabasesUnauthorized) IsCode

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

IsCode returns true when this get databases unauthorized response a status code equal to that given

func (*GetDatabasesUnauthorized) IsRedirect

func (o *GetDatabasesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get databases unauthorized response has a 3xx status code

func (*GetDatabasesUnauthorized) IsServerError

func (o *GetDatabasesUnauthorized) IsServerError() bool

IsServerError returns true when this get databases unauthorized response has a 5xx status code

func (*GetDatabasesUnauthorized) IsSuccess

func (o *GetDatabasesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get databases unauthorized response has a 2xx status code

func (*GetDatabasesUnauthorized) String

func (o *GetDatabasesUnauthorized) String() string

type PostClustersInternalServerError

type PostClustersInternalServerError struct {
}

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

Internal Server Error

func NewPostClustersInternalServerError

func NewPostClustersInternalServerError() *PostClustersInternalServerError

NewPostClustersInternalServerError creates a PostClustersInternalServerError with default headers values

func (*PostClustersInternalServerError) Code

Code gets the status code for the post clusters internal server error response

func (*PostClustersInternalServerError) Error

func (*PostClustersInternalServerError) IsClientError

func (o *PostClustersInternalServerError) IsClientError() bool

IsClientError returns true when this post clusters internal server error response has a 4xx status code

func (*PostClustersInternalServerError) IsCode

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

IsCode returns true when this post clusters internal server error response a status code equal to that given

func (*PostClustersInternalServerError) IsRedirect

func (o *PostClustersInternalServerError) IsRedirect() bool

IsRedirect returns true when this post clusters internal server error response has a 3xx status code

func (*PostClustersInternalServerError) IsServerError

func (o *PostClustersInternalServerError) IsServerError() bool

IsServerError returns true when this post clusters internal server error response has a 5xx status code

func (*PostClustersInternalServerError) IsSuccess

func (o *PostClustersInternalServerError) IsSuccess() bool

IsSuccess returns true when this post clusters internal server error response has a 2xx status code

func (*PostClustersInternalServerError) String

type PostClustersOK

type PostClustersOK struct {
	Payload *models.ClusterCreationResponse
}

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

Successful response

func NewPostClustersOK

func NewPostClustersOK() *PostClustersOK

NewPostClustersOK creates a PostClustersOK with default headers values

func (*PostClustersOK) Code

func (o *PostClustersOK) Code() int

Code gets the status code for the post clusters o k response

func (*PostClustersOK) Error

func (o *PostClustersOK) Error() string

func (*PostClustersOK) GetPayload

func (*PostClustersOK) IsClientError

func (o *PostClustersOK) IsClientError() bool

IsClientError returns true when this post clusters o k response has a 4xx status code

func (*PostClustersOK) IsCode

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

IsCode returns true when this post clusters o k response a status code equal to that given

func (*PostClustersOK) IsRedirect

func (o *PostClustersOK) IsRedirect() bool

IsRedirect returns true when this post clusters o k response has a 3xx status code

func (*PostClustersOK) IsServerError

func (o *PostClustersOK) IsServerError() bool

IsServerError returns true when this post clusters o k response has a 5xx status code

func (*PostClustersOK) IsSuccess

func (o *PostClustersOK) IsSuccess() bool

IsSuccess returns true when this post clusters o k response has a 2xx status code

func (*PostClustersOK) String

func (o *PostClustersOK) String() string

type PostClustersParams

type PostClustersParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

	/* Body.

	   Cluster creation request body
	*/
	Body *models.ClusterCreationRequest

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

PostClustersParams contains all the parameters to send to the API endpoint

for the post clusters operation.

Typically these are written to a http.Request.

func NewPostClustersParams

func NewPostClustersParams() *PostClustersParams

NewPostClustersParams creates a new PostClustersParams 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 NewPostClustersParamsWithContext

func NewPostClustersParamsWithContext(ctx context.Context) *PostClustersParams

NewPostClustersParamsWithContext creates a new PostClustersParams object with the ability to set a context for a request.

func NewPostClustersParamsWithHTTPClient

func NewPostClustersParamsWithHTTPClient(client *http.Client) *PostClustersParams

NewPostClustersParamsWithHTTPClient creates a new PostClustersParams object with the ability to set a custom HTTPClient for a request.

func NewPostClustersParamsWithTimeout

func NewPostClustersParamsWithTimeout(timeout time.Duration) *PostClustersParams

NewPostClustersParamsWithTimeout creates a new PostClustersParams object with the ability to set a timeout on a request.

func (*PostClustersParams) SetAuthorization

func (o *PostClustersParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the post clusters params

func (*PostClustersParams) SetBody

SetBody adds the body to the post clusters params

func (*PostClustersParams) SetContext

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

SetContext adds the context to the post clusters params

func (*PostClustersParams) SetDefaults

func (o *PostClustersParams) SetDefaults()

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

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

func (*PostClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post clusters params

func (*PostClustersParams) SetTimeout

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

SetTimeout adds the timeout to the post clusters params

func (*PostClustersParams) WithAuthorization

func (o *PostClustersParams) WithAuthorization(authorization string) *PostClustersParams

WithAuthorization adds the authorization to the post clusters params

func (*PostClustersParams) WithBody

WithBody adds the body to the post clusters params

func (*PostClustersParams) WithContext

WithContext adds the context to the post clusters params

func (*PostClustersParams) WithDefaults

func (o *PostClustersParams) WithDefaults() *PostClustersParams

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

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

func (*PostClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post clusters params

func (*PostClustersParams) WithTimeout

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

WithTimeout adds the timeout to the post clusters params

func (*PostClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostClustersReader

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

PostClustersReader is a Reader for the PostClusters structure.

func (*PostClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostClustersUnauthorized

type PostClustersUnauthorized struct {
}

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

Unauthorized

func NewPostClustersUnauthorized

func NewPostClustersUnauthorized() *PostClustersUnauthorized

NewPostClustersUnauthorized creates a PostClustersUnauthorized with default headers values

func (*PostClustersUnauthorized) Code

func (o *PostClustersUnauthorized) Code() int

Code gets the status code for the post clusters unauthorized response

func (*PostClustersUnauthorized) Error

func (o *PostClustersUnauthorized) Error() string

func (*PostClustersUnauthorized) IsClientError

func (o *PostClustersUnauthorized) IsClientError() bool

IsClientError returns true when this post clusters unauthorized response has a 4xx status code

func (*PostClustersUnauthorized) IsCode

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

IsCode returns true when this post clusters unauthorized response a status code equal to that given

func (*PostClustersUnauthorized) IsRedirect

func (o *PostClustersUnauthorized) IsRedirect() bool

IsRedirect returns true when this post clusters unauthorized response has a 3xx status code

func (*PostClustersUnauthorized) IsServerError

func (o *PostClustersUnauthorized) IsServerError() bool

IsServerError returns true when this post clusters unauthorized response has a 5xx status code

func (*PostClustersUnauthorized) IsSuccess

func (o *PostClustersUnauthorized) IsSuccess() bool

IsSuccess returns true when this post clusters unauthorized response has a 2xx status code

func (*PostClustersUnauthorized) String

func (o *PostClustersUnauthorized) String() string

type PostDatabasesIDReplicateInternalServerError

type PostDatabasesIDReplicateInternalServerError struct {
}

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

Internal Server Error

func NewPostDatabasesIDReplicateInternalServerError

func NewPostDatabasesIDReplicateInternalServerError() *PostDatabasesIDReplicateInternalServerError

NewPostDatabasesIDReplicateInternalServerError creates a PostDatabasesIDReplicateInternalServerError with default headers values

func (*PostDatabasesIDReplicateInternalServerError) Code

Code gets the status code for the post databases Id replicate internal server error response

func (*PostDatabasesIDReplicateInternalServerError) Error

func (*PostDatabasesIDReplicateInternalServerError) IsClientError

IsClientError returns true when this post databases Id replicate internal server error response has a 4xx status code

func (*PostDatabasesIDReplicateInternalServerError) IsCode

IsCode returns true when this post databases Id replicate internal server error response a status code equal to that given

func (*PostDatabasesIDReplicateInternalServerError) IsRedirect

IsRedirect returns true when this post databases Id replicate internal server error response has a 3xx status code

func (*PostDatabasesIDReplicateInternalServerError) IsServerError

IsServerError returns true when this post databases Id replicate internal server error response has a 5xx status code

func (*PostDatabasesIDReplicateInternalServerError) IsSuccess

IsSuccess returns true when this post databases Id replicate internal server error response has a 2xx status code

func (*PostDatabasesIDReplicateInternalServerError) String

type PostDatabasesIDReplicateNotFound

type PostDatabasesIDReplicateNotFound struct {
}

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

Database not found

func NewPostDatabasesIDReplicateNotFound

func NewPostDatabasesIDReplicateNotFound() *PostDatabasesIDReplicateNotFound

NewPostDatabasesIDReplicateNotFound creates a PostDatabasesIDReplicateNotFound with default headers values

func (*PostDatabasesIDReplicateNotFound) Code

Code gets the status code for the post databases Id replicate not found response

func (*PostDatabasesIDReplicateNotFound) Error

func (*PostDatabasesIDReplicateNotFound) IsClientError

func (o *PostDatabasesIDReplicateNotFound) IsClientError() bool

IsClientError returns true when this post databases Id replicate not found response has a 4xx status code

func (*PostDatabasesIDReplicateNotFound) IsCode

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

IsCode returns true when this post databases Id replicate not found response a status code equal to that given

func (*PostDatabasesIDReplicateNotFound) IsRedirect

func (o *PostDatabasesIDReplicateNotFound) IsRedirect() bool

IsRedirect returns true when this post databases Id replicate not found response has a 3xx status code

func (*PostDatabasesIDReplicateNotFound) IsServerError

func (o *PostDatabasesIDReplicateNotFound) IsServerError() bool

IsServerError returns true when this post databases Id replicate not found response has a 5xx status code

func (*PostDatabasesIDReplicateNotFound) IsSuccess

func (o *PostDatabasesIDReplicateNotFound) IsSuccess() bool

IsSuccess returns true when this post databases Id replicate not found response has a 2xx status code

func (*PostDatabasesIDReplicateNotFound) String

type PostDatabasesIDReplicateOK

type PostDatabasesIDReplicateOK struct {
	Payload *models.ReplicationResponse
}

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

Successful response

func NewPostDatabasesIDReplicateOK

func NewPostDatabasesIDReplicateOK() *PostDatabasesIDReplicateOK

NewPostDatabasesIDReplicateOK creates a PostDatabasesIDReplicateOK with default headers values

func (*PostDatabasesIDReplicateOK) Code

func (o *PostDatabasesIDReplicateOK) Code() int

Code gets the status code for the post databases Id replicate o k response

func (*PostDatabasesIDReplicateOK) Error

func (*PostDatabasesIDReplicateOK) GetPayload

func (*PostDatabasesIDReplicateOK) IsClientError

func (o *PostDatabasesIDReplicateOK) IsClientError() bool

IsClientError returns true when this post databases Id replicate o k response has a 4xx status code

func (*PostDatabasesIDReplicateOK) IsCode

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

IsCode returns true when this post databases Id replicate o k response a status code equal to that given

func (*PostDatabasesIDReplicateOK) IsRedirect

func (o *PostDatabasesIDReplicateOK) IsRedirect() bool

IsRedirect returns true when this post databases Id replicate o k response has a 3xx status code

func (*PostDatabasesIDReplicateOK) IsServerError

func (o *PostDatabasesIDReplicateOK) IsServerError() bool

IsServerError returns true when this post databases Id replicate o k response has a 5xx status code

func (*PostDatabasesIDReplicateOK) IsSuccess

func (o *PostDatabasesIDReplicateOK) IsSuccess() bool

IsSuccess returns true when this post databases Id replicate o k response has a 2xx status code

func (*PostDatabasesIDReplicateOK) String

func (o *PostDatabasesIDReplicateOK) String() string

type PostDatabasesIDReplicateParams

type PostDatabasesIDReplicateParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

	// ID.
	//
	// Format: uuid
	ID strfmt.UUID

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

PostDatabasesIDReplicateParams contains all the parameters to send to the API endpoint

for the post databases ID replicate operation.

Typically these are written to a http.Request.

func NewPostDatabasesIDReplicateParams

func NewPostDatabasesIDReplicateParams() *PostDatabasesIDReplicateParams

NewPostDatabasesIDReplicateParams creates a new PostDatabasesIDReplicateParams 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 NewPostDatabasesIDReplicateParamsWithContext

func NewPostDatabasesIDReplicateParamsWithContext(ctx context.Context) *PostDatabasesIDReplicateParams

NewPostDatabasesIDReplicateParamsWithContext creates a new PostDatabasesIDReplicateParams object with the ability to set a context for a request.

func NewPostDatabasesIDReplicateParamsWithHTTPClient

func NewPostDatabasesIDReplicateParamsWithHTTPClient(client *http.Client) *PostDatabasesIDReplicateParams

NewPostDatabasesIDReplicateParamsWithHTTPClient creates a new PostDatabasesIDReplicateParams object with the ability to set a custom HTTPClient for a request.

func NewPostDatabasesIDReplicateParamsWithTimeout

func NewPostDatabasesIDReplicateParamsWithTimeout(timeout time.Duration) *PostDatabasesIDReplicateParams

NewPostDatabasesIDReplicateParamsWithTimeout creates a new PostDatabasesIDReplicateParams object with the ability to set a timeout on a request.

func (*PostDatabasesIDReplicateParams) SetAuthorization

func (o *PostDatabasesIDReplicateParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) SetContext

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

SetContext adds the context to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) SetDefaults

func (o *PostDatabasesIDReplicateParams) SetDefaults()

SetDefaults hydrates default values in the post databases ID replicate params (not the query body).

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

func (*PostDatabasesIDReplicateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) SetID

SetID adds the id to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) SetTimeout

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

SetTimeout adds the timeout to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) WithAuthorization

func (o *PostDatabasesIDReplicateParams) WithAuthorization(authorization string) *PostDatabasesIDReplicateParams

WithAuthorization adds the authorization to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) WithContext

WithContext adds the context to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) WithDefaults

WithDefaults hydrates default values in the post databases ID replicate params (not the query body).

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

func (*PostDatabasesIDReplicateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) WithID

WithID adds the id to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) WithTimeout

WithTimeout adds the timeout to the post databases ID replicate params

func (*PostDatabasesIDReplicateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostDatabasesIDReplicateReader

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

PostDatabasesIDReplicateReader is a Reader for the PostDatabasesIDReplicate structure.

func (*PostDatabasesIDReplicateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDatabasesIDReplicateUnauthorized

type PostDatabasesIDReplicateUnauthorized struct {
}

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

Unauthorized

func NewPostDatabasesIDReplicateUnauthorized

func NewPostDatabasesIDReplicateUnauthorized() *PostDatabasesIDReplicateUnauthorized

NewPostDatabasesIDReplicateUnauthorized creates a PostDatabasesIDReplicateUnauthorized with default headers values

func (*PostDatabasesIDReplicateUnauthorized) Code

Code gets the status code for the post databases Id replicate unauthorized response

func (*PostDatabasesIDReplicateUnauthorized) Error

func (*PostDatabasesIDReplicateUnauthorized) IsClientError

func (o *PostDatabasesIDReplicateUnauthorized) IsClientError() bool

IsClientError returns true when this post databases Id replicate unauthorized response has a 4xx status code

func (*PostDatabasesIDReplicateUnauthorized) IsCode

IsCode returns true when this post databases Id replicate unauthorized response a status code equal to that given

func (*PostDatabasesIDReplicateUnauthorized) IsRedirect

IsRedirect returns true when this post databases Id replicate unauthorized response has a 3xx status code

func (*PostDatabasesIDReplicateUnauthorized) IsServerError

func (o *PostDatabasesIDReplicateUnauthorized) IsServerError() bool

IsServerError returns true when this post databases Id replicate unauthorized response has a 5xx status code

func (*PostDatabasesIDReplicateUnauthorized) IsSuccess

IsSuccess returns true when this post databases Id replicate unauthorized response has a 2xx status code

func (*PostDatabasesIDReplicateUnauthorized) String

type PostDatabasesInternalServerError

type PostDatabasesInternalServerError struct {
}

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

Internal Server Error

func NewPostDatabasesInternalServerError

func NewPostDatabasesInternalServerError() *PostDatabasesInternalServerError

NewPostDatabasesInternalServerError creates a PostDatabasesInternalServerError with default headers values

func (*PostDatabasesInternalServerError) Code

Code gets the status code for the post databases internal server error response

func (*PostDatabasesInternalServerError) Error

func (*PostDatabasesInternalServerError) IsClientError

func (o *PostDatabasesInternalServerError) IsClientError() bool

IsClientError returns true when this post databases internal server error response has a 4xx status code

func (*PostDatabasesInternalServerError) IsCode

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

IsCode returns true when this post databases internal server error response a status code equal to that given

func (*PostDatabasesInternalServerError) IsRedirect

func (o *PostDatabasesInternalServerError) IsRedirect() bool

IsRedirect returns true when this post databases internal server error response has a 3xx status code

func (*PostDatabasesInternalServerError) IsServerError

func (o *PostDatabasesInternalServerError) IsServerError() bool

IsServerError returns true when this post databases internal server error response has a 5xx status code

func (*PostDatabasesInternalServerError) IsSuccess

func (o *PostDatabasesInternalServerError) IsSuccess() bool

IsSuccess returns true when this post databases internal server error response has a 2xx status code

func (*PostDatabasesInternalServerError) String

type PostDatabasesOK

type PostDatabasesOK struct {
	Payload *models.DatabaseCreationResponse
}

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

Successful response

func NewPostDatabasesOK

func NewPostDatabasesOK() *PostDatabasesOK

NewPostDatabasesOK creates a PostDatabasesOK with default headers values

func (*PostDatabasesOK) Code

func (o *PostDatabasesOK) Code() int

Code gets the status code for the post databases o k response

func (*PostDatabasesOK) Error

func (o *PostDatabasesOK) Error() string

func (*PostDatabasesOK) GetPayload

func (*PostDatabasesOK) IsClientError

func (o *PostDatabasesOK) IsClientError() bool

IsClientError returns true when this post databases o k response has a 4xx status code

func (*PostDatabasesOK) IsCode

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

IsCode returns true when this post databases o k response a status code equal to that given

func (*PostDatabasesOK) IsRedirect

func (o *PostDatabasesOK) IsRedirect() bool

IsRedirect returns true when this post databases o k response has a 3xx status code

func (*PostDatabasesOK) IsServerError

func (o *PostDatabasesOK) IsServerError() bool

IsServerError returns true when this post databases o k response has a 5xx status code

func (*PostDatabasesOK) IsSuccess

func (o *PostDatabasesOK) IsSuccess() bool

IsSuccess returns true when this post databases o k response has a 2xx status code

func (*PostDatabasesOK) String

func (o *PostDatabasesOK) String() string

type PostDatabasesParams

type PostDatabasesParams struct {

	// Authorization.
	//
	// Format: Bearer {access_token}
	Authorization string

	/* Body.

	   Database creation request body
	*/
	Body *models.DatabaseCreationRequest

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

PostDatabasesParams contains all the parameters to send to the API endpoint

for the post databases operation.

Typically these are written to a http.Request.

func NewPostDatabasesParams

func NewPostDatabasesParams() *PostDatabasesParams

NewPostDatabasesParams creates a new PostDatabasesParams 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 NewPostDatabasesParamsWithContext

func NewPostDatabasesParamsWithContext(ctx context.Context) *PostDatabasesParams

NewPostDatabasesParamsWithContext creates a new PostDatabasesParams object with the ability to set a context for a request.

func NewPostDatabasesParamsWithHTTPClient

func NewPostDatabasesParamsWithHTTPClient(client *http.Client) *PostDatabasesParams

NewPostDatabasesParamsWithHTTPClient creates a new PostDatabasesParams object with the ability to set a custom HTTPClient for a request.

func NewPostDatabasesParamsWithTimeout

func NewPostDatabasesParamsWithTimeout(timeout time.Duration) *PostDatabasesParams

NewPostDatabasesParamsWithTimeout creates a new PostDatabasesParams object with the ability to set a timeout on a request.

func (*PostDatabasesParams) SetAuthorization

func (o *PostDatabasesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the post databases params

func (*PostDatabasesParams) SetBody

SetBody adds the body to the post databases params

func (*PostDatabasesParams) SetContext

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

SetContext adds the context to the post databases params

func (*PostDatabasesParams) SetDefaults

func (o *PostDatabasesParams) SetDefaults()

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

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

func (*PostDatabasesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post databases params

func (*PostDatabasesParams) SetTimeout

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

SetTimeout adds the timeout to the post databases params

func (*PostDatabasesParams) WithAuthorization

func (o *PostDatabasesParams) WithAuthorization(authorization string) *PostDatabasesParams

WithAuthorization adds the authorization to the post databases params

func (*PostDatabasesParams) WithBody

WithBody adds the body to the post databases params

func (*PostDatabasesParams) WithContext

WithContext adds the context to the post databases params

func (*PostDatabasesParams) WithDefaults

func (o *PostDatabasesParams) WithDefaults() *PostDatabasesParams

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

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

func (*PostDatabasesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post databases params

func (*PostDatabasesParams) WithTimeout

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

WithTimeout adds the timeout to the post databases params

func (*PostDatabasesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostDatabasesReader

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

PostDatabasesReader is a Reader for the PostDatabases structure.

func (*PostDatabasesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostDatabasesUnauthorized

type PostDatabasesUnauthorized struct {
}

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

Unauthorized

func NewPostDatabasesUnauthorized

func NewPostDatabasesUnauthorized() *PostDatabasesUnauthorized

NewPostDatabasesUnauthorized creates a PostDatabasesUnauthorized with default headers values

func (*PostDatabasesUnauthorized) Code

func (o *PostDatabasesUnauthorized) Code() int

Code gets the status code for the post databases unauthorized response

func (*PostDatabasesUnauthorized) Error

func (o *PostDatabasesUnauthorized) Error() string

func (*PostDatabasesUnauthorized) IsClientError

func (o *PostDatabasesUnauthorized) IsClientError() bool

IsClientError returns true when this post databases unauthorized response has a 4xx status code

func (*PostDatabasesUnauthorized) IsCode

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

IsCode returns true when this post databases unauthorized response a status code equal to that given

func (*PostDatabasesUnauthorized) IsRedirect

func (o *PostDatabasesUnauthorized) IsRedirect() bool

IsRedirect returns true when this post databases unauthorized response has a 3xx status code

func (*PostDatabasesUnauthorized) IsServerError

func (o *PostDatabasesUnauthorized) IsServerError() bool

IsServerError returns true when this post databases unauthorized response has a 5xx status code

func (*PostDatabasesUnauthorized) IsSuccess

func (o *PostDatabasesUnauthorized) IsSuccess() bool

IsSuccess returns true when this post databases unauthorized response has a 2xx status code

func (*PostDatabasesUnauthorized) String

func (o *PostDatabasesUnauthorized) String() string

type PostOauthTokenBody

type PostOauthTokenBody struct {

	// client id
	ClientID string `json:"client_id,omitempty"`

	// client secret
	ClientSecret string `json:"client_secret,omitempty"`
}

PostOauthTokenBody post oauth token body swagger:model PostOauthTokenBody

func (*PostOauthTokenBody) ContextValidate

func (o *PostOauthTokenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this post oauth token body based on context it is used

func (*PostOauthTokenBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostOauthTokenBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostOauthTokenBody) Validate

func (o *PostOauthTokenBody) Validate(formats strfmt.Registry) error

Validate validates this post oauth token body

type PostOauthTokenInternalServerError

type PostOauthTokenInternalServerError struct {
}

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

Internal Server Error

func NewPostOauthTokenInternalServerError

func NewPostOauthTokenInternalServerError() *PostOauthTokenInternalServerError

NewPostOauthTokenInternalServerError creates a PostOauthTokenInternalServerError with default headers values

func (*PostOauthTokenInternalServerError) Code

Code gets the status code for the post oauth token internal server error response

func (*PostOauthTokenInternalServerError) Error

func (*PostOauthTokenInternalServerError) IsClientError

func (o *PostOauthTokenInternalServerError) IsClientError() bool

IsClientError returns true when this post oauth token internal server error response has a 4xx status code

func (*PostOauthTokenInternalServerError) IsCode

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

IsCode returns true when this post oauth token internal server error response a status code equal to that given

func (*PostOauthTokenInternalServerError) IsRedirect

func (o *PostOauthTokenInternalServerError) IsRedirect() bool

IsRedirect returns true when this post oauth token internal server error response has a 3xx status code

func (*PostOauthTokenInternalServerError) IsServerError

func (o *PostOauthTokenInternalServerError) IsServerError() bool

IsServerError returns true when this post oauth token internal server error response has a 5xx status code

func (*PostOauthTokenInternalServerError) IsSuccess

func (o *PostOauthTokenInternalServerError) IsSuccess() bool

IsSuccess returns true when this post oauth token internal server error response has a 2xx status code

func (*PostOauthTokenInternalServerError) String

type PostOauthTokenOK

type PostOauthTokenOK struct {
	Payload *PostOauthTokenOKBody
}

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

Successful response

func NewPostOauthTokenOK

func NewPostOauthTokenOK() *PostOauthTokenOK

NewPostOauthTokenOK creates a PostOauthTokenOK with default headers values

func (*PostOauthTokenOK) Code

func (o *PostOauthTokenOK) Code() int

Code gets the status code for the post oauth token o k response

func (*PostOauthTokenOK) Error

func (o *PostOauthTokenOK) Error() string

func (*PostOauthTokenOK) GetPayload

func (o *PostOauthTokenOK) GetPayload() *PostOauthTokenOKBody

func (*PostOauthTokenOK) IsClientError

func (o *PostOauthTokenOK) IsClientError() bool

IsClientError returns true when this post oauth token o k response has a 4xx status code

func (*PostOauthTokenOK) IsCode

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

IsCode returns true when this post oauth token o k response a status code equal to that given

func (*PostOauthTokenOK) IsRedirect

func (o *PostOauthTokenOK) IsRedirect() bool

IsRedirect returns true when this post oauth token o k response has a 3xx status code

func (*PostOauthTokenOK) IsServerError

func (o *PostOauthTokenOK) IsServerError() bool

IsServerError returns true when this post oauth token o k response has a 5xx status code

func (*PostOauthTokenOK) IsSuccess

func (o *PostOauthTokenOK) IsSuccess() bool

IsSuccess returns true when this post oauth token o k response has a 2xx status code

func (*PostOauthTokenOK) String

func (o *PostOauthTokenOK) String() string

type PostOauthTokenOKBody

type PostOauthTokenOKBody struct {

	// access token
	AccessToken string `json:"access_token,omitempty"`

	// expires in
	ExpiresIn int64 `json:"expires_in,omitempty"`

	// token type
	TokenType string `json:"token_type,omitempty"`
}

PostOauthTokenOKBody post oauth token o k body swagger:model PostOauthTokenOKBody

func (*PostOauthTokenOKBody) ContextValidate

func (o *PostOauthTokenOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this post oauth token o k body based on context it is used

func (*PostOauthTokenOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostOauthTokenOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostOauthTokenOKBody) Validate

func (o *PostOauthTokenOKBody) Validate(formats strfmt.Registry) error

Validate validates this post oauth token o k body

type PostOauthTokenParams

type PostOauthTokenParams struct {

	/* Body.

	   Client credentials for obtaining the OAuth token
	*/
	Body PostOauthTokenBody

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

PostOauthTokenParams contains all the parameters to send to the API endpoint

for the post oauth token operation.

Typically these are written to a http.Request.

func NewPostOauthTokenParams

func NewPostOauthTokenParams() *PostOauthTokenParams

NewPostOauthTokenParams creates a new PostOauthTokenParams 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 NewPostOauthTokenParamsWithContext

func NewPostOauthTokenParamsWithContext(ctx context.Context) *PostOauthTokenParams

NewPostOauthTokenParamsWithContext creates a new PostOauthTokenParams object with the ability to set a context for a request.

func NewPostOauthTokenParamsWithHTTPClient

func NewPostOauthTokenParamsWithHTTPClient(client *http.Client) *PostOauthTokenParams

NewPostOauthTokenParamsWithHTTPClient creates a new PostOauthTokenParams object with the ability to set a custom HTTPClient for a request.

func NewPostOauthTokenParamsWithTimeout

func NewPostOauthTokenParamsWithTimeout(timeout time.Duration) *PostOauthTokenParams

NewPostOauthTokenParamsWithTimeout creates a new PostOauthTokenParams object with the ability to set a timeout on a request.

func (*PostOauthTokenParams) SetBody

func (o *PostOauthTokenParams) SetBody(body PostOauthTokenBody)

SetBody adds the body to the post oauth token params

func (*PostOauthTokenParams) SetContext

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

SetContext adds the context to the post oauth token params

func (*PostOauthTokenParams) SetDefaults

func (o *PostOauthTokenParams) SetDefaults()

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

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

func (*PostOauthTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post oauth token params

func (*PostOauthTokenParams) SetTimeout

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

SetTimeout adds the timeout to the post oauth token params

func (*PostOauthTokenParams) WithBody

WithBody adds the body to the post oauth token params

func (*PostOauthTokenParams) WithContext

WithContext adds the context to the post oauth token params

func (*PostOauthTokenParams) WithDefaults

func (o *PostOauthTokenParams) WithDefaults() *PostOauthTokenParams

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

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

func (*PostOauthTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post oauth token params

func (*PostOauthTokenParams) WithTimeout

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

WithTimeout adds the timeout to the post oauth token params

func (*PostOauthTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostOauthTokenReader

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

PostOauthTokenReader is a Reader for the PostOauthToken structure.

func (*PostOauthTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostOauthTokenUnauthorized

type PostOauthTokenUnauthorized struct {
}

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

Unauthorized

func NewPostOauthTokenUnauthorized

func NewPostOauthTokenUnauthorized() *PostOauthTokenUnauthorized

NewPostOauthTokenUnauthorized creates a PostOauthTokenUnauthorized with default headers values

func (*PostOauthTokenUnauthorized) Code

func (o *PostOauthTokenUnauthorized) Code() int

Code gets the status code for the post oauth token unauthorized response

func (*PostOauthTokenUnauthorized) Error

func (*PostOauthTokenUnauthorized) IsClientError

func (o *PostOauthTokenUnauthorized) IsClientError() bool

IsClientError returns true when this post oauth token unauthorized response has a 4xx status code

func (*PostOauthTokenUnauthorized) IsCode

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

IsCode returns true when this post oauth token unauthorized response a status code equal to that given

func (*PostOauthTokenUnauthorized) IsRedirect

func (o *PostOauthTokenUnauthorized) IsRedirect() bool

IsRedirect returns true when this post oauth token unauthorized response has a 3xx status code

func (*PostOauthTokenUnauthorized) IsServerError

func (o *PostOauthTokenUnauthorized) IsServerError() bool

IsServerError returns true when this post oauth token unauthorized response has a 5xx status code

func (*PostOauthTokenUnauthorized) IsSuccess

func (o *PostOauthTokenUnauthorized) IsSuccess() bool

IsSuccess returns true when this post oauth token unauthorized response has a 2xx status code

func (*PostOauthTokenUnauthorized) String

func (o *PostOauthTokenUnauthorized) String() string

Jump to

Keyboard shortcuts

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