integrations

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON added in v0.0.36

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationxWwwFormUrlencoded added in v0.0.36

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

func WithContentTypeMultipartFormData added in v0.0.36

func WithContentTypeMultipartFormData(r *runtime.ClientOperation)

WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".

Types

type Client

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

Client for integrations API

func (*Client) CreateAzureIntegration added in v0.0.25

func (a *Client) CreateAzureIntegration(params *CreateAzureIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAzureIntegrationCreated, error)

CreateAzureIntegration Create an Azure Integration

func (*Client) CreateCustomProviderIntegration added in v0.0.36

CreateCustomProviderIntegration Create a Custom Provider Integration

func (*Client) CreateGCPIntegration added in v0.0.25

func (a *Client) CreateGCPIntegration(params *CreateGCPIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGCPIntegrationCreated, error)

CreateGCPIntegration Create a GCP Integration

func (*Client) CreateUserCostsUploadViaCsv added in v0.0.36

func (a *Client) CreateUserCostsUploadViaCsv(params *CreateUserCostsUploadViaCsvParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCostsUploadViaCsvCreated, error)

CreateUserCostsUploadViaCsv Create UserCostsUpload via CSV for a Custom Provider Integration.

func (*Client) DeleteIntegration

func (a *Client) DeleteIntegration(params *DeleteIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIntegrationNoContent, error)

DeleteIntegration Delete an Integration.

func (*Client) DeleteUserCostsUpload added in v0.0.36

func (a *Client) DeleteUserCostsUpload(params *DeleteUserCostsUploadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserCostsUploadNoContent, error)

DeleteUserCostsUpload Delete a UserCostsUpload.

func (*Client) GetIntegration

func (a *Client) GetIntegration(params *GetIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationOK, error)

GetIntegration Return an Integration.

func (*Client) GetIntegrations

func (a *Client) GetIntegrations(params *GetIntegrationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationsOK, error)

GetIntegrations Return all Integrations.

func (*Client) GetUserCostsUploads added in v0.0.36

func (a *Client) GetUserCostsUploads(params *GetUserCostsUploadsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserCostsUploadsOK, error)

GetUserCostsUploads List UserCostUploads.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateIntegration added in v0.0.25

func (a *Client) UpdateIntegration(params *UpdateIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIntegrationOK, error)

