Documentation ¶
Index ¶
- type Client
- type GetReportAdmissionBadRequest
- func (o *GetReportAdmissionBadRequest) Code() int
- func (o *GetReportAdmissionBadRequest) Error() string
- func (o *GetReportAdmissionBadRequest) IsClientError() bool
- func (o *GetReportAdmissionBadRequest) IsCode(code int) bool
- func (o *GetReportAdmissionBadRequest) IsRedirect() bool
- func (o *GetReportAdmissionBadRequest) IsServerError() bool
- func (o *GetReportAdmissionBadRequest) IsSuccess() bool
- type GetReportAdmissionForbidden
- func (o *GetReportAdmissionForbidden) Code() int
- func (o *GetReportAdmissionForbidden) Error() string
- func (o *GetReportAdmissionForbidden) IsClientError() bool
- func (o *GetReportAdmissionForbidden) IsCode(code int) bool
- func (o *GetReportAdmissionForbidden) IsRedirect() bool
- func (o *GetReportAdmissionForbidden) IsServerError() bool
- func (o *GetReportAdmissionForbidden) IsSuccess() bool
- type GetReportAdmissionNotFound
- func (o *GetReportAdmissionNotFound) Code() int
- func (o *GetReportAdmissionNotFound) Error() string
- func (o *GetReportAdmissionNotFound) IsClientError() bool
- func (o *GetReportAdmissionNotFound) IsCode(code int) bool
- func (o *GetReportAdmissionNotFound) IsRedirect() bool
- func (o *GetReportAdmissionNotFound) IsServerError() bool
- func (o *GetReportAdmissionNotFound) IsSuccess() bool
- type GetReportAdmissionOK
- func (o *GetReportAdmissionOK) Code() int
- func (o *GetReportAdmissionOK) Error() string
- func (o *GetReportAdmissionOK) IsClientError() bool
- func (o *GetReportAdmissionOK) IsCode(code int) bool
- func (o *GetReportAdmissionOK) IsRedirect() bool
- func (o *GetReportAdmissionOK) IsServerError() bool
- func (o *GetReportAdmissionOK) IsSuccess() bool
- 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
- func (o *GetReportBadRequest) Code() int
- func (o *GetReportBadRequest) Error() string
- func (o *GetReportBadRequest) IsClientError() bool
- func (o *GetReportBadRequest) IsCode(code int) bool
- func (o *GetReportBadRequest) IsRedirect() bool
- func (o *GetReportBadRequest) IsServerError() bool
- func (o *GetReportBadRequest) IsSuccess() bool
- type GetReportForbidden
- func (o *GetReportForbidden) Code() int
- func (o *GetReportForbidden) Error() string
- func (o *GetReportForbidden) IsClientError() bool
- func (o *GetReportForbidden) IsCode(code int) bool
- func (o *GetReportForbidden) IsRedirect() bool
- func (o *GetReportForbidden) IsServerError() bool
- func (o *GetReportForbidden) IsSuccess() bool
- type GetReportNotAcceptable
- func (o *GetReportNotAcceptable) Code() int
- func (o *GetReportNotAcceptable) Error() string
- func (o *GetReportNotAcceptable) IsClientError() bool
- func (o *GetReportNotAcceptable) IsCode(code int) bool
- func (o *GetReportNotAcceptable) IsRedirect() bool
- func (o *GetReportNotAcceptable) IsServerError() bool
- func (o *GetReportNotAcceptable) IsSuccess() bool
- type GetReportNotFound
- func (o *GetReportNotFound) Code() int
- func (o *GetReportNotFound) Error() string
- func (o *GetReportNotFound) IsClientError() bool
- func (o *GetReportNotFound) IsCode(code int) bool
- func (o *GetReportNotFound) IsRedirect() bool
- func (o *GetReportNotFound) IsServerError() bool
- func (o *GetReportNotFound) IsSuccess() bool
- 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
- func (o *ListReportsBadRequest) Code() int
- func (o *ListReportsBadRequest) Error() string
- func (o *ListReportsBadRequest) IsClientError() bool
- func (o *ListReportsBadRequest) IsCode(code int) bool
- func (o *ListReportsBadRequest) IsRedirect() bool
- func (o *ListReportsBadRequest) IsServerError() bool
- func (o *ListReportsBadRequest) IsSuccess() bool
- type ListReportsForbidden
- func (o *ListReportsForbidden) Code() int
- func (o *ListReportsForbidden) Error() string
- func (o *ListReportsForbidden) IsClientError() bool
- func (o *ListReportsForbidden) IsCode(code int) bool
- func (o *ListReportsForbidden) IsRedirect() bool
- func (o *ListReportsForbidden) IsServerError() bool
- func (o *ListReportsForbidden) IsSuccess() bool
- 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) WithFilterProcessingDateFrom(filterProcessingDateFrom strfmt.Date) *ListReportsRequest
- func (o *ListReportsRequest) WithFilterProcessingDateTo(filterProcessingDateTo strfmt.Date) *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) WithoutFilterProcessingDateFrom() *ListReportsRequest
- func (o *ListReportsRequest) WithoutFilterProcessingDateTo() *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) Code ¶
func (o *GetReportAdmissionBadRequest) Code() int
Code gets the status code for the get report admission bad request response
func (*GetReportAdmissionBadRequest) Error ¶
func (o *GetReportAdmissionBadRequest) Error() string
func (*GetReportAdmissionBadRequest) IsClientError ¶
func (o *GetReportAdmissionBadRequest) IsClientError() bool
IsClientError returns true when this get report admission bad request response has a 4xx status code
func (*GetReportAdmissionBadRequest) IsCode ¶
func (o *GetReportAdmissionBadRequest) IsCode(code int) bool
IsCode returns true when this get report admission bad request response a status code equal to that given
func (*GetReportAdmissionBadRequest) IsRedirect ¶
func (o *GetReportAdmissionBadRequest) IsRedirect() bool
IsRedirect returns true when this get report admission bad request response has a 3xx status code
func (*GetReportAdmissionBadRequest) IsServerError ¶
func (o *GetReportAdmissionBadRequest) IsServerError() bool
IsServerError returns true when this get report admission bad request response has a 5xx status code
func (*GetReportAdmissionBadRequest) IsSuccess ¶
func (o *GetReportAdmissionBadRequest) IsSuccess() bool
IsSuccess returns true when this get report admission bad request response has a 2xx status code
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) Code ¶
func (o *GetReportAdmissionForbidden) Code() int
Code gets the status code for the get report admission forbidden response
func (*GetReportAdmissionForbidden) Error ¶
func (o *GetReportAdmissionForbidden) Error() string
func (*GetReportAdmissionForbidden) IsClientError ¶
func (o *GetReportAdmissionForbidden) IsClientError() bool
IsClientError returns true when this get report admission forbidden response has a 4xx status code
func (*GetReportAdmissionForbidden) IsCode ¶
func (o *GetReportAdmissionForbidden) IsCode(code int) bool
IsCode returns true when this get report admission forbidden response a status code equal to that given
func (*GetReportAdmissionForbidden) IsRedirect ¶
func (o *GetReportAdmissionForbidden) IsRedirect() bool
IsRedirect returns true when this get report admission forbidden response has a 3xx status code
func (*GetReportAdmissionForbidden) IsServerError ¶
func (o *GetReportAdmissionForbidden) IsServerError() bool
IsServerError returns true when this get report admission forbidden response has a 5xx status code
func (*GetReportAdmissionForbidden) IsSuccess ¶
func (o *GetReportAdmissionForbidden) IsSuccess() bool
IsSuccess returns true when this get report admission forbidden response has a 2xx status code
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) Code ¶
func (o *GetReportAdmissionNotFound) Code() int
Code gets the status code for the get report admission not found response
func (*GetReportAdmissionNotFound) Error ¶
func (o *GetReportAdmissionNotFound) Error() string
func (*GetReportAdmissionNotFound) IsClientError ¶
func (o *GetReportAdmissionNotFound) IsClientError() bool
IsClientError returns true when this get report admission not found response has a 4xx status code
func (*GetReportAdmissionNotFound) IsCode ¶
func (o *GetReportAdmissionNotFound) IsCode(code int) bool
IsCode returns true when this get report admission not found response a status code equal to that given
func (*GetReportAdmissionNotFound) IsRedirect ¶
func (o *GetReportAdmissionNotFound) IsRedirect() bool
IsRedirect returns true when this get report admission not found response has a 3xx status code
func (*GetReportAdmissionNotFound) IsServerError ¶
func (o *GetReportAdmissionNotFound) IsServerError() bool
IsServerError returns true when this get report admission not found response has a 5xx status code
func (*GetReportAdmissionNotFound) IsSuccess ¶
func (o *GetReportAdmissionNotFound) IsSuccess() bool
IsSuccess returns true when this get report admission not found response has a 2xx status code
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) Code ¶
func (o *GetReportAdmissionOK) Code() int
Code gets the status code for the get report admission o k response
func (*GetReportAdmissionOK) Error ¶
func (o *GetReportAdmissionOK) Error() string
func (*GetReportAdmissionOK) IsClientError ¶
func (o *GetReportAdmissionOK) IsClientError() bool
IsClientError returns true when this get report admission o k response has a 4xx status code
func (*GetReportAdmissionOK) IsCode ¶
func (o *GetReportAdmissionOK) IsCode(code int) bool
IsCode returns true when this get report admission o k response a status code equal to that given
func (*GetReportAdmissionOK) IsRedirect ¶
func (o *GetReportAdmissionOK) IsRedirect() bool
IsRedirect returns true when this get report admission o k response has a 3xx status code
func (*GetReportAdmissionOK) IsServerError ¶
func (o *GetReportAdmissionOK) IsServerError() bool
IsServerError returns true when this get report admission o k response has a 5xx status code
func (*GetReportAdmissionOK) IsSuccess ¶
func (o *GetReportAdmissionOK) IsSuccess() bool
IsSuccess returns true when this get report admission o k response has a 2xx status code
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) Code ¶
func (o *GetReportBadRequest) Code() int
Code gets the status code for the get report bad request response
func (*GetReportBadRequest) Error ¶
func (o *GetReportBadRequest) Error() string
func (*GetReportBadRequest) IsClientError ¶
func (o *GetReportBadRequest) IsClientError() bool
IsClientError returns true when this get report bad request response has a 4xx status code
func (*GetReportBadRequest) IsCode ¶
func (o *GetReportBadRequest) IsCode(code int) bool
IsCode returns true when this get report bad request response a status code equal to that given
func (*GetReportBadRequest) IsRedirect ¶
func (o *GetReportBadRequest) IsRedirect() bool
IsRedirect returns true when this get report bad request response has a 3xx status code
func (*GetReportBadRequest) IsServerError ¶
func (o *GetReportBadRequest) IsServerError() bool
IsServerError returns true when this get report bad request response has a 5xx status code
func (*GetReportBadRequest) IsSuccess ¶
func (o *GetReportBadRequest) IsSuccess() bool
IsSuccess returns true when this get report bad request response has a 2xx status code
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) Code ¶
func (o *GetReportForbidden) Code() int
Code gets the status code for the get report forbidden response
func (*GetReportForbidden) Error ¶
func (o *GetReportForbidden) Error() string
func (*GetReportForbidden) IsClientError ¶
func (o *GetReportForbidden) IsClientError() bool
IsClientError returns true when this get report forbidden response has a 4xx status code
func (*GetReportForbidden) IsCode ¶
func (o *GetReportForbidden) IsCode(code int) bool
IsCode returns true when this get report forbidden response a status code equal to that given
func (*GetReportForbidden) IsRedirect ¶
func (o *GetReportForbidden) IsRedirect() bool
IsRedirect returns true when this get report forbidden response has a 3xx status code
func (*GetReportForbidden) IsServerError ¶
func (o *GetReportForbidden) IsServerError() bool
IsServerError returns true when this get report forbidden response has a 5xx status code
func (*GetReportForbidden) IsSuccess ¶
func (o *GetReportForbidden) IsSuccess() bool
IsSuccess returns true when this get report forbidden response has a 2xx status code
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) Code ¶
func (o *GetReportNotAcceptable) Code() int
Code gets the status code for the get report not acceptable response
func (*GetReportNotAcceptable) Error ¶
func (o *GetReportNotAcceptable) Error() string
func (*GetReportNotAcceptable) IsClientError ¶
func (o *GetReportNotAcceptable) IsClientError() bool
IsClientError returns true when this get report not acceptable response has a 4xx status code
func (*GetReportNotAcceptable) IsCode ¶
func (o *GetReportNotAcceptable) IsCode(code int) bool
IsCode returns true when this get report not acceptable response a status code equal to that given
func (*GetReportNotAcceptable) IsRedirect ¶
func (o *GetReportNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get report not acceptable response has a 3xx status code
func (*GetReportNotAcceptable) IsServerError ¶
func (o *GetReportNotAcceptable) IsServerError() bool
IsServerError returns true when this get report not acceptable response has a 5xx status code
func (*GetReportNotAcceptable) IsSuccess ¶
func (o *GetReportNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get report not acceptable response has a 2xx status code
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) Code ¶
func (o *GetReportNotFound) Code() int
Code gets the status code for the get report not found response
func (*GetReportNotFound) Error ¶
func (o *GetReportNotFound) Error() string
func (*GetReportNotFound) IsClientError ¶
func (o *GetReportNotFound) IsClientError() bool
IsClientError returns true when this get report not found response has a 4xx status code
func (*GetReportNotFound) IsCode ¶
func (o *GetReportNotFound) IsCode(code int) bool
IsCode returns true when this get report not found response a status code equal to that given
func (*GetReportNotFound) IsRedirect ¶
func (o *GetReportNotFound) IsRedirect() bool
IsRedirect returns true when this get report not found response has a 3xx status code
func (*GetReportNotFound) IsServerError ¶
func (o *GetReportNotFound) IsServerError() bool
IsServerError returns true when this get report not found response has a 5xx status code
func (*GetReportNotFound) IsSuccess ¶
func (o *GetReportNotFound) IsSuccess() bool
IsSuccess returns true when this get report not found response has a 2xx status code
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) Code ¶
func (o *GetReportOK) Code() int
Code gets the status code for the get report o k response
func (*GetReportOK) Error ¶
func (o *GetReportOK) Error() string
func (*GetReportOK) IsClientError ¶
func (o *GetReportOK) IsClientError() bool
IsClientError returns true when this get report o k response has a 4xx status code
func (*GetReportOK) IsCode ¶
func (o *GetReportOK) IsCode(code int) bool
IsCode returns true when this get report o k response a status code equal to that given
func (*GetReportOK) IsRedirect ¶
func (o *GetReportOK) IsRedirect() bool
IsRedirect returns true when this get report o k response has a 3xx status code
func (*GetReportOK) IsServerError ¶
func (o *GetReportOK) IsServerError() bool
IsServerError returns true when this get report o k response has a 5xx status code
func (*GetReportOK) IsSuccess ¶
func (o *GetReportOK) IsSuccess() bool
IsSuccess returns true when this get report o k response has a 2xx status code
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) Code ¶
func (o *ListReportsBadRequest) Code() int
Code gets the status code for the list reports bad request response
func (*ListReportsBadRequest) Error ¶
func (o *ListReportsBadRequest) Error() string
func (*ListReportsBadRequest) IsClientError ¶
func (o *ListReportsBadRequest) IsClientError() bool
IsClientError returns true when this list reports bad request response has a 4xx status code
func (*ListReportsBadRequest) IsCode ¶
func (o *ListReportsBadRequest) IsCode(code int) bool
IsCode returns true when this list reports bad request response a status code equal to that given
func (*ListReportsBadRequest) IsRedirect ¶
func (o *ListReportsBadRequest) IsRedirect() bool
IsRedirect returns true when this list reports bad request response has a 3xx status code
func (*ListReportsBadRequest) IsServerError ¶
func (o *ListReportsBadRequest) IsServerError() bool
IsServerError returns true when this list reports bad request response has a 5xx status code
func (*ListReportsBadRequest) IsSuccess ¶
func (o *ListReportsBadRequest) IsSuccess() bool
IsSuccess returns true when this list reports bad request response has a 2xx status code
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) Code ¶
func (o *ListReportsForbidden) Code() int
Code gets the status code for the list reports forbidden response
func (*ListReportsForbidden) Error ¶
func (o *ListReportsForbidden) Error() string
func (*ListReportsForbidden) IsClientError ¶
func (o *ListReportsForbidden) IsClientError() bool
IsClientError returns true when this list reports forbidden response has a 4xx status code
func (*ListReportsForbidden) IsCode ¶
func (o *ListReportsForbidden) IsCode(code int) bool
IsCode returns true when this list reports forbidden response a status code equal to that given
func (*ListReportsForbidden) IsRedirect ¶
func (o *ListReportsForbidden) IsRedirect() bool
IsRedirect returns true when this list reports forbidden response has a 3xx status code
func (*ListReportsForbidden) IsServerError ¶
func (o *ListReportsForbidden) IsServerError() bool
IsServerError returns true when this list reports forbidden response has a 5xx status code
func (*ListReportsForbidden) IsSuccess ¶
func (o *ListReportsForbidden) IsSuccess() bool
IsSuccess returns true when this list reports forbidden response has a 2xx status code
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) Code ¶
func (o *ListReportsOK) Code() int
Code gets the status code for the list reports o k response
func (*ListReportsOK) Error ¶
func (o *ListReportsOK) Error() string
func (*ListReportsOK) IsClientError ¶
func (o *ListReportsOK) IsClientError() bool
IsClientError returns true when this list reports o k response has a 4xx status code
func (*ListReportsOK) IsCode ¶
func (o *ListReportsOK) IsCode(code int) bool
IsCode returns true when this list reports o k response a status code equal to that given
func (*ListReportsOK) IsRedirect ¶
func (o *ListReportsOK) IsRedirect() bool
IsRedirect returns true when this list reports o k response has a 3xx status code
func (*ListReportsOK) IsServerError ¶
func (o *ListReportsOK) IsServerError() bool
IsServerError returns true when this list reports o k response has a 5xx status code
func (*ListReportsOK) IsSuccess ¶
func (o *ListReportsOK) IsSuccess() bool
IsSuccess returns true when this list reports o k response has a 2xx status code
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 FilterProcessingDateFrom *strfmt.Date FilterProcessingDateTo *strfmt.Date 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) WithFilterProcessingDateFrom ¶
func (o *ListReportsRequest) WithFilterProcessingDateFrom(filterProcessingDateFrom strfmt.Date) *ListReportsRequest
func (*ListReportsRequest) WithFilterProcessingDateTo ¶
func (o *ListReportsRequest) WithFilterProcessingDateTo(filterProcessingDateTo strfmt.Date) *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) WithoutFilterProcessingDateFrom ¶
func (o *ListReportsRequest) WithoutFilterProcessingDateFrom() *ListReportsRequest
func (*ListReportsRequest) WithoutFilterProcessingDateTo ¶
func (o *ListReportsRequest) WithoutFilterProcessingDateTo() *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