Documentation ¶
Index ¶
- type Client
- type GetReportAdmissionBadRequest
- type GetReportAdmissionForbidden
- type GetReportAdmissionNotFound
- type GetReportAdmissionOK
- type GetReportAdmissionReader
- type GetReportAdmissionRequest
- func (a *GetReportAdmissionRequest) Do() (*GetReportAdmissionOK, error)
- func (o *GetReportAdmissionRequest) FromJson(j string) (*GetReportAdmissionRequest, error)
- func (a *GetReportAdmissionRequest) MustDo() *GetReportAdmissionOK
- func (o *GetReportAdmissionRequest) WithAdmissionID(admissionID strfmt.UUID) *GetReportAdmissionRequest
- func (o *GetReportAdmissionRequest) WithContext(ctx context.Context) *GetReportAdmissionRequest
- func (o *GetReportAdmissionRequest) WithHTTPClient(client *http.Client) *GetReportAdmissionRequest
- func (o *GetReportAdmissionRequest) WithID(id strfmt.UUID) *GetReportAdmissionRequest
- func (o *GetReportAdmissionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportBadRequest
- type GetReportForbidden
- type GetReportNotAcceptable
- type GetReportNotFound
- type GetReportOK
- type GetReportReader
- type GetReportRequest
- func (a *GetReportRequest) Do() (*GetReportOK, error)
- func (o *GetReportRequest) FromJson(j string) (*GetReportRequest, error)
- func (a *GetReportRequest) MustDo() *GetReportOK
- func (o *GetReportRequest) WithAccept(accept string) *GetReportRequest
- func (o *GetReportRequest) WithContext(ctx context.Context) *GetReportRequest
- func (o *GetReportRequest) WithHTTPClient(client *http.Client) *GetReportRequest
- func (o *GetReportRequest) WithID(id strfmt.UUID) *GetReportRequest
- func (o *GetReportRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReportsBadRequest
- type ListReportsForbidden
- type ListReportsOK
- type ListReportsReader
- type ListReportsRequest
- func (a *ListReportsRequest) Do() (*ListReportsOK, error)
- func (o *ListReportsRequest) FromJson(j string) (*ListReportsRequest, error)
- func (a *ListReportsRequest) MustDo() *ListReportsOK
- func (o *ListReportsRequest) WithContext(ctx context.Context) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterCreatedOnAfter(filterCreatedOnAfter strfmt.DateTime) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterCreatedOnBefore(filterCreatedOnBefore strfmt.DateTime) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterModifiedOnAfter(filterModifiedOnAfter strfmt.DateTime) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterModifiedOnBefore(filterModifiedOnBefore strfmt.DateTime) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterReportSource(filterReportSource string) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterReportType(filterReportType string) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterReportTypeDescription(filterReportTypeDescription string) *ListReportsRequest
- func (o *ListReportsRequest) WithHTTPClient(client *http.Client) *ListReportsRequest
- func (o *ListReportsRequest) WithPageNumber(pageNumber string) *ListReportsRequest
- func (o *ListReportsRequest) WithPageSize(pageSize int64) *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterCreatedOnAfter() *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterCreatedOnBefore() *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterModifiedOnAfter() *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterModifiedOnBefore() *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterOrganisationID() *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterReportSource() *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterReportType() *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterReportTypeDescription() *ListReportsRequest
- func (o *ListReportsRequest) WithoutPageNumber() *ListReportsRequest
- func (o *ListReportsRequest) WithoutPageSize() *ListReportsRequest
- func (o *ListReportsRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 ¶
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 ¶
func (o *GetReportAdmissionBadRequest) Error() string
type GetReportAdmissionForbidden ¶
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 ¶
func (o *GetReportAdmissionForbidden) Error() string
type GetReportAdmissionNotFound ¶
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 ¶
func (o *GetReportAdmissionNotFound) Error() string
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 ¶
func (a *GetReportAdmissionRequest) Do() (*GetReportAdmissionOK, error)
get report admission API
func (*GetReportAdmissionRequest) FromJson ¶
func (o *GetReportAdmissionRequest) FromJson(j string) (*GetReportAdmissionRequest, error)
func (*GetReportAdmissionRequest) MustDo ¶
func (a *GetReportAdmissionRequest) MustDo() *GetReportAdmissionOK
func (*GetReportAdmissionRequest) WithAdmissionID ¶
func (o *GetReportAdmissionRequest) WithAdmissionID(admissionID strfmt.UUID) *GetReportAdmissionRequest
func (*GetReportAdmissionRequest) WithContext ¶
func (o *GetReportAdmissionRequest) WithContext(ctx context.Context) *GetReportAdmissionRequest
//////////////// 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 (o *GetReportAdmissionRequest) WithID(id strfmt.UUID) *GetReportAdmissionRequest
func (*GetReportAdmissionRequest) WriteToRequest ¶
func (o *GetReportAdmissionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type GetReportBadRequest ¶
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 ¶
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 ¶
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 ¶
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) 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 (o *GetReportRequest) WithID(id strfmt.UUID) *GetReportRequest
func (*GetReportRequest) WriteToRequest ¶
func (o *GetReportRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListReportsBadRequest ¶
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 ¶
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 ¶
func (a *ListReportsRequest) Do() (*ListReportsOK, error)
list reports API
func (*ListReportsRequest) FromJson ¶
func (o *ListReportsRequest) FromJson(j string) (*ListReportsRequest, error)
func (*ListReportsRequest) MustDo ¶
func (a *ListReportsRequest) MustDo() *ListReportsOK
func (*ListReportsRequest) WithContext ¶
func (o *ListReportsRequest) WithContext(ctx context.Context) *ListReportsRequest
//////////////// 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