UpdateIntegration Update an Integration.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType added in v0.0.36

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	CreateAzureIntegration(params *CreateAzureIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAzureIntegrationCreated, error)

	CreateCustomProviderIntegration(params *CreateCustomProviderIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCustomProviderIntegrationCreated, error)

	CreateGCPIntegration(params *CreateGCPIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGCPIntegrationCreated, error)

	CreateUserCostsUploadViaCsv(params *CreateUserCostsUploadViaCsvParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserCostsUploadViaCsvCreated, error)

	DeleteIntegration(params *DeleteIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIntegrationNoContent, error)

	DeleteUserCostsUpload(params *DeleteUserCostsUploadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserCostsUploadNoContent, error)

	GetIntegration(params *GetIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationOK, error)

	GetIntegrations(params *GetIntegrationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIntegrationsOK, error)

	GetUserCostsUploads(params *GetUserCostsUploadsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserCostsUploadsOK, error)

	UpdateIntegration(params *UpdateIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIntegrationOK, 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 integrations API client.

func NewClientWithBasicAuth added in v0.0.33

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new integrations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v0.0.33

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new integrations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateAzureIntegrationBadRequest added in v0.0.25

type CreateAzureIntegrationBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewCreateAzureIntegrationBadRequest added in v0.0.25

func NewCreateAzureIntegrationBadRequest() *CreateAzureIntegrationBadRequest

NewCreateAzureIntegrationBadRequest creates a CreateAzureIntegrationBadRequest with default headers values

func (*CreateAzureIntegrationBadRequest) Code added in v0.0.25

Code gets the status code for the create azure integration bad request response

func (*CreateAzureIntegrationBadRequest) Error added in v0.0.25

func (*CreateAzureIntegrationBadRequest) GetPayload added in v0.0.25

func (*CreateAzureIntegrationBadRequest) IsClientError added in v0.0.25

func (o *CreateAzureIntegrationBadRequest) IsClientError() bool

IsClientError returns true when this create azure integration bad request response has a 4xx status code

func (*CreateAzureIntegrationBadRequest) IsCode added in v0.0.25

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

IsCode returns true when this create azure integration bad request response a status code equal to that given

func (*CreateAzureIntegrationBadRequest) IsRedirect added in v0.0.25

func (o *CreateAzureIntegrationBadRequest) IsRedirect() bool

IsRedirect returns true when this create azure integration bad request response has a 3xx status code

func (*CreateAzureIntegrationBadRequest) IsServerError added in v0.0.25

func (o *CreateAzureIntegrationBadRequest) IsServerError() bool

IsServerError returns true when this create azure integration bad request response has a 5xx status code

func (*CreateAzureIntegrationBadRequest) IsSuccess added in v0.0.25

func (o *CreateAzureIntegrationBadRequest) IsSuccess() bool

IsSuccess returns true when this create azure integration bad request response has a 2xx status code

func (*CreateAzureIntegrationBadRequest) String added in v0.0.25

type CreateAzureIntegrationCreated added in v0.0.25

type CreateAzureIntegrationCreated struct {
	Payload *models.Integration
}

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

CreateAzureIntegrationCreated create azure integration created

func NewCreateAzureIntegrationCreated added in v0.0.25

func NewCreateAzureIntegrationCreated() *CreateAzureIntegrationCreated

NewCreateAzureIntegrationCreated creates a CreateAzureIntegrationCreated with default headers values

func (*CreateAzureIntegrationCreated) Code added in v0.0.25

Code gets the status code for the create azure integration created response

func (*CreateAzureIntegrationCreated) Error added in v0.0.25

func (*CreateAzureIntegrationCreated) GetPayload added in v0.0.25

func (*CreateAzureIntegrationCreated) IsClientError added in v0.0.25

func (o *CreateAzureIntegrationCreated) IsClientError() bool

IsClientError returns true when this create azure integration created response has a 4xx status code

func (*CreateAzureIntegrationCreated) IsCode added in v0.0.25

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

IsCode returns true when this create azure integration created response a status code equal to that given

func (*CreateAzureIntegrationCreated) IsRedirect added in v0.0.25

func (o *CreateAzureIntegrationCreated) IsRedirect() bool

IsRedirect returns true when this create azure integration created response has a 3xx status code

func (*CreateAzureIntegrationCreated) IsServerError added in v0.0.25

func (o *CreateAzureIntegrationCreated) IsServerError() bool

IsServerError returns true when this create azure integration created response has a 5xx status code

func (*CreateAzureIntegrationCreated) IsSuccess added in v0.0.25

func (o *CreateAzureIntegrationCreated) IsSuccess() bool

IsSuccess returns true when this create azure integration created response has a 2xx status code

func (*CreateAzureIntegrationCreated) String added in v0.0.25

type CreateAzureIntegrationParams added in v0.0.25

type CreateAzureIntegrationParams struct {

	// CreateAzureIntegration.
	CreateAzureIntegration *models.CreateAzureIntegration

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

CreateAzureIntegrationParams contains all the parameters to send to the API endpoint

for the create azure integration operation.

Typically these are written to a http.Request.

func NewCreateAzureIntegrationParams added in v0.0.25

func NewCreateAzureIntegrationParams() *CreateAzureIntegrationParams

NewCreateAzureIntegrationParams creates a new CreateAzureIntegrationParams 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 NewCreateAzureIntegrationParamsWithContext added in v0.0.25

func NewCreateAzureIntegrationParamsWithContext(ctx context.Context) *CreateAzureIntegrationParams

NewCreateAzureIntegrationParamsWithContext creates a new CreateAzureIntegrationParams object with the ability to set a context for a request.

func NewCreateAzureIntegrationParamsWithHTTPClient added in v0.0.25

func NewCreateAzureIntegrationParamsWithHTTPClient(client *http.Client) *CreateAzureIntegrationParams

NewCreateAzureIntegrationParamsWithHTTPClient creates a new CreateAzureIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAzureIntegrationParamsWithTimeout added in v0.0.25

func NewCreateAzureIntegrationParamsWithTimeout(timeout time.Duration) *CreateAzureIntegrationParams

NewCreateAzureIntegrationParamsWithTimeout creates a new CreateAzureIntegrationParams object with the ability to set a timeout on a request.

func (*CreateAzureIntegrationParams) SetContext added in v0.0.25

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

SetContext adds the context to the create azure integration params

func (*CreateAzureIntegrationParams) SetCreateAzureIntegration added in v0.0.25

func (o *CreateAzureIntegrationParams) SetCreateAzureIntegration(createAzureIntegration *models.CreateAzureIntegration)

SetCreateAzureIntegration adds the createAzureIntegration to the create azure integration params

func (*CreateAzureIntegrationParams) SetDefaults added in v0.0.25

func (o *CreateAzureIntegrationParams) SetDefaults()

SetDefaults hydrates default values in the create azure integration params (not the query body).

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

func (*CreateAzureIntegrationParams) SetHTTPClient added in v0.0.25

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

SetHTTPClient adds the HTTPClient to the create azure integration params

func (*CreateAzureIntegrationParams) SetTimeout added in v0.0.25

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

SetTimeout adds the timeout to the create azure integration params

func (*CreateAzureIntegrationParams) WithContext added in v0.0.25

WithContext adds the context to the create azure integration params

func (*CreateAzureIntegrationParams) WithCreateAzureIntegration added in v0.0.25

func (o *CreateAzureIntegrationParams) WithCreateAzureIntegration(createAzureIntegration *models.CreateAzureIntegration) *CreateAzureIntegrationParams

WithCreateAzureIntegration adds the createAzureIntegration to the create azure integration params

func (*CreateAzureIntegrationParams) WithDefaults added in v0.0.25

WithDefaults hydrates default values in the create azure integration params (not the query body).

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

func (*CreateAzureIntegrationParams) WithHTTPClient added in v0.0.25

WithHTTPClient adds the HTTPClient to the create azure integration params

func (*CreateAzureIntegrationParams) WithTimeout added in v0.0.25

WithTimeout adds the timeout to the create azure integration params

func (*CreateAzureIntegrationParams) WriteToRequest added in v0.0.25

WriteToRequest writes these params to a swagger request

type CreateAzureIntegrationReader added in v0.0.25

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

CreateAzureIntegrationReader is a Reader for the CreateAzureIntegration structure.

func (*CreateAzureIntegrationReader) ReadResponse added in v0.0.25

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

ReadResponse reads a server response into the received o.

type CreateCustomProviderIntegrationBadRequest added in v0.0.36

type CreateCustomProviderIntegrationBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewCreateCustomProviderIntegrationBadRequest added in v0.0.36

func NewCreateCustomProviderIntegrationBadRequest() *CreateCustomProviderIntegrationBadRequest

NewCreateCustomProviderIntegrationBadRequest creates a CreateCustomProviderIntegrationBadRequest with default headers values

func (*CreateCustomProviderIntegrationBadRequest) Code added in v0.0.36

Code gets the status code for the create custom provider integration bad request response

func (*CreateCustomProviderIntegrationBadRequest) Error added in v0.0.36

func (*CreateCustomProviderIntegrationBadRequest) GetPayload added in v0.0.36

func (*CreateCustomProviderIntegrationBadRequest) IsClientError added in v0.0.36

IsClientError returns true when this create custom provider integration bad request response has a 4xx status code

func (*CreateCustomProviderIntegrationBadRequest) IsCode added in v0.0.36

IsCode returns true when this create custom provider integration bad request response a status code equal to that given

func (*CreateCustomProviderIntegrationBadRequest) IsRedirect added in v0.0.36

IsRedirect returns true when this create custom provider integration bad request response has a 3xx status code

func (*CreateCustomProviderIntegrationBadRequest) IsServerError added in v0.0.36

IsServerError returns true when this create custom provider integration bad request response has a 5xx status code

func (*CreateCustomProviderIntegrationBadRequest) IsSuccess added in v0.0.36

IsSuccess returns true when this create custom provider integration bad request response has a 2xx status code

func (*CreateCustomProviderIntegrationBadRequest) String added in v0.0.36

type CreateCustomProviderIntegrationCreated added in v0.0.36

type CreateCustomProviderIntegrationCreated struct {
	Payload *models.Integration
}

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

CreateCustomProviderIntegrationCreated create custom provider integration created

func NewCreateCustomProviderIntegrationCreated added in v0.0.36

func NewCreateCustomProviderIntegrationCreated() *CreateCustomProviderIntegrationCreated

NewCreateCustomProviderIntegrationCreated creates a CreateCustomProviderIntegrationCreated with default headers values

func (*CreateCustomProviderIntegrationCreated) Code added in v0.0.36

Code gets the status code for the create custom provider integration created response

func (*CreateCustomProviderIntegrationCreated) Error added in v0.0.36

func (*CreateCustomProviderIntegrationCreated) GetPayload added in v0.0.36

func (*CreateCustomProviderIntegrationCreated) IsClientError added in v0.0.36

func (o *CreateCustomProviderIntegrationCreated) IsClientError() bool

IsClientError returns true when this create custom provider integration created response has a 4xx status code

func (*CreateCustomProviderIntegrationCreated) IsCode added in v0.0.36

IsCode returns true when this create custom provider integration created response a status code equal to that given

func (*CreateCustomProviderIntegrationCreated) IsRedirect added in v0.0.36

IsRedirect returns true when this create custom provider integration created response has a 3xx status code

func (*CreateCustomProviderIntegrationCreated) IsServerError added in v0.0.36

func (o *CreateCustomProviderIntegrationCreated) IsServerError() bool

IsServerError returns true when this create custom provider integration created response has a 5xx status code

func (*CreateCustomProviderIntegrationCreated) IsSuccess added in v0.0.36

IsSuccess returns true when this create custom provider integration created response has a 2xx status code

func (*CreateCustomProviderIntegrationCreated) String added in v0.0.36

type CreateCustomProviderIntegrationForbidden added in v0.0.36

type CreateCustomProviderIntegrationForbidden struct {
	Payload *models.Errors
}

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

Forbidden

func NewCreateCustomProviderIntegrationForbidden added in v0.0.36

func NewCreateCustomProviderIntegrationForbidden() *CreateCustomProviderIntegrationForbidden

NewCreateCustomProviderIntegrationForbidden creates a CreateCustomProviderIntegrationForbidden with default headers values

func (*CreateCustomProviderIntegrationForbidden) Code added in v0.0.36

Code gets the status code for the create custom provider integration forbidden response

func (*CreateCustomProviderIntegrationForbidden) Error added in v0.0.36

func (*CreateCustomProviderIntegrationForbidden) GetPayload added in v0.0.36

func (*CreateCustomProviderIntegrationForbidden) IsClientError added in v0.0.36

IsClientError returns true when this create custom provider integration forbidden response has a 4xx status code

func (*CreateCustomProviderIntegrationForbidden) IsCode added in v0.0.36

IsCode returns true when this create custom provider integration forbidden response a status code equal to that given

func (*CreateCustomProviderIntegrationForbidden) IsRedirect added in v0.0.36

IsRedirect returns true when this create custom provider integration forbidden response has a 3xx status code

func (*CreateCustomProviderIntegrationForbidden) IsServerError added in v0.0.36

IsServerError returns true when this create custom provider integration forbidden response has a 5xx status code

func (*CreateCustomProviderIntegrationForbidden) IsSuccess added in v0.0.36

IsSuccess returns true when this create custom provider integration forbidden response has a 2xx status code

func (*CreateCustomProviderIntegrationForbidden) String added in v0.0.36

type CreateCustomProviderIntegrationParams added in v0.0.36

type CreateCustomProviderIntegrationParams struct {

	// CreateCustomProviderIntegration.
	CreateCustomProviderIntegration *models.CreateCustomProviderIntegration

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

CreateCustomProviderIntegrationParams contains all the parameters to send to the API endpoint

for the create custom provider integration operation.

Typically these are written to a http.Request.

func NewCreateCustomProviderIntegrationParams added in v0.0.36

func NewCreateCustomProviderIntegrationParams() *CreateCustomProviderIntegrationParams

NewCreateCustomProviderIntegrationParams creates a new CreateCustomProviderIntegrationParams 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 NewCreateCustomProviderIntegrationParamsWithContext added in v0.0.36

func NewCreateCustomProviderIntegrationParamsWithContext(ctx context.Context) *CreateCustomProviderIntegrationParams

NewCreateCustomProviderIntegrationParamsWithContext creates a new CreateCustomProviderIntegrationParams object with the ability to set a context for a request.

func NewCreateCustomProviderIntegrationParamsWithHTTPClient added in v0.0.36

func NewCreateCustomProviderIntegrationParamsWithHTTPClient(client *http.Client) *CreateCustomProviderIntegrationParams

NewCreateCustomProviderIntegrationParamsWithHTTPClient creates a new CreateCustomProviderIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCustomProviderIntegrationParamsWithTimeout added in v0.0.36

func NewCreateCustomProviderIntegrationParamsWithTimeout(timeout time.Duration) *CreateCustomProviderIntegrationParams

NewCreateCustomProviderIntegrationParamsWithTimeout creates a new CreateCustomProviderIntegrationParams object with the ability to set a timeout on a request.

func (*CreateCustomProviderIntegrationParams) SetContext added in v0.0.36

SetContext adds the context to the create custom provider integration params

func (*CreateCustomProviderIntegrationParams) SetCreateCustomProviderIntegration added in v0.0.36

func (o *CreateCustomProviderIntegrationParams) SetCreateCustomProviderIntegration(createCustomProviderIntegration *models.CreateCustomProviderIntegration)

SetCreateCustomProviderIntegration adds the createCustomProviderIntegration to the create custom provider integration params

func (*CreateCustomProviderIntegrationParams) SetDefaults added in v0.0.36

func (o *CreateCustomProviderIntegrationParams) SetDefaults()

SetDefaults hydrates default values in the create custom provider integration params (not the query body).

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

func (*CreateCustomProviderIntegrationParams) SetHTTPClient added in v0.0.36

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

SetHTTPClient adds the HTTPClient to the create custom provider integration params

func (*CreateCustomProviderIntegrationParams) SetTimeout added in v0.0.36

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

SetTimeout adds the timeout to the create custom provider integration params

func (*CreateCustomProviderIntegrationParams) WithContext added in v0.0.36

WithContext adds the context to the create custom provider integration params

func (*CreateCustomProviderIntegrationParams) WithCreateCustomProviderIntegration added in v0.0.36

func (o *CreateCustomProviderIntegrationParams) WithCreateCustomProviderIntegration(createCustomProviderIntegration *models.CreateCustomProviderIntegration) *CreateCustomProviderIntegrationParams

WithCreateCustomProviderIntegration adds the createCustomProviderIntegration to the create custom provider integration params

func (*CreateCustomProviderIntegrationParams) WithDefaults added in v0.0.36

WithDefaults hydrates default values in the create custom provider integration params (not the query body).

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

func (*CreateCustomProviderIntegrationParams) WithHTTPClient added in v0.0.36

WithHTTPClient adds the HTTPClient to the create custom provider integration params

func (*CreateCustomProviderIntegrationParams) WithTimeout added in v0.0.36

WithTimeout adds the timeout to the create custom provider integration params

func (*CreateCustomProviderIntegrationParams) WriteToRequest added in v0.0.36

WriteToRequest writes these params to a swagger request

type CreateCustomProviderIntegrationReader added in v0.0.36

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

CreateCustomProviderIntegrationReader is a Reader for the CreateCustomProviderIntegration structure.

func (*CreateCustomProviderIntegrationReader) ReadResponse added in v0.0.36

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

ReadResponse reads a server response into the received o.

type CreateGCPIntegrationBadRequest added in v0.0.25

type CreateGCPIntegrationBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewCreateGCPIntegrationBadRequest added in v0.0.25

func NewCreateGCPIntegrationBadRequest() *CreateGCPIntegrationBadRequest

NewCreateGCPIntegrationBadRequest creates a CreateGCPIntegrationBadRequest with default headers values

func (*CreateGCPIntegrationBadRequest) Code added in v0.0.25

Code gets the status code for the create g c p integration bad request response

func (*CreateGCPIntegrationBadRequest) Error added in v0.0.25

func (*CreateGCPIntegrationBadRequest) GetPayload added in v0.0.25

func (o *CreateGCPIntegrationBadRequest) GetPayload() *models.Errors

func (*CreateGCPIntegrationBadRequest) IsClientError added in v0.0.25

func (o *CreateGCPIntegrationBadRequest) IsClientError() bool

IsClientError returns true when this create g c p integration bad request response has a 4xx status code

func (*CreateGCPIntegrationBadRequest) IsCode added in v0.0.25

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

IsCode returns true when this create g c p integration bad request response a status code equal to that given

func (*CreateGCPIntegrationBadRequest) IsRedirect added in v0.0.25

func (o *CreateGCPIntegrationBadRequest) IsRedirect() bool

IsRedirect returns true when this create g c p integration bad request response has a 3xx status code

func (*CreateGCPIntegrationBadRequest) IsServerError added in v0.0.25

func (o *CreateGCPIntegrationBadRequest) IsServerError() bool

IsServerError returns true when this create g c p integration bad request response has a 5xx status code

func (*CreateGCPIntegrationBadRequest) IsSuccess added in v0.0.25

func (o *CreateGCPIntegrationBadRequest) IsSuccess() bool

IsSuccess returns true when this create g c p integration bad request response has a 2xx status code

func (*CreateGCPIntegrationBadRequest) String added in v0.0.25

type CreateGCPIntegrationCreated added in v0.0.25

type CreateGCPIntegrationCreated struct {
	Payload *models.Integration
}

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

CreateGCPIntegrationCreated create g c p integration created

func NewCreateGCPIntegrationCreated added in v0.0.25

func NewCreateGCPIntegrationCreated() *CreateGCPIntegrationCreated

NewCreateGCPIntegrationCreated creates a CreateGCPIntegrationCreated with default headers values

func (*CreateGCPIntegrationCreated) Code added in v0.0.25

func (o *CreateGCPIntegrationCreated) Code() int

Code gets the status code for the create g c p integration created response

func (*CreateGCPIntegrationCreated) Error added in v0.0.25

func (*CreateGCPIntegrationCreated) GetPayload added in v0.0.25

func (*CreateGCPIntegrationCreated) IsClientError added in v0.0.25

func (o *CreateGCPIntegrationCreated) IsClientError() bool

IsClientError returns true when this create g c p integration created response has a 4xx status code

func (*CreateGCPIntegrationCreated) IsCode added in v0.0.25

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

IsCode returns true when this create g c p integration created response a status code equal to that given

func (*CreateGCPIntegrationCreated) IsRedirect added in v0.0.25

func (o *CreateGCPIntegrationCreated) IsRedirect() bool

IsRedirect returns true when this create g c p integration created response has a 3xx status code

func (*CreateGCPIntegrationCreated) IsServerError added in v0.0.25

func (o *CreateGCPIntegrationCreated) IsServerError() bool

IsServerError returns true when this create g c p integration created response has a 5xx status code

func (*CreateGCPIntegrationCreated) IsSuccess added in v0.0.25

func (o *CreateGCPIntegrationCreated) IsSuccess() bool

IsSuccess returns true when this create g c p integration created response has a 2xx status code

func (*CreateGCPIntegrationCreated) String added in v0.0.25

func (o *CreateGCPIntegrationCreated) String() string

type CreateGCPIntegrationParams added in v0.0.25

type CreateGCPIntegrationParams struct {

	// CreateGCPIntegration.
	CreateGCPIntegration *models.CreateGCPIntegration

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

CreateGCPIntegrationParams contains all the parameters to send to the API endpoint

for the create g c p integration operation.

Typically these are written to a http.Request.

func NewCreateGCPIntegrationParams added in v0.0.25

func NewCreateGCPIntegrationParams() *CreateGCPIntegrationParams

NewCreateGCPIntegrationParams creates a new CreateGCPIntegrationParams 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 NewCreateGCPIntegrationParamsWithContext added in v0.0.25

func NewCreateGCPIntegrationParamsWithContext(ctx context.Context) *CreateGCPIntegrationParams

NewCreateGCPIntegrationParamsWithContext creates a new CreateGCPIntegrationParams object with the ability to set a context for a request.

func NewCreateGCPIntegrationParamsWithHTTPClient added in v0.0.25

func NewCreateGCPIntegrationParamsWithHTTPClient(client *http.Client) *CreateGCPIntegrationParams

NewCreateGCPIntegrationParamsWithHTTPClient creates a new CreateGCPIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGCPIntegrationParamsWithTimeout added in v0.0.25

func NewCreateGCPIntegrationParamsWithTimeout(timeout time.Duration) *CreateGCPIntegrationParams

NewCreateGCPIntegrationParamsWithTimeout creates a new CreateGCPIntegrationParams object with the ability to set a timeout on a request.

func (*CreateGCPIntegrationParams) SetContext added in v0.0.25

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

SetContext adds the context to the create g c p integration params

func (*CreateGCPIntegrationParams) SetCreateGCPIntegration added in v0.0.25

func (o *CreateGCPIntegrationParams) SetCreateGCPIntegration(createGCPIntegration *models.CreateGCPIntegration)

SetCreateGCPIntegration adds the createGCPIntegration to the create g c p integration params

func (*CreateGCPIntegrationParams) SetDefaults added in v0.0.25

func (o *CreateGCPIntegrationParams) SetDefaults()

SetDefaults hydrates default values in the create g c p integration params (not the query body).

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

func (*CreateGCPIntegrationParams) SetHTTPClient added in v0.0.25

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

SetHTTPClient adds the HTTPClient to the create g c p integration params

func (*CreateGCPIntegrationParams) SetTimeout added in v0.0.25

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

SetTimeout adds the timeout to the create g c p integration params

func (*CreateGCPIntegrationParams) WithContext added in v0.0.25

WithContext adds the context to the create g c p integration params

func (*CreateGCPIntegrationParams) WithCreateGCPIntegration added in v0.0.25

func (o *CreateGCPIntegrationParams) WithCreateGCPIntegration(createGCPIntegration *models.CreateGCPIntegration) *CreateGCPIntegrationParams

WithCreateGCPIntegration adds the createGCPIntegration to the create g c p integration params

func (*CreateGCPIntegrationParams) WithDefaults added in v0.0.25

WithDefaults hydrates default values in the create g c p integration params (not the query body).

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

func (*CreateGCPIntegrationParams) WithHTTPClient added in v0.0.25

WithHTTPClient adds the HTTPClient to the create g c p integration params

func (*CreateGCPIntegrationParams) WithTimeout added in v0.0.25

WithTimeout adds the timeout to the create g c p integration params

func (*CreateGCPIntegrationParams) WriteToRequest added in v0.0.25

WriteToRequest writes these params to a swagger request

type CreateGCPIntegrationReader added in v0.0.25

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

CreateGCPIntegrationReader is a Reader for the CreateGCPIntegration structure.

func (*CreateGCPIntegrationReader) ReadResponse added in v0.0.25

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

ReadResponse reads a server response into the received o.

type CreateUserCostsUploadViaCsvBadRequest added in v0.0.36

type CreateUserCostsUploadViaCsvBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewCreateUserCostsUploadViaCsvBadRequest added in v0.0.36

func NewCreateUserCostsUploadViaCsvBadRequest() *CreateUserCostsUploadViaCsvBadRequest

NewCreateUserCostsUploadViaCsvBadRequest creates a CreateUserCostsUploadViaCsvBadRequest with default headers values

func (*CreateUserCostsUploadViaCsvBadRequest) Code added in v0.0.36

Code gets the status code for the create user costs upload via csv bad request response

func (*CreateUserCostsUploadViaCsvBadRequest) Error added in v0.0.36

func (*CreateUserCostsUploadViaCsvBadRequest) GetPayload added in v0.0.36

func (*CreateUserCostsUploadViaCsvBadRequest) IsClientError added in v0.0.36

func (o *CreateUserCostsUploadViaCsvBadRequest) IsClientError() bool

IsClientError returns true when this create user costs upload via csv bad request response has a 4xx status code

func (*CreateUserCostsUploadViaCsvBadRequest) IsCode added in v0.0.36

IsCode returns true when this create user costs upload via csv bad request response a status code equal to that given

func (*CreateUserCostsUploadViaCsvBadRequest) IsRedirect added in v0.0.36

IsRedirect returns true when this create user costs upload via csv bad request response has a 3xx status code

func (*CreateUserCostsUploadViaCsvBadRequest) IsServerError added in v0.0.36

func (o *CreateUserCostsUploadViaCsvBadRequest) IsServerError() bool

IsServerError returns true when this create user costs upload via csv bad request response has a 5xx status code

func (*CreateUserCostsUploadViaCsvBadRequest) IsSuccess added in v0.0.36

IsSuccess returns true when this create user costs upload via csv bad request response has a 2xx status code

func (*CreateUserCostsUploadViaCsvBadRequest) String added in v0.0.36

type CreateUserCostsUploadViaCsvCreated added in v0.0.36

type CreateUserCostsUploadViaCsvCreated struct {
	Payload *models.UserCostsUpload
}

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

CreateUserCostsUploadViaCsvCreated create user costs upload via csv created

func NewCreateUserCostsUploadViaCsvCreated added in v0.0.36

func NewCreateUserCostsUploadViaCsvCreated() *CreateUserCostsUploadViaCsvCreated

NewCreateUserCostsUploadViaCsvCreated creates a CreateUserCostsUploadViaCsvCreated with default headers values

func (*CreateUserCostsUploadViaCsvCreated) Code added in v0.0.36

Code gets the status code for the create user costs upload via csv created response

func (*CreateUserCostsUploadViaCsvCreated) Error added in v0.0.36

func (*CreateUserCostsUploadViaCsvCreated) GetPayload added in v0.0.36

func (*CreateUserCostsUploadViaCsvCreated) IsClientError added in v0.0.36

func (o *CreateUserCostsUploadViaCsvCreated) IsClientError() bool

IsClientError returns true when this create user costs upload via csv created response has a 4xx status code

func (*CreateUserCostsUploadViaCsvCreated) IsCode added in v0.0.36

IsCode returns true when this create user costs upload via csv created response a status code equal to that given

func (*CreateUserCostsUploadViaCsvCreated) IsRedirect added in v0.0.36

func (o *CreateUserCostsUploadViaCsvCreated) IsRedirect() bool

IsRedirect returns true when this create user costs upload via csv created response has a 3xx status code

func (*CreateUserCostsUploadViaCsvCreated) IsServerError added in v0.0.36

func (o *CreateUserCostsUploadViaCsvCreated) IsServerError() bool

IsServerError returns true when this create user costs upload via csv created response has a 5xx status code

func (*CreateUserCostsUploadViaCsvCreated) IsSuccess added in v0.0.36

IsSuccess returns true when this create user costs upload via csv created response has a 2xx status code

func (*CreateUserCostsUploadViaCsvCreated) String added in v0.0.36

type CreateUserCostsUploadViaCsvForbidden added in v0.0.36

type CreateUserCostsUploadViaCsvForbidden struct {
	Payload *models.Errors
}

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

Forbidden

func NewCreateUserCostsUploadViaCsvForbidden added in v0.0.36

func NewCreateUserCostsUploadViaCsvForbidden() *CreateUserCostsUploadViaCsvForbidden

NewCreateUserCostsUploadViaCsvForbidden creates a CreateUserCostsUploadViaCsvForbidden with default headers values

func (*CreateUserCostsUploadViaCsvForbidden) Code added in v0.0.36

Code gets the status code for the create user costs upload via csv forbidden response

func (*CreateUserCostsUploadViaCsvForbidden) Error added in v0.0.36

func (*CreateUserCostsUploadViaCsvForbidden) GetPayload added in v0.0.36

func (*CreateUserCostsUploadViaCsvForbidden) IsClientError added in v0.0.36

func (o *CreateUserCostsUploadViaCsvForbidden) IsClientError() bool

IsClientError returns true when this create user costs upload via csv forbidden response has a 4xx status code

func (*CreateUserCostsUploadViaCsvForbidden) IsCode added in v0.0.36

IsCode returns true when this create user costs upload via csv forbidden response a status code equal to that given

func (*CreateUserCostsUploadViaCsvForbidden) IsRedirect added in v0.0.36

IsRedirect returns true when this create user costs upload via csv forbidden response has a 3xx status code

func (*CreateUserCostsUploadViaCsvForbidden) IsServerError added in v0.0.36

func (o *CreateUserCostsUploadViaCsvForbidden) IsServerError() bool

IsServerError returns true when this create user costs upload via csv forbidden response has a 5xx status code

func (*CreateUserCostsUploadViaCsvForbidden) IsSuccess added in v0.0.36

IsSuccess returns true when this create user costs upload via csv forbidden response has a 2xx status code

func (*CreateUserCostsUploadViaCsvForbidden) String added in v0.0.36

type CreateUserCostsUploadViaCsvNotFound added in v0.0.36

type CreateUserCostsUploadViaCsvNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewCreateUserCostsUploadViaCsvNotFound added in v0.0.36

func NewCreateUserCostsUploadViaCsvNotFound() *CreateUserCostsUploadViaCsvNotFound

NewCreateUserCostsUploadViaCsvNotFound creates a CreateUserCostsUploadViaCsvNotFound with default headers values

func (*CreateUserCostsUploadViaCsvNotFound) Code added in v0.0.36

Code gets the status code for the create user costs upload via csv not found response

func (*CreateUserCostsUploadViaCsvNotFound) Error added in v0.0.36

func (*CreateUserCostsUploadViaCsvNotFound) GetPayload added in v0.0.36

func (*CreateUserCostsUploadViaCsvNotFound) IsClientError added in v0.0.36

func (o *CreateUserCostsUploadViaCsvNotFound) IsClientError() bool

IsClientError returns true when this create user costs upload via csv not found response has a 4xx status code

func (*CreateUserCostsUploadViaCsvNotFound) IsCode added in v0.0.36

IsCode returns true when this create user costs upload via csv not found response a status code equal to that given

func (*CreateUserCostsUploadViaCsvNotFound) IsRedirect added in v0.0.36

func (o *CreateUserCostsUploadViaCsvNotFound) IsRedirect() bool

IsRedirect returns true when this create user costs upload via csv not found response has a 3xx status code

func (*CreateUserCostsUploadViaCsvNotFound) IsServerError added in v0.0.36

func (o *CreateUserCostsUploadViaCsvNotFound) IsServerError() bool

IsServerError returns true when this create user costs upload via csv not found response has a 5xx status code

func (*CreateUserCostsUploadViaCsvNotFound) IsSuccess added in v0.0.36

IsSuccess returns true when this create user costs upload via csv not found response has a 2xx status code

func (*CreateUserCostsUploadViaCsvNotFound) String added in v0.0.36

type CreateUserCostsUploadViaCsvParams added in v0.0.36

type CreateUserCostsUploadViaCsvParams struct {

	/* Csv.

	   CSV file containing custom costs
	*/
	Csv runtime.NamedReadCloser

	// IntegrationToken.
	IntegrationToken string

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

CreateUserCostsUploadViaCsvParams contains all the parameters to send to the API endpoint

for the create user costs upload via csv operation.

Typically these are written to a http.Request.

func NewCreateUserCostsUploadViaCsvParams added in v0.0.36

func NewCreateUserCostsUploadViaCsvParams() *CreateUserCostsUploadViaCsvParams

NewCreateUserCostsUploadViaCsvParams creates a new CreateUserCostsUploadViaCsvParams 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 NewCreateUserCostsUploadViaCsvParamsWithContext added in v0.0.36

func NewCreateUserCostsUploadViaCsvParamsWithContext(ctx context.Context) *CreateUserCostsUploadViaCsvParams

NewCreateUserCostsUploadViaCsvParamsWithContext creates a new CreateUserCostsUploadViaCsvParams object with the ability to set a context for a request.

func NewCreateUserCostsUploadViaCsvParamsWithHTTPClient added in v0.0.36

func NewCreateUserCostsUploadViaCsvParamsWithHTTPClient(client *http.Client) *CreateUserCostsUploadViaCsvParams

NewCreateUserCostsUploadViaCsvParamsWithHTTPClient creates a new CreateUserCostsUploadViaCsvParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserCostsUploadViaCsvParamsWithTimeout added in v0.0.36

func NewCreateUserCostsUploadViaCsvParamsWithTimeout(timeout time.Duration) *CreateUserCostsUploadViaCsvParams

NewCreateUserCostsUploadViaCsvParamsWithTimeout creates a new CreateUserCostsUploadViaCsvParams object with the ability to set a timeout on a request.

func (*CreateUserCostsUploadViaCsvParams) SetContext added in v0.0.36

SetContext adds the context to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) SetCsv added in v0.0.36

SetCsv adds the csv to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) SetDefaults added in v0.0.36

func (o *CreateUserCostsUploadViaCsvParams) SetDefaults()

SetDefaults hydrates default values in the create user costs upload via csv params (not the query body).

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

func (*CreateUserCostsUploadViaCsvParams) SetHTTPClient added in v0.0.36

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

SetHTTPClient adds the HTTPClient to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) SetIntegrationToken added in v0.0.36

func (o *CreateUserCostsUploadViaCsvParams) SetIntegrationToken(integrationToken string)

SetIntegrationToken adds the integrationToken to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) SetTimeout added in v0.0.36

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

SetTimeout adds the timeout to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) WithContext added in v0.0.36

