saved_report_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

type CreateSavedReportBadRequest struct {
	Payload *models.APIResult
}

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 (*CreateSavedReportBadRequest) GetPayload

func (o *CreateSavedReportBadRequest) GetPayload() *models.APIResult

type CreateSavedReportConflict

type CreateSavedReportConflict struct {
	Payload *models.APIResult
}

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

type CreateSavedReportForbidden

type CreateSavedReportForbidden struct {
	Payload *models.APIResult
}

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 (*CreateSavedReportForbidden) GetPayload

func (o *CreateSavedReportForbidden) GetPayload() *models.APIResult

type CreateSavedReportInternalServerError

type CreateSavedReportInternalServerError struct {
	Payload *models.APIResult
}

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 (*CreateSavedReportInternalServerError) GetPayload

type CreateSavedReportNotFound

type CreateSavedReportNotFound struct {
	Payload *models.APIResult
}

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

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

WithResource adds the resource to the create saved report params

func (*CreateSavedReportParams) WithTimeout

WithTimeout adds the timeout to the create saved report params

func (*CreateSavedReportParams) WriteToRequest

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 {
	Payload *models.APIResult
}

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 (*CreateSavedReportUnauthorized) GetPayload

type DeleteSavedReportBadRequest

type DeleteSavedReportBadRequest struct {
	Payload *models.APIResult
}

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 (*DeleteSavedReportBadRequest) GetPayload

func (o *DeleteSavedReportBadRequest) GetPayload() *models.APIResult

type DeleteSavedReportConflict

type DeleteSavedReportConflict struct {
	Payload *models.APIResult
}

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

type DeleteSavedReportForbidden struct {
	Payload *models.APIResult
}

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 (*DeleteSavedReportForbidden) GetPayload

func (o *DeleteSavedReportForbidden) GetPayload() *models.APIResult

type DeleteSavedReportInternalServerError

type DeleteSavedReportInternalServerError struct {
	Payload *models.APIResult
}

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 (*DeleteSavedReportInternalServerError) GetPayload

type DeleteSavedReportNotFound

type DeleteSavedReportNotFound struct {
	Payload *models.APIResult
}

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

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

WithID adds the id to the delete saved report params

func (*DeleteSavedReportParams) WithTimeout

WithTimeout adds the timeout to the delete saved report params

func (*DeleteSavedReportParams) WriteToRequest

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 {
	Payload *models.APIResult
}

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 (*DeleteSavedReportUnauthorized) GetPayload

type ListSavedReportBadRequest

type ListSavedReportBadRequest struct {
	Payload *models.APIResult
}

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

type ListSavedReportConflict struct {
	Payload *models.APIResult
}

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

type ListSavedReportForbidden struct {
	Payload *models.APIResult
}

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

type ListSavedReportInternalServerError struct {
	Payload *models.APIResult
}

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 (*ListSavedReportInternalServerError) GetPayload

type ListSavedReportNotFound

type ListSavedReportNotFound struct {
	Payload *models.APIResult
}

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

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

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

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 {
	Payload *models.APIResult
}

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 (*ListSavedReportUnauthorized) GetPayload

func (o *ListSavedReportUnauthorized) GetPayload() *models.APIResult

type ReadSavedReportBadRequest

type ReadSavedReportBadRequest struct {
	Payload *models.APIResult
}

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

type ReadSavedReportConflict struct {
	Payload *models.APIResult
}

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

type ReadSavedReportForbidden struct {
	Payload *models.APIResult
}

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

type ReadSavedReportInternalServerError struct {
	Payload *models.APIResult
}

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 (*ReadSavedReportInternalServerError) GetPayload

type ReadSavedReportNotFound

type ReadSavedReportNotFound struct {
	Payload *models.APIResult
}

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

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

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

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 {
	Payload *models.APIResult
}

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 (*ReadSavedReportUnauthorized) GetPayload

func (o *ReadSavedReportUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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