costs

package
v0.0.0-...-417219d Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for costs API

func (*Client) CreateCostReport

func (a *Client) CreateCostReport(params *CreateCostReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCostReportCreated, error)

CreateCostReport Create a CostReport.

func (*Client) DeleteCostReport

func (a *Client) DeleteCostReport(params *DeleteCostReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCostReportNoContent, error)

DeleteCostReport Delete a CostReport.

func (*Client) GetCostReport

func (a *Client) GetCostReport(params *GetCostReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostReportOK, error)

GetCostReport Return a CostReport.

func (*Client) GetCostReports

func (a *Client) GetCostReports(params *GetCostReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostReportsOK, error)

GetCostReports Return all CostReports.

func (*Client) GetCosts

func (a *Client) GetCosts(params *GetCostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsOK, error)

GetCosts Return all Costs for a CostReport.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCostReport

func (a *Client) UpdateCostReport(params *UpdateCostReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCostReportOK, error)

UpdateCostReport Update a CostReport.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateCostReport(params *CreateCostReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCostReportCreated, error)

	DeleteCostReport(params *DeleteCostReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCostReportNoContent, error)

	GetCostReport(params *GetCostReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostReportOK, error)

	GetCostReports(params *GetCostReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostReportsOK, error)

	GetCosts(params *GetCostsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCostsOK, error)

	UpdateCostReport(params *UpdateCostReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCostReportOK, 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 costs API client.

type CreateCostReportBadRequest

type CreateCostReportBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewCreateCostReportBadRequest

func NewCreateCostReportBadRequest() *CreateCostReportBadRequest

NewCreateCostReportBadRequest creates a CreateCostReportBadRequest with default headers values

func (*CreateCostReportBadRequest) Code

func (o *CreateCostReportBadRequest) Code() int

Code gets the status code for the create cost report bad request response

func (*CreateCostReportBadRequest) Error

func (*CreateCostReportBadRequest) GetPayload

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

func (*CreateCostReportBadRequest) IsClientError

func (o *CreateCostReportBadRequest) IsClientError() bool

IsClientError returns true when this create cost report bad request response has a 4xx status code

func (*CreateCostReportBadRequest) IsCode

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

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

func (*CreateCostReportBadRequest) IsRedirect

func (o *CreateCostReportBadRequest) IsRedirect() bool

IsRedirect returns true when this create cost report bad request response has a 3xx status code

func (*CreateCostReportBadRequest) IsServerError

func (o *CreateCostReportBadRequest) IsServerError() bool

IsServerError returns true when this create cost report bad request response has a 5xx status code

func (*CreateCostReportBadRequest) IsSuccess

func (o *CreateCostReportBadRequest) IsSuccess() bool

IsSuccess returns true when this create cost report bad request response has a 2xx status code

func (*CreateCostReportBadRequest) String

func (o *CreateCostReportBadRequest) String() string

type CreateCostReportCreated

type CreateCostReportCreated struct {
	Payload *models.CostReport
}

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

CreateCostReportCreated create cost report created

func NewCreateCostReportCreated

func NewCreateCostReportCreated() *CreateCostReportCreated

NewCreateCostReportCreated creates a CreateCostReportCreated with default headers values

func (*CreateCostReportCreated) Code

func (o *CreateCostReportCreated) Code() int

Code gets the status code for the create cost report created response

func (*CreateCostReportCreated) Error

func (o *CreateCostReportCreated) Error() string

func (*CreateCostReportCreated) GetPayload

func (o *CreateCostReportCreated) GetPayload() *models.CostReport

func (*CreateCostReportCreated) IsClientError

func (o *CreateCostReportCreated) IsClientError() bool

IsClientError returns true when this create cost report created response has a 4xx status code

func (*CreateCostReportCreated) IsCode

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

IsCode returns true when this create cost report created response a status code equal to that given

func (*CreateCostReportCreated) IsRedirect

func (o *CreateCostReportCreated) IsRedirect() bool

IsRedirect returns true when this create cost report created response has a 3xx status code

func (*CreateCostReportCreated) IsServerError

func (o *CreateCostReportCreated) IsServerError() bool

IsServerError returns true when this create cost report created response has a 5xx status code

func (*CreateCostReportCreated) IsSuccess

func (o *CreateCostReportCreated) IsSuccess() bool

IsSuccess returns true when this create cost report created response has a 2xx status code

func (*CreateCostReportCreated) String

func (o *CreateCostReportCreated) String() string

type CreateCostReportFolderCreated

type CreateCostReportFolderCreated struct {
	Payload *models.Folder
}

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

CreateCostReportFolderCreated create cost report folder created

func NewCreateCostReportFolderCreated

func NewCreateCostReportFolderCreated() *CreateCostReportFolderCreated

NewCreateCostReportFolderCreated creates a CreateCostReportFolderCreated with default headers values

func (*CreateCostReportFolderCreated) Code

Code gets the status code for the create cost report folder created response

func (*CreateCostReportFolderCreated) Error

func (*CreateCostReportFolderCreated) GetPayload

func (o *CreateCostReportFolderCreated) GetPayload() *models.Folder

func (*CreateCostReportFolderCreated) IsClientError

func (o *CreateCostReportFolderCreated) IsClientError() bool

IsClientError returns true when this create cost report folder created response has a 4xx status code

func (*CreateCostReportFolderCreated) IsCode

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

IsCode returns true when this create cost report folder created response a status code equal to that given

func (*CreateCostReportFolderCreated) IsRedirect

func (o *CreateCostReportFolderCreated) IsRedirect() bool

IsRedirect returns true when this create cost report folder created response has a 3xx status code

func (*CreateCostReportFolderCreated) IsServerError

func (o *CreateCostReportFolderCreated) IsServerError() bool

IsServerError returns true when this create cost report folder created response has a 5xx status code

func (*CreateCostReportFolderCreated) IsSuccess

func (o *CreateCostReportFolderCreated) IsSuccess() bool

IsSuccess returns true when this create cost report folder created response has a 2xx status code

func (*CreateCostReportFolderCreated) String

type CreateCostReportFolderParams

type CreateCostReportFolderParams struct {

	// Folders.
	Folders *models.PostFolders

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

CreateCostReportFolderParams contains all the parameters to send to the API endpoint

for the create cost report folder operation.

Typically these are written to a http.Request.

func NewCreateCostReportFolderParams

func NewCreateCostReportFolderParams() *CreateCostReportFolderParams

NewCreateCostReportFolderParams creates a new CreateCostReportFolderParams 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 NewCreateCostReportFolderParamsWithContext

func NewCreateCostReportFolderParamsWithContext(ctx context.Context) *CreateCostReportFolderParams

NewCreateCostReportFolderParamsWithContext creates a new CreateCostReportFolderParams object with the ability to set a context for a request.

func NewCreateCostReportFolderParamsWithHTTPClient

func NewCreateCostReportFolderParamsWithHTTPClient(client *http.Client) *CreateCostReportFolderParams

NewCreateCostReportFolderParamsWithHTTPClient creates a new CreateCostReportFolderParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCostReportFolderParamsWithTimeout

func NewCreateCostReportFolderParamsWithTimeout(timeout time.Duration) *CreateCostReportFolderParams

NewCreateCostReportFolderParamsWithTimeout creates a new CreateCostReportFolderParams object with the ability to set a timeout on a request.

func (*CreateCostReportFolderParams) SetContext

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

SetContext adds the context to the create cost report folder params

func (*CreateCostReportFolderParams) SetDefaults

func (o *CreateCostReportFolderParams) SetDefaults()

SetDefaults hydrates default values in the create cost report folder params (not the query body).

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

func (*CreateCostReportFolderParams) SetFolders

func (o *CreateCostReportFolderParams) SetFolders(folders *models.PostFolders)

SetFolders adds the folders to the create cost report folder params

func (*CreateCostReportFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create cost report folder params

func (*CreateCostReportFolderParams) SetTimeout

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

SetTimeout adds the timeout to the create cost report folder params

func (*CreateCostReportFolderParams) WithContext

WithContext adds the context to the create cost report folder params

func (*CreateCostReportFolderParams) WithDefaults

WithDefaults hydrates default values in the create cost report folder params (not the query body).

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

func (*CreateCostReportFolderParams) WithFolders

WithFolders adds the folders to the create cost report folder params

func (*CreateCostReportFolderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create cost report folder params

func (*CreateCostReportFolderParams) WithTimeout

WithTimeout adds the timeout to the create cost report folder params

func (*CreateCostReportFolderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCostReportFolderReader

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

CreateCostReportFolderReader is a Reader for the CreateCostReportFolder structure.

func (*CreateCostReportFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCostReportParams

type CreateCostReportParams struct {

	// CostReports.
	CostReports *models.PostCostReports

	/* Groupings.

	   Grouping values for aggregating costs on the report. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region
	*/
	Groupings []string

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

CreateCostReportParams contains all the parameters to send to the API endpoint

for the create cost report operation.

Typically these are written to a http.Request.

func NewCreateCostReportParams

func NewCreateCostReportParams() *CreateCostReportParams

NewCreateCostReportParams creates a new CreateCostReportParams 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 NewCreateCostReportParamsWithContext

func NewCreateCostReportParamsWithContext(ctx context.Context) *CreateCostReportParams

NewCreateCostReportParamsWithContext creates a new CreateCostReportParams object with the ability to set a context for a request.

func NewCreateCostReportParamsWithHTTPClient

func NewCreateCostReportParamsWithHTTPClient(client *http.Client) *CreateCostReportParams

NewCreateCostReportParamsWithHTTPClient creates a new CreateCostReportParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCostReportParamsWithTimeout

func NewCreateCostReportParamsWithTimeout(timeout time.Duration) *CreateCostReportParams

NewCreateCostReportParamsWithTimeout creates a new CreateCostReportParams object with the ability to set a timeout on a request.

func (*CreateCostReportParams) SetContext

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

SetContext adds the context to the create cost report params

func (*CreateCostReportParams) SetCostReports

func (o *CreateCostReportParams) SetCostReports(costReports *models.PostCostReports)

SetCostReports adds the costReports to the create cost report params

func (*CreateCostReportParams) SetDefaults

func (o *CreateCostReportParams) SetDefaults()

SetDefaults hydrates default values in the create cost report params (not the query body).

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

func (*CreateCostReportParams) SetGroupings

func (o *CreateCostReportParams) SetGroupings(groupings []string)

SetGroupings adds the groupings to the create cost report params

func (*CreateCostReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create cost report params

func (*CreateCostReportParams) SetTimeout

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

SetTimeout adds the timeout to the create cost report params

func (*CreateCostReportParams) WithContext

WithContext adds the context to the create cost report params

func (*CreateCostReportParams) WithCostReports

func (o *CreateCostReportParams) WithCostReports(costReports *models.PostCostReports) *CreateCostReportParams

WithCostReports adds the costReports to the create cost report params

func (*CreateCostReportParams) WithDefaults

WithDefaults hydrates default values in the create cost report params (not the query body).

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

func (*CreateCostReportParams) WithGroupings

func (o *CreateCostReportParams) WithGroupings(groupings []string) *CreateCostReportParams

WithGroupings adds the groupings to the create cost report params

func (*CreateCostReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create cost report params

func (*CreateCostReportParams) WithTimeout

WithTimeout adds the timeout to the create cost report params

func (*CreateCostReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCostReportReader

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

CreateCostReportReader is a Reader for the CreateCostReport structure.

func (*CreateCostReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCostReportUnprocessableEntity

type CreateCostReportUnprocessableEntity struct {
	Payload *models.Errors
}

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

UnprocessableEntity

func NewCreateCostReportUnprocessableEntity

func NewCreateCostReportUnprocessableEntity() *CreateCostReportUnprocessableEntity

NewCreateCostReportUnprocessableEntity creates a CreateCostReportUnprocessableEntity with default headers values

func (*CreateCostReportUnprocessableEntity) Code

Code gets the status code for the create cost report unprocessable entity response

func (*CreateCostReportUnprocessableEntity) Error

func (*CreateCostReportUnprocessableEntity) GetPayload

func (*CreateCostReportUnprocessableEntity) IsClientError

func (o *CreateCostReportUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create cost report unprocessable entity response has a 4xx status code

func (*CreateCostReportUnprocessableEntity) IsCode

IsCode returns true when this create cost report unprocessable entity response a status code equal to that given

func (*CreateCostReportUnprocessableEntity) IsRedirect

func (o *CreateCostReportUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create cost report unprocessable entity response has a 3xx status code

func (*CreateCostReportUnprocessableEntity) IsServerError

func (o *CreateCostReportUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create cost report unprocessable entity response has a 5xx status code

func (*CreateCostReportUnprocessableEntity) IsSuccess

IsSuccess returns true when this create cost report unprocessable entity response has a 2xx status code

func (*CreateCostReportUnprocessableEntity) String

type CreateDashboardBadRequest

type CreateDashboardBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewCreateDashboardBadRequest

func NewCreateDashboardBadRequest() *CreateDashboardBadRequest

NewCreateDashboardBadRequest creates a CreateDashboardBadRequest with default headers values

func (*CreateDashboardBadRequest) Code

func (o *CreateDashboardBadRequest) Code() int

Code gets the status code for the create dashboard bad request response

func (*CreateDashboardBadRequest) Error

func (o *CreateDashboardBadRequest) Error() string

func (*CreateDashboardBadRequest) GetPayload

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

func (*CreateDashboardBadRequest) IsClientError

func (o *CreateDashboardBadRequest) IsClientError() bool

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

func (*CreateDashboardBadRequest) IsCode

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

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

func (*CreateDashboardBadRequest) IsRedirect

func (o *CreateDashboardBadRequest) IsRedirect() bool

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

func (*CreateDashboardBadRequest) IsServerError

func (o *CreateDashboardBadRequest) IsServerError() bool

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

func (*CreateDashboardBadRequest) IsSuccess

func (o *CreateDashboardBadRequest) IsSuccess() bool

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

func (*CreateDashboardBadRequest) String

func (o *CreateDashboardBadRequest) String() string

type CreateDashboardCreated

type CreateDashboardCreated struct {
	Payload *models.Dashboard
}

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

CreateDashboardCreated create dashboard created

func NewCreateDashboardCreated

func NewCreateDashboardCreated() *CreateDashboardCreated

NewCreateDashboardCreated creates a CreateDashboardCreated with default headers values

func (*CreateDashboardCreated) Code

func (o *CreateDashboardCreated) Code() int

Code gets the status code for the create dashboard created response

func (*CreateDashboardCreated) Error

func (o *CreateDashboardCreated) Error() string

func (*CreateDashboardCreated) GetPayload

func (o *CreateDashboardCreated) GetPayload() *models.Dashboard

func (*CreateDashboardCreated) IsClientError

func (o *CreateDashboardCreated) IsClientError() bool

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

func (*CreateDashboardCreated) IsCode

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

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

func (*CreateDashboardCreated) IsRedirect

func (o *CreateDashboardCreated) IsRedirect() bool

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

func (*CreateDashboardCreated) IsServerError

func (o *CreateDashboardCreated) IsServerError() bool

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

func (*CreateDashboardCreated) IsSuccess

func (o *CreateDashboardCreated) IsSuccess() bool

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

func (*CreateDashboardCreated) String

func (o *CreateDashboardCreated) String() string

type CreateDashboardParams

type CreateDashboardParams struct {

	// Dashboards.
	Dashboards *models.PostDashboards

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

CreateDashboardParams contains all the parameters to send to the API endpoint

for the create dashboard operation.

Typically these are written to a http.Request.

func NewCreateDashboardParams

func NewCreateDashboardParams() *CreateDashboardParams

NewCreateDashboardParams creates a new CreateDashboardParams 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 NewCreateDashboardParamsWithContext

func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams

NewCreateDashboardParamsWithContext creates a new CreateDashboardParams object with the ability to set a context for a request.

func NewCreateDashboardParamsWithHTTPClient

func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams

NewCreateDashboardParamsWithHTTPClient creates a new CreateDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDashboardParamsWithTimeout

func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams

NewCreateDashboardParamsWithTimeout creates a new CreateDashboardParams object with the ability to set a timeout on a request.

func (*CreateDashboardParams) SetContext

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

SetContext adds the context to the create dashboard params

func (*CreateDashboardParams) SetDashboards

func (o *CreateDashboardParams) SetDashboards(dashboards *models.PostDashboards)

SetDashboards adds the dashboards to the create dashboard params

func (*CreateDashboardParams) SetDefaults

func (o *CreateDashboardParams) SetDefaults()

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

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

func (*CreateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create dashboard params

func (*CreateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the create dashboard params

func (*CreateDashboardParams) WithContext

WithContext adds the context to the create dashboard params

func (*CreateDashboardParams) WithDashboards

func (o *CreateDashboardParams) WithDashboards(dashboards *models.PostDashboards) *CreateDashboardParams

WithDashboards adds the dashboards to the create dashboard params

func (*CreateDashboardParams) WithDefaults

func (o *CreateDashboardParams) WithDefaults() *CreateDashboardParams

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

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

func (*CreateDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create dashboard params

func (*CreateDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the create dashboard params

func (*CreateDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateDashboardReader

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

CreateDashboardReader is a Reader for the CreateDashboard structure.

func (*CreateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFolderBadRequest

type CreateFolderBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewCreateFolderBadRequest

func NewCreateFolderBadRequest() *CreateFolderBadRequest

NewCreateFolderBadRequest creates a CreateFolderBadRequest with default headers values

func (*CreateFolderBadRequest) Code

func (o *CreateFolderBadRequest) Code() int

Code gets the status code for the create folder bad request response

func (*CreateFolderBadRequest) Error

func (o *CreateFolderBadRequest) Error() string

func (*CreateFolderBadRequest) GetPayload

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

func (*CreateFolderBadRequest) IsClientError

func (o *CreateFolderBadRequest) IsClientError() bool

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

func (*CreateFolderBadRequest) IsCode

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

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

func (*CreateFolderBadRequest) IsRedirect

func (o *CreateFolderBadRequest) IsRedirect() bool

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

func (*CreateFolderBadRequest) IsServerError

func (o *CreateFolderBadRequest) IsServerError() bool

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

func (*CreateFolderBadRequest) IsSuccess

func (o *CreateFolderBadRequest) IsSuccess() bool

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

func (*CreateFolderBadRequest) String

func (o *CreateFolderBadRequest) String() string

type CreateFolderCreated

type CreateFolderCreated struct {
	Payload *models.Folder
}

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

CreateFolderCreated create folder created

func NewCreateFolderCreated

func NewCreateFolderCreated() *CreateFolderCreated

NewCreateFolderCreated creates a CreateFolderCreated with default headers values

func (*CreateFolderCreated) Code

func (o *CreateFolderCreated) Code() int

Code gets the status code for the create folder created response

func (*CreateFolderCreated) Error

func (o *CreateFolderCreated) Error() string

func (*CreateFolderCreated) GetPayload

func (o *CreateFolderCreated) GetPayload() *models.Folder

func (*CreateFolderCreated) IsClientError

func (o *CreateFolderCreated) IsClientError() bool

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

func (*CreateFolderCreated) IsCode

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

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

func (*CreateFolderCreated) IsRedirect

func (o *CreateFolderCreated) IsRedirect() bool

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

func (*CreateFolderCreated) IsServerError

func (o *CreateFolderCreated) IsServerError() bool

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

func (*CreateFolderCreated) IsSuccess

func (o *CreateFolderCreated) IsSuccess() bool

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

func (*CreateFolderCreated) String

func (o *CreateFolderCreated) String() string

type CreateFolderParams

type CreateFolderParams struct {

	// Folders.
	Folders *models.PostFolders

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

CreateFolderParams contains all the parameters to send to the API endpoint

for the create folder operation.

Typically these are written to a http.Request.

func NewCreateFolderParams

func NewCreateFolderParams() *CreateFolderParams

NewCreateFolderParams creates a new CreateFolderParams 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 NewCreateFolderParamsWithContext

func NewCreateFolderParamsWithContext(ctx context.Context) *CreateFolderParams

NewCreateFolderParamsWithContext creates a new CreateFolderParams object with the ability to set a context for a request.

func NewCreateFolderParamsWithHTTPClient

func NewCreateFolderParamsWithHTTPClient(client *http.Client) *CreateFolderParams

NewCreateFolderParamsWithHTTPClient creates a new CreateFolderParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFolderParamsWithTimeout

func NewCreateFolderParamsWithTimeout(timeout time.Duration) *CreateFolderParams

NewCreateFolderParamsWithTimeout creates a new CreateFolderParams object with the ability to set a timeout on a request.

func (*CreateFolderParams) SetContext

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

SetContext adds the context to the create folder params

func (*CreateFolderParams) SetDefaults

func (o *CreateFolderParams) SetDefaults()

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

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

func (*CreateFolderParams) SetFolders

func (o *CreateFolderParams) SetFolders(folders *models.PostFolders)

SetFolders adds the folders to the create folder params

func (*CreateFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create folder params

func (*CreateFolderParams) SetTimeout

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

SetTimeout adds the timeout to the create folder params

func (*CreateFolderParams) WithContext

WithContext adds the context to the create folder params

func (*CreateFolderParams) WithDefaults

func (o *CreateFolderParams) WithDefaults() *CreateFolderParams

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

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

func (*CreateFolderParams) WithFolders

func (o *CreateFolderParams) WithFolders(folders *models.PostFolders) *CreateFolderParams

WithFolders adds the folders to the create folder params

func (*CreateFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create folder params

func (*CreateFolderParams) WithTimeout

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

WithTimeout adds the timeout to the create folder params

func (*CreateFolderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateFolderReader

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

CreateFolderReader is a Reader for the CreateFolder structure.

func (*CreateFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSavedFilterBadRequest

type CreateSavedFilterBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewCreateSavedFilterBadRequest

func NewCreateSavedFilterBadRequest() *CreateSavedFilterBadRequest

NewCreateSavedFilterBadRequest creates a CreateSavedFilterBadRequest with default headers values

func (*CreateSavedFilterBadRequest) Code

func (o *CreateSavedFilterBadRequest) Code() int

Code gets the status code for the create saved filter bad request response

func (*CreateSavedFilterBadRequest) Error

func (*CreateSavedFilterBadRequest) GetPayload

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

func (*CreateSavedFilterBadRequest) IsClientError

func (o *CreateSavedFilterBadRequest) IsClientError() bool

IsClientError returns true when this create saved filter bad request response has a 4xx status code

func (*CreateSavedFilterBadRequest) IsCode

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

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

func (*CreateSavedFilterBadRequest) IsRedirect

func (o *CreateSavedFilterBadRequest) IsRedirect() bool

IsRedirect returns true when this create saved filter bad request response has a 3xx status code

func (*CreateSavedFilterBadRequest) IsServerError

func (o *CreateSavedFilterBadRequest) IsServerError() bool

IsServerError returns true when this create saved filter bad request response has a 5xx status code

func (*CreateSavedFilterBadRequest) IsSuccess

func (o *CreateSavedFilterBadRequest) IsSuccess() bool

IsSuccess returns true when this create saved filter bad request response has a 2xx status code

func (*CreateSavedFilterBadRequest) String

func (o *CreateSavedFilterBadRequest) String() string

type CreateSavedFilterCreated

type CreateSavedFilterCreated struct {
	Payload *models.SavedFilter
}

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

CreateSavedFilterCreated create saved filter created

func NewCreateSavedFilterCreated

func NewCreateSavedFilterCreated() *CreateSavedFilterCreated

NewCreateSavedFilterCreated creates a CreateSavedFilterCreated with default headers values

func (*CreateSavedFilterCreated) Code

func (o *CreateSavedFilterCreated) Code() int

Code gets the status code for the create saved filter created response

func (*CreateSavedFilterCreated) Error

func (o *CreateSavedFilterCreated) Error() string

func (*CreateSavedFilterCreated) GetPayload

func (o *CreateSavedFilterCreated) GetPayload() *models.SavedFilter

func (*CreateSavedFilterCreated) IsClientError

func (o *CreateSavedFilterCreated) IsClientError() bool

IsClientError returns true when this create saved filter created response has a 4xx status code

func (*CreateSavedFilterCreated) IsCode

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

IsCode returns true when this create saved filter created response a status code equal to that given

func (*CreateSavedFilterCreated) IsRedirect

func (o *CreateSavedFilterCreated) IsRedirect() bool

IsRedirect returns true when this create saved filter created response has a 3xx status code

func (*CreateSavedFilterCreated) IsServerError

func (o *CreateSavedFilterCreated) IsServerError() bool

IsServerError returns true when this create saved filter created response has a 5xx status code

func (*CreateSavedFilterCreated) IsSuccess

func (o *CreateSavedFilterCreated) IsSuccess() bool

IsSuccess returns true when this create saved filter created response has a 2xx status code

func (*CreateSavedFilterCreated) String

func (o *CreateSavedFilterCreated) String() string

type CreateSavedFilterParams

type CreateSavedFilterParams struct {

	// SavedFilters.
	SavedFilters *models.PostSavedFilters

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

CreateSavedFilterParams contains all the parameters to send to the API endpoint

for the create saved filter operation.

Typically these are written to a http.Request.

func NewCreateSavedFilterParams

func NewCreateSavedFilterParams() *CreateSavedFilterParams

NewCreateSavedFilterParams creates a new CreateSavedFilterParams 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 NewCreateSavedFilterParamsWithContext

func NewCreateSavedFilterParamsWithContext(ctx context.Context) *CreateSavedFilterParams

NewCreateSavedFilterParamsWithContext creates a new CreateSavedFilterParams object with the ability to set a context for a request.

func NewCreateSavedFilterParamsWithHTTPClient

func NewCreateSavedFilterParamsWithHTTPClient(client *http.Client) *CreateSavedFilterParams

NewCreateSavedFilterParamsWithHTTPClient creates a new CreateSavedFilterParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSavedFilterParamsWithTimeout

func NewCreateSavedFilterParamsWithTimeout(timeout time.Duration) *CreateSavedFilterParams

NewCreateSavedFilterParamsWithTimeout creates a new CreateSavedFilterParams object with the ability to set a timeout on a request.

func (*CreateSavedFilterParams) SetContext

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

SetContext adds the context to the create saved filter params

func (*CreateSavedFilterParams) SetDefaults

func (o *CreateSavedFilterParams) SetDefaults()

SetDefaults hydrates default values in the create saved filter params (not the query body).

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

func (*CreateSavedFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create saved filter params

func (*CreateSavedFilterParams) SetSavedFilters

func (o *CreateSavedFilterParams) SetSavedFilters(savedFilters *models.PostSavedFilters)

SetSavedFilters adds the savedFilters to the create saved filter params

func (*CreateSavedFilterParams) SetTimeout

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

SetTimeout adds the timeout to the create saved filter params

func (*CreateSavedFilterParams) WithContext

WithContext adds the context to the create saved filter params

func (*CreateSavedFilterParams) WithDefaults

WithDefaults hydrates default values in the create saved filter params (not the query body).

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

func (*CreateSavedFilterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create saved filter params

func (*CreateSavedFilterParams) WithSavedFilters

func (o *CreateSavedFilterParams) WithSavedFilters(savedFilters *models.PostSavedFilters) *CreateSavedFilterParams

WithSavedFilters adds the savedFilters to the create saved filter params

func (*CreateSavedFilterParams) WithTimeout

WithTimeout adds the timeout to the create saved filter params

func (*CreateSavedFilterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSavedFilterReader

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

CreateSavedFilterReader is a Reader for the CreateSavedFilter structure.

func (*CreateSavedFilterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCostReportNoContent

type DeleteCostReportNoContent struct {
	Payload *models.CostReport
}

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

DeleteCostReportNoContent delete cost report no content

func NewDeleteCostReportNoContent

func NewDeleteCostReportNoContent() *DeleteCostReportNoContent

NewDeleteCostReportNoContent creates a DeleteCostReportNoContent with default headers values

func (*DeleteCostReportNoContent) Code

func (o *DeleteCostReportNoContent) Code() int

Code gets the status code for the delete cost report no content response

func (*DeleteCostReportNoContent) Error

func (o *DeleteCostReportNoContent) Error() string

func (*DeleteCostReportNoContent) GetPayload

func (o *DeleteCostReportNoContent) GetPayload() *models.CostReport

func (*DeleteCostReportNoContent) IsClientError

func (o *DeleteCostReportNoContent) IsClientError() bool

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

func (*DeleteCostReportNoContent) IsCode

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

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

func (*DeleteCostReportNoContent) IsRedirect

func (o *DeleteCostReportNoContent) IsRedirect() bool

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

func (*DeleteCostReportNoContent) IsServerError

func (o *DeleteCostReportNoContent) IsServerError() bool

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

func (*DeleteCostReportNoContent) IsSuccess

func (o *DeleteCostReportNoContent) IsSuccess() bool

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

func (*DeleteCostReportNoContent) String

func (o *DeleteCostReportNoContent) String() string

type DeleteCostReportNotFound

type DeleteCostReportNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewDeleteCostReportNotFound

func NewDeleteCostReportNotFound() *DeleteCostReportNotFound

NewDeleteCostReportNotFound creates a DeleteCostReportNotFound with default headers values

func (*DeleteCostReportNotFound) Code

func (o *DeleteCostReportNotFound) Code() int

Code gets the status code for the delete cost report not found response

func (*DeleteCostReportNotFound) Error

func (o *DeleteCostReportNotFound) Error() string

func (*DeleteCostReportNotFound) GetPayload

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

func (*DeleteCostReportNotFound) IsClientError

func (o *DeleteCostReportNotFound) IsClientError() bool

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

func (*DeleteCostReportNotFound) IsCode

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

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

func (*DeleteCostReportNotFound) IsRedirect

func (o *DeleteCostReportNotFound) IsRedirect() bool

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

func (*DeleteCostReportNotFound) IsServerError

func (o *DeleteCostReportNotFound) IsServerError() bool

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

func (*DeleteCostReportNotFound) IsSuccess

func (o *DeleteCostReportNotFound) IsSuccess() bool

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

func (*DeleteCostReportNotFound) String

func (o *DeleteCostReportNotFound) String() string

type DeleteCostReportParams

type DeleteCostReportParams struct {

	// CostReportToken.
	CostReportToken string

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

DeleteCostReportParams contains all the parameters to send to the API endpoint

for the delete cost report operation.

Typically these are written to a http.Request.

func NewDeleteCostReportParams

func NewDeleteCostReportParams() *DeleteCostReportParams

NewDeleteCostReportParams creates a new DeleteCostReportParams 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 NewDeleteCostReportParamsWithContext

func NewDeleteCostReportParamsWithContext(ctx context.Context) *DeleteCostReportParams

NewDeleteCostReportParamsWithContext creates a new DeleteCostReportParams object with the ability to set a context for a request.

func NewDeleteCostReportParamsWithHTTPClient

func NewDeleteCostReportParamsWithHTTPClient(client *http.Client) *DeleteCostReportParams

NewDeleteCostReportParamsWithHTTPClient creates a new DeleteCostReportParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCostReportParamsWithTimeout

func NewDeleteCostReportParamsWithTimeout(timeout time.Duration) *DeleteCostReportParams

NewDeleteCostReportParamsWithTimeout creates a new DeleteCostReportParams object with the ability to set a timeout on a request.

func (*DeleteCostReportParams) SetContext

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

SetContext adds the context to the delete cost report params

func (*DeleteCostReportParams) SetCostReportToken

func (o *DeleteCostReportParams) SetCostReportToken(costReportToken string)

SetCostReportToken adds the costReportToken to the delete cost report params

func (*DeleteCostReportParams) SetDefaults

func (o *DeleteCostReportParams) SetDefaults()

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

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

func (*DeleteCostReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete cost report params

func (*DeleteCostReportParams) SetTimeout

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

SetTimeout adds the timeout to the delete cost report params

func (*DeleteCostReportParams) WithContext

WithContext adds the context to the delete cost report params

func (*DeleteCostReportParams) WithCostReportToken

func (o *DeleteCostReportParams) WithCostReportToken(costReportToken string) *DeleteCostReportParams

WithCostReportToken adds the costReportToken to the delete cost report params

func (*DeleteCostReportParams) WithDefaults

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

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

func (*DeleteCostReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete cost report params

func (*DeleteCostReportParams) WithTimeout

WithTimeout adds the timeout to the delete cost report params

func (*DeleteCostReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCostReportReader

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

DeleteCostReportReader is a Reader for the DeleteCostReport structure.

func (*DeleteCostReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDashboardNotFound

type DeleteDashboardNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewDeleteDashboardNotFound

func NewDeleteDashboardNotFound() *DeleteDashboardNotFound

NewDeleteDashboardNotFound creates a DeleteDashboardNotFound with default headers values

func (*DeleteDashboardNotFound) Code

func (o *DeleteDashboardNotFound) Code() int

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

func (*DeleteDashboardNotFound) Error

func (o *DeleteDashboardNotFound) Error() string

func (*DeleteDashboardNotFound) GetPayload

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

func (*DeleteDashboardNotFound) IsClientError

func (o *DeleteDashboardNotFound) IsClientError() bool

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

func (*DeleteDashboardNotFound) IsCode

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

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

func (*DeleteDashboardNotFound) IsRedirect

func (o *DeleteDashboardNotFound) IsRedirect() bool

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

func (*DeleteDashboardNotFound) IsServerError

func (o *DeleteDashboardNotFound) IsServerError() bool

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

func (*DeleteDashboardNotFound) IsSuccess

func (o *DeleteDashboardNotFound) IsSuccess() bool

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

func (*DeleteDashboardNotFound) String

func (o *DeleteDashboardNotFound) String() string

type DeleteDashboardOK

type DeleteDashboardOK struct {
	Payload *models.Dashboard
}

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

DeleteDashboardOK delete dashboard o k

func NewDeleteDashboardOK

func NewDeleteDashboardOK() *DeleteDashboardOK

NewDeleteDashboardOK creates a DeleteDashboardOK with default headers values

func (*DeleteDashboardOK) Code

func (o *DeleteDashboardOK) Code() int

Code gets the status code for the delete dashboard o k response

func (*DeleteDashboardOK) Error

func (o *DeleteDashboardOK) Error() string

func (*DeleteDashboardOK) GetPayload

func (o *DeleteDashboardOK) GetPayload() *models.Dashboard

func (*DeleteDashboardOK) IsClientError

func (o *DeleteDashboardOK) IsClientError() bool

IsClientError returns true when this delete dashboard o k response has a 4xx status code

func (*DeleteDashboardOK) IsCode

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

IsCode returns true when this delete dashboard o k response a status code equal to that given

func (*DeleteDashboardOK) IsRedirect

func (o *DeleteDashboardOK) IsRedirect() bool

IsRedirect returns true when this delete dashboard o k response has a 3xx status code

func (*DeleteDashboardOK) IsServerError

func (o *DeleteDashboardOK) IsServerError() bool

IsServerError returns true when this delete dashboard o k response has a 5xx status code

func (*DeleteDashboardOK) IsSuccess

func (o *DeleteDashboardOK) IsSuccess() bool

IsSuccess returns true when this delete dashboard o k response has a 2xx status code

func (*DeleteDashboardOK) String

func (o *DeleteDashboardOK) String() string

type DeleteDashboardParams

type DeleteDashboardParams struct {

	// DashboardToken.
	DashboardToken string

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

DeleteDashboardParams contains all the parameters to send to the API endpoint

for the delete dashboard operation.

Typically these are written to a http.Request.

func NewDeleteDashboardParams

func NewDeleteDashboardParams() *DeleteDashboardParams

NewDeleteDashboardParams creates a new DeleteDashboardParams 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 NewDeleteDashboardParamsWithContext

func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams

NewDeleteDashboardParamsWithContext creates a new DeleteDashboardParams object with the ability to set a context for a request.

func NewDeleteDashboardParamsWithHTTPClient

func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams

NewDeleteDashboardParamsWithHTTPClient creates a new DeleteDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDashboardParamsWithTimeout

func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams

NewDeleteDashboardParamsWithTimeout creates a new DeleteDashboardParams object with the ability to set a timeout on a request.

func (*DeleteDashboardParams) SetContext

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

SetContext adds the context to the delete dashboard params

func (*DeleteDashboardParams) SetDashboardToken

func (o *DeleteDashboardParams) SetDashboardToken(dashboardToken string)

SetDashboardToken adds the dashboardToken to the delete dashboard params

func (*DeleteDashboardParams) SetDefaults

func (o *DeleteDashboardParams) SetDefaults()

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

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

func (*DeleteDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete dashboard params

func (*DeleteDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the delete dashboard params

func (*DeleteDashboardParams) WithContext

WithContext adds the context to the delete dashboard params

func (*DeleteDashboardParams) WithDashboardToken

func (o *DeleteDashboardParams) WithDashboardToken(dashboardToken string) *DeleteDashboardParams

WithDashboardToken adds the dashboardToken to the delete dashboard params

func (*DeleteDashboardParams) WithDefaults

func (o *DeleteDashboardParams) WithDefaults() *DeleteDashboardParams

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

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

func (*DeleteDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete dashboard params

func (*DeleteDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the delete dashboard params

func (*DeleteDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDashboardReader

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

DeleteDashboardReader is a Reader for the DeleteDashboard structure.

func (*DeleteDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteFolderNoContent

type DeleteFolderNoContent struct {
	Payload *models.Folder
}

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

DeleteFolderNoContent delete folder no content

func NewDeleteFolderNoContent

func NewDeleteFolderNoContent() *DeleteFolderNoContent

NewDeleteFolderNoContent creates a DeleteFolderNoContent with default headers values

func (*DeleteFolderNoContent) Code

func (o *DeleteFolderNoContent) Code() int

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

func (*DeleteFolderNoContent) Error

func (o *DeleteFolderNoContent) Error() string

func (*DeleteFolderNoContent) GetPayload

func (o *DeleteFolderNoContent) GetPayload() *models.Folder

func (*DeleteFolderNoContent) IsClientError

func (o *DeleteFolderNoContent) IsClientError() bool

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

func (*DeleteFolderNoContent) IsCode

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

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

func (*DeleteFolderNoContent) IsRedirect

func (o *DeleteFolderNoContent) IsRedirect() bool

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

func (*DeleteFolderNoContent) IsServerError

func (o *DeleteFolderNoContent) IsServerError() bool

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

func (*DeleteFolderNoContent) IsSuccess

func (o *DeleteFolderNoContent) IsSuccess() bool

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

func (*DeleteFolderNoContent) String

func (o *DeleteFolderNoContent) String() string

type DeleteFolderNotFound

type DeleteFolderNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewDeleteFolderNotFound

func NewDeleteFolderNotFound() *DeleteFolderNotFound

NewDeleteFolderNotFound creates a DeleteFolderNotFound with default headers values

func (*DeleteFolderNotFound) Code

func (o *DeleteFolderNotFound) Code() int

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

func (*DeleteFolderNotFound) Error

func (o *DeleteFolderNotFound) Error() string

func (*DeleteFolderNotFound) GetPayload

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

func (*DeleteFolderNotFound) IsClientError

func (o *DeleteFolderNotFound) IsClientError() bool

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

func (*DeleteFolderNotFound) IsCode

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

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

func (*DeleteFolderNotFound) IsRedirect

func (o *DeleteFolderNotFound) IsRedirect() bool

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

func (*DeleteFolderNotFound) IsServerError

func (o *DeleteFolderNotFound) IsServerError() bool

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

func (*DeleteFolderNotFound) IsSuccess

func (o *DeleteFolderNotFound) IsSuccess() bool

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

func (*DeleteFolderNotFound) String

func (o *DeleteFolderNotFound) String() string

type DeleteFolderParams

type DeleteFolderParams struct {

	// FolderToken.
	FolderToken string

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

DeleteFolderParams contains all the parameters to send to the API endpoint

for the delete folder operation.

Typically these are written to a http.Request.

func NewDeleteFolderParams

func NewDeleteFolderParams() *DeleteFolderParams

NewDeleteFolderParams creates a new DeleteFolderParams 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 NewDeleteFolderParamsWithContext

func NewDeleteFolderParamsWithContext(ctx context.Context) *DeleteFolderParams

NewDeleteFolderParamsWithContext creates a new DeleteFolderParams object with the ability to set a context for a request.

func NewDeleteFolderParamsWithHTTPClient

func NewDeleteFolderParamsWithHTTPClient(client *http.Client) *DeleteFolderParams

NewDeleteFolderParamsWithHTTPClient creates a new DeleteFolderParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFolderParamsWithTimeout

func NewDeleteFolderParamsWithTimeout(timeout time.Duration) *DeleteFolderParams

NewDeleteFolderParamsWithTimeout creates a new DeleteFolderParams object with the ability to set a timeout on a request.

func (*DeleteFolderParams) SetContext

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

SetContext adds the context to the delete folder params

func (*DeleteFolderParams) SetDefaults

func (o *DeleteFolderParams) SetDefaults()

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

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

func (*DeleteFolderParams) SetFolderToken

func (o *DeleteFolderParams) SetFolderToken(folderToken string)

SetFolderToken adds the folderToken to the delete folder params

func (*DeleteFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete folder params

func (*DeleteFolderParams) SetTimeout

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

SetTimeout adds the timeout to the delete folder params

func (*DeleteFolderParams) WithContext

WithContext adds the context to the delete folder params

func (*DeleteFolderParams) WithDefaults

func (o *DeleteFolderParams) WithDefaults() *DeleteFolderParams

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

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

func (*DeleteFolderParams) WithFolderToken

func (o *DeleteFolderParams) WithFolderToken(folderToken string) *DeleteFolderParams

WithFolderToken adds the folderToken to the delete folder params

func (*DeleteFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete folder params

func (*DeleteFolderParams) WithTimeout

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

WithTimeout adds the timeout to the delete folder params

func (*DeleteFolderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteFolderReader

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

DeleteFolderReader is a Reader for the DeleteFolder structure.

func (*DeleteFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSavedFilterNoContent

type DeleteSavedFilterNoContent struct {
	Payload *models.SavedFilter
}

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

DeleteSavedFilterNoContent delete saved filter no content

func NewDeleteSavedFilterNoContent

func NewDeleteSavedFilterNoContent() *DeleteSavedFilterNoContent

NewDeleteSavedFilterNoContent creates a DeleteSavedFilterNoContent with default headers values

func (*DeleteSavedFilterNoContent) Code

func (o *DeleteSavedFilterNoContent) Code() int

Code gets the status code for the delete saved filter no content response

func (*DeleteSavedFilterNoContent) Error

func (*DeleteSavedFilterNoContent) GetPayload

func (*DeleteSavedFilterNoContent) IsClientError

func (o *DeleteSavedFilterNoContent) IsClientError() bool

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

func (*DeleteSavedFilterNoContent) IsCode

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

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

func (*DeleteSavedFilterNoContent) IsRedirect

func (o *DeleteSavedFilterNoContent) IsRedirect() bool

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

func (*DeleteSavedFilterNoContent) IsServerError

func (o *DeleteSavedFilterNoContent) IsServerError() bool

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

func (*DeleteSavedFilterNoContent) IsSuccess

func (o *DeleteSavedFilterNoContent) IsSuccess() bool

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

func (*DeleteSavedFilterNoContent) String

func (o *DeleteSavedFilterNoContent) String() string

type DeleteSavedFilterNotFound

type DeleteSavedFilterNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewDeleteSavedFilterNotFound

func NewDeleteSavedFilterNotFound() *DeleteSavedFilterNotFound

NewDeleteSavedFilterNotFound creates a DeleteSavedFilterNotFound with default headers values

func (*DeleteSavedFilterNotFound) Code

func (o *DeleteSavedFilterNotFound) Code() int

Code gets the status code for the delete saved filter not found response

func (*DeleteSavedFilterNotFound) Error

func (o *DeleteSavedFilterNotFound) Error() string

func (*DeleteSavedFilterNotFound) GetPayload

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

func (*DeleteSavedFilterNotFound) IsClientError

func (o *DeleteSavedFilterNotFound) IsClientError() bool

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

func (*DeleteSavedFilterNotFound) IsCode

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

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

func (*DeleteSavedFilterNotFound) IsRedirect

func (o *DeleteSavedFilterNotFound) IsRedirect() bool

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

func (*DeleteSavedFilterNotFound) IsServerError

func (o *DeleteSavedFilterNotFound) IsServerError() bool

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

func (*DeleteSavedFilterNotFound) IsSuccess

func (o *DeleteSavedFilterNotFound) IsSuccess() bool

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

func (*DeleteSavedFilterNotFound) String

func (o *DeleteSavedFilterNotFound) String() string

type DeleteSavedFilterParams

type DeleteSavedFilterParams struct {

	// SavedFilterToken.
	SavedFilterToken string

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

DeleteSavedFilterParams contains all the parameters to send to the API endpoint

for the delete saved filter operation.

Typically these are written to a http.Request.

func NewDeleteSavedFilterParams

func NewDeleteSavedFilterParams() *DeleteSavedFilterParams

NewDeleteSavedFilterParams creates a new DeleteSavedFilterParams 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 NewDeleteSavedFilterParamsWithContext

func NewDeleteSavedFilterParamsWithContext(ctx context.Context) *DeleteSavedFilterParams

NewDeleteSavedFilterParamsWithContext creates a new DeleteSavedFilterParams object with the ability to set a context for a request.

func NewDeleteSavedFilterParamsWithHTTPClient

func NewDeleteSavedFilterParamsWithHTTPClient(client *http.Client) *DeleteSavedFilterParams

NewDeleteSavedFilterParamsWithHTTPClient creates a new DeleteSavedFilterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSavedFilterParamsWithTimeout

func NewDeleteSavedFilterParamsWithTimeout(timeout time.Duration) *DeleteSavedFilterParams

NewDeleteSavedFilterParamsWithTimeout creates a new DeleteSavedFilterParams object with the ability to set a timeout on a request.

func (*DeleteSavedFilterParams) SetContext

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

SetContext adds the context to the delete saved filter params

func (*DeleteSavedFilterParams) SetDefaults

func (o *DeleteSavedFilterParams) SetDefaults()

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

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

func (*DeleteSavedFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete saved filter params

func (*DeleteSavedFilterParams) SetSavedFilterToken

func (o *DeleteSavedFilterParams) SetSavedFilterToken(savedFilterToken string)

SetSavedFilterToken adds the savedFilterToken to the delete saved filter params

func (*DeleteSavedFilterParams) SetTimeout

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

SetTimeout adds the timeout to the delete saved filter params

func (*DeleteSavedFilterParams) WithContext

WithContext adds the context to the delete saved filter params

func (*DeleteSavedFilterParams) WithDefaults

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

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

func (*DeleteSavedFilterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete saved filter params

func (*DeleteSavedFilterParams) WithSavedFilterToken

func (o *DeleteSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *DeleteSavedFilterParams

WithSavedFilterToken adds the savedFilterToken to the delete saved filter params

func (*DeleteSavedFilterParams) WithTimeout

WithTimeout adds the timeout to the delete saved filter params

func (*DeleteSavedFilterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSavedFilterReader

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

DeleteSavedFilterReader is a Reader for the DeleteSavedFilter structure.

func (*DeleteSavedFilterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCostReportFolderNotFound

type GetCostReportFolderNotFound struct {
	Payload *models.Folder
}

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

GetCostReportFolderNotFound get cost report folder not found

func NewGetCostReportFolderNotFound

func NewGetCostReportFolderNotFound() *GetCostReportFolderNotFound

NewGetCostReportFolderNotFound creates a GetCostReportFolderNotFound with default headers values

func (*GetCostReportFolderNotFound) Code

func (o *GetCostReportFolderNotFound) Code() int

Code gets the status code for the get cost report folder not found response

func (*GetCostReportFolderNotFound) Error

func (*GetCostReportFolderNotFound) GetPayload

func (o *GetCostReportFolderNotFound) GetPayload() *models.Folder

func (*GetCostReportFolderNotFound) IsClientError

func (o *GetCostReportFolderNotFound) IsClientError() bool

IsClientError returns true when this get cost report folder not found response has a 4xx status code

func (*GetCostReportFolderNotFound) IsCode

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

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

func (*GetCostReportFolderNotFound) IsRedirect

func (o *GetCostReportFolderNotFound) IsRedirect() bool

IsRedirect returns true when this get cost report folder not found response has a 3xx status code

func (*GetCostReportFolderNotFound) IsServerError

func (o *GetCostReportFolderNotFound) IsServerError() bool

IsServerError returns true when this get cost report folder not found response has a 5xx status code

func (*GetCostReportFolderNotFound) IsSuccess

func (o *GetCostReportFolderNotFound) IsSuccess() bool

IsSuccess returns true when this get cost report folder not found response has a 2xx status code

func (*GetCostReportFolderNotFound) String

func (o *GetCostReportFolderNotFound) String() string

type GetCostReportFolderOK

type GetCostReportFolderOK struct {
	Payload *models.Folder
}

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

GetCostReportFolderOK get cost report folder o k

func NewGetCostReportFolderOK

func NewGetCostReportFolderOK() *GetCostReportFolderOK

NewGetCostReportFolderOK creates a GetCostReportFolderOK with default headers values

func (*GetCostReportFolderOK) Code

func (o *GetCostReportFolderOK) Code() int

Code gets the status code for the get cost report folder o k response

func (*GetCostReportFolderOK) Error

func (o *GetCostReportFolderOK) Error() string

func (*GetCostReportFolderOK) GetPayload

func (o *GetCostReportFolderOK) GetPayload() *models.Folder

func (*GetCostReportFolderOK) IsClientError

func (o *GetCostReportFolderOK) IsClientError() bool

IsClientError returns true when this get cost report folder o k response has a 4xx status code

func (*GetCostReportFolderOK) IsCode

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

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

func (*GetCostReportFolderOK) IsRedirect

func (o *GetCostReportFolderOK) IsRedirect() bool

IsRedirect returns true when this get cost report folder o k response has a 3xx status code

func (*GetCostReportFolderOK) IsServerError

func (o *GetCostReportFolderOK) IsServerError() bool

IsServerError returns true when this get cost report folder o k response has a 5xx status code

func (*GetCostReportFolderOK) IsSuccess

func (o *GetCostReportFolderOK) IsSuccess() bool

IsSuccess returns true when this get cost report folder o k response has a 2xx status code

func (*GetCostReportFolderOK) String

func (o *GetCostReportFolderOK) String() string

type GetCostReportFolderParams

type GetCostReportFolderParams struct {

	// FolderToken.
	FolderToken string

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

GetCostReportFolderParams contains all the parameters to send to the API endpoint

for the get cost report folder operation.

Typically these are written to a http.Request.

func NewGetCostReportFolderParams

func NewGetCostReportFolderParams() *GetCostReportFolderParams

NewGetCostReportFolderParams creates a new GetCostReportFolderParams 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 NewGetCostReportFolderParamsWithContext

func NewGetCostReportFolderParamsWithContext(ctx context.Context) *GetCostReportFolderParams

NewGetCostReportFolderParamsWithContext creates a new GetCostReportFolderParams object with the ability to set a context for a request.

func NewGetCostReportFolderParamsWithHTTPClient

func NewGetCostReportFolderParamsWithHTTPClient(client *http.Client) *GetCostReportFolderParams

NewGetCostReportFolderParamsWithHTTPClient creates a new GetCostReportFolderParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostReportFolderParamsWithTimeout

func NewGetCostReportFolderParamsWithTimeout(timeout time.Duration) *GetCostReportFolderParams

NewGetCostReportFolderParamsWithTimeout creates a new GetCostReportFolderParams object with the ability to set a timeout on a request.

func (*GetCostReportFolderParams) SetContext

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

SetContext adds the context to the get cost report folder params

func (*GetCostReportFolderParams) SetDefaults

func (o *GetCostReportFolderParams) SetDefaults()

SetDefaults hydrates default values in the get cost report folder params (not the query body).

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

func (*GetCostReportFolderParams) SetFolderToken

func (o *GetCostReportFolderParams) SetFolderToken(folderToken string)

SetFolderToken adds the folderToken to the get cost report folder params

func (*GetCostReportFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cost report folder params

func (*GetCostReportFolderParams) SetTimeout

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

SetTimeout adds the timeout to the get cost report folder params

func (*GetCostReportFolderParams) WithContext

WithContext adds the context to the get cost report folder params

func (*GetCostReportFolderParams) WithDefaults

WithDefaults hydrates default values in the get cost report folder params (not the query body).

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

func (*GetCostReportFolderParams) WithFolderToken

func (o *GetCostReportFolderParams) WithFolderToken(folderToken string) *GetCostReportFolderParams

WithFolderToken adds the folderToken to the get cost report folder params

func (*GetCostReportFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get cost report folder params

func (*GetCostReportFolderParams) WithTimeout

WithTimeout adds the timeout to the get cost report folder params

func (*GetCostReportFolderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCostReportFolderReader

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

GetCostReportFolderReader is a Reader for the GetCostReportFolder structure.

func (*GetCostReportFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCostReportFoldersOK

type GetCostReportFoldersOK struct {
	Payload *models.Folders
}

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

GetCostReportFoldersOK get cost report folders o k

func NewGetCostReportFoldersOK

func NewGetCostReportFoldersOK() *GetCostReportFoldersOK

NewGetCostReportFoldersOK creates a GetCostReportFoldersOK with default headers values

func (*GetCostReportFoldersOK) Code

func (o *GetCostReportFoldersOK) Code() int

Code gets the status code for the get cost report folders o k response

func (*GetCostReportFoldersOK) Error

func (o *GetCostReportFoldersOK) Error() string

func (*GetCostReportFoldersOK) GetPayload

func (o *GetCostReportFoldersOK) GetPayload() *models.Folders

func (*GetCostReportFoldersOK) IsClientError

func (o *GetCostReportFoldersOK) IsClientError() bool

IsClientError returns true when this get cost report folders o k response has a 4xx status code

func (*GetCostReportFoldersOK) IsCode

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

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

func (*GetCostReportFoldersOK) IsRedirect

func (o *GetCostReportFoldersOK) IsRedirect() bool

IsRedirect returns true when this get cost report folders o k response has a 3xx status code

func (*GetCostReportFoldersOK) IsServerError

func (o *GetCostReportFoldersOK) IsServerError() bool

IsServerError returns true when this get cost report folders o k response has a 5xx status code

func (*GetCostReportFoldersOK) IsSuccess

func (o *GetCostReportFoldersOK) IsSuccess() bool

IsSuccess returns true when this get cost report folders o k response has a 2xx status code

func (*GetCostReportFoldersOK) String

func (o *GetCostReportFoldersOK) String() string

type GetCostReportFoldersParams

type GetCostReportFoldersParams struct {

	/* Limit.

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

	   Format: int32
	*/
	Limit *int32

	/* Page.

	   The page of results to return.

	   Format: int32
	*/
	Page *int32

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

GetCostReportFoldersParams contains all the parameters to send to the API endpoint

for the get cost report folders operation.

Typically these are written to a http.Request.

func NewGetCostReportFoldersParams

func NewGetCostReportFoldersParams() *GetCostReportFoldersParams

NewGetCostReportFoldersParams creates a new GetCostReportFoldersParams 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 NewGetCostReportFoldersParamsWithContext

func NewGetCostReportFoldersParamsWithContext(ctx context.Context) *GetCostReportFoldersParams

NewGetCostReportFoldersParamsWithContext creates a new GetCostReportFoldersParams object with the ability to set a context for a request.

func NewGetCostReportFoldersParamsWithHTTPClient

func NewGetCostReportFoldersParamsWithHTTPClient(client *http.Client) *GetCostReportFoldersParams

NewGetCostReportFoldersParamsWithHTTPClient creates a new GetCostReportFoldersParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostReportFoldersParamsWithTimeout

func NewGetCostReportFoldersParamsWithTimeout(timeout time.Duration) *GetCostReportFoldersParams

NewGetCostReportFoldersParamsWithTimeout creates a new GetCostReportFoldersParams object with the ability to set a timeout on a request.

func (*GetCostReportFoldersParams) SetContext

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

SetContext adds the context to the get cost report folders params

func (*GetCostReportFoldersParams) SetDefaults

func (o *GetCostReportFoldersParams) SetDefaults()

SetDefaults hydrates default values in the get cost report folders params (not the query body).

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

func (*GetCostReportFoldersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cost report folders params

func (*GetCostReportFoldersParams) SetLimit

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

SetLimit adds the limit to the get cost report folders params

func (*GetCostReportFoldersParams) SetPage

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

SetPage adds the page to the get cost report folders params

func (*GetCostReportFoldersParams) SetTimeout

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

SetTimeout adds the timeout to the get cost report folders params

func (*GetCostReportFoldersParams) WithContext

WithContext adds the context to the get cost report folders params

func (*GetCostReportFoldersParams) WithDefaults

WithDefaults hydrates default values in the get cost report folders params (not the query body).

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

func (*GetCostReportFoldersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get cost report folders params

func (*GetCostReportFoldersParams) WithLimit

WithLimit adds the limit to the get cost report folders params

func (*GetCostReportFoldersParams) WithPage

WithPage adds the page to the get cost report folders params

func (*GetCostReportFoldersParams) WithTimeout

WithTimeout adds the timeout to the get cost report folders params

func (*GetCostReportFoldersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCostReportFoldersReader

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

GetCostReportFoldersReader is a Reader for the GetCostReportFolders structure.

func (*GetCostReportFoldersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCostReportNotFound

type GetCostReportNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewGetCostReportNotFound

func NewGetCostReportNotFound() *GetCostReportNotFound

NewGetCostReportNotFound creates a GetCostReportNotFound with default headers values

func (*GetCostReportNotFound) Code

func (o *GetCostReportNotFound) Code() int

Code gets the status code for the get cost report not found response

func (*GetCostReportNotFound) Error

func (o *GetCostReportNotFound) Error() string

func (*GetCostReportNotFound) GetPayload

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

func (*GetCostReportNotFound) IsClientError

func (o *GetCostReportNotFound) IsClientError() bool

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

func (*GetCostReportNotFound) IsCode

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

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

func (*GetCostReportNotFound) IsRedirect

func (o *GetCostReportNotFound) IsRedirect() bool

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

func (*GetCostReportNotFound) IsServerError

func (o *GetCostReportNotFound) IsServerError() bool

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

func (*GetCostReportNotFound) IsSuccess

func (o *GetCostReportNotFound) IsSuccess() bool

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

func (*GetCostReportNotFound) String

func (o *GetCostReportNotFound) String() string

type GetCostReportOK

type GetCostReportOK struct {
	Payload *models.CostReport
}

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

GetCostReportOK get cost report o k

func NewGetCostReportOK

func NewGetCostReportOK() *GetCostReportOK

NewGetCostReportOK creates a GetCostReportOK with default headers values

func (*GetCostReportOK) Code

func (o *GetCostReportOK) Code() int

Code gets the status code for the get cost report o k response

func (*GetCostReportOK) Error

func (o *GetCostReportOK) Error() string

func (*GetCostReportOK) GetPayload

func (o *GetCostReportOK) GetPayload() *models.CostReport

func (*GetCostReportOK) IsClientError

func (o *GetCostReportOK) IsClientError() bool

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

func (*GetCostReportOK) IsCode

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

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

func (*GetCostReportOK) IsRedirect

func (o *GetCostReportOK) IsRedirect() bool

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

func (*GetCostReportOK) IsServerError

func (o *GetCostReportOK) IsServerError() bool

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

func (*GetCostReportOK) IsSuccess

func (o *GetCostReportOK) IsSuccess() bool

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

func (*GetCostReportOK) String

func (o *GetCostReportOK) String() string

type GetCostReportParams

type GetCostReportParams struct {

	// CostReportToken.
	CostReportToken string

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

GetCostReportParams contains all the parameters to send to the API endpoint

for the get cost report operation.

Typically these are written to a http.Request.

func NewGetCostReportParams

func NewGetCostReportParams() *GetCostReportParams

NewGetCostReportParams creates a new GetCostReportParams 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 NewGetCostReportParamsWithContext

func NewGetCostReportParamsWithContext(ctx context.Context) *GetCostReportParams

NewGetCostReportParamsWithContext creates a new GetCostReportParams object with the ability to set a context for a request.

func NewGetCostReportParamsWithHTTPClient

func NewGetCostReportParamsWithHTTPClient(client *http.Client) *GetCostReportParams

NewGetCostReportParamsWithHTTPClient creates a new GetCostReportParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostReportParamsWithTimeout

func NewGetCostReportParamsWithTimeout(timeout time.Duration) *GetCostReportParams

NewGetCostReportParamsWithTimeout creates a new GetCostReportParams object with the ability to set a timeout on a request.

func (*GetCostReportParams) SetContext

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

SetContext adds the context to the get cost report params

func (*GetCostReportParams) SetCostReportToken

func (o *GetCostReportParams) SetCostReportToken(costReportToken string)

SetCostReportToken adds the costReportToken to the get cost report params

func (*GetCostReportParams) SetDefaults

func (o *GetCostReportParams) SetDefaults()

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

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

func (*GetCostReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cost report params

func (*GetCostReportParams) SetTimeout

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

SetTimeout adds the timeout to the get cost report params

func (*GetCostReportParams) WithContext

WithContext adds the context to the get cost report params

func (*GetCostReportParams) WithCostReportToken

func (o *GetCostReportParams) WithCostReportToken(costReportToken string) *GetCostReportParams

WithCostReportToken adds the costReportToken to the get cost report params

func (*GetCostReportParams) WithDefaults

func (o *GetCostReportParams) WithDefaults() *GetCostReportParams

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

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

func (*GetCostReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get cost report params

func (*GetCostReportParams) WithTimeout

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

WithTimeout adds the timeout to the get cost report params

func (*GetCostReportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCostReportReader

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

GetCostReportReader is a Reader for the GetCostReport structure.

func (*GetCostReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCostReportsOK

type GetCostReportsOK struct {
	Payload *models.CostReports
}

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

GetCostReportsOK get cost reports o k

func NewGetCostReportsOK

func NewGetCostReportsOK() *GetCostReportsOK

NewGetCostReportsOK creates a GetCostReportsOK with default headers values

func (*GetCostReportsOK) Code

func (o *GetCostReportsOK) Code() int

Code gets the status code for the get cost reports o k response

func (*GetCostReportsOK) Error

func (o *GetCostReportsOK) Error() string

func (*GetCostReportsOK) GetPayload

func (o *GetCostReportsOK) GetPayload() *models.CostReports

func (*GetCostReportsOK) IsClientError

func (o *GetCostReportsOK) IsClientError() bool

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

func (*GetCostReportsOK) IsCode

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

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

func (*GetCostReportsOK) IsRedirect

func (o *GetCostReportsOK) IsRedirect() bool

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

func (*GetCostReportsOK) IsServerError

func (o *GetCostReportsOK) IsServerError() bool

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

func (*GetCostReportsOK) IsSuccess

func (o *GetCostReportsOK) IsSuccess() bool

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

func (*GetCostReportsOK) String

func (o *GetCostReportsOK) String() string

type GetCostReportsParams

type GetCostReportsParams struct {

	/* Limit.

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

	   Format: int32
	*/
	Limit *int32

	/* Page.

	   The page of results to return.

	   Format: int32
	*/
	Page *int32

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

GetCostReportsParams contains all the parameters to send to the API endpoint

for the get cost reports operation.

Typically these are written to a http.Request.

func NewGetCostReportsParams

func NewGetCostReportsParams() *GetCostReportsParams

NewGetCostReportsParams creates a new GetCostReportsParams 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 NewGetCostReportsParamsWithContext

func NewGetCostReportsParamsWithContext(ctx context.Context) *GetCostReportsParams

NewGetCostReportsParamsWithContext creates a new GetCostReportsParams object with the ability to set a context for a request.

func NewGetCostReportsParamsWithHTTPClient

func NewGetCostReportsParamsWithHTTPClient(client *http.Client) *GetCostReportsParams

NewGetCostReportsParamsWithHTTPClient creates a new GetCostReportsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostReportsParamsWithTimeout

func NewGetCostReportsParamsWithTimeout(timeout time.Duration) *GetCostReportsParams

NewGetCostReportsParamsWithTimeout creates a new GetCostReportsParams object with the ability to set a timeout on a request.

func (*GetCostReportsParams) SetContext

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

SetContext adds the context to the get cost reports params

func (*GetCostReportsParams) SetDefaults

func (o *GetCostReportsParams) SetDefaults()

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

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

func (*GetCostReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cost reports params

func (*GetCostReportsParams) SetLimit

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

SetLimit adds the limit to the get cost reports params

func (*GetCostReportsParams) SetPage

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

SetPage adds the page to the get cost reports params

func (*GetCostReportsParams) SetTimeout

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

SetTimeout adds the timeout to the get cost reports params

func (*GetCostReportsParams) WithContext

WithContext adds the context to the get cost reports params

func (*GetCostReportsParams) WithDefaults

func (o *GetCostReportsParams) WithDefaults() *GetCostReportsParams

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

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

func (*GetCostReportsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get cost reports params

func (*GetCostReportsParams) WithLimit

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

WithLimit adds the limit to the get cost reports params

func (*GetCostReportsParams) WithPage

func (o *GetCostReportsParams) WithPage(page *int32) *GetCostReportsParams

WithPage adds the page to the get cost reports params

func (*GetCostReportsParams) WithTimeout

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

WithTimeout adds the timeout to the get cost reports params

func (*GetCostReportsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCostReportsReader

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

GetCostReportsReader is a Reader for the GetCostReports structure.

func (*GetCostReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCostsBadRequest

type GetCostsBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewGetCostsBadRequest

func NewGetCostsBadRequest() *GetCostsBadRequest

NewGetCostsBadRequest creates a GetCostsBadRequest with default headers values

func (*GetCostsBadRequest) Code

func (o *GetCostsBadRequest) Code() int

Code gets the status code for the get costs bad request response

func (*GetCostsBadRequest) Error

func (o *GetCostsBadRequest) Error() string

func (*GetCostsBadRequest) GetPayload

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

func (*GetCostsBadRequest) IsClientError

func (o *GetCostsBadRequest) IsClientError() bool

IsClientError returns true when this get costs bad request response has a 4xx status code

func (*GetCostsBadRequest) IsCode

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

IsCode returns true when this get costs bad request response a status code equal to that given

func (*GetCostsBadRequest) IsRedirect

func (o *GetCostsBadRequest) IsRedirect() bool

IsRedirect returns true when this get costs bad request response has a 3xx status code

func (*GetCostsBadRequest) IsServerError

func (o *GetCostsBadRequest) IsServerError() bool

IsServerError returns true when this get costs bad request response has a 5xx status code

func (*GetCostsBadRequest) IsSuccess

func (o *GetCostsBadRequest) IsSuccess() bool

IsSuccess returns true when this get costs bad request response has a 2xx status code

func (*GetCostsBadRequest) String

func (o *GetCostsBadRequest) String() string

type GetCostsNotFound

type GetCostsNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewGetCostsNotFound

func NewGetCostsNotFound() *GetCostsNotFound

NewGetCostsNotFound creates a GetCostsNotFound with default headers values

func (*GetCostsNotFound) Code

func (o *GetCostsNotFound) Code() int

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

func (*GetCostsNotFound) Error

func (o *GetCostsNotFound) Error() string

func (*GetCostsNotFound) GetPayload

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

func (*GetCostsNotFound) IsClientError

func (o *GetCostsNotFound) IsClientError() bool

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

func (*GetCostsNotFound) IsCode

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

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

func (*GetCostsNotFound) IsRedirect

func (o *GetCostsNotFound) IsRedirect() bool

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

func (*GetCostsNotFound) IsServerError

func (o *GetCostsNotFound) IsServerError() bool

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

func (*GetCostsNotFound) IsSuccess

func (o *GetCostsNotFound) IsSuccess() bool

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

func (*GetCostsNotFound) String

func (o *GetCostsNotFound) String() string

type GetCostsOK

type GetCostsOK struct {
	Payload *models.Costs
}

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

GetCostsOK get costs o k

func NewGetCostsOK

func NewGetCostsOK() *GetCostsOK

NewGetCostsOK creates a GetCostsOK with default headers values

func (*GetCostsOK) Code

func (o *GetCostsOK) Code() int

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

func (*GetCostsOK) Error

func (o *GetCostsOK) Error() string

func (*GetCostsOK) GetPayload

func (o *GetCostsOK) GetPayload() *models.Costs

func (*GetCostsOK) IsClientError

func (o *GetCostsOK) IsClientError() bool

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

func (*GetCostsOK) IsCode

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

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

func (*GetCostsOK) IsRedirect

func (o *GetCostsOK) IsRedirect() bool

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

func (*GetCostsOK) IsServerError

func (o *GetCostsOK) IsServerError() bool

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

func (*GetCostsOK) IsSuccess

func (o *GetCostsOK) IsSuccess() bool

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

func (*GetCostsOK) String

func (o *GetCostsOK) String() string

type GetCostsParams

type GetCostsParams struct {

	/* CostReportToken.

	   The CostReport token.
	*/
	CostReportToken string

	/* EndDate.

	   Last date you would like to filter costs to. ISO 8601 formatted.
	*/
	EndDate *string

	/* Groupings.

	   Group the results by specific field(s). Defaults to provider, service, account_id. Valid groupings: account_id, billing_account_id, charge_type, cost_category, cost_subcategory, provider, region, resource_id, service, tag:<tag_value>. If providing multiple groupings, join as comma separated values: groupings=provider,service,region
	*/
	Groupings []string

	/* Limit.

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

	   Format: int32
	*/
	Limit *int32

	/* Order.

	   Whether to order costs by date in an ascending or descending manner.

	   Default: "desc"
	*/
	Order *string

	/* StartDate.

	   First date you would like to filter costs from. ISO 8601 formatted.
	*/
	StartDate *string

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

GetCostsParams contains all the parameters to send to the API endpoint

for the get costs operation.

Typically these are written to a http.Request.

func NewGetCostsParams

func NewGetCostsParams() *GetCostsParams

NewGetCostsParams creates a new GetCostsParams 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 NewGetCostsParamsWithContext

func NewGetCostsParamsWithContext(ctx context.Context) *GetCostsParams

NewGetCostsParamsWithContext creates a new GetCostsParams object with the ability to set a context for a request.

func NewGetCostsParamsWithHTTPClient

func NewGetCostsParamsWithHTTPClient(client *http.Client) *GetCostsParams

NewGetCostsParamsWithHTTPClient creates a new GetCostsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCostsParamsWithTimeout

func NewGetCostsParamsWithTimeout(timeout time.Duration) *GetCostsParams

NewGetCostsParamsWithTimeout creates a new GetCostsParams object with the ability to set a timeout on a request.

func (*GetCostsParams) SetContext

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

SetContext adds the context to the get costs params

func (*GetCostsParams) SetCostReportToken

func (o *GetCostsParams) SetCostReportToken(costReportToken string)

SetCostReportToken adds the costReportToken to the get costs params

func (*GetCostsParams) SetDefaults

func (o *GetCostsParams) SetDefaults()

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

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

func (*GetCostsParams) SetEndDate

func (o *GetCostsParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the get costs params

func (*GetCostsParams) SetGroupings

func (o *GetCostsParams) SetGroupings(groupings []string)

SetGroupings adds the groupings to the get costs params

func (*GetCostsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get costs params

func (*GetCostsParams) SetLimit

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

SetLimit adds the limit to the get costs params

func (*GetCostsParams) SetOrder

func (o *GetCostsParams) SetOrder(order *string)

SetOrder adds the order to the get costs params

func (*GetCostsParams) SetStartDate

func (o *GetCostsParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the get costs params

func (*GetCostsParams) SetTimeout

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

SetTimeout adds the timeout to the get costs params

func (*GetCostsParams) WithContext

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

WithContext adds the context to the get costs params

func (*GetCostsParams) WithCostReportToken

func (o *GetCostsParams) WithCostReportToken(costReportToken string) *GetCostsParams

WithCostReportToken adds the costReportToken to the get costs params

func (*GetCostsParams) WithDefaults

func (o *GetCostsParams) WithDefaults() *GetCostsParams

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

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

func (*GetCostsParams) WithEndDate

func (o *GetCostsParams) WithEndDate(endDate *string) *GetCostsParams

WithEndDate adds the endDate to the get costs params

func (*GetCostsParams) WithGroupings

func (o *GetCostsParams) WithGroupings(groupings []string) *GetCostsParams

WithGroupings adds the groupings to the get costs params

func (*GetCostsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get costs params

func (*GetCostsParams) WithLimit

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

WithLimit adds the limit to the get costs params

func (*GetCostsParams) WithOrder

func (o *GetCostsParams) WithOrder(order *string) *GetCostsParams

WithOrder adds the order to the get costs params

func (*GetCostsParams) WithStartDate

func (o *GetCostsParams) WithStartDate(startDate *string) *GetCostsParams

WithStartDate adds the startDate to the get costs params

func (*GetCostsParams) WithTimeout

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

WithTimeout adds the timeout to the get costs params

func (*GetCostsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCostsPaymentRequired

type GetCostsPaymentRequired struct {
	Payload *models.Errors
}

GetCostsPaymentRequired describes a response with status code 402, with default header values.

PaymentRequired

func NewGetCostsPaymentRequired

func NewGetCostsPaymentRequired() *GetCostsPaymentRequired

NewGetCostsPaymentRequired creates a GetCostsPaymentRequired with default headers values

func (*GetCostsPaymentRequired) Code

func (o *GetCostsPaymentRequired) Code() int

Code gets the status code for the get costs payment required response

func (*GetCostsPaymentRequired) Error

func (o *GetCostsPaymentRequired) Error() string

func (*GetCostsPaymentRequired) GetPayload

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

func (*GetCostsPaymentRequired) IsClientError

func (o *GetCostsPaymentRequired) IsClientError() bool

IsClientError returns true when this get costs payment required response has a 4xx status code

func (*GetCostsPaymentRequired) IsCode

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

IsCode returns true when this get costs payment required response a status code equal to that given

func (*GetCostsPaymentRequired) IsRedirect

func (o *GetCostsPaymentRequired) IsRedirect() bool

IsRedirect returns true when this get costs payment required response has a 3xx status code

func (*GetCostsPaymentRequired) IsServerError

func (o *GetCostsPaymentRequired) IsServerError() bool

IsServerError returns true when this get costs payment required response has a 5xx status code

func (*GetCostsPaymentRequired) IsSuccess

func (o *GetCostsPaymentRequired) IsSuccess() bool

IsSuccess returns true when this get costs payment required response has a 2xx status code

func (*GetCostsPaymentRequired) String

func (o *GetCostsPaymentRequired) String() string

type GetCostsReader

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

GetCostsReader is a Reader for the GetCosts structure.

func (*GetCostsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDashboardNotFound

type GetDashboardNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewGetDashboardNotFound

func NewGetDashboardNotFound() *GetDashboardNotFound

NewGetDashboardNotFound creates a GetDashboardNotFound with default headers values

func (*GetDashboardNotFound) Code

func (o *GetDashboardNotFound) Code() int

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

func (*GetDashboardNotFound) Error

func (o *GetDashboardNotFound) Error() string

func (*GetDashboardNotFound) GetPayload

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

func (*GetDashboardNotFound) IsClientError

func (o *GetDashboardNotFound) IsClientError() bool

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

func (*GetDashboardNotFound) IsCode

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

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

func (*GetDashboardNotFound) IsRedirect

func (o *GetDashboardNotFound) IsRedirect() bool

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

func (*GetDashboardNotFound) IsServerError

func (o *GetDashboardNotFound) IsServerError() bool

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

func (*GetDashboardNotFound) IsSuccess

func (o *GetDashboardNotFound) IsSuccess() bool

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

func (*GetDashboardNotFound) String

func (o *GetDashboardNotFound) String() string

type GetDashboardOK

type GetDashboardOK struct {
	Payload *models.Dashboard
}

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

GetDashboardOK get dashboard o k

func NewGetDashboardOK

func NewGetDashboardOK() *GetDashboardOK

NewGetDashboardOK creates a GetDashboardOK with default headers values

func (*GetDashboardOK) Code

func (o *GetDashboardOK) Code() int

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

func (*GetDashboardOK) Error

func (o *GetDashboardOK) Error() string

func (*GetDashboardOK) GetPayload

func (o *GetDashboardOK) GetPayload() *models.Dashboard

func (*GetDashboardOK) IsClientError

func (o *GetDashboardOK) IsClientError() bool

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

func (*GetDashboardOK) IsCode

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

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

func (*GetDashboardOK) IsRedirect

func (o *GetDashboardOK) IsRedirect() bool

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

func (*GetDashboardOK) IsServerError

func (o *GetDashboardOK) IsServerError() bool

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

func (*GetDashboardOK) IsSuccess

func (o *GetDashboardOK) IsSuccess() bool

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

func (*GetDashboardOK) String

func (o *GetDashboardOK) String() string

type GetDashboardParams

type GetDashboardParams struct {

	// DashboardToken.
	DashboardToken string

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

GetDashboardParams contains all the parameters to send to the API endpoint

for the get dashboard operation.

Typically these are written to a http.Request.

func NewGetDashboardParams

func NewGetDashboardParams() *GetDashboardParams

NewGetDashboardParams creates a new GetDashboardParams 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 NewGetDashboardParamsWithContext

func NewGetDashboardParamsWithContext(ctx context.Context) *GetDashboardParams

NewGetDashboardParamsWithContext creates a new GetDashboardParams object with the ability to set a context for a request.

func NewGetDashboardParamsWithHTTPClient

func NewGetDashboardParamsWithHTTPClient(client *http.Client) *GetDashboardParams

NewGetDashboardParamsWithHTTPClient creates a new GetDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewGetDashboardParamsWithTimeout

func NewGetDashboardParamsWithTimeout(timeout time.Duration) *GetDashboardParams

NewGetDashboardParamsWithTimeout creates a new GetDashboardParams object with the ability to set a timeout on a request.

func (*GetDashboardParams) SetContext

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

SetContext adds the context to the get dashboard params

func (*GetDashboardParams) SetDashboardToken

func (o *GetDashboardParams) SetDashboardToken(dashboardToken string)

SetDashboardToken adds the dashboardToken to the get dashboard params

func (*GetDashboardParams) SetDefaults

func (o *GetDashboardParams) SetDefaults()

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

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

func (*GetDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dashboard params

func (*GetDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the get dashboard params

func (*GetDashboardParams) WithContext

WithContext adds the context to the get dashboard params

func (*GetDashboardParams) WithDashboardToken

func (o *GetDashboardParams) WithDashboardToken(dashboardToken string) *GetDashboardParams

WithDashboardToken adds the dashboardToken to the get dashboard params

func (*GetDashboardParams) WithDefaults

func (o *GetDashboardParams) WithDefaults() *GetDashboardParams

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

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

func (*GetDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get dashboard params

func (*GetDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the get dashboard params

func (*GetDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDashboardReader

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

GetDashboardReader is a Reader for the GetDashboard structure.

func (*GetDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDashboardsOK

type GetDashboardsOK struct {
	Payload *models.Dashboards
}

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

GetDashboardsOK get dashboards o k

func NewGetDashboardsOK

func NewGetDashboardsOK() *GetDashboardsOK

NewGetDashboardsOK creates a GetDashboardsOK with default headers values

func (*GetDashboardsOK) Code

func (o *GetDashboardsOK) Code() int

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

func (*GetDashboardsOK) Error

func (o *GetDashboardsOK) Error() string

func (*GetDashboardsOK) GetPayload

func (o *GetDashboardsOK) GetPayload() *models.Dashboards

func (*GetDashboardsOK) IsClientError

func (o *GetDashboardsOK) IsClientError() bool

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

func (*GetDashboardsOK) IsCode

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

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

func (*GetDashboardsOK) IsRedirect

func (o *GetDashboardsOK) IsRedirect() bool

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

func (*GetDashboardsOK) IsServerError

func (o *GetDashboardsOK) IsServerError() bool

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

func (*GetDashboardsOK) IsSuccess

func (o *GetDashboardsOK) IsSuccess() bool

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

func (*GetDashboardsOK) String

func (o *GetDashboardsOK) String() string

type GetDashboardsParams

type GetDashboardsParams struct {

	/* Limit.

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

	   Format: int32
	*/
	Limit *int32

	/* Page.

	   The page of results to return.

	   Format: int32
	*/
	Page *int32

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

GetDashboardsParams contains all the parameters to send to the API endpoint

for the get dashboards operation.

Typically these are written to a http.Request.

func NewGetDashboardsParams

func NewGetDashboardsParams() *GetDashboardsParams

NewGetDashboardsParams creates a new GetDashboardsParams 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 NewGetDashboardsParamsWithContext

func NewGetDashboardsParamsWithContext(ctx context.Context) *GetDashboardsParams

NewGetDashboardsParamsWithContext creates a new GetDashboardsParams object with the ability to set a context for a request.

func NewGetDashboardsParamsWithHTTPClient

func NewGetDashboardsParamsWithHTTPClient(client *http.Client) *GetDashboardsParams

NewGetDashboardsParamsWithHTTPClient creates a new GetDashboardsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDashboardsParamsWithTimeout

func NewGetDashboardsParamsWithTimeout(timeout time.Duration) *GetDashboardsParams

NewGetDashboardsParamsWithTimeout creates a new GetDashboardsParams object with the ability to set a timeout on a request.

func (*GetDashboardsParams) SetContext

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

SetContext adds the context to the get dashboards params

func (*GetDashboardsParams) SetDefaults

func (o *GetDashboardsParams) SetDefaults()

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

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

func (*GetDashboardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dashboards params

func (*GetDashboardsParams) SetLimit

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

SetLimit adds the limit to the get dashboards params

func (*GetDashboardsParams) SetPage

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

SetPage adds the page to the get dashboards params

func (*GetDashboardsParams) SetTimeout

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

SetTimeout adds the timeout to the get dashboards params

func (*GetDashboardsParams) WithContext

WithContext adds the context to the get dashboards params

func (*GetDashboardsParams) WithDefaults

func (o *GetDashboardsParams) WithDefaults() *GetDashboardsParams

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

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

func (*GetDashboardsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get dashboards params

func (*GetDashboardsParams) WithLimit

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

WithLimit adds the limit to the get dashboards params

func (*GetDashboardsParams) WithPage

func (o *GetDashboardsParams) WithPage(page *int32) *GetDashboardsParams

WithPage adds the page to the get dashboards params

func (*GetDashboardsParams) WithTimeout

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

WithTimeout adds the timeout to the get dashboards params

func (*GetDashboardsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDashboardsReader

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

GetDashboardsReader is a Reader for the GetDashboards structure.

func (*GetDashboardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFolderNotFound

type GetFolderNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewGetFolderNotFound

func NewGetFolderNotFound() *GetFolderNotFound

NewGetFolderNotFound creates a GetFolderNotFound with default headers values

func (*GetFolderNotFound) Code

func (o *GetFolderNotFound) Code() int

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

func (*GetFolderNotFound) Error

func (o *GetFolderNotFound) Error() string

func (*GetFolderNotFound) GetPayload

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

func (*GetFolderNotFound) IsClientError

func (o *GetFolderNotFound) IsClientError() bool

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

func (*GetFolderNotFound) IsCode

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

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

func (*GetFolderNotFound) IsRedirect

func (o *GetFolderNotFound) IsRedirect() bool

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

func (*GetFolderNotFound) IsServerError

func (o *GetFolderNotFound) IsServerError() bool

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

func (*GetFolderNotFound) IsSuccess

func (o *GetFolderNotFound) IsSuccess() bool

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

func (*GetFolderNotFound) String

func (o *GetFolderNotFound) String() string

type GetFolderOK

type GetFolderOK struct {
	Payload *models.Folder
}

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

GetFolderOK get folder o k

func NewGetFolderOK

func NewGetFolderOK() *GetFolderOK

NewGetFolderOK creates a GetFolderOK with default headers values

func (*GetFolderOK) Code

func (o *GetFolderOK) Code() int

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

func (*GetFolderOK) Error

func (o *GetFolderOK) Error() string

func (*GetFolderOK) GetPayload

func (o *GetFolderOK) GetPayload() *models.Folder

func (*GetFolderOK) IsClientError

func (o *GetFolderOK) IsClientError() bool

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

func (*GetFolderOK) IsCode

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

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

func (*GetFolderOK) IsRedirect

func (o *GetFolderOK) IsRedirect() bool

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

func (*GetFolderOK) IsServerError

func (o *GetFolderOK) IsServerError() bool

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

func (*GetFolderOK) IsSuccess

func (o *GetFolderOK) IsSuccess() bool

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

func (*GetFolderOK) String

func (o *GetFolderOK) String() string

type GetFolderParams

type GetFolderParams struct {

	// FolderToken.
	FolderToken string

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

GetFolderParams contains all the parameters to send to the API endpoint

for the get folder operation.

Typically these are written to a http.Request.

func NewGetFolderParams

func NewGetFolderParams() *GetFolderParams

NewGetFolderParams creates a new GetFolderParams 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 NewGetFolderParamsWithContext

func NewGetFolderParamsWithContext(ctx context.Context) *GetFolderParams

NewGetFolderParamsWithContext creates a new GetFolderParams object with the ability to set a context for a request.

func NewGetFolderParamsWithHTTPClient

func NewGetFolderParamsWithHTTPClient(client *http.Client) *GetFolderParams

NewGetFolderParamsWithHTTPClient creates a new GetFolderParams object with the ability to set a custom HTTPClient for a request.

func NewGetFolderParamsWithTimeout

func NewGetFolderParamsWithTimeout(timeout time.Duration) *GetFolderParams

NewGetFolderParamsWithTimeout creates a new GetFolderParams object with the ability to set a timeout on a request.

func (*GetFolderParams) SetContext

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

SetContext adds the context to the get folder params

func (*GetFolderParams) SetDefaults

func (o *GetFolderParams) SetDefaults()

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

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

func (*GetFolderParams) SetFolderToken

func (o *GetFolderParams) SetFolderToken(folderToken string)

SetFolderToken adds the folderToken to the get folder params

func (*GetFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get folder params

func (*GetFolderParams) SetTimeout

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

SetTimeout adds the timeout to the get folder params

func (*GetFolderParams) WithContext

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

WithContext adds the context to the get folder params

func (*GetFolderParams) WithDefaults

func (o *GetFolderParams) WithDefaults() *GetFolderParams

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

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

func (*GetFolderParams) WithFolderToken

func (o *GetFolderParams) WithFolderToken(folderToken string) *GetFolderParams

WithFolderToken adds the folderToken to the get folder params

func (*GetFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get folder params

func (*GetFolderParams) WithTimeout

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

WithTimeout adds the timeout to the get folder params

func (*GetFolderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFolderReader

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

GetFolderReader is a Reader for the GetFolder structure.

func (*GetFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFoldersOK

type GetFoldersOK struct {
	Payload *models.Folders
}

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

GetFoldersOK get folders o k

func NewGetFoldersOK

func NewGetFoldersOK() *GetFoldersOK

NewGetFoldersOK creates a GetFoldersOK with default headers values

func (*GetFoldersOK) Code

func (o *GetFoldersOK) Code() int

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

func (*GetFoldersOK) Error

func (o *GetFoldersOK) Error() string

func (*GetFoldersOK) GetPayload

func (o *GetFoldersOK) GetPayload() *models.Folders

func (*GetFoldersOK) IsClientError

func (o *GetFoldersOK) IsClientError() bool

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

func (*GetFoldersOK) IsCode

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

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

func (*GetFoldersOK) IsRedirect

func (o *GetFoldersOK) IsRedirect() bool

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

func (*GetFoldersOK) IsServerError

func (o *GetFoldersOK) IsServerError() bool

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

func (*GetFoldersOK) IsSuccess

func (o *GetFoldersOK) IsSuccess() bool

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

func (*GetFoldersOK) String

func (o *GetFoldersOK) String() string

type GetFoldersParams

type GetFoldersParams struct {

	/* Limit.

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

	   Format: int32
	*/
	Limit *int32

	/* Page.

	   The page of results to return.

	   Format: int32
	*/
	Page *int32

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

GetFoldersParams contains all the parameters to send to the API endpoint

for the get folders operation.

Typically these are written to a http.Request.

func NewGetFoldersParams

func NewGetFoldersParams() *GetFoldersParams

NewGetFoldersParams creates a new GetFoldersParams 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 NewGetFoldersParamsWithContext

func NewGetFoldersParamsWithContext(ctx context.Context) *GetFoldersParams

NewGetFoldersParamsWithContext creates a new GetFoldersParams object with the ability to set a context for a request.

func NewGetFoldersParamsWithHTTPClient

func NewGetFoldersParamsWithHTTPClient(client *http.Client) *GetFoldersParams

NewGetFoldersParamsWithHTTPClient creates a new GetFoldersParams object with the ability to set a custom HTTPClient for a request.

func NewGetFoldersParamsWithTimeout

func NewGetFoldersParamsWithTimeout(timeout time.Duration) *GetFoldersParams

NewGetFoldersParamsWithTimeout creates a new GetFoldersParams object with the ability to set a timeout on a request.

func (*GetFoldersParams) SetContext

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

SetContext adds the context to the get folders params

func (*GetFoldersParams) SetDefaults

func (o *GetFoldersParams) SetDefaults()

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

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

func (*GetFoldersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get folders params

func (*GetFoldersParams) SetLimit

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

SetLimit adds the limit to the get folders params

func (*GetFoldersParams) SetPage

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

SetPage adds the page to the get folders params

func (*GetFoldersParams) SetTimeout

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

SetTimeout adds the timeout to the get folders params

func (*GetFoldersParams) WithContext

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

WithContext adds the context to the get folders params

func (*GetFoldersParams) WithDefaults

func (o *GetFoldersParams) WithDefaults() *GetFoldersParams

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

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

func (*GetFoldersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get folders params

func (*GetFoldersParams) WithLimit

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

WithLimit adds the limit to the get folders params

func (*GetFoldersParams) WithPage

func (o *GetFoldersParams) WithPage(page *int32) *GetFoldersParams

WithPage adds the page to the get folders params

func (*GetFoldersParams) WithTimeout

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

WithTimeout adds the timeout to the get folders params

func (*GetFoldersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFoldersReader

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

GetFoldersReader is a Reader for the GetFolders structure.

func (*GetFoldersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSavedFilterNotFound

type GetSavedFilterNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewGetSavedFilterNotFound

func NewGetSavedFilterNotFound() *GetSavedFilterNotFound

NewGetSavedFilterNotFound creates a GetSavedFilterNotFound with default headers values

func (*GetSavedFilterNotFound) Code

func (o *GetSavedFilterNotFound) Code() int

Code gets the status code for the get saved filter not found response

func (*GetSavedFilterNotFound) Error

func (o *GetSavedFilterNotFound) Error() string

func (*GetSavedFilterNotFound) GetPayload

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

func (*GetSavedFilterNotFound) IsClientError

func (o *GetSavedFilterNotFound) IsClientError() bool

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

func (*GetSavedFilterNotFound) IsCode

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

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

func (*GetSavedFilterNotFound) IsRedirect

func (o *GetSavedFilterNotFound) IsRedirect() bool

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

func (*GetSavedFilterNotFound) IsServerError

func (o *GetSavedFilterNotFound) IsServerError() bool

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

func (*GetSavedFilterNotFound) IsSuccess

func (o *GetSavedFilterNotFound) IsSuccess() bool

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

func (*GetSavedFilterNotFound) String

func (o *GetSavedFilterNotFound) String() string

type GetSavedFilterOK

type GetSavedFilterOK struct {
	Payload *models.SavedFilter
}

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

GetSavedFilterOK get saved filter o k

func NewGetSavedFilterOK

func NewGetSavedFilterOK() *GetSavedFilterOK

NewGetSavedFilterOK creates a GetSavedFilterOK with default headers values

func (*GetSavedFilterOK) Code

func (o *GetSavedFilterOK) Code() int

Code gets the status code for the get saved filter o k response

func (*GetSavedFilterOK) Error

func (o *GetSavedFilterOK) Error() string

func (*GetSavedFilterOK) GetPayload

func (o *GetSavedFilterOK) GetPayload() *models.SavedFilter

func (*GetSavedFilterOK) IsClientError

func (o *GetSavedFilterOK) IsClientError() bool

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

func (*GetSavedFilterOK) IsCode

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

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

func (*GetSavedFilterOK) IsRedirect

func (o *GetSavedFilterOK) IsRedirect() bool

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

func (*GetSavedFilterOK) IsServerError

func (o *GetSavedFilterOK) IsServerError() bool

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

func (*GetSavedFilterOK) IsSuccess

func (o *GetSavedFilterOK) IsSuccess() bool

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

func (*GetSavedFilterOK) String

func (o *GetSavedFilterOK) String() string

type GetSavedFilterParams

type GetSavedFilterParams struct {

	// SavedFilterToken.
	SavedFilterToken string

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

GetSavedFilterParams contains all the parameters to send to the API endpoint

for the get saved filter operation.

Typically these are written to a http.Request.

func NewGetSavedFilterParams

func NewGetSavedFilterParams() *GetSavedFilterParams

NewGetSavedFilterParams creates a new GetSavedFilterParams 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 NewGetSavedFilterParamsWithContext

func NewGetSavedFilterParamsWithContext(ctx context.Context) *GetSavedFilterParams

NewGetSavedFilterParamsWithContext creates a new GetSavedFilterParams object with the ability to set a context for a request.

func NewGetSavedFilterParamsWithHTTPClient

func NewGetSavedFilterParamsWithHTTPClient(client *http.Client) *GetSavedFilterParams

NewGetSavedFilterParamsWithHTTPClient creates a new GetSavedFilterParams object with the ability to set a custom HTTPClient for a request.

func NewGetSavedFilterParamsWithTimeout

func NewGetSavedFilterParamsWithTimeout(timeout time.Duration) *GetSavedFilterParams

NewGetSavedFilterParamsWithTimeout creates a new GetSavedFilterParams object with the ability to set a timeout on a request.

func (*GetSavedFilterParams) SetContext

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

SetContext adds the context to the get saved filter params

func (*GetSavedFilterParams) SetDefaults

func (o *GetSavedFilterParams) SetDefaults()

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

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

func (*GetSavedFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get saved filter params

func (*GetSavedFilterParams) SetSavedFilterToken

func (o *GetSavedFilterParams) SetSavedFilterToken(savedFilterToken string)

SetSavedFilterToken adds the savedFilterToken to the get saved filter params

func (*GetSavedFilterParams) SetTimeout

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

SetTimeout adds the timeout to the get saved filter params

func (*GetSavedFilterParams) WithContext

WithContext adds the context to the get saved filter params

func (*GetSavedFilterParams) WithDefaults

func (o *GetSavedFilterParams) WithDefaults() *GetSavedFilterParams

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

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

func (*GetSavedFilterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get saved filter params

func (*GetSavedFilterParams) WithSavedFilterToken

func (o *GetSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *GetSavedFilterParams

WithSavedFilterToken adds the savedFilterToken to the get saved filter params

func (*GetSavedFilterParams) WithTimeout

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

WithTimeout adds the timeout to the get saved filter params

func (*GetSavedFilterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSavedFilterReader

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

GetSavedFilterReader is a Reader for the GetSavedFilter structure.

func (*GetSavedFilterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSavedFiltersOK

type GetSavedFiltersOK struct {
	Payload *models.SavedFilters
}

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

GetSavedFiltersOK get saved filters o k

func NewGetSavedFiltersOK

func NewGetSavedFiltersOK() *GetSavedFiltersOK

NewGetSavedFiltersOK creates a GetSavedFiltersOK with default headers values

func (*GetSavedFiltersOK) Code

func (o *GetSavedFiltersOK) Code() int

Code gets the status code for the get saved filters o k response

func (*GetSavedFiltersOK) Error

func (o *GetSavedFiltersOK) Error() string

func (*GetSavedFiltersOK) GetPayload

func (o *GetSavedFiltersOK) GetPayload() *models.SavedFilters

func (*GetSavedFiltersOK) IsClientError

func (o *GetSavedFiltersOK) IsClientError() bool

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

func (*GetSavedFiltersOK) IsCode

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

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

func (*GetSavedFiltersOK) IsRedirect

func (o *GetSavedFiltersOK) IsRedirect() bool

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

func (*GetSavedFiltersOK) IsServerError

func (o *GetSavedFiltersOK) IsServerError() bool

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

func (*GetSavedFiltersOK) IsSuccess

func (o *GetSavedFiltersOK) IsSuccess() bool

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

func (*GetSavedFiltersOK) String

func (o *GetSavedFiltersOK) String() string

type GetSavedFiltersParams

type GetSavedFiltersParams struct {

	/* Limit.

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

	   Format: int32
	*/
	Limit *int32

	/* Page.

	   The page of results to return.

	   Format: int32
	*/
	Page *int32

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

GetSavedFiltersParams contains all the parameters to send to the API endpoint

for the get saved filters operation.

Typically these are written to a http.Request.

func NewGetSavedFiltersParams

func NewGetSavedFiltersParams() *GetSavedFiltersParams

NewGetSavedFiltersParams creates a new GetSavedFiltersParams 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 NewGetSavedFiltersParamsWithContext

func NewGetSavedFiltersParamsWithContext(ctx context.Context) *GetSavedFiltersParams

NewGetSavedFiltersParamsWithContext creates a new GetSavedFiltersParams object with the ability to set a context for a request.

func NewGetSavedFiltersParamsWithHTTPClient

func NewGetSavedFiltersParamsWithHTTPClient(client *http.Client) *GetSavedFiltersParams

NewGetSavedFiltersParamsWithHTTPClient creates a new GetSavedFiltersParams object with the ability to set a custom HTTPClient for a request.

func NewGetSavedFiltersParamsWithTimeout

func NewGetSavedFiltersParamsWithTimeout(timeout time.Duration) *GetSavedFiltersParams

NewGetSavedFiltersParamsWithTimeout creates a new GetSavedFiltersParams object with the ability to set a timeout on a request.

func (*GetSavedFiltersParams) SetContext

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

SetContext adds the context to the get saved filters params

func (*GetSavedFiltersParams) SetDefaults

func (o *GetSavedFiltersParams) SetDefaults()

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

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

func (*GetSavedFiltersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get saved filters params

func (*GetSavedFiltersParams) SetLimit

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

SetLimit adds the limit to the get saved filters params

func (*GetSavedFiltersParams) SetPage

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

SetPage adds the page to the get saved filters params

func (*GetSavedFiltersParams) SetTimeout

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

SetTimeout adds the timeout to the get saved filters params

func (*GetSavedFiltersParams) WithContext

WithContext adds the context to the get saved filters params

func (*GetSavedFiltersParams) WithDefaults

func (o *GetSavedFiltersParams) WithDefaults() *GetSavedFiltersParams

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

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

func (*GetSavedFiltersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get saved filters params

func (*GetSavedFiltersParams) WithLimit

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

WithLimit adds the limit to the get saved filters params

func (*GetSavedFiltersParams) WithPage

WithPage adds the page to the get saved filters params

func (*GetSavedFiltersParams) WithTimeout

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

WithTimeout adds the timeout to the get saved filters params

func (*GetSavedFiltersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSavedFiltersReader

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

GetSavedFiltersReader is a Reader for the GetSavedFilters structure.

func (*GetSavedFiltersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCostReportBadRequest

type UpdateCostReportBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewUpdateCostReportBadRequest

func NewUpdateCostReportBadRequest() *UpdateCostReportBadRequest

NewUpdateCostReportBadRequest creates a UpdateCostReportBadRequest with default headers values

func (*UpdateCostReportBadRequest) Code

func (o *UpdateCostReportBadRequest) Code() int

Code gets the status code for the update cost report bad request response

func (*UpdateCostReportBadRequest) Error

func (*UpdateCostReportBadRequest) GetPayload

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

func (*UpdateCostReportBadRequest) IsClientError

func (o *UpdateCostReportBadRequest) IsClientError() bool

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

func (*UpdateCostReportBadRequest) IsCode

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

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

func (*UpdateCostReportBadRequest) IsRedirect

func (o *UpdateCostReportBadRequest) IsRedirect() bool

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

func (*UpdateCostReportBadRequest) IsServerError

func (o *UpdateCostReportBadRequest) IsServerError() bool

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

func (*UpdateCostReportBadRequest) IsSuccess

func (o *UpdateCostReportBadRequest) IsSuccess() bool

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

func (*UpdateCostReportBadRequest) String

func (o *UpdateCostReportBadRequest) String() string

type UpdateCostReportFolderOK

type UpdateCostReportFolderOK struct {
	Payload *models.Folder
}

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

UpdateCostReportFolderOK update cost report folder o k

func NewUpdateCostReportFolderOK

func NewUpdateCostReportFolderOK() *UpdateCostReportFolderOK

NewUpdateCostReportFolderOK creates a UpdateCostReportFolderOK with default headers values

func (*UpdateCostReportFolderOK) Code

func (o *UpdateCostReportFolderOK) Code() int

Code gets the status code for the update cost report folder o k response

func (*UpdateCostReportFolderOK) Error

func (o *UpdateCostReportFolderOK) Error() string

func (*UpdateCostReportFolderOK) GetPayload

func (o *UpdateCostReportFolderOK) GetPayload() *models.Folder

func (*UpdateCostReportFolderOK) IsClientError

func (o *UpdateCostReportFolderOK) IsClientError() bool

IsClientError returns true when this update cost report folder o k response has a 4xx status code

func (*UpdateCostReportFolderOK) IsCode

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

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

func (*UpdateCostReportFolderOK) IsRedirect

func (o *UpdateCostReportFolderOK) IsRedirect() bool

IsRedirect returns true when this update cost report folder o k response has a 3xx status code

func (*UpdateCostReportFolderOK) IsServerError

func (o *UpdateCostReportFolderOK) IsServerError() bool

IsServerError returns true when this update cost report folder o k response has a 5xx status code

func (*UpdateCostReportFolderOK) IsSuccess

func (o *UpdateCostReportFolderOK) IsSuccess() bool

IsSuccess returns true when this update cost report folder o k response has a 2xx status code

func (*UpdateCostReportFolderOK) String

func (o *UpdateCostReportFolderOK) String() string

type UpdateCostReportFolderParams

type UpdateCostReportFolderParams struct {

	// Folders.
	Folders *models.PutFolders

	// FolderToken.
	FolderToken string

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

UpdateCostReportFolderParams contains all the parameters to send to the API endpoint

for the update cost report folder operation.

Typically these are written to a http.Request.

func NewUpdateCostReportFolderParams

func NewUpdateCostReportFolderParams() *UpdateCostReportFolderParams

NewUpdateCostReportFolderParams creates a new UpdateCostReportFolderParams 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 NewUpdateCostReportFolderParamsWithContext

func NewUpdateCostReportFolderParamsWithContext(ctx context.Context) *UpdateCostReportFolderParams

NewUpdateCostReportFolderParamsWithContext creates a new UpdateCostReportFolderParams object with the ability to set a context for a request.

func NewUpdateCostReportFolderParamsWithHTTPClient

func NewUpdateCostReportFolderParamsWithHTTPClient(client *http.Client) *UpdateCostReportFolderParams

NewUpdateCostReportFolderParamsWithHTTPClient creates a new UpdateCostReportFolderParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCostReportFolderParamsWithTimeout

func NewUpdateCostReportFolderParamsWithTimeout(timeout time.Duration) *UpdateCostReportFolderParams

NewUpdateCostReportFolderParamsWithTimeout creates a new UpdateCostReportFolderParams object with the ability to set a timeout on a request.

func (*UpdateCostReportFolderParams) SetContext

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

SetContext adds the context to the update cost report folder params

func (*UpdateCostReportFolderParams) SetDefaults

func (o *UpdateCostReportFolderParams) SetDefaults()

SetDefaults hydrates default values in the update cost report folder params (not the query body).

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

func (*UpdateCostReportFolderParams) SetFolderToken

func (o *UpdateCostReportFolderParams) SetFolderToken(folderToken string)

SetFolderToken adds the folderToken to the update cost report folder params

func (*UpdateCostReportFolderParams) SetFolders

func (o *UpdateCostReportFolderParams) SetFolders(folders *models.PutFolders)

SetFolders adds the folders to the update cost report folder params

func (*UpdateCostReportFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update cost report folder params

func (*UpdateCostReportFolderParams) SetTimeout

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

SetTimeout adds the timeout to the update cost report folder params

func (*UpdateCostReportFolderParams) WithContext

WithContext adds the context to the update cost report folder params

func (*UpdateCostReportFolderParams) WithDefaults

WithDefaults hydrates default values in the update cost report folder params (not the query body).

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

func (*UpdateCostReportFolderParams) WithFolderToken

func (o *UpdateCostReportFolderParams) WithFolderToken(folderToken string) *UpdateCostReportFolderParams

WithFolderToken adds the folderToken to the update cost report folder params

func (*UpdateCostReportFolderParams) WithFolders

WithFolders adds the folders to the update cost report folder params

func (*UpdateCostReportFolderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update cost report folder params

func (*UpdateCostReportFolderParams) WithTimeout

WithTimeout adds the timeout to the update cost report folder params

func (*UpdateCostReportFolderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCostReportFolderReader

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

UpdateCostReportFolderReader is a Reader for the UpdateCostReportFolder structure.

func (*UpdateCostReportFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCostReportNotFound

type UpdateCostReportNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewUpdateCostReportNotFound

func NewUpdateCostReportNotFound() *UpdateCostReportNotFound

NewUpdateCostReportNotFound creates a UpdateCostReportNotFound with default headers values

func (*UpdateCostReportNotFound) Code

func (o *UpdateCostReportNotFound) Code() int

Code gets the status code for the update cost report not found response

func (*UpdateCostReportNotFound) Error

func (o *UpdateCostReportNotFound) Error() string

func (*UpdateCostReportNotFound) GetPayload

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

func (*UpdateCostReportNotFound) IsClientError

func (o *UpdateCostReportNotFound) IsClientError() bool

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

func (*UpdateCostReportNotFound) IsCode

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

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

func (*UpdateCostReportNotFound) IsRedirect

func (o *UpdateCostReportNotFound) IsRedirect() bool

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

func (*UpdateCostReportNotFound) IsServerError

func (o *UpdateCostReportNotFound) IsServerError() bool

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

func (*UpdateCostReportNotFound) IsSuccess

func (o *UpdateCostReportNotFound) IsSuccess() bool

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

func (*UpdateCostReportNotFound) String

func (o *UpdateCostReportNotFound) String() string

type UpdateCostReportOK

type UpdateCostReportOK struct {
	Payload *models.CostReport
}

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

UpdateCostReportOK update cost report o k

func NewUpdateCostReportOK

func NewUpdateCostReportOK() *UpdateCostReportOK

NewUpdateCostReportOK creates a UpdateCostReportOK with default headers values

func (*UpdateCostReportOK) Code

func (o *UpdateCostReportOK) Code() int

Code gets the status code for the update cost report o k response

func (*UpdateCostReportOK) Error

func (o *UpdateCostReportOK) Error() string

func (*UpdateCostReportOK) GetPayload

func (o *UpdateCostReportOK) GetPayload() *models.CostReport

func (*UpdateCostReportOK) IsClientError

func (o *UpdateCostReportOK) IsClientError() bool

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

func (*UpdateCostReportOK) IsCode

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

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

func (*UpdateCostReportOK) IsRedirect

func (o *UpdateCostReportOK) IsRedirect() bool

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

func (*UpdateCostReportOK) IsServerError

func (o *UpdateCostReportOK) IsServerError() bool

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

func (*UpdateCostReportOK) IsSuccess

func (o *UpdateCostReportOK) IsSuccess() bool

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

func (*UpdateCostReportOK) String

func (o *UpdateCostReportOK) String() string

type UpdateCostReportParams

type UpdateCostReportParams struct {

	// CostReports.
	CostReports *models.PutCostReports

	// CostReportToken.
	CostReportToken string

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

UpdateCostReportParams contains all the parameters to send to the API endpoint

for the update cost report operation.

Typically these are written to a http.Request.

func NewUpdateCostReportParams

func NewUpdateCostReportParams() *UpdateCostReportParams

NewUpdateCostReportParams creates a new UpdateCostReportParams 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 NewUpdateCostReportParamsWithContext

func NewUpdateCostReportParamsWithContext(ctx context.Context) *UpdateCostReportParams

NewUpdateCostReportParamsWithContext creates a new UpdateCostReportParams object with the ability to set a context for a request.

func NewUpdateCostReportParamsWithHTTPClient

func NewUpdateCostReportParamsWithHTTPClient(client *http.Client) *UpdateCostReportParams

NewUpdateCostReportParamsWithHTTPClient creates a new UpdateCostReportParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCostReportParamsWithTimeout

func NewUpdateCostReportParamsWithTimeout(timeout time.Duration) *UpdateCostReportParams

NewUpdateCostReportParamsWithTimeout creates a new UpdateCostReportParams object with the ability to set a timeout on a request.

func (*UpdateCostReportParams) SetContext

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

SetContext adds the context to the update cost report params

func (*UpdateCostReportParams) SetCostReportToken

func (o *UpdateCostReportParams) SetCostReportToken(costReportToken string)

SetCostReportToken adds the costReportToken to the update cost report params

func (*UpdateCostReportParams) SetCostReports

func (o *UpdateCostReportParams) SetCostReports(costReports *models.PutCostReports)

SetCostReports adds the costReports to the update cost report params

func (*UpdateCostReportParams) SetDefaults

func (o *UpdateCostReportParams) SetDefaults()

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

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

func (*UpdateCostReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update cost report params

func (*UpdateCostReportParams) SetTimeout

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

SetTimeout adds the timeout to the update cost report params

func (*UpdateCostReportParams) WithContext

WithContext adds the context to the update cost report params

func (*UpdateCostReportParams) WithCostReportToken

func (o *UpdateCostReportParams) WithCostReportToken(costReportToken string) *UpdateCostReportParams

WithCostReportToken adds the costReportToken to the update cost report params

func (*UpdateCostReportParams) WithCostReports

func (o *UpdateCostReportParams) WithCostReports(costReports *models.PutCostReports) *UpdateCostReportParams

WithCostReports adds the costReports to the update cost report params

func (*UpdateCostReportParams) WithDefaults

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

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

func (*UpdateCostReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update cost report params

func (*UpdateCostReportParams) WithTimeout

WithTimeout adds the timeout to the update cost report params

func (*UpdateCostReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCostReportReader

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

UpdateCostReportReader is a Reader for the UpdateCostReport structure.

func (*UpdateCostReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDashboardBadRequest

type UpdateDashboardBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewUpdateDashboardBadRequest

func NewUpdateDashboardBadRequest() *UpdateDashboardBadRequest

NewUpdateDashboardBadRequest creates a UpdateDashboardBadRequest with default headers values

func (*UpdateDashboardBadRequest) Code

func (o *UpdateDashboardBadRequest) Code() int

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

func (*UpdateDashboardBadRequest) Error

func (o *UpdateDashboardBadRequest) Error() string

func (*UpdateDashboardBadRequest) GetPayload

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

func (*UpdateDashboardBadRequest) IsClientError

func (o *UpdateDashboardBadRequest) IsClientError() bool

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

func (*UpdateDashboardBadRequest) IsCode

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

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

func (*UpdateDashboardBadRequest) IsRedirect

func (o *UpdateDashboardBadRequest) IsRedirect() bool

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

func (*UpdateDashboardBadRequest) IsServerError

func (o *UpdateDashboardBadRequest) IsServerError() bool

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

func (*UpdateDashboardBadRequest) IsSuccess

func (o *UpdateDashboardBadRequest) IsSuccess() bool

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

func (*UpdateDashboardBadRequest) String

func (o *UpdateDashboardBadRequest) String() string

type UpdateDashboardNotFound

type UpdateDashboardNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewUpdateDashboardNotFound

func NewUpdateDashboardNotFound() *UpdateDashboardNotFound

NewUpdateDashboardNotFound creates a UpdateDashboardNotFound with default headers values

func (*UpdateDashboardNotFound) Code

func (o *UpdateDashboardNotFound) Code() int

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

func (*UpdateDashboardNotFound) Error

func (o *UpdateDashboardNotFound) Error() string

func (*UpdateDashboardNotFound) GetPayload

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

func (*UpdateDashboardNotFound) IsClientError

func (o *UpdateDashboardNotFound) IsClientError() bool

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

func (*UpdateDashboardNotFound) IsCode

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

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

func (*UpdateDashboardNotFound) IsRedirect

func (o *UpdateDashboardNotFound) IsRedirect() bool

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

func (*UpdateDashboardNotFound) IsServerError

func (o *UpdateDashboardNotFound) IsServerError() bool

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

func (*UpdateDashboardNotFound) IsSuccess

func (o *UpdateDashboardNotFound) IsSuccess() bool

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

func (*UpdateDashboardNotFound) String

func (o *UpdateDashboardNotFound) String() string

type UpdateDashboardOK

type UpdateDashboardOK struct {
	Payload *models.Dashboard
}

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

UpdateDashboardOK update dashboard o k

func NewUpdateDashboardOK

func NewUpdateDashboardOK() *UpdateDashboardOK

NewUpdateDashboardOK creates a UpdateDashboardOK with default headers values

func (*UpdateDashboardOK) Code

func (o *UpdateDashboardOK) Code() int

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

func (*UpdateDashboardOK) Error

func (o *UpdateDashboardOK) Error() string

func (*UpdateDashboardOK) GetPayload

func (o *UpdateDashboardOK) GetPayload() *models.Dashboard

func (*UpdateDashboardOK) IsClientError

func (o *UpdateDashboardOK) IsClientError() bool

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

func (*UpdateDashboardOK) IsCode

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

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

func (*UpdateDashboardOK) IsRedirect

func (o *UpdateDashboardOK) IsRedirect() bool

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

func (*UpdateDashboardOK) IsServerError

func (o *UpdateDashboardOK) IsServerError() bool

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

func (*UpdateDashboardOK) IsSuccess

func (o *UpdateDashboardOK) IsSuccess() bool

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

func (*UpdateDashboardOK) String

func (o *UpdateDashboardOK) String() string

type UpdateDashboardParams

type UpdateDashboardParams struct {

	// Dashboards.
	Dashboards *models.PutDashboards

	// DashboardToken.
	DashboardToken string

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

UpdateDashboardParams contains all the parameters to send to the API endpoint

for the update dashboard operation.

Typically these are written to a http.Request.

func NewUpdateDashboardParams

func NewUpdateDashboardParams() *UpdateDashboardParams

NewUpdateDashboardParams creates a new UpdateDashboardParams 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 NewUpdateDashboardParamsWithContext

func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams

NewUpdateDashboardParamsWithContext creates a new UpdateDashboardParams object with the ability to set a context for a request.

func NewUpdateDashboardParamsWithHTTPClient

func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams

NewUpdateDashboardParamsWithHTTPClient creates a new UpdateDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDashboardParamsWithTimeout

func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams

NewUpdateDashboardParamsWithTimeout creates a new UpdateDashboardParams object with the ability to set a timeout on a request.

func (*UpdateDashboardParams) SetContext

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

SetContext adds the context to the update dashboard params

func (*UpdateDashboardParams) SetDashboardToken

func (o *UpdateDashboardParams) SetDashboardToken(dashboardToken string)

SetDashboardToken adds the dashboardToken to the update dashboard params

func (*UpdateDashboardParams) SetDashboards

func (o *UpdateDashboardParams) SetDashboards(dashboards *models.PutDashboards)

SetDashboards adds the dashboards to the update dashboard params

func (*UpdateDashboardParams) SetDefaults

func (o *UpdateDashboardParams) SetDefaults()

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

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

func (*UpdateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update dashboard params

func (*UpdateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the update dashboard params

func (*UpdateDashboardParams) WithContext

WithContext adds the context to the update dashboard params

func (*UpdateDashboardParams) WithDashboardToken

func (o *UpdateDashboardParams) WithDashboardToken(dashboardToken string) *UpdateDashboardParams

WithDashboardToken adds the dashboardToken to the update dashboard params

func (*UpdateDashboardParams) WithDashboards

func (o *UpdateDashboardParams) WithDashboards(dashboards *models.PutDashboards) *UpdateDashboardParams

WithDashboards adds the dashboards to the update dashboard params

func (*UpdateDashboardParams) WithDefaults

func (o *UpdateDashboardParams) WithDefaults() *UpdateDashboardParams

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

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

func (*UpdateDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update dashboard params

func (*UpdateDashboardParams) WithTimeout

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

WithTimeout adds the timeout to the update dashboard params

func (*UpdateDashboardParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateDashboardReader

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

UpdateDashboardReader is a Reader for the UpdateDashboard structure.

func (*UpdateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateFolderBadRequest

type UpdateFolderBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewUpdateFolderBadRequest

func NewUpdateFolderBadRequest() *UpdateFolderBadRequest

NewUpdateFolderBadRequest creates a UpdateFolderBadRequest with default headers values

func (*UpdateFolderBadRequest) Code

func (o *UpdateFolderBadRequest) Code() int

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

func (*UpdateFolderBadRequest) Error

func (o *UpdateFolderBadRequest) Error() string

func (*UpdateFolderBadRequest) GetPayload

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

func (*UpdateFolderBadRequest) IsClientError

func (o *UpdateFolderBadRequest) IsClientError() bool

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

func (*UpdateFolderBadRequest) IsCode

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

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

func (*UpdateFolderBadRequest) IsRedirect

func (o *UpdateFolderBadRequest) IsRedirect() bool

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

func (*UpdateFolderBadRequest) IsServerError

func (o *UpdateFolderBadRequest) IsServerError() bool

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

func (*UpdateFolderBadRequest) IsSuccess

func (o *UpdateFolderBadRequest) IsSuccess() bool

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

func (*UpdateFolderBadRequest) String

func (o *UpdateFolderBadRequest) String() string

type UpdateFolderNotFound

type UpdateFolderNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewUpdateFolderNotFound

func NewUpdateFolderNotFound() *UpdateFolderNotFound

NewUpdateFolderNotFound creates a UpdateFolderNotFound with default headers values

func (*UpdateFolderNotFound) Code

func (o *UpdateFolderNotFound) Code() int

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

func (*UpdateFolderNotFound) Error

func (o *UpdateFolderNotFound) Error() string

func (*UpdateFolderNotFound) GetPayload

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

func (*UpdateFolderNotFound) IsClientError

func (o *UpdateFolderNotFound) IsClientError() bool

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

func (*UpdateFolderNotFound) IsCode

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

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

func (*UpdateFolderNotFound) IsRedirect

func (o *UpdateFolderNotFound) IsRedirect() bool

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

func (*UpdateFolderNotFound) IsServerError

func (o *UpdateFolderNotFound) IsServerError() bool

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

func (*UpdateFolderNotFound) IsSuccess

func (o *UpdateFolderNotFound) IsSuccess() bool

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

func (*UpdateFolderNotFound) String

func (o *UpdateFolderNotFound) String() string

type UpdateFolderOK

type UpdateFolderOK struct {
	Payload *models.Folder
}

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

UpdateFolderOK update folder o k

func NewUpdateFolderOK

func NewUpdateFolderOK() *UpdateFolderOK

NewUpdateFolderOK creates a UpdateFolderOK with default headers values

func (*UpdateFolderOK) Code

func (o *UpdateFolderOK) Code() int

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

func (*UpdateFolderOK) Error

func (o *UpdateFolderOK) Error() string

func (*UpdateFolderOK) GetPayload

func (o *UpdateFolderOK) GetPayload() *models.Folder

func (*UpdateFolderOK) IsClientError

func (o *UpdateFolderOK) IsClientError() bool

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

func (*UpdateFolderOK) IsCode

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

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

func (*UpdateFolderOK) IsRedirect

func (o *UpdateFolderOK) IsRedirect() bool

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

func (*UpdateFolderOK) IsServerError

func (o *UpdateFolderOK) IsServerError() bool

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

func (*UpdateFolderOK) IsSuccess

func (o *UpdateFolderOK) IsSuccess() bool

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

func (*UpdateFolderOK) String

func (o *UpdateFolderOK) String() string

type UpdateFolderParams

type UpdateFolderParams struct {

	// Folders.
	Folders *models.PutFolders

	// FolderToken.
	FolderToken string

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

UpdateFolderParams contains all the parameters to send to the API endpoint

for the update folder operation.

Typically these are written to a http.Request.

func NewUpdateFolderParams

func NewUpdateFolderParams() *UpdateFolderParams

NewUpdateFolderParams creates a new UpdateFolderParams 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 NewUpdateFolderParamsWithContext

func NewUpdateFolderParamsWithContext(ctx context.Context) *UpdateFolderParams

NewUpdateFolderParamsWithContext creates a new UpdateFolderParams object with the ability to set a context for a request.

func NewUpdateFolderParamsWithHTTPClient

func NewUpdateFolderParamsWithHTTPClient(client *http.Client) *UpdateFolderParams

NewUpdateFolderParamsWithHTTPClient creates a new UpdateFolderParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFolderParamsWithTimeout

func NewUpdateFolderParamsWithTimeout(timeout time.Duration) *UpdateFolderParams

NewUpdateFolderParamsWithTimeout creates a new UpdateFolderParams object with the ability to set a timeout on a request.

func (*UpdateFolderParams) SetContext

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

SetContext adds the context to the update folder params

func (*UpdateFolderParams) SetDefaults

func (o *UpdateFolderParams) SetDefaults()

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

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

func (*UpdateFolderParams) SetFolderToken

func (o *UpdateFolderParams) SetFolderToken(folderToken string)

SetFolderToken adds the folderToken to the update folder params

func (*UpdateFolderParams) SetFolders

func (o *UpdateFolderParams) SetFolders(folders *models.PutFolders)

SetFolders adds the folders to the update folder params

func (*UpdateFolderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update folder params

func (*UpdateFolderParams) SetTimeout

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

SetTimeout adds the timeout to the update folder params

func (*UpdateFolderParams) WithContext

WithContext adds the context to the update folder params

func (*UpdateFolderParams) WithDefaults

func (o *UpdateFolderParams) WithDefaults() *UpdateFolderParams

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

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

func (*UpdateFolderParams) WithFolderToken

func (o *UpdateFolderParams) WithFolderToken(folderToken string) *UpdateFolderParams

WithFolderToken adds the folderToken to the update folder params

func (*UpdateFolderParams) WithFolders

func (o *UpdateFolderParams) WithFolders(folders *models.PutFolders) *UpdateFolderParams

WithFolders adds the folders to the update folder params

func (*UpdateFolderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update folder params

func (*UpdateFolderParams) WithTimeout

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

WithTimeout adds the timeout to the update folder params

func (*UpdateFolderParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateFolderReader

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

UpdateFolderReader is a Reader for the UpdateFolder structure.

func (*UpdateFolderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSavedFilterBadRequest

type UpdateSavedFilterBadRequest struct {
	Payload *models.Errors
}

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

BadRequest

func NewUpdateSavedFilterBadRequest

func NewUpdateSavedFilterBadRequest() *UpdateSavedFilterBadRequest

NewUpdateSavedFilterBadRequest creates a UpdateSavedFilterBadRequest with default headers values

func (*UpdateSavedFilterBadRequest) Code

func (o *UpdateSavedFilterBadRequest) Code() int

Code gets the status code for the update saved filter bad request response

func (*UpdateSavedFilterBadRequest) Error

func (*UpdateSavedFilterBadRequest) GetPayload

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

func (*UpdateSavedFilterBadRequest) IsClientError

func (o *UpdateSavedFilterBadRequest) IsClientError() bool

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

func (*UpdateSavedFilterBadRequest) IsCode

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

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

func (*UpdateSavedFilterBadRequest) IsRedirect

func (o *UpdateSavedFilterBadRequest) IsRedirect() bool

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

func (*UpdateSavedFilterBadRequest) IsServerError

func (o *UpdateSavedFilterBadRequest) IsServerError() bool

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

func (*UpdateSavedFilterBadRequest) IsSuccess

func (o *UpdateSavedFilterBadRequest) IsSuccess() bool

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

func (*UpdateSavedFilterBadRequest) String

func (o *UpdateSavedFilterBadRequest) String() string

type UpdateSavedFilterCreated

type UpdateSavedFilterCreated struct {
	Payload *models.SavedFilter
}

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

UpdateSavedFilterCreated update saved filter created

func NewUpdateSavedFilterCreated

func NewUpdateSavedFilterCreated() *UpdateSavedFilterCreated

NewUpdateSavedFilterCreated creates a UpdateSavedFilterCreated with default headers values

func (*UpdateSavedFilterCreated) Code

func (o *UpdateSavedFilterCreated) Code() int

Code gets the status code for the update saved filter created response

func (*UpdateSavedFilterCreated) Error

func (o *UpdateSavedFilterCreated) Error() string

func (*UpdateSavedFilterCreated) GetPayload

func (o *UpdateSavedFilterCreated) GetPayload() *models.SavedFilter

func (*UpdateSavedFilterCreated) IsClientError

func (o *UpdateSavedFilterCreated) IsClientError() bool

IsClientError returns true when this update saved filter created response has a 4xx status code

func (*UpdateSavedFilterCreated) IsCode

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

IsCode returns true when this update saved filter created response a status code equal to that given

func (*UpdateSavedFilterCreated) IsRedirect

func (o *UpdateSavedFilterCreated) IsRedirect() bool

IsRedirect returns true when this update saved filter created response has a 3xx status code

func (*UpdateSavedFilterCreated) IsServerError

func (o *UpdateSavedFilterCreated) IsServerError() bool

IsServerError returns true when this update saved filter created response has a 5xx status code

func (*UpdateSavedFilterCreated) IsSuccess

func (o *UpdateSavedFilterCreated) IsSuccess() bool

IsSuccess returns true when this update saved filter created response has a 2xx status code

func (*UpdateSavedFilterCreated) String

func (o *UpdateSavedFilterCreated) String() string

type UpdateSavedFilterNotFound

type UpdateSavedFilterNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewUpdateSavedFilterNotFound

func NewUpdateSavedFilterNotFound() *UpdateSavedFilterNotFound

NewUpdateSavedFilterNotFound creates a UpdateSavedFilterNotFound with default headers values

func (*UpdateSavedFilterNotFound) Code

func (o *UpdateSavedFilterNotFound) Code() int

Code gets the status code for the update saved filter not found response

func (*UpdateSavedFilterNotFound) Error

func (o *UpdateSavedFilterNotFound) Error() string

func (*UpdateSavedFilterNotFound) GetPayload

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

func (*UpdateSavedFilterNotFound) IsClientError

func (o *UpdateSavedFilterNotFound) IsClientError() bool

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

func (*UpdateSavedFilterNotFound) IsCode

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

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

func (*UpdateSavedFilterNotFound) IsRedirect

func (o *UpdateSavedFilterNotFound) IsRedirect() bool

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

func (*UpdateSavedFilterNotFound) IsServerError

func (o *UpdateSavedFilterNotFound) IsServerError() bool

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

func (*UpdateSavedFilterNotFound) IsSuccess

func (o *UpdateSavedFilterNotFound) IsSuccess() bool

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

func (*UpdateSavedFilterNotFound) String

func (o *UpdateSavedFilterNotFound) String() string

type UpdateSavedFilterParams

type UpdateSavedFilterParams struct {

	// SavedFilters.
	SavedFilters *models.PutSavedFilters

	// SavedFilterToken.
	SavedFilterToken string

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

UpdateSavedFilterParams contains all the parameters to send to the API endpoint

for the update saved filter operation.

Typically these are written to a http.Request.

func NewUpdateSavedFilterParams

func NewUpdateSavedFilterParams() *UpdateSavedFilterParams

NewUpdateSavedFilterParams creates a new UpdateSavedFilterParams 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 NewUpdateSavedFilterParamsWithContext

func NewUpdateSavedFilterParamsWithContext(ctx context.Context) *UpdateSavedFilterParams

NewUpdateSavedFilterParamsWithContext creates a new UpdateSavedFilterParams object with the ability to set a context for a request.

func NewUpdateSavedFilterParamsWithHTTPClient

func NewUpdateSavedFilterParamsWithHTTPClient(client *http.Client) *UpdateSavedFilterParams

NewUpdateSavedFilterParamsWithHTTPClient creates a new UpdateSavedFilterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSavedFilterParamsWithTimeout

func NewUpdateSavedFilterParamsWithTimeout(timeout time.Duration) *UpdateSavedFilterParams

NewUpdateSavedFilterParamsWithTimeout creates a new UpdateSavedFilterParams object with the ability to set a timeout on a request.

func (*UpdateSavedFilterParams) SetContext

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

SetContext adds the context to the update saved filter params

func (*UpdateSavedFilterParams) SetDefaults

func (o *UpdateSavedFilterParams) SetDefaults()

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

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

func (*UpdateSavedFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update saved filter params

func (*UpdateSavedFilterParams) SetSavedFilterToken

func (o *UpdateSavedFilterParams) SetSavedFilterToken(savedFilterToken string)

SetSavedFilterToken adds the savedFilterToken to the update saved filter params

func (*UpdateSavedFilterParams) SetSavedFilters

func (o *UpdateSavedFilterParams) SetSavedFilters(savedFilters *models.PutSavedFilters)

SetSavedFilters adds the savedFilters to the update saved filter params

func (*UpdateSavedFilterParams) SetTimeout

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

SetTimeout adds the timeout to the update saved filter params

func (*UpdateSavedFilterParams) WithContext

WithContext adds the context to the update saved filter params

func (*UpdateSavedFilterParams) WithDefaults

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

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

func (*UpdateSavedFilterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update saved filter params

func (*UpdateSavedFilterParams) WithSavedFilterToken

func (o *UpdateSavedFilterParams) WithSavedFilterToken(savedFilterToken string) *UpdateSavedFilterParams

WithSavedFilterToken adds the savedFilterToken to the update saved filter params

func (*UpdateSavedFilterParams) WithSavedFilters

func (o *UpdateSavedFilterParams) WithSavedFilters(savedFilters *models.PutSavedFilters) *UpdateSavedFilterParams

WithSavedFilters adds the savedFilters to the update saved filter params

func (*UpdateSavedFilterParams) WithTimeout

WithTimeout adds the timeout to the update saved filter params

func (*UpdateSavedFilterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSavedFilterReader

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

UpdateSavedFilterReader is a Reader for the UpdateSavedFilter structure.

func (*UpdateSavedFilterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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