WithContext adds the context to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) WithCsv added in v0.0.36

WithCsv adds the csv to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) WithDefaults added in v0.0.36

WithDefaults hydrates default values in the create user costs upload via csv params (not the query body).

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

func (*CreateUserCostsUploadViaCsvParams) WithHTTPClient added in v0.0.36

WithHTTPClient adds the HTTPClient to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) WithIntegrationToken added in v0.0.36

func (o *CreateUserCostsUploadViaCsvParams) WithIntegrationToken(integrationToken string) *CreateUserCostsUploadViaCsvParams

WithIntegrationToken adds the integrationToken to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) WithTimeout added in v0.0.36

WithTimeout adds the timeout to the create user costs upload via csv params

func (*CreateUserCostsUploadViaCsvParams) WriteToRequest added in v0.0.36

WriteToRequest writes these params to a swagger request

type CreateUserCostsUploadViaCsvReader added in v0.0.36

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

CreateUserCostsUploadViaCsvReader is a Reader for the CreateUserCostsUploadViaCsv structure.

func (*CreateUserCostsUploadViaCsvReader) ReadResponse added in v0.0.36

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

ReadResponse reads a server response into the received o.

type CreateUserCostsUploadViaCsvUnprocessableEntity added in v0.0.36

type CreateUserCostsUploadViaCsvUnprocessableEntity struct {
	Payload *models.Errors
}

