reports

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for reports API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client

New creates a new reports API client.

func (*Client) GetReport

func (c *Client) GetReport() *GetReportRequest

Client.GetReport creates a new GetReportRequest object with the default values initialized.

func (*Client) GetReportAdmission

func (c *Client) GetReportAdmission() *GetReportAdmissionRequest

Client.GetReportAdmission creates a new GetReportAdmissionRequest object with the default values initialized.

func (*Client) ListReports

func (c *Client) ListReports() *ListReportsRequest

Client.ListReports creates a new ListReportsRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetReportAdmissionBadRequest

type GetReportAdmissionBadRequest struct {

	// isStream: false
	*models.APIError
}

GetReportAdmissionBadRequest handles this case with default header values.

Bad Request

func NewGetReportAdmissionBadRequest

func NewGetReportAdmissionBadRequest() *GetReportAdmissionBadRequest

NewGetReportAdmissionBadRequest creates a GetReportAdmissionBadRequest with default headers values

func (*GetReportAdmissionBadRequest) Error

type GetReportAdmissionForbidden

type GetReportAdmissionForbidden struct {

	// isStream: false
	*models.APIError
}

GetReportAdmissionForbidden handles this case with default header values.

Forbidden

func NewGetReportAdmissionForbidden

func NewGetReportAdmissionForbidden() *GetReportAdmissionForbidden

NewGetReportAdmissionForbidden creates a GetReportAdmissionForbidden with default headers values

func (*GetReportAdmissionForbidden) Error

type GetReportAdmissionNotFound

type GetReportAdmissionNotFound struct {

	// isStream: false
	*models.APIError
}

GetReportAdmissionNotFound handles this case with default header values.

Not Found

func NewGetReportAdmissionNotFound

func NewGetReportAdmissionNotFound() *GetReportAdmissionNotFound

NewGetReportAdmissionNotFound creates a GetReportAdmissionNotFound with default headers values

func (*GetReportAdmissionNotFound) Error

type GetReportAdmissionOK

type GetReportAdmissionOK struct {

	// isStream: false
	*models.ReportAdmissionDetailsResponse
}

GetReportAdmissionOK handles this case with default header values.

Get report admission by Id

func NewGetReportAdmissionOK

func NewGetReportAdmissionOK() *GetReportAdmissionOK

NewGetReportAdmissionOK creates a GetReportAdmissionOK with default headers values

func (*GetReportAdmissionOK) Error

func (o *GetReportAdmissionOK) Error() string

type GetReportAdmissionReader

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

GetReportAdmissionReader is a Reader for the GetReportAdmission structure.

