Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSavedReport(params *CreateSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSavedReportCreated, error)
- func (a *Client) DeleteSavedReport(params *DeleteSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSavedReportOK, error)
- func (a *Client) ListSavedReport(params *ListSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*ListSavedReportOK, error)
- func (a *Client) ReadSavedReport(params *ReadSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*ReadSavedReportOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateSavedReportBadRequest
- type CreateSavedReportConflict
- type CreateSavedReportCreated
- type CreateSavedReportForbidden
- type CreateSavedReportInternalServerError
- type CreateSavedReportNotFound
- type CreateSavedReportParams
- func NewCreateSavedReportParams() *CreateSavedReportParams
- func NewCreateSavedReportParamsWithContext(ctx context.Context) *CreateSavedReportParams
- func NewCreateSavedReportParamsWithHTTPClient(client *http.Client) *CreateSavedReportParams
- func NewCreateSavedReportParamsWithTimeout(timeout time.Duration) *CreateSavedReportParams
- func (o *CreateSavedReportParams) SetContext(ctx context.Context)
- func (o *CreateSavedReportParams) SetHTTPClient(client *http.Client)
- func (o *CreateSavedReportParams) SetResource(resource *models.SavedReport)
- func (o *CreateSavedReportParams) SetTimeout(timeout time.Duration)
- func (o *CreateSavedReportParams) WithContext(ctx context.Context) *CreateSavedReportParams
- func (o *CreateSavedReportParams) WithHTTPClient(client *http.Client) *CreateSavedReportParams
- func (o *CreateSavedReportParams) WithResource(resource *models.SavedReport) *CreateSavedReportParams
- func (o *CreateSavedReportParams) WithTimeout(timeout time.Duration) *CreateSavedReportParams
- func (o *CreateSavedReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSavedReportReader
- type CreateSavedReportUnauthorized
- type DeleteSavedReportBadRequest
- type DeleteSavedReportConflict
- type DeleteSavedReportForbidden
- type DeleteSavedReportInternalServerError
- type DeleteSavedReportNotFound
- type DeleteSavedReportOK
- type DeleteSavedReportParams
- func NewDeleteSavedReportParams() *DeleteSavedReportParams
- func NewDeleteSavedReportParamsWithContext(ctx context.Context) *DeleteSavedReportParams
- func NewDeleteSavedReportParamsWithHTTPClient(client *http.Client) *DeleteSavedReportParams
- func NewDeleteSavedReportParamsWithTimeout(timeout time.Duration) *DeleteSavedReportParams
- func (o *DeleteSavedReportParams) SetContext(ctx context.Context)
- func (o *DeleteSavedReportParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSavedReportParams) SetID(id int64)
- func (o *DeleteSavedReportParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSavedReportParams) WithContext(ctx context.Context) *DeleteSavedReportParams
- func (o *DeleteSavedReportParams) WithHTTPClient(client *http.Client) *DeleteSavedReportParams
- func (o *DeleteSavedReportParams) WithID(id int64) *DeleteSavedReportParams
- func (o *DeleteSavedReportParams) WithTimeout(timeout time.Duration) *DeleteSavedReportParams
- func (o *DeleteSavedReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSavedReportReader
- type DeleteSavedReportUnauthorized
- type ListSavedReportBadRequest
- type ListSavedReportConflict
- type ListSavedReportForbidden
- type ListSavedReportInternalServerError
- type ListSavedReportNotFound
- type ListSavedReportOK
- type ListSavedReportParams
- func NewListSavedReportParams() *ListSavedReportParams
- func NewListSavedReportParamsWithContext(ctx context.Context) *ListSavedReportParams
- func NewListSavedReportParamsWithHTTPClient(client *http.Client) *ListSavedReportParams
- func NewListSavedReportParamsWithTimeout(timeout time.Duration) *ListSavedReportParams
- func (o *ListSavedReportParams) SetContext(ctx context.Context)
- func (o *ListSavedReportParams) SetEmbed(embed *string)
- func (o *ListSavedReportParams) SetFields(fields *string)
- func (o *ListSavedReportParams) SetFulltextsearch(fulltextsearch *bool)
- func (o *ListSavedReportParams) SetHTTPClient(client *http.Client)
- func (o *ListSavedReportParams) SetLimit(limit *int32)
- func (o *ListSavedReportParams) SetOrderby(orderby *string)
- func (o *ListSavedReportParams) SetQ(q *string)
- func (o *ListSavedReportParams) SetStart(start *int32)
- func (o *ListSavedReportParams) SetTimeout(timeout time.Duration)
- func (o *ListSavedReportParams) WithContext(ctx context.Context) *ListSavedReportParams
- func (o *ListSavedReportParams) WithEmbed(embed *string) *ListSavedReportParams
- func (o *ListSavedReportParams) WithFields(fields *string) *ListSavedReportParams
- func (o *ListSavedReportParams) WithFulltextsearch(fulltextsearch *bool) *ListSavedReportParams
- func (o *ListSavedReportParams) WithHTTPClient(client *http.Client) *ListSavedReportParams
- func (o *ListSavedReportParams) WithLimit(limit *int32) *ListSavedReportParams
- func (o *ListSavedReportParams) WithOrderby(orderby *string) *ListSavedReportParams
- func (o *ListSavedReportParams) WithQ(q *string) *ListSavedReportParams
- func (o *ListSavedReportParams) WithStart(start *int32) *ListSavedReportParams
- func (o *ListSavedReportParams) WithTimeout(timeout time.Duration) *ListSavedReportParams
- func (o *ListSavedReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSavedReportReader
- type ListSavedReportUnauthorized
- type ReadSavedReportBadRequest
- type ReadSavedReportConflict
- type ReadSavedReportForbidden
- type ReadSavedReportInternalServerError
- type ReadSavedReportNotFound
- type ReadSavedReportOK
- type ReadSavedReportParams
- func NewReadSavedReportParams() *ReadSavedReportParams
- func NewReadSavedReportParamsWithContext(ctx context.Context) *ReadSavedReportParams
- func NewReadSavedReportParamsWithHTTPClient(client *http.Client) *ReadSavedReportParams
- func NewReadSavedReportParamsWithTimeout(timeout time.Duration) *ReadSavedReportParams
- func (o *ReadSavedReportParams) SetContext(ctx context.Context)
- func (o *ReadSavedReportParams) SetEmbed(embed *string)
- func (o *ReadSavedReportParams) SetFields(fields *string)
- func (o *ReadSavedReportParams) SetHTTPClient(client *http.Client)
- func (o *ReadSavedReportParams) SetID(id int64)
- func (o *ReadSavedReportParams) SetTimeout(timeout time.Duration)
- func (o *ReadSavedReportParams) WithContext(ctx context.Context) *ReadSavedReportParams
- func (o *ReadSavedReportParams) WithEmbed(embed *string) *ReadSavedReportParams
- func (o *ReadSavedReportParams) WithFields(fields *string) *ReadSavedReportParams
- func (o *ReadSavedReportParams) WithHTTPClient(client *http.Client) *ReadSavedReportParams
- func (o *ReadSavedReportParams) WithID(id int64) *ReadSavedReportParams
- func (o *ReadSavedReportParams) WithTimeout(timeout time.Duration) *ReadSavedReportParams
- func (o *ReadSavedReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadSavedReportReader
- type ReadSavedReportUnauthorized
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 saved report controller API
func (*Client) CreateSavedReport ¶
func (a *Client) CreateSavedReport(params *CreateSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSavedReportCreated, error)
CreateSavedReport creates
func (*Client) DeleteSavedReport ¶
func (a *Client) DeleteSavedReport(params *DeleteSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSavedReportOK, error)
DeleteSavedReport deletes
func (*Client) ListSavedReport ¶
func (a *Client) ListSavedReport(params *ListSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*ListSavedReportOK, error)
ListSavedReport lists
func (*Client) ReadSavedReport ¶
func (a *Client) ReadSavedReport(params *ReadSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*ReadSavedReportOK, error)
ReadSavedReport reads
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateSavedReport(params *CreateSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSavedReportCreated, error) DeleteSavedReport(params *DeleteSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSavedReportOK, error) ListSavedReport(params *ListSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*ListSavedReportOK, error) ReadSavedReport(params *ReadSavedReportParams, authInfo runtime.ClientAuthInfoWriter) (*ReadSavedReportOK, 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 saved report controller API client.
type CreateSavedReportBadRequest ¶
CreateSavedReportBadRequest handles this case with default header values.
Bad Request
func NewCreateSavedReportBadRequest ¶
func NewCreateSavedReportBadRequest() *CreateSavedReportBadRequest
NewCreateSavedReportBadRequest creates a CreateSavedReportBadRequest with default headers values
func (*CreateSavedReportBadRequest) Error ¶
func (o *CreateSavedReportBadRequest) Error() string
func (*CreateSavedReportBadRequest) GetPayload ¶
func (o *CreateSavedReportBadRequest) GetPayload() *models.APIResult
type CreateSavedReportConflict ¶
CreateSavedReportConflict handles this case with default header values.
Conflict
func NewCreateSavedReportConflict ¶
func NewCreateSavedReportConflict() *CreateSavedReportConflict
NewCreateSavedReportConflict creates a CreateSavedReportConflict with default headers values
func (*CreateSavedReportConflict) Error ¶
func (o *CreateSavedReportConflict) Error() string
func (*CreateSavedReportConflict) GetPayload ¶
func (o *CreateSavedReportConflict) GetPayload() *models.APIResult
type CreateSavedReportCreated ¶
type CreateSavedReportCreated struct {
Payload *models.APIResultSavedReport
}
CreateSavedReportCreated handles this case with default header values.
Created
func NewCreateSavedReportCreated ¶
func NewCreateSavedReportCreated() *CreateSavedReportCreated
NewCreateSavedReportCreated creates a CreateSavedReportCreated with default headers values
func (*CreateSavedReportCreated) Error ¶
func (o *CreateSavedReportCreated) Error() string
func (*CreateSavedReportCreated) GetPayload ¶
func (o *CreateSavedReportCreated) GetPayload() *models.APIResultSavedReport
type CreateSavedReportForbidden ¶
CreateSavedReportForbidden handles this case with default header values.
Forbidden
func NewCreateSavedReportForbidden ¶
func NewCreateSavedReportForbidden() *CreateSavedReportForbidden
NewCreateSavedReportForbidden creates a CreateSavedReportForbidden with default headers values
func (*CreateSavedReportForbidden) Error ¶
func (o *CreateSavedReportForbidden) Error() string
func (*CreateSavedReportForbidden) GetPayload ¶
func (o *CreateSavedReportForbidden) GetPayload() *models.APIResult
type CreateSavedReportInternalServerError ¶
CreateSavedReportInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateSavedReportInternalServerError ¶
func NewCreateSavedReportInternalServerError() *CreateSavedReportInternalServerError
NewCreateSavedReportInternalServerError creates a CreateSavedReportInternalServerError with default headers values
func (*CreateSavedReportInternalServerError) Error ¶
func (o *CreateSavedReportInternalServerError) Error() string
func (*CreateSavedReportInternalServerError) GetPayload ¶
func (o *CreateSavedReportInternalServerError) GetPayload() *models.APIResult
type CreateSavedReportNotFound ¶
CreateSavedReportNotFound handles this case with default header values.
Not Found
func NewCreateSavedReportNotFound ¶
func NewCreateSavedReportNotFound() *CreateSavedReportNotFound
NewCreateSavedReportNotFound creates a CreateSavedReportNotFound with default headers values
func (*CreateSavedReportNotFound) Error ¶
func (o *CreateSavedReportNotFound) Error() string
func (*CreateSavedReportNotFound) GetPayload ¶
func (o *CreateSavedReportNotFound) GetPayload() *models.APIResult
type CreateSavedReportParams ¶
type CreateSavedReportParams struct { /*Resource resource */ Resource *models.SavedReport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSavedReportParams contains all the parameters to send to the API endpoint for the create saved report operation typically these are written to a http.Request
func NewCreateSavedReportParams ¶
func NewCreateSavedReportParams() *CreateSavedReportParams
NewCreateSavedReportParams creates a new CreateSavedReportParams object with the default values initialized.
func NewCreateSavedReportParamsWithContext ¶
func NewCreateSavedReportParamsWithContext(ctx context.Context) *CreateSavedReportParams
NewCreateSavedReportParamsWithContext creates a new CreateSavedReportParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSavedReportParamsWithHTTPClient ¶
func NewCreateSavedReportParamsWithHTTPClient(client *http.Client) *CreateSavedReportParams
NewCreateSavedReportParamsWithHTTPClient creates a new CreateSavedReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSavedReportParamsWithTimeout ¶
func NewCreateSavedReportParamsWithTimeout(timeout time.Duration) *CreateSavedReportParams
NewCreateSavedReportParamsWithTimeout creates a new CreateSavedReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSavedReportParams) SetContext ¶
func (o *CreateSavedReportParams) SetContext(ctx context.Context)
SetContext adds the context to the create saved report params
func (*CreateSavedReportParams) SetHTTPClient ¶
func (o *CreateSavedReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create saved report params
func (*CreateSavedReportParams) SetResource ¶
func (o *CreateSavedReportParams) SetResource(resource *models.SavedReport)
SetResource adds the resource to the create saved report params
func (*CreateSavedReportParams) SetTimeout ¶
func (o *CreateSavedReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create saved report params
func (*CreateSavedReportParams) WithContext ¶
func (o *CreateSavedReportParams) WithContext(ctx context.Context) *CreateSavedReportParams
WithContext adds the context to the create saved report params
func (*CreateSavedReportParams) WithHTTPClient ¶
func (o *CreateSavedReportParams) WithHTTPClient(client *http.Client) *CreateSavedReportParams
WithHTTPClient adds the HTTPClient to the create saved report params
func (*CreateSavedReportParams) WithResource ¶
func (o *CreateSavedReportParams) WithResource(resource *models.SavedReport) *CreateSavedReportParams
WithResource adds the resource to the create saved report params
func (*CreateSavedReportParams) WithTimeout ¶
func (o *CreateSavedReportParams) WithTimeout(timeout time.Duration) *CreateSavedReportParams
WithTimeout adds the timeout to the create saved report params
func (*CreateSavedReportParams) WriteToRequest ¶
func (o *CreateSavedReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSavedReportReader ¶
type CreateSavedReportReader struct {
// contains filtered or unexported fields
}
CreateSavedReportReader is a Reader for the CreateSavedReport structure.
func (*CreateSavedReportReader) ReadResponse ¶
func (o *CreateSavedReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSavedReportUnauthorized ¶
type CreateSavedReportUnauthorized struct {
}CreateSavedReportUnauthorized handles this case with default header values.
Unauthorized
func NewCreateSavedReportUnauthorized ¶
func NewCreateSavedReportUnauthorized() *CreateSavedReportUnauthorized
NewCreateSavedReportUnauthorized creates a CreateSavedReportUnauthorized with default headers values
func (*CreateSavedReportUnauthorized) Error ¶
func (o *CreateSavedReportUnauthorized) Error() string
func (*CreateSavedReportUnauthorized) GetPayload ¶
func (o *CreateSavedReportUnauthorized) GetPayload() *models.APIResult
type DeleteSavedReportBadRequest ¶
DeleteSavedReportBadRequest handles this case with default header values.
Bad Request
func NewDeleteSavedReportBadRequest ¶
func NewDeleteSavedReportBadRequest() *DeleteSavedReportBadRequest
NewDeleteSavedReportBadRequest creates a DeleteSavedReportBadRequest with default headers values
func (*DeleteSavedReportBadRequest) Error ¶
func (o *DeleteSavedReportBadRequest) Error() string
func (*DeleteSavedReportBadRequest) GetPayload ¶
func (o *DeleteSavedReportBadRequest) GetPayload() *models.APIResult
type DeleteSavedReportConflict ¶
DeleteSavedReportConflict handles this case with default header values.
Conflict
func NewDeleteSavedReportConflict ¶
func NewDeleteSavedReportConflict() *DeleteSavedReportConflict
NewDeleteSavedReportConflict creates a DeleteSavedReportConflict with default headers values
func (*DeleteSavedReportConflict) Error ¶
func (o *DeleteSavedReportConflict) Error() string
func (*DeleteSavedReportConflict) GetPayload ¶
func (o *DeleteSavedReportConflict) GetPayload() *models.APIResult
type DeleteSavedReportForbidden ¶
DeleteSavedReportForbidden handles this case with default header values.
Forbidden
func NewDeleteSavedReportForbidden ¶
func NewDeleteSavedReportForbidden() *DeleteSavedReportForbidden
NewDeleteSavedReportForbidden creates a DeleteSavedReportForbidden with default headers values
func (*DeleteSavedReportForbidden) Error ¶
func (o *DeleteSavedReportForbidden) Error() string
func (*DeleteSavedReportForbidden) GetPayload ¶
func (o *DeleteSavedReportForbidden) GetPayload() *models.APIResult
type DeleteSavedReportInternalServerError ¶
DeleteSavedReportInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteSavedReportInternalServerError ¶
func NewDeleteSavedReportInternalServerError() *DeleteSavedReportInternalServerError
NewDeleteSavedReportInternalServerError creates a DeleteSavedReportInternalServerError with default headers values
func (*DeleteSavedReportInternalServerError) Error ¶
func (o *DeleteSavedReportInternalServerError) Error() string
func (*DeleteSavedReportInternalServerError) GetPayload ¶
func (o *DeleteSavedReportInternalServerError) GetPayload() *models.APIResult
type DeleteSavedReportNotFound ¶
DeleteSavedReportNotFound handles this case with default header values.
Not Found
func NewDeleteSavedReportNotFound ¶
func NewDeleteSavedReportNotFound() *DeleteSavedReportNotFound
NewDeleteSavedReportNotFound creates a DeleteSavedReportNotFound with default headers values
func (*DeleteSavedReportNotFound) Error ¶
func (o *DeleteSavedReportNotFound) Error() string
func (*DeleteSavedReportNotFound) GetPayload ¶
func (o *DeleteSavedReportNotFound) GetPayload() *models.APIResult
type DeleteSavedReportOK ¶
type DeleteSavedReportOK struct {
Payload *models.APIResultVoid
}
DeleteSavedReportOK handles this case with default header values.
OK
func NewDeleteSavedReportOK ¶
func NewDeleteSavedReportOK() *DeleteSavedReportOK
NewDeleteSavedReportOK creates a DeleteSavedReportOK with default headers values
func (*DeleteSavedReportOK) Error ¶
func (o *DeleteSavedReportOK) Error() string
func (*DeleteSavedReportOK) GetPayload ¶
func (o *DeleteSavedReportOK) GetPayload() *models.APIResultVoid
type DeleteSavedReportParams ¶
type DeleteSavedReportParams struct { /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSavedReportParams contains all the parameters to send to the API endpoint for the delete saved report operation typically these are written to a http.Request
func NewDeleteSavedReportParams ¶
func NewDeleteSavedReportParams() *DeleteSavedReportParams
NewDeleteSavedReportParams creates a new DeleteSavedReportParams object with the default values initialized.
func NewDeleteSavedReportParamsWithContext ¶
func NewDeleteSavedReportParamsWithContext(ctx context.Context) *DeleteSavedReportParams
NewDeleteSavedReportParamsWithContext creates a new DeleteSavedReportParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSavedReportParamsWithHTTPClient ¶
func NewDeleteSavedReportParamsWithHTTPClient(client *http.Client) *DeleteSavedReportParams
NewDeleteSavedReportParamsWithHTTPClient creates a new DeleteSavedReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSavedReportParamsWithTimeout ¶
func NewDeleteSavedReportParamsWithTimeout(timeout time.Duration) *DeleteSavedReportParams
NewDeleteSavedReportParamsWithTimeout creates a new DeleteSavedReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSavedReportParams) SetContext ¶
func (o *DeleteSavedReportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete saved report params
func (*DeleteSavedReportParams) SetHTTPClient ¶
func (o *DeleteSavedReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete saved report params
func (*DeleteSavedReportParams) SetID ¶
func (o *DeleteSavedReportParams) SetID(id int64)
SetID adds the id to the delete saved report params
func (*DeleteSavedReportParams) SetTimeout ¶
func (o *DeleteSavedReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete saved report params
func (*DeleteSavedReportParams) WithContext ¶
func (o *DeleteSavedReportParams) WithContext(ctx context.Context) *DeleteSavedReportParams
WithContext adds the context to the delete saved report params
func (*DeleteSavedReportParams) WithHTTPClient ¶
func (o *DeleteSavedReportParams) WithHTTPClient(client *http.Client) *DeleteSavedReportParams
WithHTTPClient adds the HTTPClient to the delete saved report params
func (*DeleteSavedReportParams) WithID ¶
func (o *DeleteSavedReportParams) WithID(id int64) *DeleteSavedReportParams
WithID adds the id to the delete saved report params
func (*DeleteSavedReportParams) WithTimeout ¶
func (o *DeleteSavedReportParams) WithTimeout(timeout time.Duration) *DeleteSavedReportParams
WithTimeout adds the timeout to the delete saved report params
func (*DeleteSavedReportParams) WriteToRequest ¶
func (o *DeleteSavedReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSavedReportReader ¶
type DeleteSavedReportReader struct {
// contains filtered or unexported fields
}
DeleteSavedReportReader is a Reader for the DeleteSavedReport structure.
func (*DeleteSavedReportReader) ReadResponse ¶
func (o *DeleteSavedReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSavedReportUnauthorized ¶
type DeleteSavedReportUnauthorized struct {
}DeleteSavedReportUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteSavedReportUnauthorized ¶
func NewDeleteSavedReportUnauthorized() *DeleteSavedReportUnauthorized
NewDeleteSavedReportUnauthorized creates a DeleteSavedReportUnauthorized with default headers values
func (*DeleteSavedReportUnauthorized) Error ¶
func (o *DeleteSavedReportUnauthorized) Error() string
func (*DeleteSavedReportUnauthorized) GetPayload ¶
func (o *DeleteSavedReportUnauthorized) GetPayload() *models.APIResult
type ListSavedReportBadRequest ¶
ListSavedReportBadRequest handles this case with default header values.
Bad Request
func NewListSavedReportBadRequest ¶
func NewListSavedReportBadRequest() *ListSavedReportBadRequest
NewListSavedReportBadRequest creates a ListSavedReportBadRequest with default headers values
func (*ListSavedReportBadRequest) Error ¶
func (o *ListSavedReportBadRequest) Error() string
func (*ListSavedReportBadRequest) GetPayload ¶
func (o *ListSavedReportBadRequest) GetPayload() *models.APIResult
type ListSavedReportConflict ¶
ListSavedReportConflict handles this case with default header values.
Conflict
func NewListSavedReportConflict ¶
func NewListSavedReportConflict() *ListSavedReportConflict
NewListSavedReportConflict creates a ListSavedReportConflict with default headers values
func (*ListSavedReportConflict) Error ¶
func (o *ListSavedReportConflict) Error() string
func (*ListSavedReportConflict) GetPayload ¶
func (o *ListSavedReportConflict) GetPayload() *models.APIResult
type ListSavedReportForbidden ¶
ListSavedReportForbidden handles this case with default header values.
Forbidden
func NewListSavedReportForbidden ¶
func NewListSavedReportForbidden() *ListSavedReportForbidden
NewListSavedReportForbidden creates a ListSavedReportForbidden with default headers values
func (*ListSavedReportForbidden) Error ¶
func (o *ListSavedReportForbidden) Error() string
func (*ListSavedReportForbidden) GetPayload ¶
func (o *ListSavedReportForbidden) GetPayload() *models.APIResult
type ListSavedReportInternalServerError ¶
ListSavedReportInternalServerError handles this case with default header values.
Internal Server Error
func NewListSavedReportInternalServerError ¶
func NewListSavedReportInternalServerError() *ListSavedReportInternalServerError
NewListSavedReportInternalServerError creates a ListSavedReportInternalServerError with default headers values
func (*ListSavedReportInternalServerError) Error ¶
func (o *ListSavedReportInternalServerError) Error() string
func (*ListSavedReportInternalServerError) GetPayload ¶
func (o *ListSavedReportInternalServerError) GetPayload() *models.APIResult
type ListSavedReportNotFound ¶
ListSavedReportNotFound handles this case with default header values.
Not Found
func NewListSavedReportNotFound ¶
func NewListSavedReportNotFound() *ListSavedReportNotFound
NewListSavedReportNotFound creates a ListSavedReportNotFound with default headers values
func (*ListSavedReportNotFound) Error ¶
func (o *ListSavedReportNotFound) Error() string
func (*ListSavedReportNotFound) GetPayload ¶
func (o *ListSavedReportNotFound) GetPayload() *models.APIResult
type ListSavedReportOK ¶
type ListSavedReportOK struct {
Payload *models.APIResultListSavedReport
}
ListSavedReportOK handles this case with default header values.
OK
func NewListSavedReportOK ¶
func NewListSavedReportOK() *ListSavedReportOK
NewListSavedReportOK creates a ListSavedReportOK with default headers values
func (*ListSavedReportOK) Error ¶
func (o *ListSavedReportOK) Error() string
func (*ListSavedReportOK) GetPayload ¶
func (o *ListSavedReportOK) GetPayload() *models.APIResultListSavedReport
type ListSavedReportParams ¶
type ListSavedReportParams struct { /*Embed Fields to embed */ Embed *string /*Fields Output fields */ Fields *string /*Fulltextsearch If 'true', interpret 'q' parameter as full text search query, defaults to 'false' */ Fulltextsearch *bool /*Limit A maximum number of returned objects in listing, if '-1' or '0' no limit is applied */ Limit *int32 /*Orderby Fields to order by */ Orderby *string /*Q A search-spec of full text search query (see fulltextsearch parameter) */ Q *string /*Start A start offset in object listing */ Start *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSavedReportParams contains all the parameters to send to the API endpoint for the list saved report operation typically these are written to a http.Request
func NewListSavedReportParams ¶
func NewListSavedReportParams() *ListSavedReportParams
NewListSavedReportParams creates a new ListSavedReportParams object with the default values initialized.
func NewListSavedReportParamsWithContext ¶
func NewListSavedReportParamsWithContext(ctx context.Context) *ListSavedReportParams
NewListSavedReportParamsWithContext creates a new ListSavedReportParams object with the default values initialized, and the ability to set a context for a request
func NewListSavedReportParamsWithHTTPClient ¶
func NewListSavedReportParamsWithHTTPClient(client *http.Client) *ListSavedReportParams
NewListSavedReportParamsWithHTTPClient creates a new ListSavedReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListSavedReportParamsWithTimeout ¶
func NewListSavedReportParamsWithTimeout(timeout time.Duration) *ListSavedReportParams
NewListSavedReportParamsWithTimeout creates a new ListSavedReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListSavedReportParams) SetContext ¶
func (o *ListSavedReportParams) SetContext(ctx context.Context)
SetContext adds the context to the list saved report params
func (*ListSavedReportParams) SetEmbed ¶
func (o *ListSavedReportParams) SetEmbed(embed *string)
SetEmbed adds the embed to the list saved report params
func (*ListSavedReportParams) SetFields ¶
func (o *ListSavedReportParams) SetFields(fields *string)
SetFields adds the fields to the list saved report params
func (*ListSavedReportParams) SetFulltextsearch ¶
func (o *ListSavedReportParams) SetFulltextsearch(fulltextsearch *bool)
SetFulltextsearch adds the fulltextsearch to the list saved report params
func (*ListSavedReportParams) SetHTTPClient ¶
func (o *ListSavedReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list saved report params
func (*ListSavedReportParams) SetLimit ¶
func (o *ListSavedReportParams) SetLimit(limit *int32)
SetLimit adds the limit to the list saved report params
func (*ListSavedReportParams) SetOrderby ¶
func (o *ListSavedReportParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the list saved report params
func (*ListSavedReportParams) SetQ ¶
func (o *ListSavedReportParams) SetQ(q *string)
SetQ adds the q to the list saved report params
func (*ListSavedReportParams) SetStart ¶
func (o *ListSavedReportParams) SetStart(start *int32)
SetStart adds the start to the list saved report params
func (*ListSavedReportParams) SetTimeout ¶
func (o *ListSavedReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list saved report params
func (*ListSavedReportParams) WithContext ¶
func (o *ListSavedReportParams) WithContext(ctx context.Context) *ListSavedReportParams
WithContext adds the context to the list saved report params
func (*ListSavedReportParams) WithEmbed ¶
func (o *ListSavedReportParams) WithEmbed(embed *string) *ListSavedReportParams
WithEmbed adds the embed to the list saved report params
func (*ListSavedReportParams) WithFields ¶
func (o *ListSavedReportParams) WithFields(fields *string) *ListSavedReportParams
WithFields adds the fields to the list saved report params
func (*ListSavedReportParams) WithFulltextsearch ¶
func (o *ListSavedReportParams) WithFulltextsearch(fulltextsearch *bool) *ListSavedReportParams
WithFulltextsearch adds the fulltextsearch to the list saved report params
func (*ListSavedReportParams) WithHTTPClient ¶
func (o *ListSavedReportParams) WithHTTPClient(client *http.Client) *ListSavedReportParams
WithHTTPClient adds the HTTPClient to the list saved report params
func (*ListSavedReportParams) WithLimit ¶
func (o *ListSavedReportParams) WithLimit(limit *int32) *ListSavedReportParams
WithLimit adds the limit to the list saved report params
func (*ListSavedReportParams) WithOrderby ¶
func (o *ListSavedReportParams) WithOrderby(orderby *string) *ListSavedReportParams
WithOrderby adds the orderby to the list saved report params
func (*ListSavedReportParams) WithQ ¶
func (o *ListSavedReportParams) WithQ(q *string) *ListSavedReportParams
WithQ adds the q to the list saved report params
func (*ListSavedReportParams) WithStart ¶
func (o *ListSavedReportParams) WithStart(start *int32) *ListSavedReportParams
WithStart adds the start to the list saved report params
func (*ListSavedReportParams) WithTimeout ¶
func (o *ListSavedReportParams) WithTimeout(timeout time.Duration) *ListSavedReportParams
WithTimeout adds the timeout to the list saved report params
func (*ListSavedReportParams) WriteToRequest ¶
func (o *ListSavedReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSavedReportReader ¶
type ListSavedReportReader struct {
// contains filtered or unexported fields
}
ListSavedReportReader is a Reader for the ListSavedReport structure.
func (*ListSavedReportReader) ReadResponse ¶
func (o *ListSavedReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSavedReportUnauthorized ¶
type ListSavedReportUnauthorized struct {
}ListSavedReportUnauthorized handles this case with default header values.
Unauthorized
func NewListSavedReportUnauthorized ¶
func NewListSavedReportUnauthorized() *ListSavedReportUnauthorized
NewListSavedReportUnauthorized creates a ListSavedReportUnauthorized with default headers values
func (*ListSavedReportUnauthorized) Error ¶
func (o *ListSavedReportUnauthorized) Error() string
func (*ListSavedReportUnauthorized) GetPayload ¶
func (o *ListSavedReportUnauthorized) GetPayload() *models.APIResult
type ReadSavedReportBadRequest ¶
ReadSavedReportBadRequest handles this case with default header values.
Bad Request
func NewReadSavedReportBadRequest ¶
func NewReadSavedReportBadRequest() *ReadSavedReportBadRequest
NewReadSavedReportBadRequest creates a ReadSavedReportBadRequest with default headers values
func (*ReadSavedReportBadRequest) Error ¶
func (o *ReadSavedReportBadRequest) Error() string
func (*ReadSavedReportBadRequest) GetPayload ¶
func (o *ReadSavedReportBadRequest) GetPayload() *models.APIResult
type ReadSavedReportConflict ¶
ReadSavedReportConflict handles this case with default header values.
Conflict
func NewReadSavedReportConflict ¶
func NewReadSavedReportConflict() *ReadSavedReportConflict
NewReadSavedReportConflict creates a ReadSavedReportConflict with default headers values
func (*ReadSavedReportConflict) Error ¶
func (o *ReadSavedReportConflict) Error() string
func (*ReadSavedReportConflict) GetPayload ¶
func (o *ReadSavedReportConflict) GetPayload() *models.APIResult
type ReadSavedReportForbidden ¶
ReadSavedReportForbidden handles this case with default header values.
Forbidden
func NewReadSavedReportForbidden ¶
func NewReadSavedReportForbidden() *ReadSavedReportForbidden
NewReadSavedReportForbidden creates a ReadSavedReportForbidden with default headers values
func (*ReadSavedReportForbidden) Error ¶
func (o *ReadSavedReportForbidden) Error() string
func (*ReadSavedReportForbidden) GetPayload ¶
func (o *ReadSavedReportForbidden) GetPayload() *models.APIResult
type ReadSavedReportInternalServerError ¶
ReadSavedReportInternalServerError handles this case with default header values.
Internal Server Error
func NewReadSavedReportInternalServerError ¶
func NewReadSavedReportInternalServerError() *ReadSavedReportInternalServerError
NewReadSavedReportInternalServerError creates a ReadSavedReportInternalServerError with default headers values
func (*ReadSavedReportInternalServerError) Error ¶
func (o *ReadSavedReportInternalServerError) Error() string
func (*ReadSavedReportInternalServerError) GetPayload ¶
func (o *ReadSavedReportInternalServerError) GetPayload() *models.APIResult
type ReadSavedReportNotFound ¶
ReadSavedReportNotFound handles this case with default header values.
Not Found
func NewReadSavedReportNotFound ¶
func NewReadSavedReportNotFound() *ReadSavedReportNotFound
NewReadSavedReportNotFound creates a ReadSavedReportNotFound with default headers values
func (*ReadSavedReportNotFound) Error ¶
func (o *ReadSavedReportNotFound) Error() string
func (*ReadSavedReportNotFound) GetPayload ¶
func (o *ReadSavedReportNotFound) GetPayload() *models.APIResult
type ReadSavedReportOK ¶
type ReadSavedReportOK struct {
Payload *models.APIResultSavedReport
}
ReadSavedReportOK handles this case with default header values.
OK
func NewReadSavedReportOK ¶
func NewReadSavedReportOK() *ReadSavedReportOK
NewReadSavedReportOK creates a ReadSavedReportOK with default headers values
func (*ReadSavedReportOK) Error ¶
func (o *ReadSavedReportOK) Error() string
func (*ReadSavedReportOK) GetPayload ¶
func (o *ReadSavedReportOK) GetPayload() *models.APIResultSavedReport
type ReadSavedReportParams ¶
type ReadSavedReportParams struct { /*Embed Fields to embed */ Embed *string /*Fields Output fields */ Fields *string /*ID id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadSavedReportParams contains all the parameters to send to the API endpoint for the read saved report operation typically these are written to a http.Request
func NewReadSavedReportParams ¶
func NewReadSavedReportParams() *ReadSavedReportParams
NewReadSavedReportParams creates a new ReadSavedReportParams object with the default values initialized.
func NewReadSavedReportParamsWithContext ¶
func NewReadSavedReportParamsWithContext(ctx context.Context) *ReadSavedReportParams
NewReadSavedReportParamsWithContext creates a new ReadSavedReportParams object with the default values initialized, and the ability to set a context for a request
func NewReadSavedReportParamsWithHTTPClient ¶
func NewReadSavedReportParamsWithHTTPClient(client *http.Client) *ReadSavedReportParams
NewReadSavedReportParamsWithHTTPClient creates a new ReadSavedReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReadSavedReportParamsWithTimeout ¶
func NewReadSavedReportParamsWithTimeout(timeout time.Duration) *ReadSavedReportParams
NewReadSavedReportParamsWithTimeout creates a new ReadSavedReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReadSavedReportParams) SetContext ¶
func (o *ReadSavedReportParams) SetContext(ctx context.Context)
SetContext adds the context to the read saved report params
func (*ReadSavedReportParams) SetEmbed ¶
func (o *ReadSavedReportParams) SetEmbed(embed *string)
SetEmbed adds the embed to the read saved report params
func (*ReadSavedReportParams) SetFields ¶
func (o *ReadSavedReportParams) SetFields(fields *string)
SetFields adds the fields to the read saved report params
func (*ReadSavedReportParams) SetHTTPClient ¶
func (o *ReadSavedReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read saved report params
func (*ReadSavedReportParams) SetID ¶
func (o *ReadSavedReportParams) SetID(id int64)
SetID adds the id to the read saved report params
func (*ReadSavedReportParams) SetTimeout ¶
func (o *ReadSavedReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read saved report params
func (*ReadSavedReportParams) WithContext ¶
func (o *ReadSavedReportParams) WithContext(ctx context.Context) *ReadSavedReportParams
WithContext adds the context to the read saved report params
func (*ReadSavedReportParams) WithEmbed ¶
func (o *ReadSavedReportParams) WithEmbed(embed *string) *ReadSavedReportParams
WithEmbed adds the embed to the read saved report params
func (*ReadSavedReportParams) WithFields ¶
func (o *ReadSavedReportParams) WithFields(fields *string) *ReadSavedReportParams
WithFields adds the fields to the read saved report params
func (*ReadSavedReportParams) WithHTTPClient ¶
func (o *ReadSavedReportParams) WithHTTPClient(client *http.Client) *ReadSavedReportParams
WithHTTPClient adds the HTTPClient to the read saved report params
func (*ReadSavedReportParams) WithID ¶
func (o *ReadSavedReportParams) WithID(id int64) *ReadSavedReportParams
WithID adds the id to the read saved report params
func (*ReadSavedReportParams) WithTimeout ¶
func (o *ReadSavedReportParams) WithTimeout(timeout time.Duration) *ReadSavedReportParams
WithTimeout adds the timeout to the read saved report params
func (*ReadSavedReportParams) WriteToRequest ¶
func (o *ReadSavedReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadSavedReportReader ¶
type ReadSavedReportReader struct {
// contains filtered or unexported fields
}
ReadSavedReportReader is a Reader for the ReadSavedReport structure.
func (*ReadSavedReportReader) ReadResponse ¶
func (o *ReadSavedReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadSavedReportUnauthorized ¶
type ReadSavedReportUnauthorized struct {
}ReadSavedReportUnauthorized handles this case with default header values.
Unauthorized
func NewReadSavedReportUnauthorized ¶
func NewReadSavedReportUnauthorized() *ReadSavedReportUnauthorized
NewReadSavedReportUnauthorized creates a ReadSavedReportUnauthorized with default headers values
func (*ReadSavedReportUnauthorized) Error ¶
func (o *ReadSavedReportUnauthorized) Error() string
func (*ReadSavedReportUnauthorized) GetPayload ¶
func (o *ReadSavedReportUnauthorized) GetPayload() *models.APIResult