CreateUserCostsUploadViaCsvUnprocessableEntity describes a response with status code 422, with default header values.

UnprocessableEntity

func NewCreateUserCostsUploadViaCsvUnprocessableEntity added in v0.0.36

func NewCreateUserCostsUploadViaCsvUnprocessableEntity() *CreateUserCostsUploadViaCsvUnprocessableEntity

NewCreateUserCostsUploadViaCsvUnprocessableEntity creates a CreateUserCostsUploadViaCsvUnprocessableEntity with default headers values

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) Code added in v0.0.36

Code gets the status code for the create user costs upload via csv unprocessable entity response

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) Error added in v0.0.36

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) GetPayload added in v0.0.36

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) IsClientError added in v0.0.36

IsClientError returns true when this create user costs upload via csv unprocessable entity response has a 4xx status code

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) IsCode added in v0.0.36

IsCode returns true when this create user costs upload via csv unprocessable entity response a status code equal to that given

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) IsRedirect added in v0.0.36

IsRedirect returns true when this create user costs upload via csv unprocessable entity response has a 3xx status code

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) IsServerError added in v0.0.36

IsServerError returns true when this create user costs upload via csv unprocessable entity response has a 5xx status code

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) IsSuccess added in v0.0.36

IsSuccess returns true when this create user costs upload via csv unprocessable entity response has a 2xx status code