func (*GetReportAdmissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReportAdmissionRequest

type GetReportAdmissionRequest struct {
	AdmissionID strfmt.UUID

	ID strfmt.UUID

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

func (*GetReportAdmissionRequest) Do

get report admission API

func (*GetReportAdmissionRequest) FromJson

func (*GetReportAdmissionRequest) MustDo

func (*GetReportAdmissionRequest) WithAdmissionID

func (o *GetReportAdmissionRequest) WithAdmissionID(admissionID strfmt.UUID) *GetReportAdmissionRequest

func (*GetReportAdmissionRequest) WithContext

//////////////// WithContext adds the context to the get report admission Request

func (*GetReportAdmissionRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get report admission Request

func (*GetReportAdmissionRequest) WithID

func (*GetReportAdmissionRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type GetReportBadRequest

type GetReportBadRequest struct {

	// isStream: false
	*models.APIError
}

GetReportBadRequest handles this case with default header values.

Bad Request

func NewGetReportBadRequest

func NewGetReportBadRequest() *GetReportBadRequest

NewGetReportBadRequest creates a GetReportBadRequest with default headers values

func (*GetReportBadRequest) Error

func (o *GetReportBadRequest) Error() string

type GetReportForbidden

type GetReportForbidden struct {

	// isStream: false
	*models.APIError
}

GetReportForbidden handles this case with default header values.

Forbidden

func NewGetReportForbidden

func NewGetReportForbidden() *GetReportForbidden

NewGetReportForbidden creates a GetReportForbidden with default headers values

func (*GetReportForbidden) Error

func (o *GetReportForbidden) Error() string

type GetReportNotAcceptable

type GetReportNotAcceptable struct {

	// isStream: false
	*models.APIError
}

GetReportNotAcceptable handles this case with default header values.

Report not available in acceptable format

func NewGetReportNotAcceptable

func NewGetReportNotAcceptable() *GetReportNotAcceptable

NewGetReportNotAcceptable creates a GetReportNotAcceptable with default headers values

func (*GetReportNotAcceptable) Error

func (o *GetReportNotAcceptable) Error() string

type GetReportNotFound

type GetReportNotFound struct {

	// isStream: false
	*models.APIError
}

GetReportNotFound handles this case with default header values.

Report Not Found

func NewGetReportNotFound

func NewGetReportNotFound() *GetReportNotFound

NewGetReportNotFound creates a GetReportNotFound with default headers values

func (*GetReportNotFound) Error

func (o *GetReportNotFound) Error() string

type GetReportOK

type GetReportOK struct {

	// isStream: false
	*models.ReportDetailsResponse
}

GetReportOK handles this case with default header values.

Report details

func NewGetReportOK

func NewGetReportOK() *GetReportOK

NewGetReportOK creates a GetReportOK with default headers values

func (*GetReportOK) Error

func (o *GetReportOK) Error() string

type GetReportReader

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

GetReportReader is a Reader for the GetReport structure.

func (*GetReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReportRequest

type GetReportRequest struct {
	Accept string

	ID strfmt.UUID

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

func (*GetReportRequest) Do

func (a *GetReportRequest) Do() (*GetReportOK, error)

get report API

func (*GetReportRequest) FromJson

func (o *GetReportRequest) FromJson(j string) (*GetReportRequest, error)

func (*GetReportRequest) MustDo

func (a *GetReportRequest) MustDo() *GetReportOK

func (*GetReportRequest) WithAccept

func (o *GetReportRequest) WithAccept(accept string) *GetReportRequest

func (*GetReportRequest) WithContext

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

//////////////// WithContext adds the context to the get report Request

func (*GetReportRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get report Request

func (*GetReportRequest) WithID

func (*GetReportRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ListReportsBadRequest

type ListReportsBadRequest struct {

	// isStream: false
	*models.APIError
}

ListReportsBadRequest handles this case with default header values.

Reports bad request

func NewListReportsBadRequest

func NewListReportsBadRequest() *ListReportsBadRequest

NewListReportsBadRequest creates a ListReportsBadRequest with default headers values

func (*ListReportsBadRequest) Error

func (o *ListReportsBadRequest) Error() string

type ListReportsForbidden

type ListReportsForbidden struct {

	// isStream: false
	*models.APIError
}

ListReportsForbidden handles this case with default header values.

Forbidden

func NewListReportsForbidden

func NewListReportsForbidden() *ListReportsForbidden

NewListReportsForbidden creates a ListReportsForbidden with default headers values

func (*ListReportsForbidden) Error

func (o *ListReportsForbidden) Error() string

type ListReportsOK

type ListReportsOK struct {

	// isStream: false
	*models.ReportDetailsListResponse
}

ListReportsOK handles this case with default header values.

List of reports

func NewListReportsOK

func NewListReportsOK() *ListReportsOK

NewListReportsOK creates a ListReportsOK with default headers values

func (*ListReportsOK) Error

func (o *ListReportsOK) Error() string

type ListReportsReader

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

ListReportsReader is a Reader for the ListReports structure.

func (*ListReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListReportsRequest

type ListReportsRequest struct {
	FilterCreatedOnAfter *strfmt.DateTime

	FilterCreatedOnBefore *strfmt.DateTime

	FilterModifiedOnAfter *strfmt.DateTime

	FilterModifiedOnBefore *strfmt.DateTime

	FilterOrganisationID []strfmt.UUID

	FilterReportSource *string

	FilterReportType *string

	FilterReportTypeDescription *string

	PageNumber *string

	PageSize *int64

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

func (*ListReportsRequest) Do

list reports API

func (*ListReportsRequest) FromJson

func (*ListReportsRequest) MustDo

func (a *ListReportsRequest) MustDo() *ListReportsOK

func (*ListReportsRequest) WithContext

//////////////// WithContext adds the context to the list reports Request

func (*ListReportsRequest) WithFilterCreatedOnAfter

func (o *ListReportsRequest) WithFilterCreatedOnAfter(filterCreatedOnAfter strfmt.DateTime) *ListReportsRequest

func (*ListReportsRequest) WithFilterCreatedOnBefore

func (o *ListReportsRequest) WithFilterCreatedOnBefore(filterCreatedOnBefore strfmt.DateTime) *ListReportsRequest

func (*ListReportsRequest) WithFilterModifiedOnAfter

func (o *ListReportsRequest) WithFilterModifiedOnAfter(filterModifiedOnAfter strfmt.DateTime) *ListReportsRequest

func (*ListReportsRequest) WithFilterModifiedOnBefore

func (o *ListReportsRequest) WithFilterModifiedOnBefore(filterModifiedOnBefore strfmt.DateTime) *ListReportsRequest

func (*ListReportsRequest) WithFilterOrganisationID

func (o *ListReportsRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListReportsRequest

func (*ListReportsRequest) WithFilterReportSource

func (o *ListReportsRequest) WithFilterReportSource(filterReportSource string) *ListReportsRequest

func (*ListReportsRequest) WithFilterReportType

func (o *ListReportsRequest) WithFilterReportType(filterReportType string) *ListReportsRequest

func (*ListReportsRequest) WithFilterReportTypeDescription

func (o *ListReportsRequest) WithFilterReportTypeDescription(filterReportTypeDescription string) *ListReportsRequest

func (*ListReportsRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list reports Request

func (*ListReportsRequest) WithPageNumber

func (o *ListReportsRequest) WithPageNumber(pageNumber string) *ListReportsRequest

func (*ListReportsRequest) WithPageSize

func (o *ListReportsRequest) WithPageSize(pageSize int64) *ListReportsRequest

func (*ListReportsRequest) WithoutFilterCreatedOnAfter

func (o *ListReportsRequest) WithoutFilterCreatedOnAfter() *ListReportsRequest

func (*ListReportsRequest) WithoutFilterCreatedOnBefore

func (o *ListReportsRequest) WithoutFilterCreatedOnBefore() *ListReportsRequest

func (*ListReportsRequest) WithoutFilterModifiedOnAfter

func (o *ListReportsRequest) WithoutFilterModifiedOnAfter() *ListReportsRequest

func (*ListReportsRequest) WithoutFilterModifiedOnBefore

func (o *ListReportsRequest) WithoutFilterModifiedOnBefore() *ListReportsRequest

func (*ListReportsRequest) WithoutFilterOrganisationID

func (o *ListReportsRequest) WithoutFilterOrganisationID() *ListReportsRequest

func (*ListReportsRequest) WithoutFilterReportSource

func (o *ListReportsRequest) WithoutFilterReportSource() *ListReportsRequest

func (*ListReportsRequest) WithoutFilterReportType

func (o *ListReportsRequest) WithoutFilterReportType() *ListReportsRequest

func (*ListReportsRequest) WithoutFilterReportTypeDescription

func (o *ListReportsRequest) WithoutFilterReportTypeDescription() *ListReportsRequest

func (*ListReportsRequest) WithoutPageNumber

func (o *ListReportsRequest) WithoutPageNumber() *ListReportsRequest

func (*ListReportsRequest) WithoutPageSize

func (o *ListReportsRequest) WithoutPageSize() *ListReportsRequest

func (*ListReportsRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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