financial_commitment_reports

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 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 financial commitment reports API

func (*Client) DeleteFinancialCommitmentReport

DeleteFinancialCommitmentReport Delete a FinancialCommitmentReport.

func (*Client) GetFinancialCommitmentReport

func (a *Client) GetFinancialCommitmentReport(params *GetFinancialCommitmentReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFinancialCommitmentReportOK, error)

GetFinancialCommitmentReport Return a FinancialCommitmentReport.

func (*Client) GetFinancialCommitmentReports

func (a *Client) GetFinancialCommitmentReports(params *GetFinancialCommitmentReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFinancialCommitmentReportsOK, error)

GetFinancialCommitmentReports Return all FinancialCommitmentReports.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteFinancialCommitmentReport(params *DeleteFinancialCommitmentReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFinancialCommitmentReportNoContent, error)

	GetFinancialCommitmentReport(params *GetFinancialCommitmentReportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFinancialCommitmentReportOK, error)

	GetFinancialCommitmentReports(params *GetFinancialCommitmentReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFinancialCommitmentReportsOK, 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 financial commitment reports API client.

type DeleteFinancialCommitmentReportNoContent

type DeleteFinancialCommitmentReportNoContent struct {
	Payload *models.FinancialCommitmentReport
}

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

DeleteFinancialCommitmentReportNoContent delete financial commitment report no content

func NewDeleteFinancialCommitmentReportNoContent

func NewDeleteFinancialCommitmentReportNoContent() *DeleteFinancialCommitmentReportNoContent

NewDeleteFinancialCommitmentReportNoContent creates a DeleteFinancialCommitmentReportNoContent with default headers values

func (*DeleteFinancialCommitmentReportNoContent) Code

Code gets the status code for the delete financial commitment report no content response

func (*DeleteFinancialCommitmentReportNoContent) Error

func (*DeleteFinancialCommitmentReportNoContent) GetPayload

func (*DeleteFinancialCommitmentReportNoContent) IsClientError

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

func (*DeleteFinancialCommitmentReportNoContent) IsCode

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

func (*DeleteFinancialCommitmentReportNoContent) IsRedirect

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

func (*DeleteFinancialCommitmentReportNoContent) IsServerError

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

func (*DeleteFinancialCommitmentReportNoContent) IsSuccess

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

func (*DeleteFinancialCommitmentReportNoContent) String

type DeleteFinancialCommitmentReportNotFound

type DeleteFinancialCommitmentReportNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewDeleteFinancialCommitmentReportNotFound

func NewDeleteFinancialCommitmentReportNotFound() *DeleteFinancialCommitmentReportNotFound

NewDeleteFinancialCommitmentReportNotFound creates a DeleteFinancialCommitmentReportNotFound with default headers values

func (*DeleteFinancialCommitmentReportNotFound) Code

Code gets the status code for the delete financial commitment report not found response

func (*DeleteFinancialCommitmentReportNotFound) Error

func (*DeleteFinancialCommitmentReportNotFound) GetPayload

func (*DeleteFinancialCommitmentReportNotFound) IsClientError

func (o *DeleteFinancialCommitmentReportNotFound) IsClientError() bool

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

func (*DeleteFinancialCommitmentReportNotFound) IsCode

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

func (*DeleteFinancialCommitmentReportNotFound) IsRedirect

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

func (*DeleteFinancialCommitmentReportNotFound) IsServerError

func (o *DeleteFinancialCommitmentReportNotFound) IsServerError() bool

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

func (*DeleteFinancialCommitmentReportNotFound) IsSuccess

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

func (*DeleteFinancialCommitmentReportNotFound) String

type DeleteFinancialCommitmentReportParams

type DeleteFinancialCommitmentReportParams struct {

	// FinancialCommitmentReportToken.
	FinancialCommitmentReportToken string

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

DeleteFinancialCommitmentReportParams contains all the parameters to send to the API endpoint

for the delete financial commitment report operation.

Typically these are written to a http.Request.

func NewDeleteFinancialCommitmentReportParams

func NewDeleteFinancialCommitmentReportParams() *DeleteFinancialCommitmentReportParams

NewDeleteFinancialCommitmentReportParams creates a new DeleteFinancialCommitmentReportParams 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 NewDeleteFinancialCommitmentReportParamsWithContext

func NewDeleteFinancialCommitmentReportParamsWithContext(ctx context.Context) *DeleteFinancialCommitmentReportParams

NewDeleteFinancialCommitmentReportParamsWithContext creates a new DeleteFinancialCommitmentReportParams object with the ability to set a context for a request.

func NewDeleteFinancialCommitmentReportParamsWithHTTPClient

func NewDeleteFinancialCommitmentReportParamsWithHTTPClient(client *http.Client) *DeleteFinancialCommitmentReportParams

NewDeleteFinancialCommitmentReportParamsWithHTTPClient creates a new DeleteFinancialCommitmentReportParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFinancialCommitmentReportParamsWithTimeout

func NewDeleteFinancialCommitmentReportParamsWithTimeout(timeout time.Duration) *DeleteFinancialCommitmentReportParams

NewDeleteFinancialCommitmentReportParamsWithTimeout creates a new DeleteFinancialCommitmentReportParams object with the ability to set a timeout on a request.

func (*DeleteFinancialCommitmentReportParams) SetContext

SetContext adds the context to the delete financial commitment report params

func (*DeleteFinancialCommitmentReportParams) SetDefaults

func (o *DeleteFinancialCommitmentReportParams) SetDefaults()

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

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

func (*DeleteFinancialCommitmentReportParams) SetFinancialCommitmentReportToken

func (o *DeleteFinancialCommitmentReportParams) SetFinancialCommitmentReportToken(financialCommitmentReportToken string)

SetFinancialCommitmentReportToken adds the financialCommitmentReportToken to the delete financial commitment report params

func (*DeleteFinancialCommitmentReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete financial commitment report params

func (*DeleteFinancialCommitmentReportParams) SetTimeout

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

SetTimeout adds the timeout to the delete financial commitment report params

func (*DeleteFinancialCommitmentReportParams) WithContext

WithContext adds the context to the delete financial commitment report params

func (*DeleteFinancialCommitmentReportParams) WithDefaults

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

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

func (*DeleteFinancialCommitmentReportParams) WithFinancialCommitmentReportToken

func (o *DeleteFinancialCommitmentReportParams) WithFinancialCommitmentReportToken(financialCommitmentReportToken string) *DeleteFinancialCommitmentReportParams

WithFinancialCommitmentReportToken adds the financialCommitmentReportToken to the delete financial commitment report params

func (*DeleteFinancialCommitmentReportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete financial commitment report params

func (*DeleteFinancialCommitmentReportParams) WithTimeout

WithTimeout adds the timeout to the delete financial commitment report params

func (*DeleteFinancialCommitmentReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteFinancialCommitmentReportReader

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

DeleteFinancialCommitmentReportReader is a Reader for the DeleteFinancialCommitmentReport structure.

func (*DeleteFinancialCommitmentReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFinancialCommitmentReportNotFound

type GetFinancialCommitmentReportNotFound struct {
	Payload *models.Errors
}

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

NotFound

func NewGetFinancialCommitmentReportNotFound

func NewGetFinancialCommitmentReportNotFound() *GetFinancialCommitmentReportNotFound

NewGetFinancialCommitmentReportNotFound creates a GetFinancialCommitmentReportNotFound with default headers values

func (*GetFinancialCommitmentReportNotFound) Code

Code gets the status code for the get financial commitment report not found response

func (*GetFinancialCommitmentReportNotFound) Error

func (*GetFinancialCommitmentReportNotFound) GetPayload

func (*GetFinancialCommitmentReportNotFound) IsClientError

func (o *GetFinancialCommitmentReportNotFound) IsClientError() bool

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

func (*GetFinancialCommitmentReportNotFound) IsCode

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

func (*GetFinancialCommitmentReportNotFound) IsRedirect

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

func (*GetFinancialCommitmentReportNotFound) IsServerError

func (o *GetFinancialCommitmentReportNotFound) IsServerError() bool

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

func (*GetFinancialCommitmentReportNotFound) IsSuccess

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

func (*GetFinancialCommitmentReportNotFound) String

type GetFinancialCommitmentReportOK

type GetFinancialCommitmentReportOK struct {
	Payload *models.FinancialCommitmentReport
}

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

GetFinancialCommitmentReportOK get financial commitment report o k

func NewGetFinancialCommitmentReportOK

func NewGetFinancialCommitmentReportOK() *GetFinancialCommitmentReportOK

NewGetFinancialCommitmentReportOK creates a GetFinancialCommitmentReportOK with default headers values

func (*GetFinancialCommitmentReportOK) Code

Code gets the status code for the get financial commitment report o k response

func (*GetFinancialCommitmentReportOK) Error

func (*GetFinancialCommitmentReportOK) GetPayload

func (*GetFinancialCommitmentReportOK) IsClientError

func (o *GetFinancialCommitmentReportOK) IsClientError() bool

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

func (*GetFinancialCommitmentReportOK) IsCode

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

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

func (*GetFinancialCommitmentReportOK) IsRedirect

func (o *GetFinancialCommitmentReportOK) IsRedirect() bool

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

func (*GetFinancialCommitmentReportOK) IsServerError

func (o *GetFinancialCommitmentReportOK) IsServerError() bool

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

func (*GetFinancialCommitmentReportOK) IsSuccess

func (o *GetFinancialCommitmentReportOK) IsSuccess() bool

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

func (*GetFinancialCommitmentReportOK) String

type GetFinancialCommitmentReportParams

type GetFinancialCommitmentReportParams struct {

	// FinancialCommitmentReportToken.
	FinancialCommitmentReportToken string

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

GetFinancialCommitmentReportParams contains all the parameters to send to the API endpoint

for the get financial commitment report operation.

Typically these are written to a http.Request.

func NewGetFinancialCommitmentReportParams

func NewGetFinancialCommitmentReportParams() *GetFinancialCommitmentReportParams

NewGetFinancialCommitmentReportParams creates a new GetFinancialCommitmentReportParams 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 NewGetFinancialCommitmentReportParamsWithContext

func NewGetFinancialCommitmentReportParamsWithContext(ctx context.Context) *GetFinancialCommitmentReportParams

NewGetFinancialCommitmentReportParamsWithContext creates a new GetFinancialCommitmentReportParams object with the ability to set a context for a request.

func NewGetFinancialCommitmentReportParamsWithHTTPClient

func NewGetFinancialCommitmentReportParamsWithHTTPClient(client *http.Client) *GetFinancialCommitmentReportParams

NewGetFinancialCommitmentReportParamsWithHTTPClient creates a new GetFinancialCommitmentReportParams object with the ability to set a custom HTTPClient for a request.

func NewGetFinancialCommitmentReportParamsWithTimeout

func NewGetFinancialCommitmentReportParamsWithTimeout(timeout time.Duration) *GetFinancialCommitmentReportParams

NewGetFinancialCommitmentReportParamsWithTimeout creates a new GetFinancialCommitmentReportParams object with the ability to set a timeout on a request.

func (*GetFinancialCommitmentReportParams) SetContext

SetContext adds the context to the get financial commitment report params

func (*GetFinancialCommitmentReportParams) SetDefaults

func (o *GetFinancialCommitmentReportParams) SetDefaults()

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

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

func (*GetFinancialCommitmentReportParams) SetFinancialCommitmentReportToken

func (o *GetFinancialCommitmentReportParams) SetFinancialCommitmentReportToken(financialCommitmentReportToken string)

SetFinancialCommitmentReportToken adds the financialCommitmentReportToken to the get financial commitment report params

func (*GetFinancialCommitmentReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get financial commitment report params

func (*GetFinancialCommitmentReportParams) SetTimeout

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

SetTimeout adds the timeout to the get financial commitment report params

func (*GetFinancialCommitmentReportParams) WithContext

WithContext adds the context to the get financial commitment report params

func (*GetFinancialCommitmentReportParams) WithDefaults

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

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

func (*GetFinancialCommitmentReportParams) WithFinancialCommitmentReportToken

func (o *GetFinancialCommitmentReportParams) WithFinancialCommitmentReportToken(financialCommitmentReportToken string) *GetFinancialCommitmentReportParams

WithFinancialCommitmentReportToken adds the financialCommitmentReportToken to the get financial commitment report params

func (*GetFinancialCommitmentReportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get financial commitment report params

func (*GetFinancialCommitmentReportParams) WithTimeout

WithTimeout adds the timeout to the get financial commitment report params

func (*GetFinancialCommitmentReportParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFinancialCommitmentReportReader

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

GetFinancialCommitmentReportReader is a Reader for the GetFinancialCommitmentReport structure.

func (*GetFinancialCommitmentReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFinancialCommitmentReportsOK

type GetFinancialCommitmentReportsOK struct {
	Payload *models.FinancialCommitmentReports
}

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

GetFinancialCommitmentReportsOK get financial commitment reports o k

func NewGetFinancialCommitmentReportsOK

func NewGetFinancialCommitmentReportsOK() *GetFinancialCommitmentReportsOK

NewGetFinancialCommitmentReportsOK creates a GetFinancialCommitmentReportsOK with default headers values

func (*GetFinancialCommitmentReportsOK) Code

Code gets the status code for the get financial commitment reports o k response

func (*GetFinancialCommitmentReportsOK) Error

func (*GetFinancialCommitmentReportsOK) GetPayload

func (*GetFinancialCommitmentReportsOK) IsClientError

func (o *GetFinancialCommitmentReportsOK) IsClientError() bool

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

func (*GetFinancialCommitmentReportsOK) IsCode

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

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

func (*GetFinancialCommitmentReportsOK) IsRedirect

func (o *GetFinancialCommitmentReportsOK) IsRedirect() bool

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

func (*GetFinancialCommitmentReportsOK) IsServerError

func (o *GetFinancialCommitmentReportsOK) IsServerError() bool

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

func (*GetFinancialCommitmentReportsOK) IsSuccess

func (o *GetFinancialCommitmentReportsOK) IsSuccess() bool

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

func (*GetFinancialCommitmentReportsOK) String

type GetFinancialCommitmentReportsParams

type GetFinancialCommitmentReportsParams 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
}

GetFinancialCommitmentReportsParams contains all the parameters to send to the API endpoint

for the get financial commitment reports operation.

Typically these are written to a http.Request.

func NewGetFinancialCommitmentReportsParams

func NewGetFinancialCommitmentReportsParams() *GetFinancialCommitmentReportsParams

NewGetFinancialCommitmentReportsParams creates a new GetFinancialCommitmentReportsParams 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 NewGetFinancialCommitmentReportsParamsWithContext

func NewGetFinancialCommitmentReportsParamsWithContext(ctx context.Context) *GetFinancialCommitmentReportsParams

NewGetFinancialCommitmentReportsParamsWithContext creates a new GetFinancialCommitmentReportsParams object with the ability to set a context for a request.

func NewGetFinancialCommitmentReportsParamsWithHTTPClient

func NewGetFinancialCommitmentReportsParamsWithHTTPClient(client *http.Client) *GetFinancialCommitmentReportsParams

NewGetFinancialCommitmentReportsParamsWithHTTPClient creates a new GetFinancialCommitmentReportsParams object with the ability to set a custom HTTPClient for a request.

func NewGetFinancialCommitmentReportsParamsWithTimeout

func NewGetFinancialCommitmentReportsParamsWithTimeout(timeout time.Duration) *GetFinancialCommitmentReportsParams

NewGetFinancialCommitmentReportsParamsWithTimeout creates a new GetFinancialCommitmentReportsParams object with the ability to set a timeout on a request.

func (*GetFinancialCommitmentReportsParams) SetContext

SetContext adds the context to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) SetDefaults

func (o *GetFinancialCommitmentReportsParams) SetDefaults()

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

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

func (*GetFinancialCommitmentReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) SetLimit

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

SetLimit adds the limit to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) SetPage

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

SetPage adds the page to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) SetTimeout

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

SetTimeout adds the timeout to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) WithContext

WithContext adds the context to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) WithDefaults

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

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

func (*GetFinancialCommitmentReportsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) WithLimit

WithLimit adds the limit to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) WithPage

WithPage adds the page to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) WithTimeout

WithTimeout adds the timeout to the get financial commitment reports params

func (*GetFinancialCommitmentReportsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFinancialCommitmentReportsReader

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

GetFinancialCommitmentReportsReader is a Reader for the GetFinancialCommitmentReports structure.

func (*GetFinancialCommitmentReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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