func (*CreateUserCostsUploadViaCsvUnprocessableEntity) String added in v0.0.36

type DeleteIntegrationNoContent

type DeleteIntegrationNoContent struct {
	Payload *models.Integration
}

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

DeleteIntegrationNoContent delete integration no content

func NewDeleteIntegrationNoContent

func NewDeleteIntegrationNoContent() *DeleteIntegrationNoContent

NewDeleteIntegrationNoContent creates a DeleteIntegrationNoContent with default headers values

func (*DeleteIntegrationNoContent) Code

func (o *DeleteIntegrationNoContent) Code() int

Code gets the status code for the delete integration no content response

func (*DeleteIntegrationNoContent) Error

func (*DeleteIntegrationNoContent) GetPayload

func (*DeleteIntegrationNoContent) IsClientError

func (o *DeleteIntegrationNoContent) IsClientError() bool

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

func (*DeleteIntegrationNoContent) IsCode

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

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

func (*DeleteIntegrationNoContent) IsRedirect

func (o *DeleteIntegrationNoContent) IsRedirect() bool

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

func (*DeleteIntegrationNoContent) IsServerError

func (o *DeleteIntegrationNoContent) IsServerError() bool

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

func (*DeleteIntegrationNoContent) IsSuccess

func (o *DeleteIntegrationNoContent) IsSuccess() bool

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

func (*DeleteIntegrationNoContent) String

func (o *DeleteIntegrationNoContent) String() string

type DeleteIntegrationNotFound

type DeleteIntegrationNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewDeleteIntegrationNotFound

func NewDeleteIntegrationNotFound() *DeleteIntegrationNotFound

NewDeleteIntegrationNotFound creates a DeleteIntegrationNotFound with default headers values

func (*DeleteIntegrationNotFound) Code

func (o *DeleteIntegrationNotFound) Code() int

Code gets the status code for the delete integration not found response

func (*DeleteIntegrationNotFound) Error

func (o *DeleteIntegrationNotFound) Error() string

func (*DeleteIntegrationNotFound) GetPayload

func (o *DeleteIntegrationNotFound) GetPayload() *models.Errors

func (*DeleteIntegrationNotFound) IsClientError

func (o *DeleteIntegrationNotFound) IsClientError() bool

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

func (*DeleteIntegrationNotFound) IsCode

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

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

func (*DeleteIntegrationNotFound) IsRedirect

func (o *DeleteIntegrationNotFound) IsRedirect() bool

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

func (*DeleteIntegrationNotFound) IsServerError

func (o *DeleteIntegrationNotFound) IsServerError() bool

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

func (*DeleteIntegrationNotFound) IsSuccess

func (o *DeleteIntegrationNotFound) IsSuccess() bool

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

func (*DeleteIntegrationNotFound) String

func (o *DeleteIntegrationNotFound) String() string

type DeleteIntegrationParams

type DeleteIntegrationParams struct {

	// IntegrationToken.
	IntegrationToken string

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

DeleteIntegrationParams contains all the parameters to send to the API endpoint

for the delete integration operation.

Typically these are written to a http.Request.

func NewDeleteIntegrationParams

func NewDeleteIntegrationParams() *DeleteIntegrationParams

NewDeleteIntegrationParams creates a new DeleteIntegrationParams 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 NewDeleteIntegrationParamsWithContext

func NewDeleteIntegrationParamsWithContext(ctx context.Context) *DeleteIntegrationParams

NewDeleteIntegrationParamsWithContext creates a new DeleteIntegrationParams object with the ability to set a context for a request.

func NewDeleteIntegrationParamsWithHTTPClient

func NewDeleteIntegrationParamsWithHTTPClient(client *http.Client) *DeleteIntegrationParams

NewDeleteIntegrationParamsWithHTTPClient creates a new DeleteIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIntegrationParamsWithTimeout

func NewDeleteIntegrationParamsWithTimeout(timeout time.Duration) *DeleteIntegrationParams

NewDeleteIntegrationParamsWithTimeout creates a new DeleteIntegrationParams object with the ability to set a timeout on a request.

func (*DeleteIntegrationParams) SetContext

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

SetContext adds the context to the delete integration params

func (*DeleteIntegrationParams) SetDefaults

func (o *DeleteIntegrationParams) SetDefaults()

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

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

func (*DeleteIntegrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete integration params

func (*DeleteIntegrationParams) SetIntegrationToken

func (o *DeleteIntegrationParams) SetIntegrationToken(integrationToken string)

SetIntegrationToken adds the integrationToken to the delete integration params

func (*DeleteIntegrationParams) SetTimeout

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

SetTimeout adds the timeout to the delete integration params

func (*DeleteIntegrationParams) WithContext

WithContext adds the context to the delete integration params

func (*DeleteIntegrationParams) WithDefaults

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

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

func (*DeleteIntegrationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete integration params

func (*DeleteIntegrationParams) WithIntegrationToken

func (o *DeleteIntegrationParams) WithIntegrationToken(integrationToken string) *DeleteIntegrationParams

WithIntegrationToken adds the integrationToken to the delete integration params

func (*DeleteIntegrationParams) WithTimeout

WithTimeout adds the timeout to the delete integration params

func (*DeleteIntegrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteIntegrationReader

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

DeleteIntegrationReader is a Reader for the DeleteIntegration structure.

func (*DeleteIntegrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserCostsUploadNoContent added in v0.0.36

type DeleteUserCostsUploadNoContent struct {
	Payload *models.Cost
}

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

DeleteUserCostsUploadNoContent delete user costs upload no content

func NewDeleteUserCostsUploadNoContent added in v0.0.36

func NewDeleteUserCostsUploadNoContent() *DeleteUserCostsUploadNoContent

NewDeleteUserCostsUploadNoContent creates a DeleteUserCostsUploadNoContent with default headers values

func (*DeleteUserCostsUploadNoContent) Code added in v0.0.36

Code gets the status code for the delete user costs upload no content response

func (*DeleteUserCostsUploadNoContent) Error added in v0.0.36

func (*DeleteUserCostsUploadNoContent) GetPayload added in v0.0.36

func (o *DeleteUserCostsUploadNoContent) GetPayload() *models.Cost

func (*DeleteUserCostsUploadNoContent) IsClientError added in v0.0.36

func (o *DeleteUserCostsUploadNoContent) IsClientError() bool

IsClientError returns true when this delete user costs upload no content response has a 4xx status code

func (*DeleteUserCostsUploadNoContent) IsCode added in v0.0.36

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

IsCode returns true when this delete user costs upload no content response a status code equal to that given

func (*DeleteUserCostsUploadNoContent) IsRedirect added in v0.0.36

func (o *DeleteUserCostsUploadNoContent) IsRedirect() bool

IsRedirect returns true when this delete user costs upload no content response has a 3xx status code

func (*DeleteUserCostsUploadNoContent) IsServerError added in v0.0.36

func (o *DeleteUserCostsUploadNoContent) IsServerError() bool

IsServerError returns true when this delete user costs upload no content response has a 5xx status code

func (*DeleteUserCostsUploadNoContent) IsSuccess added in v0.0.36

func (o *DeleteUserCostsUploadNoContent) IsSuccess() bool

IsSuccess returns true when this delete user costs upload no content response has a 2xx status code

func (*DeleteUserCostsUploadNoContent) String added in v0.0.36

type DeleteUserCostsUploadNotFound added in v0.0.36

type DeleteUserCostsUploadNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewDeleteUserCostsUploadNotFound added in v0.0.36

func NewDeleteUserCostsUploadNotFound() *DeleteUserCostsUploadNotFound

NewDeleteUserCostsUploadNotFound creates a DeleteUserCostsUploadNotFound with default headers values

func (*DeleteUserCostsUploadNotFound) Code added in v0.0.36

Code gets the status code for the delete user costs upload not found response

func (*DeleteUserCostsUploadNotFound) Error added in v0.0.36

func (*DeleteUserCostsUploadNotFound) GetPayload added in v0.0.36

func (o *DeleteUserCostsUploadNotFound) GetPayload() *models.Errors

func (*DeleteUserCostsUploadNotFound) IsClientError added in v0.0.36

func (o *DeleteUserCostsUploadNotFound) IsClientError() bool

IsClientError returns true when this delete user costs upload not found response has a 4xx status code

func (*DeleteUserCostsUploadNotFound) IsCode added in v0.0.36

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

IsCode returns true when this delete user costs upload not found response a status code equal to that given

func (*DeleteUserCostsUploadNotFound) IsRedirect added in v0.0.36

func (o *DeleteUserCostsUploadNotFound) IsRedirect() bool

IsRedirect returns true when this delete user costs upload not found response has a 3xx status code

func (*DeleteUserCostsUploadNotFound) IsServerError added in v0.0.36

func (o *DeleteUserCostsUploadNotFound) IsServerError() bool

IsServerError returns true when this delete user costs upload not found response has a 5xx status code

func (*DeleteUserCostsUploadNotFound) IsSuccess added in v0.0.36

func (o *DeleteUserCostsUploadNotFound) IsSuccess() bool

IsSuccess returns true when this delete user costs upload not found response has a 2xx status code

func (*DeleteUserCostsUploadNotFound) String added in v0.0.36

type DeleteUserCostsUploadParams added in v0.0.36

type DeleteUserCostsUploadParams struct {

	// IntegrationToken.
	IntegrationToken string

	// UserCostsUploadToken.
	//
	// Format: int32
	UserCostsUploadToken int32

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

DeleteUserCostsUploadParams contains all the parameters to send to the API endpoint

for the delete user costs upload operation.

Typically these are written to a http.Request.

func NewDeleteUserCostsUploadParams added in v0.0.36

func NewDeleteUserCostsUploadParams() *DeleteUserCostsUploadParams

NewDeleteUserCostsUploadParams creates a new DeleteUserCostsUploadParams 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 NewDeleteUserCostsUploadParamsWithContext added in v0.0.36

func NewDeleteUserCostsUploadParamsWithContext(ctx context.Context) *DeleteUserCostsUploadParams

NewDeleteUserCostsUploadParamsWithContext creates a new DeleteUserCostsUploadParams object with the ability to set a context for a request.

func NewDeleteUserCostsUploadParamsWithHTTPClient added in v0.0.36

func NewDeleteUserCostsUploadParamsWithHTTPClient(client *http.Client) *DeleteUserCostsUploadParams

NewDeleteUserCostsUploadParamsWithHTTPClient creates a new DeleteUserCostsUploadParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserCostsUploadParamsWithTimeout added in v0.0.36

func NewDeleteUserCostsUploadParamsWithTimeout(timeout time.Duration) *DeleteUserCostsUploadParams

NewDeleteUserCostsUploadParamsWithTimeout creates a new DeleteUserCostsUploadParams object with the ability to set a timeout on a request.

func (*DeleteUserCostsUploadParams) SetContext added in v0.0.36

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

SetContext adds the context to the delete user costs upload params

func (*DeleteUserCostsUploadParams) SetDefaults added in v0.0.36

func (o *DeleteUserCostsUploadParams) SetDefaults()

SetDefaults hydrates default values in the delete user costs upload params (not the query body).

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

func (*DeleteUserCostsUploadParams) SetHTTPClient added in v0.0.36

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

SetHTTPClient adds the HTTPClient to the delete user costs upload params

func (*DeleteUserCostsUploadParams) SetIntegrationToken added in v0.0.36

func (o *DeleteUserCostsUploadParams) SetIntegrationToken(integrationToken string)

SetIntegrationToken adds the integrationToken to the delete user costs upload params

func (*DeleteUserCostsUploadParams) SetTimeout added in v0.0.36

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

SetTimeout adds the timeout to the delete user costs upload params

func (*DeleteUserCostsUploadParams) SetUserCostsUploadToken added in v0.0.36

func (o *DeleteUserCostsUploadParams) SetUserCostsUploadToken(userCostsUploadToken int32)

SetUserCostsUploadToken adds the userCostsUploadToken to the delete user costs upload params

func (*DeleteUserCostsUploadParams) WithContext added in v0.0.36

WithContext adds the context to the delete user costs upload params

func (*DeleteUserCostsUploadParams) WithDefaults added in v0.0.36

WithDefaults hydrates default values in the delete user costs upload params (not the query body).

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

func (*DeleteUserCostsUploadParams) WithHTTPClient added in v0.0.36

WithHTTPClient adds the HTTPClient to the delete user costs upload params

func (*DeleteUserCostsUploadParams) WithIntegrationToken added in v0.0.36

func (o *DeleteUserCostsUploadParams) WithIntegrationToken(integrationToken string) *DeleteUserCostsUploadParams

WithIntegrationToken adds the integrationToken to the delete user costs upload params

func (*DeleteUserCostsUploadParams) WithTimeout added in v0.0.36

WithTimeout adds the timeout to the delete user costs upload params

func (*DeleteUserCostsUploadParams) WithUserCostsUploadToken added in v0.0.36

func (o *DeleteUserCostsUploadParams) WithUserCostsUploadToken(userCostsUploadToken int32) *DeleteUserCostsUploadParams

WithUserCostsUploadToken adds the userCostsUploadToken to the delete user costs upload params

func (*DeleteUserCostsUploadParams) WriteToRequest added in v0.0.36

WriteToRequest writes these params to a swagger request

type DeleteUserCostsUploadReader added in v0.0.36

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

DeleteUserCostsUploadReader is a Reader for the DeleteUserCostsUpload structure.

func (*DeleteUserCostsUploadReader) ReadResponse added in v0.0.36

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

ReadResponse reads a server response into the received o.

type GetIntegrationNotFound

type GetIntegrationNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewGetIntegrationNotFound

func NewGetIntegrationNotFound() *GetIntegrationNotFound

NewGetIntegrationNotFound creates a GetIntegrationNotFound with default headers values

func (*GetIntegrationNotFound) Code

func (o *GetIntegrationNotFound) Code() int

Code gets the status code for the get integration not found response

func (*GetIntegrationNotFound) Error

func (o *GetIntegrationNotFound) Error() string

func (*GetIntegrationNotFound) GetPayload

func (o *GetIntegrationNotFound) GetPayload() *models.Errors

func (*GetIntegrationNotFound) IsClientError

func (o *GetIntegrationNotFound) IsClientError() bool

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

func (*GetIntegrationNotFound) IsCode

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

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

func (*GetIntegrationNotFound) IsRedirect

func (o *GetIntegrationNotFound) IsRedirect() bool

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

func (*GetIntegrationNotFound) IsServerError

func (o *GetIntegrationNotFound) IsServerError() bool

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

func (*GetIntegrationNotFound) IsSuccess

func (o *GetIntegrationNotFound) IsSuccess() bool

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

func (*GetIntegrationNotFound) String

func (o *GetIntegrationNotFound) String() string

type GetIntegrationOK

type GetIntegrationOK struct {
	Payload *models.Integration
}

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

GetIntegrationOK get integration o k

func NewGetIntegrationOK

func NewGetIntegrationOK() *GetIntegrationOK

NewGetIntegrationOK creates a GetIntegrationOK with default headers values

func (*GetIntegrationOK) Code

func (o *GetIntegrationOK) Code() int

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

func (*GetIntegrationOK) Error

func (o *GetIntegrationOK) Error() string

func (*GetIntegrationOK) GetPayload

func (o *GetIntegrationOK) GetPayload() *models.Integration

func (*GetIntegrationOK) IsClientError

func (o *GetIntegrationOK) IsClientError() bool

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

func (*GetIntegrationOK) IsCode

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

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

func (*GetIntegrationOK) IsRedirect

func (o *GetIntegrationOK) IsRedirect() bool

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

func (*GetIntegrationOK) IsServerError

func (o *GetIntegrationOK) IsServerError() bool

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

func (*GetIntegrationOK) IsSuccess

func (o *GetIntegrationOK) IsSuccess() bool

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

func (*GetIntegrationOK) String

func (o *GetIntegrationOK) String() string

type GetIntegrationParams

type GetIntegrationParams struct {

	// IntegrationToken.
	IntegrationToken string

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

GetIntegrationParams contains all the parameters to send to the API endpoint

for the get integration operation.

Typically these are written to a http.Request.

func NewGetIntegrationParams

func NewGetIntegrationParams() *GetIntegrationParams

NewGetIntegrationParams creates a new GetIntegrationParams 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 NewGetIntegrationParamsWithContext

func NewGetIntegrationParamsWithContext(ctx context.Context) *GetIntegrationParams

NewGetIntegrationParamsWithContext creates a new GetIntegrationParams object with the ability to set a context for a request.

func NewGetIntegrationParamsWithHTTPClient

func NewGetIntegrationParamsWithHTTPClient(client *http.Client) *GetIntegrationParams

NewGetIntegrationParamsWithHTTPClient creates a new GetIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewGetIntegrationParamsWithTimeout

func NewGetIntegrationParamsWithTimeout(timeout time.Duration) *GetIntegrationParams

NewGetIntegrationParamsWithTimeout creates a new GetIntegrationParams object with the ability to set a timeout on a request.

func (*GetIntegrationParams) SetContext

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

SetContext adds the context to the get integration params

func (*GetIntegrationParams) SetDefaults

func (o *GetIntegrationParams) SetDefaults()

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

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

func (*GetIntegrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get integration params

func (*GetIntegrationParams) SetIntegrationToken

func (o *GetIntegrationParams) SetIntegrationToken(integrationToken string)

SetIntegrationToken adds the integrationToken to the get integration params

func (*GetIntegrationParams) SetTimeout

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

SetTimeout adds the timeout to the get integration params

func (*GetIntegrationParams) WithContext

WithContext adds the context to the get integration params

func (*GetIntegrationParams) WithDefaults

func (o *GetIntegrationParams) WithDefaults() *GetIntegrationParams

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

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

func (*GetIntegrationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get integration params

func (*GetIntegrationParams) WithIntegrationToken

func (o *GetIntegrationParams) WithIntegrationToken(integrationToken string) *GetIntegrationParams

WithIntegrationToken adds the integrationToken to the get integration params

func (*GetIntegrationParams) WithTimeout

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

WithTimeout adds the timeout to the get integration params

func (*GetIntegrationParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetIntegrationReader

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

GetIntegrationReader is a Reader for the GetIntegration structure.

func (*GetIntegrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIntegrationsOK

type GetIntegrationsOK struct {
	Payload *models.Integrations
}

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

GetIntegrationsOK get integrations o k

func NewGetIntegrationsOK

func NewGetIntegrationsOK() *GetIntegrationsOK

NewGetIntegrationsOK creates a GetIntegrationsOK with default headers values

func (*GetIntegrationsOK) Code

func (o *GetIntegrationsOK) Code() int

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

func (*GetIntegrationsOK) Error

func (o *GetIntegrationsOK) Error() string

func (*GetIntegrationsOK) GetPayload

func (o *GetIntegrationsOK) GetPayload() *models.Integrations

func (*GetIntegrationsOK) IsClientError

func (o *GetIntegrationsOK) IsClientError() bool

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

func (*GetIntegrationsOK) IsCode

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

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

func (*GetIntegrationsOK) IsRedirect

func (o *GetIntegrationsOK) IsRedirect() bool

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

func (*GetIntegrationsOK) IsServerError

func (o *GetIntegrationsOK) IsServerError() bool

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

func (*GetIntegrationsOK) IsSuccess

func (o *GetIntegrationsOK) IsSuccess() bool

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

func (*GetIntegrationsOK) String

func (o *GetIntegrationsOK) String() string

type GetIntegrationsParams

type GetIntegrationsParams struct {

	/* AccountIdentifier.

	   Query by account identifier to list all Integrations that match a specific account. For Azure, this is the subscription ID. Must include provider when using this parameter.
	*/
	AccountIdentifier *string

	/* Limit.

	   The number of results to return. The maximum is 1000.

	   Format: int32
	*/
	Limit *int32

	/* Page.

	   The page of results to return.

	   Format: int32
	*/
	Page *int32

	/* Provider.

	   Query by provider name to list all Integrations for a specific provider.
	*/
	Provider *string

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

GetIntegrationsParams contains all the parameters to send to the API endpoint

for the get integrations operation.

Typically these are written to a http.Request.

func NewGetIntegrationsParams

func NewGetIntegrationsParams() *GetIntegrationsParams

NewGetIntegrationsParams creates a new GetIntegrationsParams 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 NewGetIntegrationsParamsWithContext

func NewGetIntegrationsParamsWithContext(ctx context.Context) *GetIntegrationsParams

NewGetIntegrationsParamsWithContext creates a new GetIntegrationsParams object with the ability to set a context for a request.

func NewGetIntegrationsParamsWithHTTPClient

func NewGetIntegrationsParamsWithHTTPClient(client *http.Client) *GetIntegrationsParams

NewGetIntegrationsParamsWithHTTPClient creates a new GetIntegrationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIntegrationsParamsWithTimeout

func NewGetIntegrationsParamsWithTimeout(timeout time.Duration) *GetIntegrationsParams

NewGetIntegrationsParamsWithTimeout creates a new GetIntegrationsParams object with the ability to set a timeout on a request.

func (*GetIntegrationsParams) SetAccountIdentifier added in v0.0.25

func (o *GetIntegrationsParams) SetAccountIdentifier(accountIdentifier *string)

SetAccountIdentifier adds the accountIdentifier to the get integrations params

func (*GetIntegrationsParams) SetContext

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

SetContext adds the context to the get integrations params

func (*GetIntegrationsParams) SetDefaults

func (o *GetIntegrationsParams) SetDefaults()

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

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

func (*GetIntegrationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get integrations params

func (*GetIntegrationsParams) SetLimit

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

SetLimit adds the limit to the get integrations params

func (*GetIntegrationsParams) SetPage

func (o *GetIntegrationsParams) SetPage(page *int32)

SetPage adds the page to the get integrations params

func (*GetIntegrationsParams) SetProvider added in v0.0.25

func (o *GetIntegrationsParams) SetProvider(provider *string)

SetProvider adds the provider to the get integrations params

func (*GetIntegrationsParams) SetTimeout

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

SetTimeout adds the timeout to the get integrations params

func (*GetIntegrationsParams) WithAccountIdentifier added in v0.0.25

func (o *GetIntegrationsParams) WithAccountIdentifier(accountIdentifier *string) *GetIntegrationsParams

WithAccountIdentifier adds the accountIdentifier to the get integrations params

func (*GetIntegrationsParams) WithContext

WithContext adds the context to the get integrations params

func (*GetIntegrationsParams) WithDefaults

func (o *GetIntegrationsParams) WithDefaults() *GetIntegrationsParams

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

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

func (*GetIntegrationsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get integrations params

func (*GetIntegrationsParams) WithLimit

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

WithLimit adds the limit to the get integrations params

func (*GetIntegrationsParams) WithPage

WithPage adds the page to the get integrations params

func (*GetIntegrationsParams) WithProvider added in v0.0.25

func (o *GetIntegrationsParams) WithProvider(provider *string) *GetIntegrationsParams

WithProvider adds the provider to the get integrations params

func (*GetIntegrationsParams) WithTimeout

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

WithTimeout adds the timeout to the get integrations params

func (*GetIntegrationsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetIntegrationsReader

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

GetIntegrationsReader is a Reader for the GetIntegrations structure.

func (*GetIntegrationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserCostsUploadsOK added in v0.0.36

type GetUserCostsUploadsOK struct {
	Payload *models.UserCostsUploads
}

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

GetUserCostsUploadsOK get user costs uploads o k

func NewGetUserCostsUploadsOK added in v0.0.36

func NewGetUserCostsUploadsOK() *GetUserCostsUploadsOK

NewGetUserCostsUploadsOK creates a GetUserCostsUploadsOK with default headers values

func (*GetUserCostsUploadsOK) Code added in v0.0.36

func (o *GetUserCostsUploadsOK) Code() int

Code gets the status code for the get user costs uploads o k response

func (*GetUserCostsUploadsOK) Error added in v0.0.36

func (o *GetUserCostsUploadsOK) Error() string

func (*GetUserCostsUploadsOK) GetPayload added in v0.0.36

func (*GetUserCostsUploadsOK) IsClientError added in v0.0.36

func (o *GetUserCostsUploadsOK) IsClientError() bool

IsClientError returns true when this get user costs uploads o k response has a 4xx status code

func (*GetUserCostsUploadsOK) IsCode added in v0.0.36

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

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

func (*GetUserCostsUploadsOK) IsRedirect added in v0.0.36

func (o *GetUserCostsUploadsOK) IsRedirect() bool

IsRedirect returns true when this get user costs uploads o k response has a 3xx status code

func (*GetUserCostsUploadsOK) IsServerError added in v0.0.36

func (o *GetUserCostsUploadsOK) IsServerError() bool

IsServerError returns true when this get user costs uploads o k response has a 5xx status code

func (*GetUserCostsUploadsOK) IsSuccess added in v0.0.36

func (o *GetUserCostsUploadsOK) IsSuccess() bool

IsSuccess returns true when this get user costs uploads o k response has a 2xx status code

func (*GetUserCostsUploadsOK) String added in v0.0.36

func (o *GetUserCostsUploadsOK) String() string

type GetUserCostsUploadsParams added in v0.0.36

type GetUserCostsUploadsParams struct {

	// IntegrationToken.
	IntegrationToken string

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

GetUserCostsUploadsParams contains all the parameters to send to the API endpoint

for the get user costs uploads operation.

Typically these are written to a http.Request.

func NewGetUserCostsUploadsParams added in v0.0.36

func NewGetUserCostsUploadsParams() *GetUserCostsUploadsParams

NewGetUserCostsUploadsParams creates a new GetUserCostsUploadsParams 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 NewGetUserCostsUploadsParamsWithContext added in v0.0.36

func NewGetUserCostsUploadsParamsWithContext(ctx context.Context) *GetUserCostsUploadsParams

NewGetUserCostsUploadsParamsWithContext creates a new GetUserCostsUploadsParams object with the ability to set a context for a request.

func NewGetUserCostsUploadsParamsWithHTTPClient added in v0.0.36

func NewGetUserCostsUploadsParamsWithHTTPClient(client *http.Client) *GetUserCostsUploadsParams

NewGetUserCostsUploadsParamsWithHTTPClient creates a new GetUserCostsUploadsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserCostsUploadsParamsWithTimeout added in v0.0.36

func NewGetUserCostsUploadsParamsWithTimeout(timeout time.Duration) *GetUserCostsUploadsParams

NewGetUserCostsUploadsParamsWithTimeout creates a new GetUserCostsUploadsParams object with the ability to set a timeout on a request.

func (*GetUserCostsUploadsParams) SetContext added in v0.0.36

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

SetContext adds the context to the get user costs uploads params

func (*GetUserCostsUploadsParams) SetDefaults added in v0.0.36

func (o *GetUserCostsUploadsParams) SetDefaults()

SetDefaults hydrates default values in the get user costs uploads params (not the query body).

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

func (*GetUserCostsUploadsParams) SetHTTPClient added in v0.0.36

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

SetHTTPClient adds the HTTPClient to the get user costs uploads params

func (*GetUserCostsUploadsParams) SetIntegrationToken added in v0.0.36

func (o *GetUserCostsUploadsParams) SetIntegrationToken(integrationToken string)

SetIntegrationToken adds the integrationToken to the get user costs uploads params

func (*GetUserCostsUploadsParams) SetTimeout added in v0.0.36

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

SetTimeout adds the timeout to the get user costs uploads params

func (*GetUserCostsUploadsParams) WithContext added in v0.0.36

WithContext adds the context to the get user costs uploads params

func (*GetUserCostsUploadsParams) WithDefaults added in v0.0.36

WithDefaults hydrates default values in the get user costs uploads params (not the query body).

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

func (*GetUserCostsUploadsParams) WithHTTPClient added in v0.0.36

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

WithHTTPClient adds the HTTPClient to the get user costs uploads params

func (*GetUserCostsUploadsParams) WithIntegrationToken added in v0.0.36

func (o *GetUserCostsUploadsParams) WithIntegrationToken(integrationToken string) *GetUserCostsUploadsParams

WithIntegrationToken adds the integrationToken to the get user costs uploads params

func (*GetUserCostsUploadsParams) WithTimeout added in v0.0.36

WithTimeout adds the timeout to the get user costs uploads params

func (*GetUserCostsUploadsParams) WriteToRequest added in v0.0.36

WriteToRequest writes these params to a swagger request

type GetUserCostsUploadsReader added in v0.0.36

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

GetUserCostsUploadsReader is a Reader for the GetUserCostsUploads structure.

func (*GetUserCostsUploadsReader) ReadResponse added in v0.0.36

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

ReadResponse reads a server response into the received o.

type UpdateIntegrationBadRequest added in v0.0.25

type UpdateIntegrationBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewUpdateIntegrationBadRequest added in v0.0.25

func NewUpdateIntegrationBadRequest() *UpdateIntegrationBadRequest

NewUpdateIntegrationBadRequest creates a UpdateIntegrationBadRequest with default headers values

func (*UpdateIntegrationBadRequest) Code added in v0.0.25

func (o *UpdateIntegrationBadRequest) Code() int

Code gets the status code for the update integration bad request response

func (*UpdateIntegrationBadRequest) Error added in v0.0.25

func (*UpdateIntegrationBadRequest) GetPayload added in v0.0.25

func (o *UpdateIntegrationBadRequest) GetPayload() *models.Errors

func (*UpdateIntegrationBadRequest) IsClientError added in v0.0.25

func (o *UpdateIntegrationBadRequest) IsClientError() bool

IsClientError returns true when this update integration bad request response has a 4xx status code

func (*UpdateIntegrationBadRequest) IsCode added in v0.0.25

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

IsCode returns true when this update integration bad request response a status code equal to that given

func (*UpdateIntegrationBadRequest) IsRedirect added in v0.0.25

func (o *UpdateIntegrationBadRequest) IsRedirect() bool

IsRedirect returns true when this update integration bad request response has a 3xx status code

func (*UpdateIntegrationBadRequest) IsServerError added in v0.0.25

func (o *UpdateIntegrationBadRequest) IsServerError() bool

IsServerError returns true when this update integration bad request response has a 5xx status code

func (*UpdateIntegrationBadRequest) IsSuccess added in v0.0.25

func (o *UpdateIntegrationBadRequest) IsSuccess() bool

IsSuccess returns true when this update integration bad request response has a 2xx status code

func (*UpdateIntegrationBadRequest) String added in v0.0.25

func (o *UpdateIntegrationBadRequest) String() string

type UpdateIntegrationNotFound added in v0.0.25

type UpdateIntegrationNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewUpdateIntegrationNotFound added in v0.0.25

func NewUpdateIntegrationNotFound() *UpdateIntegrationNotFound

NewUpdateIntegrationNotFound creates a UpdateIntegrationNotFound with default headers values

func (*UpdateIntegrationNotFound) Code added in v0.0.25

func (o *UpdateIntegrationNotFound) Code() int

Code gets the status code for the update integration not found response

func (*UpdateIntegrationNotFound) Error added in v0.0.25

func (o *UpdateIntegrationNotFound) Error() string

func (*UpdateIntegrationNotFound) GetPayload added in v0.0.25

func (o *UpdateIntegrationNotFound) GetPayload() *models.Errors

func (*UpdateIntegrationNotFound) IsClientError added in v0.0.25

func (o *UpdateIntegrationNotFound) IsClientError() bool

IsClientError returns true when this update integration not found response has a 4xx status code

func (*UpdateIntegrationNotFound) IsCode added in v0.0.25

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

IsCode returns true when this update integration not found response a status code equal to that given

func (*UpdateIntegrationNotFound) IsRedirect added in v0.0.25

func (o *UpdateIntegrationNotFound) IsRedirect() bool

IsRedirect returns true when this update integration not found response has a 3xx status code

func (*UpdateIntegrationNotFound) IsServerError added in v0.0.25

func (o *UpdateIntegrationNotFound) IsServerError() bool

IsServerError returns true when this update integration not found response has a 5xx status code

func (*UpdateIntegrationNotFound) IsSuccess added in v0.0.25

func (o *UpdateIntegrationNotFound) IsSuccess() bool

IsSuccess returns true when this update integration not found response has a 2xx status code

func (*UpdateIntegrationNotFound) String added in v0.0.25

func (o *UpdateIntegrationNotFound) String() string

type UpdateIntegrationOK added in v0.0.25

type UpdateIntegrationOK struct {
	Payload *models.Integration
}

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

UpdateIntegrationOK update integration o k

func NewUpdateIntegrationOK added in v0.0.25

func NewUpdateIntegrationOK() *UpdateIntegrationOK

NewUpdateIntegrationOK creates a UpdateIntegrationOK with default headers values

func (*UpdateIntegrationOK) Code added in v0.0.25

func (o *UpdateIntegrationOK) Code() int

Code gets the status code for the update integration o k response

func (*UpdateIntegrationOK) Error added in v0.0.25

func (o *UpdateIntegrationOK) Error() string

func (*UpdateIntegrationOK) GetPayload added in v0.0.25

func (o *UpdateIntegrationOK) GetPayload() *models.Integration

func (*UpdateIntegrationOK) IsClientError added in v0.0.25

func (o *UpdateIntegrationOK) IsClientError() bool

IsClientError returns true when this update integration o k response has a 4xx status code

func (*UpdateIntegrationOK) IsCode added in v0.0.25

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

IsCode returns true when this update integration o k response a status code equal to that given

func (*UpdateIntegrationOK) IsRedirect added in v0.0.25

func (o *UpdateIntegrationOK) IsRedirect() bool

IsRedirect returns true when this update integration o k response has a 3xx status code

func (*UpdateIntegrationOK) IsServerError added in v0.0.25

func (o *UpdateIntegrationOK) IsServerError() bool

IsServerError returns true when this update integration o k response has a 5xx status code

func (*UpdateIntegrationOK) IsSuccess added in v0.0.25

func (o *UpdateIntegrationOK) IsSuccess() bool

IsSuccess returns true when this update integration o k response has a 2xx status code

func (*UpdateIntegrationOK) String added in v0.0.25

func (o *UpdateIntegrationOK) String() string

type UpdateIntegrationParams added in v0.0.25

type UpdateIntegrationParams struct {

	// IntegrationToken.
	IntegrationToken string

	/* WorkspaceTokens.

	   The Workspace tokens to associate to the Integration.
	*/
	WorkspaceTokens []string

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

UpdateIntegrationParams contains all the parameters to send to the API endpoint

for the update integration operation.

Typically these are written to a http.Request.

func NewUpdateIntegrationParams added in v0.0.25

func NewUpdateIntegrationParams() *UpdateIntegrationParams

NewUpdateIntegrationParams creates a new UpdateIntegrationParams 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 NewUpdateIntegrationParamsWithContext added in v0.0.25

func NewUpdateIntegrationParamsWithContext(ctx context.Context) *UpdateIntegrationParams

NewUpdateIntegrationParamsWithContext creates a new UpdateIntegrationParams object with the ability to set a context for a request.

func NewUpdateIntegrationParamsWithHTTPClient added in v0.0.25

func NewUpdateIntegrationParamsWithHTTPClient(client *http.Client) *UpdateIntegrationParams

NewUpdateIntegrationParamsWithHTTPClient creates a new UpdateIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateIntegrationParamsWithTimeout added in v0.0.25

func NewUpdateIntegrationParamsWithTimeout(timeout time.Duration) *UpdateIntegrationParams

NewUpdateIntegrationParamsWithTimeout creates a new UpdateIntegrationParams object with the ability to set a timeout on a request.

func (*UpdateIntegrationParams) SetContext added in v0.0.25

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

SetContext adds the context to the update integration params

func (*UpdateIntegrationParams) SetDefaults added in v0.0.25

func (o *UpdateIntegrationParams) SetDefaults()

SetDefaults hydrates default values in the update integration params (not the query body).

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

func (*UpdateIntegrationParams) SetHTTPClient added in v0.0.25

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

SetHTTPClient adds the HTTPClient to the update integration params

func (*UpdateIntegrationParams) SetIntegrationToken added in v0.0.25

func (o *UpdateIntegrationParams) SetIntegrationToken(integrationToken string)

SetIntegrationToken adds the integrationToken to the update integration params

func (*UpdateIntegrationParams) SetTimeout added in v0.0.25

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

SetTimeout adds the timeout to the update integration params

func (*UpdateIntegrationParams) SetWorkspaceTokens added in v0.0.25

func (o *UpdateIntegrationParams) SetWorkspaceTokens(workspaceTokens []string)

SetWorkspaceTokens adds the workspaceTokens to the update integration params

func (*UpdateIntegrationParams) WithContext added in v0.0.25

WithContext adds the context to the update integration params

func (*UpdateIntegrationParams) WithDefaults added in v0.0.25

WithDefaults hydrates default values in the update integration params (not the query body).

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

func (*UpdateIntegrationParams) WithHTTPClient added in v0.0.25

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

WithHTTPClient adds the HTTPClient to the update integration params

func (*UpdateIntegrationParams) WithIntegrationToken added in v0.0.25

func (o *UpdateIntegrationParams) WithIntegrationToken(integrationToken string) *UpdateIntegrationParams

WithIntegrationToken adds the integrationToken to the update integration params

func (*UpdateIntegrationParams) WithTimeout added in v0.0.25

WithTimeout adds the timeout to the update integration params

func (*UpdateIntegrationParams) WithWorkspaceTokens added in v0.0.25

func (o *UpdateIntegrationParams) WithWorkspaceTokens(workspaceTokens []string) *UpdateIntegrationParams

WithWorkspaceTokens adds the workspaceTokens to the update integration params

func (*UpdateIntegrationParams) WriteToRequest added in v0.0.25

WriteToRequest writes these params to a swagger request

type UpdateIntegrationReader added in v0.0.25

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

UpdateIntegrationReader is a Reader for the UpdateIntegration structure.

func (*UpdateIntegrationReader) ReadResponse added in v0.0.25

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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