dashboard_public

package
v0.0.0-...-59d2d35 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for dashboard public API

func (*Client) CreatePublicDashboard

func (a *Client) CreatePublicDashboard(dashboardUID string, body *models.PublicDashboardDTO, opts ...ClientOption) (*CreatePublicDashboardOK, error)

CreatePublicDashboard Create public dashboard for a dashboard

func (*Client) CreatePublicDashboardWithParams

func (a *Client) CreatePublicDashboardWithParams(params *CreatePublicDashboardParams, opts ...ClientOption) (*CreatePublicDashboardOK, error)

func (*Client) DeletePublicDashboard

func (a *Client) DeletePublicDashboard(uid string, dashboardUID string, opts ...ClientOption) (*DeletePublicDashboardOK, error)

DeletePublicDashboard Delete public dashboard for a dashboard

func (*Client) DeletePublicDashboardWithParams

func (a *Client) DeletePublicDashboardWithParams(params *DeletePublicDashboardParams, opts ...ClientOption) (*DeletePublicDashboardOK, error)

func (*Client) GetPublicAnnotations

func (a *Client) GetPublicAnnotations(accessToken string, opts ...ClientOption) (*GetPublicAnnotationsOK, error)

GetPublicAnnotations Get annotations for a public dashboard

func (*Client) GetPublicAnnotationsWithParams

func (a *Client) GetPublicAnnotationsWithParams(params *GetPublicAnnotationsParams, opts ...ClientOption) (*GetPublicAnnotationsOK, error)

func (*Client) GetPublicDashboard

func (a *Client) GetPublicDashboard(dashboardUID string, opts ...ClientOption) (*GetPublicDashboardOK, error)

GetPublicDashboard Get public dashboard by dashboardUid

func (*Client) GetPublicDashboardWithParams

func (a *Client) GetPublicDashboardWithParams(params *GetPublicDashboardParams, opts ...ClientOption) (*GetPublicDashboardOK, error)

func (*Client) ListPublicDashboards

func (a *Client) ListPublicDashboards(opts ...ClientOption) (*ListPublicDashboardsOK, error)

ListPublicDashboards Get list of public dashboards

func (*Client) ListPublicDashboardsWithParams

func (a *Client) ListPublicDashboardsWithParams(params *ListPublicDashboardsParams, opts ...ClientOption) (*ListPublicDashboardsOK, error)

func (*Client) QueryPublicDashboard

func (a *Client) QueryPublicDashboard(panelID int64, accessToken string, opts ...ClientOption) (*QueryPublicDashboardOK, error)

QueryPublicDashboard Get results for a given panel on a public dashboard

func (*Client) QueryPublicDashboardWithParams

func (a *Client) QueryPublicDashboardWithParams(params *QueryPublicDashboardParams, opts ...ClientOption) (*QueryPublicDashboardOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePublicDashboard

func (a *Client) UpdatePublicDashboard(params *UpdatePublicDashboardParams, opts ...ClientOption) (*UpdatePublicDashboardOK, error)

func (*Client) ViewPublicDashboard

func (a *Client) ViewPublicDashboard(accessToken string, opts ...ClientOption) (*ViewPublicDashboardOK, error)

ViewPublicDashboard Get public dashboard for view

func (*Client) ViewPublicDashboardWithParams

func (a *Client) ViewPublicDashboardWithParams(params *ViewPublicDashboardParams, opts ...ClientOption) (*ViewPublicDashboardOK, error)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	CreatePublicDashboard(dashboardUID string, body *models.PublicDashboardDTO, opts ...ClientOption) (*CreatePublicDashboardOK, error)
	CreatePublicDashboardWithParams(params *CreatePublicDashboardParams, opts ...ClientOption) (*CreatePublicDashboardOK, error)

	DeletePublicDashboard(uid string, dashboardUID string, opts ...ClientOption) (*DeletePublicDashboardOK, error)
	DeletePublicDashboardWithParams(params *DeletePublicDashboardParams, opts ...ClientOption) (*DeletePublicDashboardOK, error)

	GetPublicAnnotations(accessToken string, opts ...ClientOption) (*GetPublicAnnotationsOK, error)
	GetPublicAnnotationsWithParams(params *GetPublicAnnotationsParams, opts ...ClientOption) (*GetPublicAnnotationsOK, error)

	GetPublicDashboard(dashboardUID string, opts ...ClientOption) (*GetPublicDashboardOK, error)
	GetPublicDashboardWithParams(params *GetPublicDashboardParams, opts ...ClientOption) (*GetPublicDashboardOK, error)

	ListPublicDashboards(opts ...ClientOption) (*ListPublicDashboardsOK, error)
	ListPublicDashboardsWithParams(params *ListPublicDashboardsParams, opts ...ClientOption) (*ListPublicDashboardsOK, error)

	QueryPublicDashboard(panelID int64, accessToken string, opts ...ClientOption) (*QueryPublicDashboardOK, error)
	QueryPublicDashboardWithParams(params *QueryPublicDashboardParams, opts ...ClientOption) (*QueryPublicDashboardOK, error)

	UpdatePublicDashboard(params *UpdatePublicDashboardParams, opts ...ClientOption) (*UpdatePublicDashboardOK, error)

	ViewPublicDashboard(accessToken string, opts ...ClientOption) (*ViewPublicDashboardOK, error)
	ViewPublicDashboardWithParams(params *ViewPublicDashboardParams, opts ...ClientOption) (*ViewPublicDashboardOK, 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 dashboard public API client.

type CreatePublicDashboardBadRequest

type CreatePublicDashboardBadRequest struct {
	Payload *models.PublicError
}

CreatePublicDashboardBadRequest describes a response with status code 400, with default header values.

BadRequestPublicError is returned when the request is invalid and it cannot be processed.

func NewCreatePublicDashboardBadRequest

func NewCreatePublicDashboardBadRequest() *CreatePublicDashboardBadRequest

NewCreatePublicDashboardBadRequest creates a CreatePublicDashboardBadRequest with default headers values

func (*CreatePublicDashboardBadRequest) Code

Code gets the status code for the create public dashboard bad request response

func (*CreatePublicDashboardBadRequest) Error

func (*CreatePublicDashboardBadRequest) GetPayload

func (*CreatePublicDashboardBadRequest) IsClientError

func (o *CreatePublicDashboardBadRequest) IsClientError() bool

IsClientError returns true when this create public dashboard bad request response has a 4xx status code

func (*CreatePublicDashboardBadRequest) IsCode

func (o *CreatePublicDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this create public dashboard bad request response a status code equal to that given

func (*CreatePublicDashboardBadRequest) IsRedirect

func (o *CreatePublicDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this create public dashboard bad request response has a 3xx status code

func (*CreatePublicDashboardBadRequest) IsServerError

func (o *CreatePublicDashboardBadRequest) IsServerError() bool

IsServerError returns true when this create public dashboard bad request response has a 5xx status code

func (*CreatePublicDashboardBadRequest) IsSuccess

func (o *CreatePublicDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this create public dashboard bad request response has a 2xx status code

func (*CreatePublicDashboardBadRequest) String

type CreatePublicDashboardForbidden

type CreatePublicDashboardForbidden struct {
	Payload *models.PublicError
}

CreatePublicDashboardForbidden describes a response with status code 403, with default header values.

ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCreatePublicDashboardForbidden

func NewCreatePublicDashboardForbidden() *CreatePublicDashboardForbidden

NewCreatePublicDashboardForbidden creates a CreatePublicDashboardForbidden with default headers values

func (*CreatePublicDashboardForbidden) Code

Code gets the status code for the create public dashboard forbidden response

func (*CreatePublicDashboardForbidden) Error

func (*CreatePublicDashboardForbidden) GetPayload

func (*CreatePublicDashboardForbidden) IsClientError

func (o *CreatePublicDashboardForbidden) IsClientError() bool

IsClientError returns true when this create public dashboard forbidden response has a 4xx status code

func (*CreatePublicDashboardForbidden) IsCode

func (o *CreatePublicDashboardForbidden) IsCode(code int) bool

IsCode returns true when this create public dashboard forbidden response a status code equal to that given

func (*CreatePublicDashboardForbidden) IsRedirect

func (o *CreatePublicDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this create public dashboard forbidden response has a 3xx status code

func (*CreatePublicDashboardForbidden) IsServerError

func (o *CreatePublicDashboardForbidden) IsServerError() bool

IsServerError returns true when this create public dashboard forbidden response has a 5xx status code

func (*CreatePublicDashboardForbidden) IsSuccess

func (o *CreatePublicDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this create public dashboard forbidden response has a 2xx status code

func (*CreatePublicDashboardForbidden) String

type CreatePublicDashboardInternalServerError

type CreatePublicDashboardInternalServerError struct {
	Payload *models.PublicError
}

CreatePublicDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerPublicError is a general error indicating something went wrong internally.

func NewCreatePublicDashboardInternalServerError

func NewCreatePublicDashboardInternalServerError() *CreatePublicDashboardInternalServerError

NewCreatePublicDashboardInternalServerError creates a CreatePublicDashboardInternalServerError with default headers values

func (*CreatePublicDashboardInternalServerError) Code

Code gets the status code for the create public dashboard internal server error response

func (*CreatePublicDashboardInternalServerError) Error

func (*CreatePublicDashboardInternalServerError) GetPayload

func (*CreatePublicDashboardInternalServerError) IsClientError

IsClientError returns true when this create public dashboard internal server error response has a 4xx status code

func (*CreatePublicDashboardInternalServerError) IsCode

IsCode returns true when this create public dashboard internal server error response a status code equal to that given

func (*CreatePublicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this create public dashboard internal server error response has a 3xx status code

func (*CreatePublicDashboardInternalServerError) IsServerError

IsServerError returns true when this create public dashboard internal server error response has a 5xx status code

func (*CreatePublicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this create public dashboard internal server error response has a 2xx status code

func (*CreatePublicDashboardInternalServerError) String

type CreatePublicDashboardOK

type CreatePublicDashboardOK struct {
	Payload *models.PublicDashboard
}

CreatePublicDashboardOK describes a response with status code 200, with default header values.

(empty)

func NewCreatePublicDashboardOK

func NewCreatePublicDashboardOK() *CreatePublicDashboardOK

NewCreatePublicDashboardOK creates a CreatePublicDashboardOK with default headers values

func (*CreatePublicDashboardOK) Code

func (o *CreatePublicDashboardOK) Code() int

Code gets the status code for the create public dashboard Ok response

func (*CreatePublicDashboardOK) Error

func (o *CreatePublicDashboardOK) Error() string

func (*CreatePublicDashboardOK) GetPayload

func (*CreatePublicDashboardOK) IsClientError

func (o *CreatePublicDashboardOK) IsClientError() bool

IsClientError returns true when this create public dashboard Ok response has a 4xx status code

func (*CreatePublicDashboardOK) IsCode

func (o *CreatePublicDashboardOK) IsCode(code int) bool

IsCode returns true when this create public dashboard Ok response a status code equal to that given

func (*CreatePublicDashboardOK) IsRedirect

func (o *CreatePublicDashboardOK) IsRedirect() bool

IsRedirect returns true when this create public dashboard Ok response has a 3xx status code

func (*CreatePublicDashboardOK) IsServerError

func (o *CreatePublicDashboardOK) IsServerError() bool

IsServerError returns true when this create public dashboard Ok response has a 5xx status code

func (*CreatePublicDashboardOK) IsSuccess

func (o *CreatePublicDashboardOK) IsSuccess() bool

IsSuccess returns true when this create public dashboard Ok response has a 2xx status code

func (*CreatePublicDashboardOK) String

func (o *CreatePublicDashboardOK) String() string

type CreatePublicDashboardParams

type CreatePublicDashboardParams struct {

	// Body.
	Body *models.PublicDashboardDTO

	// DashboardUID.
	DashboardUID string

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

CreatePublicDashboardParams contains all the parameters to send to the API endpoint

for the create public dashboard operation.

Typically these are written to a http.Request.

func NewCreatePublicDashboardParams

func NewCreatePublicDashboardParams() *CreatePublicDashboardParams

NewCreatePublicDashboardParams creates a new CreatePublicDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePublicDashboardParamsWithContext

func NewCreatePublicDashboardParamsWithContext(ctx context.Context) *CreatePublicDashboardParams

NewCreatePublicDashboardParamsWithContext creates a new CreatePublicDashboardParams object with the ability to set a context for a request.

func NewCreatePublicDashboardParamsWithHTTPClient

func NewCreatePublicDashboardParamsWithHTTPClient(client *http.Client) *CreatePublicDashboardParams

NewCreatePublicDashboardParamsWithHTTPClient creates a new CreatePublicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePublicDashboardParamsWithTimeout

func NewCreatePublicDashboardParamsWithTimeout(timeout time.Duration) *CreatePublicDashboardParams

NewCreatePublicDashboardParamsWithTimeout creates a new CreatePublicDashboardParams object with the ability to set a timeout on a request.

func (*CreatePublicDashboardParams) SetBody

SetBody adds the body to the create public dashboard params

func (*CreatePublicDashboardParams) SetContext

func (o *CreatePublicDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the create public dashboard params

func (*CreatePublicDashboardParams) SetDashboardUID

func (o *CreatePublicDashboardParams) SetDashboardUID(dashboardUID string)

SetDashboardUID adds the dashboardUid to the create public dashboard params

func (*CreatePublicDashboardParams) SetDefaults

func (o *CreatePublicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the create public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePublicDashboardParams) SetHTTPClient

func (o *CreatePublicDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create public dashboard params

func (*CreatePublicDashboardParams) SetTimeout

func (o *CreatePublicDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create public dashboard params

func (*CreatePublicDashboardParams) WithBody

WithBody adds the body to the create public dashboard params

func (*CreatePublicDashboardParams) WithContext

WithContext adds the context to the create public dashboard params

func (*CreatePublicDashboardParams) WithDashboardUID

func (o *CreatePublicDashboardParams) WithDashboardUID(dashboardUID string) *CreatePublicDashboardParams

WithDashboardUID adds the dashboardUID to the create public dashboard params

func (*CreatePublicDashboardParams) WithDefaults

WithDefaults hydrates default values in the create public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePublicDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create public dashboard params

func (*CreatePublicDashboardParams) WithTimeout

WithTimeout adds the timeout to the create public dashboard params

func (*CreatePublicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePublicDashboardReader

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

CreatePublicDashboardReader is a Reader for the CreatePublicDashboard structure.

func (*CreatePublicDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePublicDashboardUnauthorized

type CreatePublicDashboardUnauthorized struct {
	Payload *models.PublicError
}

CreatePublicDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorisedPublicError is returned when the request is not authenticated.

func NewCreatePublicDashboardUnauthorized

func NewCreatePublicDashboardUnauthorized() *CreatePublicDashboardUnauthorized

NewCreatePublicDashboardUnauthorized creates a CreatePublicDashboardUnauthorized with default headers values

func (*CreatePublicDashboardUnauthorized) Code

Code gets the status code for the create public dashboard unauthorized response

func (*CreatePublicDashboardUnauthorized) Error

func (*CreatePublicDashboardUnauthorized) GetPayload

func (*CreatePublicDashboardUnauthorized) IsClientError

func (o *CreatePublicDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this create public dashboard unauthorized response has a 4xx status code

func (*CreatePublicDashboardUnauthorized) IsCode

func (o *CreatePublicDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this create public dashboard unauthorized response a status code equal to that given

func (*CreatePublicDashboardUnauthorized) IsRedirect

func (o *CreatePublicDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this create public dashboard unauthorized response has a 3xx status code

func (*CreatePublicDashboardUnauthorized) IsServerError

func (o *CreatePublicDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this create public dashboard unauthorized response has a 5xx status code

func (*CreatePublicDashboardUnauthorized) IsSuccess

func (o *CreatePublicDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this create public dashboard unauthorized response has a 2xx status code

func (*CreatePublicDashboardUnauthorized) String

type DeletePublicDashboardBadRequest

type DeletePublicDashboardBadRequest struct {
	Payload *models.PublicError
}

DeletePublicDashboardBadRequest describes a response with status code 400, with default header values.

BadRequestPublicError is returned when the request is invalid and it cannot be processed.

func NewDeletePublicDashboardBadRequest

func NewDeletePublicDashboardBadRequest() *DeletePublicDashboardBadRequest

NewDeletePublicDashboardBadRequest creates a DeletePublicDashboardBadRequest with default headers values

func (*DeletePublicDashboardBadRequest) Code

Code gets the status code for the delete public dashboard bad request response

func (*DeletePublicDashboardBadRequest) Error

func (*DeletePublicDashboardBadRequest) GetPayload

func (*DeletePublicDashboardBadRequest) IsClientError

func (o *DeletePublicDashboardBadRequest) IsClientError() bool

IsClientError returns true when this delete public dashboard bad request response has a 4xx status code

func (*DeletePublicDashboardBadRequest) IsCode

func (o *DeletePublicDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this delete public dashboard bad request response a status code equal to that given

func (*DeletePublicDashboardBadRequest) IsRedirect

func (o *DeletePublicDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this delete public dashboard bad request response has a 3xx status code

func (*DeletePublicDashboardBadRequest) IsServerError

func (o *DeletePublicDashboardBadRequest) IsServerError() bool

IsServerError returns true when this delete public dashboard bad request response has a 5xx status code

func (*DeletePublicDashboardBadRequest) IsSuccess

func (o *DeletePublicDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this delete public dashboard bad request response has a 2xx status code

func (*DeletePublicDashboardBadRequest) String

type DeletePublicDashboardForbidden

type DeletePublicDashboardForbidden struct {
	Payload *models.PublicError
}

DeletePublicDashboardForbidden describes a response with status code 403, with default header values.

ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeletePublicDashboardForbidden

func NewDeletePublicDashboardForbidden() *DeletePublicDashboardForbidden

NewDeletePublicDashboardForbidden creates a DeletePublicDashboardForbidden with default headers values

func (*DeletePublicDashboardForbidden) Code

Code gets the status code for the delete public dashboard forbidden response

func (*DeletePublicDashboardForbidden) Error

func (*DeletePublicDashboardForbidden) GetPayload

func (*DeletePublicDashboardForbidden) IsClientError

func (o *DeletePublicDashboardForbidden) IsClientError() bool

IsClientError returns true when this delete public dashboard forbidden response has a 4xx status code

func (*DeletePublicDashboardForbidden) IsCode

func (o *DeletePublicDashboardForbidden) IsCode(code int) bool

IsCode returns true when this delete public dashboard forbidden response a status code equal to that given

func (*DeletePublicDashboardForbidden) IsRedirect

func (o *DeletePublicDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this delete public dashboard forbidden response has a 3xx status code

func (*DeletePublicDashboardForbidden) IsServerError

func (o *DeletePublicDashboardForbidden) IsServerError() bool

IsServerError returns true when this delete public dashboard forbidden response has a 5xx status code

func (*DeletePublicDashboardForbidden) IsSuccess

func (o *DeletePublicDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this delete public dashboard forbidden response has a 2xx status code

func (*DeletePublicDashboardForbidden) String

type DeletePublicDashboardInternalServerError

type DeletePublicDashboardInternalServerError struct {
	Payload *models.PublicError
}

DeletePublicDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerPublicError is a general error indicating something went wrong internally.

func NewDeletePublicDashboardInternalServerError

func NewDeletePublicDashboardInternalServerError() *DeletePublicDashboardInternalServerError

NewDeletePublicDashboardInternalServerError creates a DeletePublicDashboardInternalServerError with default headers values

func (*DeletePublicDashboardInternalServerError) Code

Code gets the status code for the delete public dashboard internal server error response

func (*DeletePublicDashboardInternalServerError) Error

func (*DeletePublicDashboardInternalServerError) GetPayload

func (*DeletePublicDashboardInternalServerError) IsClientError

IsClientError returns true when this delete public dashboard internal server error response has a 4xx status code

func (*DeletePublicDashboardInternalServerError) IsCode

IsCode returns true when this delete public dashboard internal server error response a status code equal to that given

func (*DeletePublicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this delete public dashboard internal server error response has a 3xx status code

func (*DeletePublicDashboardInternalServerError) IsServerError

IsServerError returns true when this delete public dashboard internal server error response has a 5xx status code

func (*DeletePublicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this delete public dashboard internal server error response has a 2xx status code

func (*DeletePublicDashboardInternalServerError) String

type DeletePublicDashboardOK

type DeletePublicDashboardOK struct {
	Payload *models.SuccessResponseBody
}

DeletePublicDashboardOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewDeletePublicDashboardOK

func NewDeletePublicDashboardOK() *DeletePublicDashboardOK

NewDeletePublicDashboardOK creates a DeletePublicDashboardOK with default headers values

func (*DeletePublicDashboardOK) Code

func (o *DeletePublicDashboardOK) Code() int

Code gets the status code for the delete public dashboard Ok response

func (*DeletePublicDashboardOK) Error

func (o *DeletePublicDashboardOK) Error() string

func (*DeletePublicDashboardOK) GetPayload

func (*DeletePublicDashboardOK) IsClientError

func (o *DeletePublicDashboardOK) IsClientError() bool

IsClientError returns true when this delete public dashboard Ok response has a 4xx status code

func (*DeletePublicDashboardOK) IsCode

func (o *DeletePublicDashboardOK) IsCode(code int) bool

IsCode returns true when this delete public dashboard Ok response a status code equal to that given

func (*DeletePublicDashboardOK) IsRedirect

func (o *DeletePublicDashboardOK) IsRedirect() bool

IsRedirect returns true when this delete public dashboard Ok response has a 3xx status code

func (*DeletePublicDashboardOK) IsServerError

func (o *DeletePublicDashboardOK) IsServerError() bool

IsServerError returns true when this delete public dashboard Ok response has a 5xx status code

func (*DeletePublicDashboardOK) IsSuccess

func (o *DeletePublicDashboardOK) IsSuccess() bool

IsSuccess returns true when this delete public dashboard Ok response has a 2xx status code

func (*DeletePublicDashboardOK) String

func (o *DeletePublicDashboardOK) String() string

type DeletePublicDashboardParams

type DeletePublicDashboardParams struct {

	// DashboardUID.
	DashboardUID string

	// UID.
	UID string

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

DeletePublicDashboardParams contains all the parameters to send to the API endpoint

for the delete public dashboard operation.

Typically these are written to a http.Request.

func NewDeletePublicDashboardParams

func NewDeletePublicDashboardParams() *DeletePublicDashboardParams

NewDeletePublicDashboardParams creates a new DeletePublicDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeletePublicDashboardParamsWithContext

func NewDeletePublicDashboardParamsWithContext(ctx context.Context) *DeletePublicDashboardParams

NewDeletePublicDashboardParamsWithContext creates a new DeletePublicDashboardParams object with the ability to set a context for a request.

func NewDeletePublicDashboardParamsWithHTTPClient

func NewDeletePublicDashboardParamsWithHTTPClient(client *http.Client) *DeletePublicDashboardParams

NewDeletePublicDashboardParamsWithHTTPClient creates a new DeletePublicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePublicDashboardParamsWithTimeout

func NewDeletePublicDashboardParamsWithTimeout(timeout time.Duration) *DeletePublicDashboardParams

NewDeletePublicDashboardParamsWithTimeout creates a new DeletePublicDashboardParams object with the ability to set a timeout on a request.

func (*DeletePublicDashboardParams) SetContext

func (o *DeletePublicDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the delete public dashboard params

func (*DeletePublicDashboardParams) SetDashboardUID

func (o *DeletePublicDashboardParams) SetDashboardUID(dashboardUID string)

SetDashboardUID adds the dashboardUid to the delete public dashboard params

func (*DeletePublicDashboardParams) SetDefaults

func (o *DeletePublicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the delete public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePublicDashboardParams) SetHTTPClient

func (o *DeletePublicDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete public dashboard params

func (*DeletePublicDashboardParams) SetTimeout

func (o *DeletePublicDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete public dashboard params

func (*DeletePublicDashboardParams) SetUID

func (o *DeletePublicDashboardParams) SetUID(uid string)

SetUID adds the uid to the delete public dashboard params

func (*DeletePublicDashboardParams) WithContext

WithContext adds the context to the delete public dashboard params

func (*DeletePublicDashboardParams) WithDashboardUID

func (o *DeletePublicDashboardParams) WithDashboardUID(dashboardUID string) *DeletePublicDashboardParams

WithDashboardUID adds the dashboardUID to the delete public dashboard params

func (*DeletePublicDashboardParams) WithDefaults

WithDefaults hydrates default values in the delete public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePublicDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete public dashboard params

func (*DeletePublicDashboardParams) WithTimeout

WithTimeout adds the timeout to the delete public dashboard params

func (*DeletePublicDashboardParams) WithUID

WithUID adds the uid to the delete public dashboard params

func (*DeletePublicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublicDashboardReader

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

DeletePublicDashboardReader is a Reader for the DeletePublicDashboard structure.

func (*DeletePublicDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePublicDashboardUnauthorized

type DeletePublicDashboardUnauthorized struct {
	Payload *models.PublicError
}

DeletePublicDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorisedPublicError is returned when the request is not authenticated.

func NewDeletePublicDashboardUnauthorized

func NewDeletePublicDashboardUnauthorized() *DeletePublicDashboardUnauthorized

NewDeletePublicDashboardUnauthorized creates a DeletePublicDashboardUnauthorized with default headers values

func (*DeletePublicDashboardUnauthorized) Code

Code gets the status code for the delete public dashboard unauthorized response

func (*DeletePublicDashboardUnauthorized) Error

func (*DeletePublicDashboardUnauthorized) GetPayload

func (*DeletePublicDashboardUnauthorized) IsClientError

func (o *DeletePublicDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this delete public dashboard unauthorized response has a 4xx status code

func (*DeletePublicDashboardUnauthorized) IsCode

func (o *DeletePublicDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this delete public dashboard unauthorized response a status code equal to that given

func (*DeletePublicDashboardUnauthorized) IsRedirect

func (o *DeletePublicDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete public dashboard unauthorized response has a 3xx status code

func (*DeletePublicDashboardUnauthorized) IsServerError

func (o *DeletePublicDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this delete public dashboard unauthorized response has a 5xx status code

func (*DeletePublicDashboardUnauthorized) IsSuccess

func (o *DeletePublicDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete public dashboard unauthorized response has a 2xx status code

func (*DeletePublicDashboardUnauthorized) String

type GetPublicAnnotationsBadRequest

type GetPublicAnnotationsBadRequest struct {
	Payload *models.PublicError
}

GetPublicAnnotationsBadRequest describes a response with status code 400, with default header values.

BadRequestPublicError is returned when the request is invalid and it cannot be processed.

func NewGetPublicAnnotationsBadRequest

func NewGetPublicAnnotationsBadRequest() *GetPublicAnnotationsBadRequest

NewGetPublicAnnotationsBadRequest creates a GetPublicAnnotationsBadRequest with default headers values

func (*GetPublicAnnotationsBadRequest) Code

Code gets the status code for the get public annotations bad request response

func (*GetPublicAnnotationsBadRequest) Error

func (*GetPublicAnnotationsBadRequest) GetPayload

func (*GetPublicAnnotationsBadRequest) IsClientError

func (o *GetPublicAnnotationsBadRequest) IsClientError() bool

IsClientError returns true when this get public annotations bad request response has a 4xx status code

func (*GetPublicAnnotationsBadRequest) IsCode

func (o *GetPublicAnnotationsBadRequest) IsCode(code int) bool

IsCode returns true when this get public annotations bad request response a status code equal to that given

func (*GetPublicAnnotationsBadRequest) IsRedirect

func (o *GetPublicAnnotationsBadRequest) IsRedirect() bool

IsRedirect returns true when this get public annotations bad request response has a 3xx status code

func (*GetPublicAnnotationsBadRequest) IsServerError

func (o *GetPublicAnnotationsBadRequest) IsServerError() bool

IsServerError returns true when this get public annotations bad request response has a 5xx status code

func (*GetPublicAnnotationsBadRequest) IsSuccess

func (o *GetPublicAnnotationsBadRequest) IsSuccess() bool

IsSuccess returns true when this get public annotations bad request response has a 2xx status code

func (*GetPublicAnnotationsBadRequest) String

type GetPublicAnnotationsForbidden

type GetPublicAnnotationsForbidden struct {
	Payload *models.PublicError
}

GetPublicAnnotationsForbidden describes a response with status code 403, with default header values.

ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetPublicAnnotationsForbidden

func NewGetPublicAnnotationsForbidden() *GetPublicAnnotationsForbidden

NewGetPublicAnnotationsForbidden creates a GetPublicAnnotationsForbidden with default headers values

func (*GetPublicAnnotationsForbidden) Code

Code gets the status code for the get public annotations forbidden response

func (*GetPublicAnnotationsForbidden) Error

func (*GetPublicAnnotationsForbidden) GetPayload

func (*GetPublicAnnotationsForbidden) IsClientError

func (o *GetPublicAnnotationsForbidden) IsClientError() bool

IsClientError returns true when this get public annotations forbidden response has a 4xx status code

func (*GetPublicAnnotationsForbidden) IsCode

func (o *GetPublicAnnotationsForbidden) IsCode(code int) bool

IsCode returns true when this get public annotations forbidden response a status code equal to that given

func (*GetPublicAnnotationsForbidden) IsRedirect

func (o *GetPublicAnnotationsForbidden) IsRedirect() bool

IsRedirect returns true when this get public annotations forbidden response has a 3xx status code

func (*GetPublicAnnotationsForbidden) IsServerError

func (o *GetPublicAnnotationsForbidden) IsServerError() bool

IsServerError returns true when this get public annotations forbidden response has a 5xx status code

func (*GetPublicAnnotationsForbidden) IsSuccess

func (o *GetPublicAnnotationsForbidden) IsSuccess() bool

IsSuccess returns true when this get public annotations forbidden response has a 2xx status code

func (*GetPublicAnnotationsForbidden) String

type GetPublicAnnotationsInternalServerError

type GetPublicAnnotationsInternalServerError struct {
	Payload *models.PublicError
}

GetPublicAnnotationsInternalServerError describes a response with status code 500, with default header values.

InternalServerPublicError is a general error indicating something went wrong internally.

func NewGetPublicAnnotationsInternalServerError

func NewGetPublicAnnotationsInternalServerError() *GetPublicAnnotationsInternalServerError

NewGetPublicAnnotationsInternalServerError creates a GetPublicAnnotationsInternalServerError with default headers values

func (*GetPublicAnnotationsInternalServerError) Code

Code gets the status code for the get public annotations internal server error response

func (*GetPublicAnnotationsInternalServerError) Error

func (*GetPublicAnnotationsInternalServerError) GetPayload

func (*GetPublicAnnotationsInternalServerError) IsClientError

func (o *GetPublicAnnotationsInternalServerError) IsClientError() bool

IsClientError returns true when this get public annotations internal server error response has a 4xx status code

func (*GetPublicAnnotationsInternalServerError) IsCode

IsCode returns true when this get public annotations internal server error response a status code equal to that given

func (*GetPublicAnnotationsInternalServerError) IsRedirect

IsRedirect returns true when this get public annotations internal server error response has a 3xx status code

func (*GetPublicAnnotationsInternalServerError) IsServerError

func (o *GetPublicAnnotationsInternalServerError) IsServerError() bool

IsServerError returns true when this get public annotations internal server error response has a 5xx status code

func (*GetPublicAnnotationsInternalServerError) IsSuccess

IsSuccess returns true when this get public annotations internal server error response has a 2xx status code

func (*GetPublicAnnotationsInternalServerError) String

type GetPublicAnnotationsNotFound

type GetPublicAnnotationsNotFound struct {
	Payload *models.PublicError
}

GetPublicAnnotationsNotFound describes a response with status code 404, with default header values.

NotFoundPublicError is returned when the requested resource was not found.

func NewGetPublicAnnotationsNotFound

func NewGetPublicAnnotationsNotFound() *GetPublicAnnotationsNotFound

NewGetPublicAnnotationsNotFound creates a GetPublicAnnotationsNotFound with default headers values

func (*GetPublicAnnotationsNotFound) Code

Code gets the status code for the get public annotations not found response

func (*GetPublicAnnotationsNotFound) Error

func (*GetPublicAnnotationsNotFound) GetPayload

func (*GetPublicAnnotationsNotFound) IsClientError

func (o *GetPublicAnnotationsNotFound) IsClientError() bool

IsClientError returns true when this get public annotations not found response has a 4xx status code

func (*GetPublicAnnotationsNotFound) IsCode

func (o *GetPublicAnnotationsNotFound) IsCode(code int) bool

IsCode returns true when this get public annotations not found response a status code equal to that given

func (*GetPublicAnnotationsNotFound) IsRedirect

func (o *GetPublicAnnotationsNotFound) IsRedirect() bool

IsRedirect returns true when this get public annotations not found response has a 3xx status code

func (*GetPublicAnnotationsNotFound) IsServerError

func (o *GetPublicAnnotationsNotFound) IsServerError() bool

IsServerError returns true when this get public annotations not found response has a 5xx status code

func (*GetPublicAnnotationsNotFound) IsSuccess

func (o *GetPublicAnnotationsNotFound) IsSuccess() bool

IsSuccess returns true when this get public annotations not found response has a 2xx status code

func (*GetPublicAnnotationsNotFound) String

type GetPublicAnnotationsOK

type GetPublicAnnotationsOK struct {
	Payload []*models.AnnotationEvent
}

GetPublicAnnotationsOK describes a response with status code 200, with default header values.

(empty)

func NewGetPublicAnnotationsOK

func NewGetPublicAnnotationsOK() *GetPublicAnnotationsOK

NewGetPublicAnnotationsOK creates a GetPublicAnnotationsOK with default headers values

func (*GetPublicAnnotationsOK) Code

func (o *GetPublicAnnotationsOK) Code() int

Code gets the status code for the get public annotations Ok response

func (*GetPublicAnnotationsOK) Error

func (o *GetPublicAnnotationsOK) Error() string

func (*GetPublicAnnotationsOK) GetPayload

func (o *GetPublicAnnotationsOK) GetPayload() []*models.AnnotationEvent

func (*GetPublicAnnotationsOK) IsClientError

func (o *GetPublicAnnotationsOK) IsClientError() bool

IsClientError returns true when this get public annotations Ok response has a 4xx status code

func (*GetPublicAnnotationsOK) IsCode

func (o *GetPublicAnnotationsOK) IsCode(code int) bool

IsCode returns true when this get public annotations Ok response a status code equal to that given

func (*GetPublicAnnotationsOK) IsRedirect

func (o *GetPublicAnnotationsOK) IsRedirect() bool

IsRedirect returns true when this get public annotations Ok response has a 3xx status code

func (*GetPublicAnnotationsOK) IsServerError

func (o *GetPublicAnnotationsOK) IsServerError() bool

IsServerError returns true when this get public annotations Ok response has a 5xx status code

func (*GetPublicAnnotationsOK) IsSuccess

func (o *GetPublicAnnotationsOK) IsSuccess() bool

IsSuccess returns true when this get public annotations Ok response has a 2xx status code

func (*GetPublicAnnotationsOK) String

func (o *GetPublicAnnotationsOK) String() string

type GetPublicAnnotationsParams

type GetPublicAnnotationsParams struct {

	// AccessToken.
	AccessToken string

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

GetPublicAnnotationsParams contains all the parameters to send to the API endpoint

for the get public annotations operation.

Typically these are written to a http.Request.

func NewGetPublicAnnotationsParams

func NewGetPublicAnnotationsParams() *GetPublicAnnotationsParams

NewGetPublicAnnotationsParams creates a new GetPublicAnnotationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPublicAnnotationsParamsWithContext

func NewGetPublicAnnotationsParamsWithContext(ctx context.Context) *GetPublicAnnotationsParams

NewGetPublicAnnotationsParamsWithContext creates a new GetPublicAnnotationsParams object with the ability to set a context for a request.

func NewGetPublicAnnotationsParamsWithHTTPClient

func NewGetPublicAnnotationsParamsWithHTTPClient(client *http.Client) *GetPublicAnnotationsParams

NewGetPublicAnnotationsParamsWithHTTPClient creates a new GetPublicAnnotationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPublicAnnotationsParamsWithTimeout

func NewGetPublicAnnotationsParamsWithTimeout(timeout time.Duration) *GetPublicAnnotationsParams

NewGetPublicAnnotationsParamsWithTimeout creates a new GetPublicAnnotationsParams object with the ability to set a timeout on a request.

func (*GetPublicAnnotationsParams) SetAccessToken

func (o *GetPublicAnnotationsParams) SetAccessToken(accessToken string)

SetAccessToken adds the accessToken to the get public annotations params

func (*GetPublicAnnotationsParams) SetContext

func (o *GetPublicAnnotationsParams) SetContext(ctx context.Context)

SetContext adds the context to the get public annotations params

func (*GetPublicAnnotationsParams) SetDefaults

func (o *GetPublicAnnotationsParams) SetDefaults()

SetDefaults hydrates default values in the get public annotations params (not the query body).

All values with no default are reset to their zero value.

func (*GetPublicAnnotationsParams) SetHTTPClient

func (o *GetPublicAnnotationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public annotations params

func (*GetPublicAnnotationsParams) SetTimeout

func (o *GetPublicAnnotationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public annotations params

func (*GetPublicAnnotationsParams) WithAccessToken

func (o *GetPublicAnnotationsParams) WithAccessToken(accessToken string) *GetPublicAnnotationsParams

WithAccessToken adds the accessToken to the get public annotations params

func (*GetPublicAnnotationsParams) WithContext

WithContext adds the context to the get public annotations params

func (*GetPublicAnnotationsParams) WithDefaults

WithDefaults hydrates default values in the get public annotations params (not the query body).

All values with no default are reset to their zero value.

func (*GetPublicAnnotationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public annotations params

func (*GetPublicAnnotationsParams) WithTimeout

WithTimeout adds the timeout to the get public annotations params

func (*GetPublicAnnotationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicAnnotationsReader

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

GetPublicAnnotationsReader is a Reader for the GetPublicAnnotations structure.

func (*GetPublicAnnotationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicAnnotationsUnauthorized

type GetPublicAnnotationsUnauthorized struct {
	Payload *models.PublicError
}

GetPublicAnnotationsUnauthorized describes a response with status code 401, with default header values.

UnauthorisedPublicError is returned when the request is not authenticated.

func NewGetPublicAnnotationsUnauthorized

func NewGetPublicAnnotationsUnauthorized() *GetPublicAnnotationsUnauthorized

NewGetPublicAnnotationsUnauthorized creates a GetPublicAnnotationsUnauthorized with default headers values

func (*GetPublicAnnotationsUnauthorized) Code

Code gets the status code for the get public annotations unauthorized response

func (*GetPublicAnnotationsUnauthorized) Error

func (*GetPublicAnnotationsUnauthorized) GetPayload

func (*GetPublicAnnotationsUnauthorized) IsClientError

func (o *GetPublicAnnotationsUnauthorized) IsClientError() bool

IsClientError returns true when this get public annotations unauthorized response has a 4xx status code

func (*GetPublicAnnotationsUnauthorized) IsCode

func (o *GetPublicAnnotationsUnauthorized) IsCode(code int) bool

IsCode returns true when this get public annotations unauthorized response a status code equal to that given

func (*GetPublicAnnotationsUnauthorized) IsRedirect

func (o *GetPublicAnnotationsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get public annotations unauthorized response has a 3xx status code

func (*GetPublicAnnotationsUnauthorized) IsServerError

func (o *GetPublicAnnotationsUnauthorized) IsServerError() bool

IsServerError returns true when this get public annotations unauthorized response has a 5xx status code

func (*GetPublicAnnotationsUnauthorized) IsSuccess

func (o *GetPublicAnnotationsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get public annotations unauthorized response has a 2xx status code

func (*GetPublicAnnotationsUnauthorized) String

type GetPublicDashboardBadRequest

type GetPublicDashboardBadRequest struct {
	Payload *models.PublicError
}

GetPublicDashboardBadRequest describes a response with status code 400, with default header values.

BadRequestPublicError is returned when the request is invalid and it cannot be processed.

func NewGetPublicDashboardBadRequest

func NewGetPublicDashboardBadRequest() *GetPublicDashboardBadRequest

NewGetPublicDashboardBadRequest creates a GetPublicDashboardBadRequest with default headers values

func (*GetPublicDashboardBadRequest) Code

Code gets the status code for the get public dashboard bad request response

func (*GetPublicDashboardBadRequest) Error

func (*GetPublicDashboardBadRequest) GetPayload

func (*GetPublicDashboardBadRequest) IsClientError

func (o *GetPublicDashboardBadRequest) IsClientError() bool

IsClientError returns true when this get public dashboard bad request response has a 4xx status code

func (*GetPublicDashboardBadRequest) IsCode

func (o *GetPublicDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this get public dashboard bad request response a status code equal to that given

func (*GetPublicDashboardBadRequest) IsRedirect

func (o *GetPublicDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this get public dashboard bad request response has a 3xx status code

func (*GetPublicDashboardBadRequest) IsServerError

func (o *GetPublicDashboardBadRequest) IsServerError() bool

IsServerError returns true when this get public dashboard bad request response has a 5xx status code

func (*GetPublicDashboardBadRequest) IsSuccess

func (o *GetPublicDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this get public dashboard bad request response has a 2xx status code

func (*GetPublicDashboardBadRequest) String

type GetPublicDashboardForbidden

type GetPublicDashboardForbidden struct {
	Payload *models.PublicError
}

GetPublicDashboardForbidden describes a response with status code 403, with default header values.

ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetPublicDashboardForbidden

func NewGetPublicDashboardForbidden() *GetPublicDashboardForbidden

NewGetPublicDashboardForbidden creates a GetPublicDashboardForbidden with default headers values

func (*GetPublicDashboardForbidden) Code

func (o *GetPublicDashboardForbidden) Code() int

Code gets the status code for the get public dashboard forbidden response

func (*GetPublicDashboardForbidden) Error

func (*GetPublicDashboardForbidden) GetPayload

func (*GetPublicDashboardForbidden) IsClientError

func (o *GetPublicDashboardForbidden) IsClientError() bool

IsClientError returns true when this get public dashboard forbidden response has a 4xx status code

func (*GetPublicDashboardForbidden) IsCode

func (o *GetPublicDashboardForbidden) IsCode(code int) bool

IsCode returns true when this get public dashboard forbidden response a status code equal to that given

func (*GetPublicDashboardForbidden) IsRedirect

func (o *GetPublicDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this get public dashboard forbidden response has a 3xx status code

func (*GetPublicDashboardForbidden) IsServerError

func (o *GetPublicDashboardForbidden) IsServerError() bool

IsServerError returns true when this get public dashboard forbidden response has a 5xx status code

func (*GetPublicDashboardForbidden) IsSuccess

func (o *GetPublicDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this get public dashboard forbidden response has a 2xx status code

func (*GetPublicDashboardForbidden) String

func (o *GetPublicDashboardForbidden) String() string

type GetPublicDashboardInternalServerError

type GetPublicDashboardInternalServerError struct {
	Payload *models.PublicError
}

GetPublicDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerPublicError is a general error indicating something went wrong internally.

func NewGetPublicDashboardInternalServerError

func NewGetPublicDashboardInternalServerError() *GetPublicDashboardInternalServerError

NewGetPublicDashboardInternalServerError creates a GetPublicDashboardInternalServerError with default headers values

func (*GetPublicDashboardInternalServerError) Code

Code gets the status code for the get public dashboard internal server error response

func (*GetPublicDashboardInternalServerError) Error

func (*GetPublicDashboardInternalServerError) GetPayload

func (*GetPublicDashboardInternalServerError) IsClientError

func (o *GetPublicDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this get public dashboard internal server error response has a 4xx status code

func (*GetPublicDashboardInternalServerError) IsCode

IsCode returns true when this get public dashboard internal server error response a status code equal to that given

func (*GetPublicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this get public dashboard internal server error response has a 3xx status code

func (*GetPublicDashboardInternalServerError) IsServerError

func (o *GetPublicDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this get public dashboard internal server error response has a 5xx status code

func (*GetPublicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this get public dashboard internal server error response has a 2xx status code

func (*GetPublicDashboardInternalServerError) String

type GetPublicDashboardNotFound

type GetPublicDashboardNotFound struct {
	Payload *models.PublicError
}

GetPublicDashboardNotFound describes a response with status code 404, with default header values.

NotFoundPublicError is returned when the requested resource was not found.

func NewGetPublicDashboardNotFound

func NewGetPublicDashboardNotFound() *GetPublicDashboardNotFound

NewGetPublicDashboardNotFound creates a GetPublicDashboardNotFound with default headers values

func (*GetPublicDashboardNotFound) Code

func (o *GetPublicDashboardNotFound) Code() int

Code gets the status code for the get public dashboard not found response

func (*GetPublicDashboardNotFound) Error

func (*GetPublicDashboardNotFound) GetPayload

func (*GetPublicDashboardNotFound) IsClientError

func (o *GetPublicDashboardNotFound) IsClientError() bool

IsClientError returns true when this get public dashboard not found response has a 4xx status code

func (*GetPublicDashboardNotFound) IsCode

func (o *GetPublicDashboardNotFound) IsCode(code int) bool

IsCode returns true when this get public dashboard not found response a status code equal to that given

func (*GetPublicDashboardNotFound) IsRedirect

func (o *GetPublicDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this get public dashboard not found response has a 3xx status code

func (*GetPublicDashboardNotFound) IsServerError

func (o *GetPublicDashboardNotFound) IsServerError() bool

IsServerError returns true when this get public dashboard not found response has a 5xx status code

func (*GetPublicDashboardNotFound) IsSuccess

func (o *GetPublicDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this get public dashboard not found response has a 2xx status code

func (*GetPublicDashboardNotFound) String

func (o *GetPublicDashboardNotFound) String() string

type GetPublicDashboardOK

type GetPublicDashboardOK struct {
	Payload *models.PublicDashboard
}

GetPublicDashboardOK describes a response with status code 200, with default header values.

(empty)

func NewGetPublicDashboardOK

func NewGetPublicDashboardOK() *GetPublicDashboardOK

NewGetPublicDashboardOK creates a GetPublicDashboardOK with default headers values

func (*GetPublicDashboardOK) Code

func (o *GetPublicDashboardOK) Code() int

Code gets the status code for the get public dashboard Ok response

func (*GetPublicDashboardOK) Error

func (o *GetPublicDashboardOK) Error() string

func (*GetPublicDashboardOK) GetPayload

func (o *GetPublicDashboardOK) GetPayload() *models.PublicDashboard

func (*GetPublicDashboardOK) IsClientError

func (o *GetPublicDashboardOK) IsClientError() bool

IsClientError returns true when this get public dashboard Ok response has a 4xx status code

func (*GetPublicDashboardOK) IsCode

func (o *GetPublicDashboardOK) IsCode(code int) bool

IsCode returns true when this get public dashboard Ok response a status code equal to that given

func (*GetPublicDashboardOK) IsRedirect

func (o *GetPublicDashboardOK) IsRedirect() bool

IsRedirect returns true when this get public dashboard Ok response has a 3xx status code

func (*GetPublicDashboardOK) IsServerError

func (o *GetPublicDashboardOK) IsServerError() bool

IsServerError returns true when this get public dashboard Ok response has a 5xx status code

func (*GetPublicDashboardOK) IsSuccess

func (o *GetPublicDashboardOK) IsSuccess() bool

IsSuccess returns true when this get public dashboard Ok response has a 2xx status code

func (*GetPublicDashboardOK) String

func (o *GetPublicDashboardOK) String() string

type GetPublicDashboardParams

type GetPublicDashboardParams struct {

	// DashboardUID.
	DashboardUID string

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

GetPublicDashboardParams contains all the parameters to send to the API endpoint

for the get public dashboard operation.

Typically these are written to a http.Request.

func NewGetPublicDashboardParams

func NewGetPublicDashboardParams() *GetPublicDashboardParams

NewGetPublicDashboardParams creates a new GetPublicDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPublicDashboardParamsWithContext

func NewGetPublicDashboardParamsWithContext(ctx context.Context) *GetPublicDashboardParams

NewGetPublicDashboardParamsWithContext creates a new GetPublicDashboardParams object with the ability to set a context for a request.

func NewGetPublicDashboardParamsWithHTTPClient

func NewGetPublicDashboardParamsWithHTTPClient(client *http.Client) *GetPublicDashboardParams

NewGetPublicDashboardParamsWithHTTPClient creates a new GetPublicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewGetPublicDashboardParamsWithTimeout

func NewGetPublicDashboardParamsWithTimeout(timeout time.Duration) *GetPublicDashboardParams

NewGetPublicDashboardParamsWithTimeout creates a new GetPublicDashboardParams object with the ability to set a timeout on a request.

func (*GetPublicDashboardParams) SetContext

func (o *GetPublicDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the get public dashboard params

func (*GetPublicDashboardParams) SetDashboardUID

func (o *GetPublicDashboardParams) SetDashboardUID(dashboardUID string)

SetDashboardUID adds the dashboardUid to the get public dashboard params

func (*GetPublicDashboardParams) SetDefaults

func (o *GetPublicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the get public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*GetPublicDashboardParams) SetHTTPClient

func (o *GetPublicDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public dashboard params

func (*GetPublicDashboardParams) SetTimeout

func (o *GetPublicDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public dashboard params

func (*GetPublicDashboardParams) WithContext

WithContext adds the context to the get public dashboard params

func (*GetPublicDashboardParams) WithDashboardUID

func (o *GetPublicDashboardParams) WithDashboardUID(dashboardUID string) *GetPublicDashboardParams

WithDashboardUID adds the dashboardUID to the get public dashboard params

func (*GetPublicDashboardParams) WithDefaults

WithDefaults hydrates default values in the get public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*GetPublicDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get public dashboard params

func (*GetPublicDashboardParams) WithTimeout

WithTimeout adds the timeout to the get public dashboard params

func (*GetPublicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicDashboardReader

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

GetPublicDashboardReader is a Reader for the GetPublicDashboard structure.

func (*GetPublicDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicDashboardUnauthorized

type GetPublicDashboardUnauthorized struct {
	Payload *models.PublicError
}

GetPublicDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorisedPublicError is returned when the request is not authenticated.

func NewGetPublicDashboardUnauthorized

func NewGetPublicDashboardUnauthorized() *GetPublicDashboardUnauthorized

NewGetPublicDashboardUnauthorized creates a GetPublicDashboardUnauthorized with default headers values

func (*GetPublicDashboardUnauthorized) Code

Code gets the status code for the get public dashboard unauthorized response

func (*GetPublicDashboardUnauthorized) Error

func (*GetPublicDashboardUnauthorized) GetPayload

func (*GetPublicDashboardUnauthorized) IsClientError

func (o *GetPublicDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this get public dashboard unauthorized response has a 4xx status code

func (*GetPublicDashboardUnauthorized) IsCode

func (o *GetPublicDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this get public dashboard unauthorized response a status code equal to that given

func (*GetPublicDashboardUnauthorized) IsRedirect

func (o *GetPublicDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this get public dashboard unauthorized response has a 3xx status code

func (*GetPublicDashboardUnauthorized) IsServerError

func (o *GetPublicDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this get public dashboard unauthorized response has a 5xx status code

func (*GetPublicDashboardUnauthorized) IsSuccess

func (o *GetPublicDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this get public dashboard unauthorized response has a 2xx status code

func (*GetPublicDashboardUnauthorized) String

type ListPublicDashboardsForbidden

type ListPublicDashboardsForbidden struct {
	Payload *models.PublicError
}

ListPublicDashboardsForbidden describes a response with status code 403, with default header values.

ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.

func NewListPublicDashboardsForbidden

func NewListPublicDashboardsForbidden() *ListPublicDashboardsForbidden

NewListPublicDashboardsForbidden creates a ListPublicDashboardsForbidden with default headers values

func (*ListPublicDashboardsForbidden) Code

Code gets the status code for the list public dashboards forbidden response

func (*ListPublicDashboardsForbidden) Error

func (*ListPublicDashboardsForbidden) GetPayload

func (*ListPublicDashboardsForbidden) IsClientError

func (o *ListPublicDashboardsForbidden) IsClientError() bool

IsClientError returns true when this list public dashboards forbidden response has a 4xx status code

func (*ListPublicDashboardsForbidden) IsCode

func (o *ListPublicDashboardsForbidden) IsCode(code int) bool

IsCode returns true when this list public dashboards forbidden response a status code equal to that given

func (*ListPublicDashboardsForbidden) IsRedirect

func (o *ListPublicDashboardsForbidden) IsRedirect() bool

IsRedirect returns true when this list public dashboards forbidden response has a 3xx status code

func (*ListPublicDashboardsForbidden) IsServerError

func (o *ListPublicDashboardsForbidden) IsServerError() bool

IsServerError returns true when this list public dashboards forbidden response has a 5xx status code

func (*ListPublicDashboardsForbidden) IsSuccess

func (o *ListPublicDashboardsForbidden) IsSuccess() bool

IsSuccess returns true when this list public dashboards forbidden response has a 2xx status code

func (*ListPublicDashboardsForbidden) String

type ListPublicDashboardsInternalServerError

type ListPublicDashboardsInternalServerError struct {
	Payload *models.PublicError
}

ListPublicDashboardsInternalServerError describes a response with status code 500, with default header values.

InternalServerPublicError is a general error indicating something went wrong internally.

func NewListPublicDashboardsInternalServerError

func NewListPublicDashboardsInternalServerError() *ListPublicDashboardsInternalServerError

NewListPublicDashboardsInternalServerError creates a ListPublicDashboardsInternalServerError with default headers values

func (*ListPublicDashboardsInternalServerError) Code

Code gets the status code for the list public dashboards internal server error response

func (*ListPublicDashboardsInternalServerError) Error

func (*ListPublicDashboardsInternalServerError) GetPayload

func (*ListPublicDashboardsInternalServerError) IsClientError

func (o *ListPublicDashboardsInternalServerError) IsClientError() bool

IsClientError returns true when this list public dashboards internal server error response has a 4xx status code

func (*ListPublicDashboardsInternalServerError) IsCode

IsCode returns true when this list public dashboards internal server error response a status code equal to that given

func (*ListPublicDashboardsInternalServerError) IsRedirect

IsRedirect returns true when this list public dashboards internal server error response has a 3xx status code

func (*ListPublicDashboardsInternalServerError) IsServerError

func (o *ListPublicDashboardsInternalServerError) IsServerError() bool

IsServerError returns true when this list public dashboards internal server error response has a 5xx status code

func (*ListPublicDashboardsInternalServerError) IsSuccess

IsSuccess returns true when this list public dashboards internal server error response has a 2xx status code

func (*ListPublicDashboardsInternalServerError) String

type ListPublicDashboardsOK

type ListPublicDashboardsOK struct {
	Payload *models.PublicDashboardListResponseWithPagination
}

ListPublicDashboardsOK describes a response with status code 200, with default header values.

(empty)

func NewListPublicDashboardsOK

func NewListPublicDashboardsOK() *ListPublicDashboardsOK

NewListPublicDashboardsOK creates a ListPublicDashboardsOK with default headers values

func (*ListPublicDashboardsOK) Code

func (o *ListPublicDashboardsOK) Code() int

Code gets the status code for the list public dashboards Ok response

func (*ListPublicDashboardsOK) Error

func (o *ListPublicDashboardsOK) Error() string

func (*ListPublicDashboardsOK) GetPayload

func (*ListPublicDashboardsOK) IsClientError

func (o *ListPublicDashboardsOK) IsClientError() bool

IsClientError returns true when this list public dashboards Ok response has a 4xx status code

func (*ListPublicDashboardsOK) IsCode

func (o *ListPublicDashboardsOK) IsCode(code int) bool

IsCode returns true when this list public dashboards Ok response a status code equal to that given

func (*ListPublicDashboardsOK) IsRedirect

func (o *ListPublicDashboardsOK) IsRedirect() bool

IsRedirect returns true when this list public dashboards Ok response has a 3xx status code

func (*ListPublicDashboardsOK) IsServerError

func (o *ListPublicDashboardsOK) IsServerError() bool

IsServerError returns true when this list public dashboards Ok response has a 5xx status code

func (*ListPublicDashboardsOK) IsSuccess

func (o *ListPublicDashboardsOK) IsSuccess() bool

IsSuccess returns true when this list public dashboards Ok response has a 2xx status code

func (*ListPublicDashboardsOK) String

func (o *ListPublicDashboardsOK) String() string

type ListPublicDashboardsParams

type ListPublicDashboardsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPublicDashboardsParams contains all the parameters to send to the API endpoint

for the list public dashboards operation.

Typically these are written to a http.Request.

func NewListPublicDashboardsParams

func NewListPublicDashboardsParams() *ListPublicDashboardsParams

NewListPublicDashboardsParams creates a new ListPublicDashboardsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListPublicDashboardsParamsWithContext

func NewListPublicDashboardsParamsWithContext(ctx context.Context) *ListPublicDashboardsParams

NewListPublicDashboardsParamsWithContext creates a new ListPublicDashboardsParams object with the ability to set a context for a request.

func NewListPublicDashboardsParamsWithHTTPClient

func NewListPublicDashboardsParamsWithHTTPClient(client *http.Client) *ListPublicDashboardsParams

NewListPublicDashboardsParamsWithHTTPClient creates a new ListPublicDashboardsParams object with the ability to set a custom HTTPClient for a request.

func NewListPublicDashboardsParamsWithTimeout

func NewListPublicDashboardsParamsWithTimeout(timeout time.Duration) *ListPublicDashboardsParams

NewListPublicDashboardsParamsWithTimeout creates a new ListPublicDashboardsParams object with the ability to set a timeout on a request.

func (*ListPublicDashboardsParams) SetContext

func (o *ListPublicDashboardsParams) SetContext(ctx context.Context)

SetContext adds the context to the list public dashboards params

func (*ListPublicDashboardsParams) SetDefaults

func (o *ListPublicDashboardsParams) SetDefaults()

SetDefaults hydrates default values in the list public dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*ListPublicDashboardsParams) SetHTTPClient

func (o *ListPublicDashboardsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list public dashboards params

func (*ListPublicDashboardsParams) SetTimeout

func (o *ListPublicDashboardsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list public dashboards params

func (*ListPublicDashboardsParams) WithContext

WithContext adds the context to the list public dashboards params

func (*ListPublicDashboardsParams) WithDefaults

WithDefaults hydrates default values in the list public dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*ListPublicDashboardsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list public dashboards params

func (*ListPublicDashboardsParams) WithTimeout

WithTimeout adds the timeout to the list public dashboards params

func (*ListPublicDashboardsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPublicDashboardsReader

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

ListPublicDashboardsReader is a Reader for the ListPublicDashboards structure.

func (*ListPublicDashboardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPublicDashboardsUnauthorized

type ListPublicDashboardsUnauthorized struct {
	Payload *models.PublicError
}

ListPublicDashboardsUnauthorized describes a response with status code 401, with default header values.

UnauthorisedPublicError is returned when the request is not authenticated.

func NewListPublicDashboardsUnauthorized

func NewListPublicDashboardsUnauthorized() *ListPublicDashboardsUnauthorized

NewListPublicDashboardsUnauthorized creates a ListPublicDashboardsUnauthorized with default headers values

func (*ListPublicDashboardsUnauthorized) Code

Code gets the status code for the list public dashboards unauthorized response

func (*ListPublicDashboardsUnauthorized) Error

func (*ListPublicDashboardsUnauthorized) GetPayload

func (*ListPublicDashboardsUnauthorized) IsClientError

func (o *ListPublicDashboardsUnauthorized) IsClientError() bool

IsClientError returns true when this list public dashboards unauthorized response has a 4xx status code

func (*ListPublicDashboardsUnauthorized) IsCode

func (o *ListPublicDashboardsUnauthorized) IsCode(code int) bool

IsCode returns true when this list public dashboards unauthorized response a status code equal to that given

func (*ListPublicDashboardsUnauthorized) IsRedirect

func (o *ListPublicDashboardsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list public dashboards unauthorized response has a 3xx status code

func (*ListPublicDashboardsUnauthorized) IsServerError

func (o *ListPublicDashboardsUnauthorized) IsServerError() bool

IsServerError returns true when this list public dashboards unauthorized response has a 5xx status code

func (*ListPublicDashboardsUnauthorized) IsSuccess

func (o *ListPublicDashboardsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list public dashboards unauthorized response has a 2xx status code

func (*ListPublicDashboardsUnauthorized) String

type QueryPublicDashboardBadRequest

type QueryPublicDashboardBadRequest struct {
	Payload *models.PublicError
}

QueryPublicDashboardBadRequest describes a response with status code 400, with default header values.

BadRequestPublicError is returned when the request is invalid and it cannot be processed.

func NewQueryPublicDashboardBadRequest

func NewQueryPublicDashboardBadRequest() *QueryPublicDashboardBadRequest

NewQueryPublicDashboardBadRequest creates a QueryPublicDashboardBadRequest with default headers values

func (*QueryPublicDashboardBadRequest) Code

Code gets the status code for the query public dashboard bad request response

func (*QueryPublicDashboardBadRequest) Error

func (*QueryPublicDashboardBadRequest) GetPayload

func (*QueryPublicDashboardBadRequest) IsClientError

func (o *QueryPublicDashboardBadRequest) IsClientError() bool

IsClientError returns true when this query public dashboard bad request response has a 4xx status code

func (*QueryPublicDashboardBadRequest) IsCode

func (o *QueryPublicDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this query public dashboard bad request response a status code equal to that given

func (*QueryPublicDashboardBadRequest) IsRedirect

func (o *QueryPublicDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this query public dashboard bad request response has a 3xx status code

func (*QueryPublicDashboardBadRequest) IsServerError

func (o *QueryPublicDashboardBadRequest) IsServerError() bool

IsServerError returns true when this query public dashboard bad request response has a 5xx status code

func (*QueryPublicDashboardBadRequest) IsSuccess

func (o *QueryPublicDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this query public dashboard bad request response has a 2xx status code

func (*QueryPublicDashboardBadRequest) String

type QueryPublicDashboardForbidden

type QueryPublicDashboardForbidden struct {
	Payload *models.PublicError
}

QueryPublicDashboardForbidden describes a response with status code 403, with default header values.

ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.

func NewQueryPublicDashboardForbidden

func NewQueryPublicDashboardForbidden() *QueryPublicDashboardForbidden

NewQueryPublicDashboardForbidden creates a QueryPublicDashboardForbidden with default headers values

func (*QueryPublicDashboardForbidden) Code

Code gets the status code for the query public dashboard forbidden response

func (*QueryPublicDashboardForbidden) Error

func (*QueryPublicDashboardForbidden) GetPayload

func (*QueryPublicDashboardForbidden) IsClientError

func (o *QueryPublicDashboardForbidden) IsClientError() bool

IsClientError returns true when this query public dashboard forbidden response has a 4xx status code

func (*QueryPublicDashboardForbidden) IsCode

func (o *QueryPublicDashboardForbidden) IsCode(code int) bool

IsCode returns true when this query public dashboard forbidden response a status code equal to that given

func (*QueryPublicDashboardForbidden) IsRedirect

func (o *QueryPublicDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this query public dashboard forbidden response has a 3xx status code

func (*QueryPublicDashboardForbidden) IsServerError

func (o *QueryPublicDashboardForbidden) IsServerError() bool

IsServerError returns true when this query public dashboard forbidden response has a 5xx status code

func (*QueryPublicDashboardForbidden) IsSuccess

func (o *QueryPublicDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this query public dashboard forbidden response has a 2xx status code

func (*QueryPublicDashboardForbidden) String

type QueryPublicDashboardInternalServerError

type QueryPublicDashboardInternalServerError struct {
	Payload *models.PublicError
}

QueryPublicDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerPublicError is a general error indicating something went wrong internally.

func NewQueryPublicDashboardInternalServerError

func NewQueryPublicDashboardInternalServerError() *QueryPublicDashboardInternalServerError

NewQueryPublicDashboardInternalServerError creates a QueryPublicDashboardInternalServerError with default headers values

func (*QueryPublicDashboardInternalServerError) Code

Code gets the status code for the query public dashboard internal server error response

func (*QueryPublicDashboardInternalServerError) Error

func (*QueryPublicDashboardInternalServerError) GetPayload

func (*QueryPublicDashboardInternalServerError) IsClientError

func (o *QueryPublicDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this query public dashboard internal server error response has a 4xx status code

func (*QueryPublicDashboardInternalServerError) IsCode

IsCode returns true when this query public dashboard internal server error response a status code equal to that given

func (*QueryPublicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this query public dashboard internal server error response has a 3xx status code

func (*QueryPublicDashboardInternalServerError) IsServerError

func (o *QueryPublicDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this query public dashboard internal server error response has a 5xx status code

func (*QueryPublicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this query public dashboard internal server error response has a 2xx status code

func (*QueryPublicDashboardInternalServerError) String

type QueryPublicDashboardNotFound

type QueryPublicDashboardNotFound struct {
	Payload *models.PublicError
}

QueryPublicDashboardNotFound describes a response with status code 404, with default header values.

NotFoundPublicError is returned when the requested resource was not found.

func NewQueryPublicDashboardNotFound

func NewQueryPublicDashboardNotFound() *QueryPublicDashboardNotFound

NewQueryPublicDashboardNotFound creates a QueryPublicDashboardNotFound with default headers values

func (*QueryPublicDashboardNotFound) Code

Code gets the status code for the query public dashboard not found response

func (*QueryPublicDashboardNotFound) Error

func (*QueryPublicDashboardNotFound) GetPayload

func (*QueryPublicDashboardNotFound) IsClientError

func (o *QueryPublicDashboardNotFound) IsClientError() bool

IsClientError returns true when this query public dashboard not found response has a 4xx status code

func (*QueryPublicDashboardNotFound) IsCode

func (o *QueryPublicDashboardNotFound) IsCode(code int) bool

IsCode returns true when this query public dashboard not found response a status code equal to that given

func (*QueryPublicDashboardNotFound) IsRedirect

func (o *QueryPublicDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this query public dashboard not found response has a 3xx status code

func (*QueryPublicDashboardNotFound) IsServerError

func (o *QueryPublicDashboardNotFound) IsServerError() bool

IsServerError returns true when this query public dashboard not found response has a 5xx status code

func (*QueryPublicDashboardNotFound) IsSuccess

func (o *QueryPublicDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this query public dashboard not found response has a 2xx status code

func (*QueryPublicDashboardNotFound) String

type QueryPublicDashboardOK

type QueryPublicDashboardOK struct {
	Payload *models.QueryDataResponse
}

QueryPublicDashboardOK describes a response with status code 200, with default header values.

(empty)

func NewQueryPublicDashboardOK

func NewQueryPublicDashboardOK() *QueryPublicDashboardOK

NewQueryPublicDashboardOK creates a QueryPublicDashboardOK with default headers values

func (*QueryPublicDashboardOK) Code

func (o *QueryPublicDashboardOK) Code() int

Code gets the status code for the query public dashboard Ok response

func (*QueryPublicDashboardOK) Error

func (o *QueryPublicDashboardOK) Error() string

func (*QueryPublicDashboardOK) GetPayload

func (*QueryPublicDashboardOK) IsClientError

func (o *QueryPublicDashboardOK) IsClientError() bool

IsClientError returns true when this query public dashboard Ok response has a 4xx status code

func (*QueryPublicDashboardOK) IsCode

func (o *QueryPublicDashboardOK) IsCode(code int) bool

IsCode returns true when this query public dashboard Ok response a status code equal to that given

func (*QueryPublicDashboardOK) IsRedirect

func (o *QueryPublicDashboardOK) IsRedirect() bool

IsRedirect returns true when this query public dashboard Ok response has a 3xx status code

func (*QueryPublicDashboardOK) IsServerError

func (o *QueryPublicDashboardOK) IsServerError() bool

IsServerError returns true when this query public dashboard Ok response has a 5xx status code

func (*QueryPublicDashboardOK) IsSuccess

func (o *QueryPublicDashboardOK) IsSuccess() bool

IsSuccess returns true when this query public dashboard Ok response has a 2xx status code

func (*QueryPublicDashboardOK) String

func (o *QueryPublicDashboardOK) String() string

type QueryPublicDashboardParams

type QueryPublicDashboardParams struct {

	// AccessToken.
	AccessToken string

	// PanelID.
	//
	// Format: int64
	PanelID int64

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

QueryPublicDashboardParams contains all the parameters to send to the API endpoint

for the query public dashboard operation.

Typically these are written to a http.Request.

func NewQueryPublicDashboardParams

func NewQueryPublicDashboardParams() *QueryPublicDashboardParams

NewQueryPublicDashboardParams creates a new QueryPublicDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewQueryPublicDashboardParamsWithContext

func NewQueryPublicDashboardParamsWithContext(ctx context.Context) *QueryPublicDashboardParams

NewQueryPublicDashboardParamsWithContext creates a new QueryPublicDashboardParams object with the ability to set a context for a request.

func NewQueryPublicDashboardParamsWithHTTPClient

func NewQueryPublicDashboardParamsWithHTTPClient(client *http.Client) *QueryPublicDashboardParams

NewQueryPublicDashboardParamsWithHTTPClient creates a new QueryPublicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewQueryPublicDashboardParamsWithTimeout

func NewQueryPublicDashboardParamsWithTimeout(timeout time.Duration) *QueryPublicDashboardParams

NewQueryPublicDashboardParamsWithTimeout creates a new QueryPublicDashboardParams object with the ability to set a timeout on a request.

func (*QueryPublicDashboardParams) SetAccessToken

func (o *QueryPublicDashboardParams) SetAccessToken(accessToken string)

SetAccessToken adds the accessToken to the query public dashboard params

func (*QueryPublicDashboardParams) SetContext

func (o *QueryPublicDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the query public dashboard params

func (*QueryPublicDashboardParams) SetDefaults

func (o *QueryPublicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the query public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*QueryPublicDashboardParams) SetHTTPClient

func (o *QueryPublicDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query public dashboard params

func (*QueryPublicDashboardParams) SetPanelID

func (o *QueryPublicDashboardParams) SetPanelID(panelID int64)

SetPanelID adds the panelId to the query public dashboard params

func (*QueryPublicDashboardParams) SetTimeout

func (o *QueryPublicDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query public dashboard params

func (*QueryPublicDashboardParams) WithAccessToken

func (o *QueryPublicDashboardParams) WithAccessToken(accessToken string) *QueryPublicDashboardParams

WithAccessToken adds the accessToken to the query public dashboard params

func (*QueryPublicDashboardParams) WithContext

WithContext adds the context to the query public dashboard params

func (*QueryPublicDashboardParams) WithDefaults

WithDefaults hydrates default values in the query public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*QueryPublicDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query public dashboard params

func (*QueryPublicDashboardParams) WithPanelID

WithPanelID adds the panelID to the query public dashboard params

func (*QueryPublicDashboardParams) WithTimeout

WithTimeout adds the timeout to the query public dashboard params

func (*QueryPublicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryPublicDashboardReader

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

QueryPublicDashboardReader is a Reader for the QueryPublicDashboard structure.

func (*QueryPublicDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryPublicDashboardUnauthorized

type QueryPublicDashboardUnauthorized struct {
	Payload *models.PublicError
}

QueryPublicDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorisedPublicError is returned when the request is not authenticated.

func NewQueryPublicDashboardUnauthorized

func NewQueryPublicDashboardUnauthorized() *QueryPublicDashboardUnauthorized

NewQueryPublicDashboardUnauthorized creates a QueryPublicDashboardUnauthorized with default headers values

func (*QueryPublicDashboardUnauthorized) Code

Code gets the status code for the query public dashboard unauthorized response

func (*QueryPublicDashboardUnauthorized) Error

func (*QueryPublicDashboardUnauthorized) GetPayload

func (*QueryPublicDashboardUnauthorized) IsClientError

func (o *QueryPublicDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this query public dashboard unauthorized response has a 4xx status code

func (*QueryPublicDashboardUnauthorized) IsCode

func (o *QueryPublicDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this query public dashboard unauthorized response a status code equal to that given

func (*QueryPublicDashboardUnauthorized) IsRedirect

func (o *QueryPublicDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this query public dashboard unauthorized response has a 3xx status code

func (*QueryPublicDashboardUnauthorized) IsServerError

func (o *QueryPublicDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this query public dashboard unauthorized response has a 5xx status code

func (*QueryPublicDashboardUnauthorized) IsSuccess

func (o *QueryPublicDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this query public dashboard unauthorized response has a 2xx status code

func (*QueryPublicDashboardUnauthorized) String

type UpdatePublicDashboardBadRequest

type UpdatePublicDashboardBadRequest struct {
	Payload *models.PublicError
}

UpdatePublicDashboardBadRequest describes a response with status code 400, with default header values.

BadRequestPublicError is returned when the request is invalid and it cannot be processed.

func NewUpdatePublicDashboardBadRequest

func NewUpdatePublicDashboardBadRequest() *UpdatePublicDashboardBadRequest

NewUpdatePublicDashboardBadRequest creates a UpdatePublicDashboardBadRequest with default headers values

func (*UpdatePublicDashboardBadRequest) Code

Code gets the status code for the update public dashboard bad request response

func (*UpdatePublicDashboardBadRequest) Error

func (*UpdatePublicDashboardBadRequest) GetPayload

func (*UpdatePublicDashboardBadRequest) IsClientError

func (o *UpdatePublicDashboardBadRequest) IsClientError() bool

IsClientError returns true when this update public dashboard bad request response has a 4xx status code

func (*UpdatePublicDashboardBadRequest) IsCode

func (o *UpdatePublicDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this update public dashboard bad request response a status code equal to that given

func (*UpdatePublicDashboardBadRequest) IsRedirect

func (o *UpdatePublicDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this update public dashboard bad request response has a 3xx status code

func (*UpdatePublicDashboardBadRequest) IsServerError

func (o *UpdatePublicDashboardBadRequest) IsServerError() bool

IsServerError returns true when this update public dashboard bad request response has a 5xx status code

func (*UpdatePublicDashboardBadRequest) IsSuccess

func (o *UpdatePublicDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this update public dashboard bad request response has a 2xx status code

func (*UpdatePublicDashboardBadRequest) String

type UpdatePublicDashboardForbidden

type UpdatePublicDashboardForbidden struct {
	Payload *models.PublicError
}

UpdatePublicDashboardForbidden describes a response with status code 403, with default header values.

ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdatePublicDashboardForbidden

func NewUpdatePublicDashboardForbidden() *UpdatePublicDashboardForbidden

NewUpdatePublicDashboardForbidden creates a UpdatePublicDashboardForbidden with default headers values

func (*UpdatePublicDashboardForbidden) Code

Code gets the status code for the update public dashboard forbidden response

func (*UpdatePublicDashboardForbidden) Error

func (*UpdatePublicDashboardForbidden) GetPayload

func (*UpdatePublicDashboardForbidden) IsClientError

func (o *UpdatePublicDashboardForbidden) IsClientError() bool

IsClientError returns true when this update public dashboard forbidden response has a 4xx status code

func (*UpdatePublicDashboardForbidden) IsCode

func (o *UpdatePublicDashboardForbidden) IsCode(code int) bool

IsCode returns true when this update public dashboard forbidden response a status code equal to that given

func (*UpdatePublicDashboardForbidden) IsRedirect

func (o *UpdatePublicDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this update public dashboard forbidden response has a 3xx status code

func (*UpdatePublicDashboardForbidden) IsServerError

func (o *UpdatePublicDashboardForbidden) IsServerError() bool

IsServerError returns true when this update public dashboard forbidden response has a 5xx status code

func (*UpdatePublicDashboardForbidden) IsSuccess

func (o *UpdatePublicDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this update public dashboard forbidden response has a 2xx status code

func (*UpdatePublicDashboardForbidden) String

type UpdatePublicDashboardInternalServerError

type UpdatePublicDashboardInternalServerError struct {
	Payload *models.PublicError
}

UpdatePublicDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerPublicError is a general error indicating something went wrong internally.

func NewUpdatePublicDashboardInternalServerError

func NewUpdatePublicDashboardInternalServerError() *UpdatePublicDashboardInternalServerError

NewUpdatePublicDashboardInternalServerError creates a UpdatePublicDashboardInternalServerError with default headers values

func (*UpdatePublicDashboardInternalServerError) Code

Code gets the status code for the update public dashboard internal server error response

func (*UpdatePublicDashboardInternalServerError) Error

func (*UpdatePublicDashboardInternalServerError) GetPayload

func (*UpdatePublicDashboardInternalServerError) IsClientError

IsClientError returns true when this update public dashboard internal server error response has a 4xx status code

func (*UpdatePublicDashboardInternalServerError) IsCode

IsCode returns true when this update public dashboard internal server error response a status code equal to that given

func (*UpdatePublicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this update public dashboard internal server error response has a 3xx status code

func (*UpdatePublicDashboardInternalServerError) IsServerError

IsServerError returns true when this update public dashboard internal server error response has a 5xx status code

func (*UpdatePublicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this update public dashboard internal server error response has a 2xx status code

func (*UpdatePublicDashboardInternalServerError) String

type UpdatePublicDashboardOK

type UpdatePublicDashboardOK struct {
	Payload *models.PublicDashboard
}

UpdatePublicDashboardOK describes a response with status code 200, with default header values.

(empty)

func NewUpdatePublicDashboardOK

func NewUpdatePublicDashboardOK() *UpdatePublicDashboardOK

NewUpdatePublicDashboardOK creates a UpdatePublicDashboardOK with default headers values

func (*UpdatePublicDashboardOK) Code

func (o *UpdatePublicDashboardOK) Code() int

Code gets the status code for the update public dashboard Ok response

func (*UpdatePublicDashboardOK) Error

func (o *UpdatePublicDashboardOK) Error() string

func (*UpdatePublicDashboardOK) GetPayload

func (*UpdatePublicDashboardOK) IsClientError

func (o *UpdatePublicDashboardOK) IsClientError() bool

IsClientError returns true when this update public dashboard Ok response has a 4xx status code

func (*UpdatePublicDashboardOK) IsCode

func (o *UpdatePublicDashboardOK) IsCode(code int) bool

IsCode returns true when this update public dashboard Ok response a status code equal to that given

func (*UpdatePublicDashboardOK) IsRedirect

func (o *UpdatePublicDashboardOK) IsRedirect() bool

IsRedirect returns true when this update public dashboard Ok response has a 3xx status code

func (*UpdatePublicDashboardOK) IsServerError

func (o *UpdatePublicDashboardOK) IsServerError() bool

IsServerError returns true when this update public dashboard Ok response has a 5xx status code

func (*UpdatePublicDashboardOK) IsSuccess

func (o *UpdatePublicDashboardOK) IsSuccess() bool

IsSuccess returns true when this update public dashboard Ok response has a 2xx status code

func (*UpdatePublicDashboardOK) String

func (o *UpdatePublicDashboardOK) String() string

type UpdatePublicDashboardParams

type UpdatePublicDashboardParams struct {

	// Body.
	Body *models.PublicDashboardDTO

	// DashboardUID.
	DashboardUID string

	// UID.
	UID string

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

UpdatePublicDashboardParams contains all the parameters to send to the API endpoint

for the update public dashboard operation.

Typically these are written to a http.Request.

func NewUpdatePublicDashboardParams

func NewUpdatePublicDashboardParams() *UpdatePublicDashboardParams

NewUpdatePublicDashboardParams creates a new UpdatePublicDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdatePublicDashboardParamsWithContext

func NewUpdatePublicDashboardParamsWithContext(ctx context.Context) *UpdatePublicDashboardParams

NewUpdatePublicDashboardParamsWithContext creates a new UpdatePublicDashboardParams object with the ability to set a context for a request.

func NewUpdatePublicDashboardParamsWithHTTPClient

func NewUpdatePublicDashboardParamsWithHTTPClient(client *http.Client) *UpdatePublicDashboardParams

NewUpdatePublicDashboardParamsWithHTTPClient creates a new UpdatePublicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePublicDashboardParamsWithTimeout

func NewUpdatePublicDashboardParamsWithTimeout(timeout time.Duration) *UpdatePublicDashboardParams

NewUpdatePublicDashboardParamsWithTimeout creates a new UpdatePublicDashboardParams object with the ability to set a timeout on a request.

func (*UpdatePublicDashboardParams) SetBody

SetBody adds the body to the update public dashboard params

func (*UpdatePublicDashboardParams) SetContext

func (o *UpdatePublicDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the update public dashboard params

func (*UpdatePublicDashboardParams) SetDashboardUID

func (o *UpdatePublicDashboardParams) SetDashboardUID(dashboardUID string)

SetDashboardUID adds the dashboardUid to the update public dashboard params

func (*UpdatePublicDashboardParams) SetDefaults

func (o *UpdatePublicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the update public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePublicDashboardParams) SetHTTPClient

func (o *UpdatePublicDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update public dashboard params

func (*UpdatePublicDashboardParams) SetTimeout

func (o *UpdatePublicDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update public dashboard params

func (*UpdatePublicDashboardParams) SetUID

func (o *UpdatePublicDashboardParams) SetUID(uid string)

SetUID adds the uid to the update public dashboard params

func (*UpdatePublicDashboardParams) WithBody

WithBody adds the body to the update public dashboard params

func (*UpdatePublicDashboardParams) WithContext

WithContext adds the context to the update public dashboard params

func (*UpdatePublicDashboardParams) WithDashboardUID

func (o *UpdatePublicDashboardParams) WithDashboardUID(dashboardUID string) *UpdatePublicDashboardParams

WithDashboardUID adds the dashboardUID to the update public dashboard params

func (*UpdatePublicDashboardParams) WithDefaults

WithDefaults hydrates default values in the update public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePublicDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update public dashboard params

func (*UpdatePublicDashboardParams) WithTimeout

WithTimeout adds the timeout to the update public dashboard params

func (*UpdatePublicDashboardParams) WithUID

WithUID adds the uid to the update public dashboard params

func (*UpdatePublicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePublicDashboardReader

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

UpdatePublicDashboardReader is a Reader for the UpdatePublicDashboard structure.

func (*UpdatePublicDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePublicDashboardUnauthorized

type UpdatePublicDashboardUnauthorized struct {
	Payload *models.PublicError
}

UpdatePublicDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorisedPublicError is returned when the request is not authenticated.

func NewUpdatePublicDashboardUnauthorized

func NewUpdatePublicDashboardUnauthorized() *UpdatePublicDashboardUnauthorized

NewUpdatePublicDashboardUnauthorized creates a UpdatePublicDashboardUnauthorized with default headers values

func (*UpdatePublicDashboardUnauthorized) Code

Code gets the status code for the update public dashboard unauthorized response

func (*UpdatePublicDashboardUnauthorized) Error

func (*UpdatePublicDashboardUnauthorized) GetPayload

func (*UpdatePublicDashboardUnauthorized) IsClientError

func (o *UpdatePublicDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this update public dashboard unauthorized response has a 4xx status code

func (*UpdatePublicDashboardUnauthorized) IsCode

func (o *UpdatePublicDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this update public dashboard unauthorized response a status code equal to that given

func (*UpdatePublicDashboardUnauthorized) IsRedirect

func (o *UpdatePublicDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this update public dashboard unauthorized response has a 3xx status code

func (*UpdatePublicDashboardUnauthorized) IsServerError

func (o *UpdatePublicDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this update public dashboard unauthorized response has a 5xx status code

func (*UpdatePublicDashboardUnauthorized) IsSuccess

func (o *UpdatePublicDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this update public dashboard unauthorized response has a 2xx status code

func (*UpdatePublicDashboardUnauthorized) String

type ViewPublicDashboardBadRequest

type ViewPublicDashboardBadRequest struct {
	Payload *models.PublicError
}

ViewPublicDashboardBadRequest describes a response with status code 400, with default header values.

BadRequestPublicError is returned when the request is invalid and it cannot be processed.

func NewViewPublicDashboardBadRequest

func NewViewPublicDashboardBadRequest() *ViewPublicDashboardBadRequest

NewViewPublicDashboardBadRequest creates a ViewPublicDashboardBadRequest with default headers values

func (*ViewPublicDashboardBadRequest) Code

Code gets the status code for the view public dashboard bad request response

func (*ViewPublicDashboardBadRequest) Error

func (*ViewPublicDashboardBadRequest) GetPayload

func (*ViewPublicDashboardBadRequest) IsClientError

func (o *ViewPublicDashboardBadRequest) IsClientError() bool

IsClientError returns true when this view public dashboard bad request response has a 4xx status code

func (*ViewPublicDashboardBadRequest) IsCode

func (o *ViewPublicDashboardBadRequest) IsCode(code int) bool

IsCode returns true when this view public dashboard bad request response a status code equal to that given

func (*ViewPublicDashboardBadRequest) IsRedirect

func (o *ViewPublicDashboardBadRequest) IsRedirect() bool

IsRedirect returns true when this view public dashboard bad request response has a 3xx status code

func (*ViewPublicDashboardBadRequest) IsServerError

func (o *ViewPublicDashboardBadRequest) IsServerError() bool

IsServerError returns true when this view public dashboard bad request response has a 5xx status code

func (*ViewPublicDashboardBadRequest) IsSuccess

func (o *ViewPublicDashboardBadRequest) IsSuccess() bool

IsSuccess returns true when this view public dashboard bad request response has a 2xx status code

func (*ViewPublicDashboardBadRequest) String

type ViewPublicDashboardForbidden

type ViewPublicDashboardForbidden struct {
	Payload *models.PublicError
}

ViewPublicDashboardForbidden describes a response with status code 403, with default header values.

ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.

func NewViewPublicDashboardForbidden

func NewViewPublicDashboardForbidden() *ViewPublicDashboardForbidden

NewViewPublicDashboardForbidden creates a ViewPublicDashboardForbidden with default headers values

func (*ViewPublicDashboardForbidden) Code

Code gets the status code for the view public dashboard forbidden response

func (*ViewPublicDashboardForbidden) Error

func (*ViewPublicDashboardForbidden) GetPayload

func (*ViewPublicDashboardForbidden) IsClientError

func (o *ViewPublicDashboardForbidden) IsClientError() bool

IsClientError returns true when this view public dashboard forbidden response has a 4xx status code

func (*ViewPublicDashboardForbidden) IsCode

func (o *ViewPublicDashboardForbidden) IsCode(code int) bool

IsCode returns true when this view public dashboard forbidden response a status code equal to that given

func (*ViewPublicDashboardForbidden) IsRedirect

func (o *ViewPublicDashboardForbidden) IsRedirect() bool

IsRedirect returns true when this view public dashboard forbidden response has a 3xx status code

func (*ViewPublicDashboardForbidden) IsServerError

func (o *ViewPublicDashboardForbidden) IsServerError() bool

IsServerError returns true when this view public dashboard forbidden response has a 5xx status code

func (*ViewPublicDashboardForbidden) IsSuccess

func (o *ViewPublicDashboardForbidden) IsSuccess() bool

IsSuccess returns true when this view public dashboard forbidden response has a 2xx status code

func (*ViewPublicDashboardForbidden) String

type ViewPublicDashboardInternalServerError

type ViewPublicDashboardInternalServerError struct {
	Payload *models.PublicError
}

ViewPublicDashboardInternalServerError describes a response with status code 500, with default header values.

InternalServerPublicError is a general error indicating something went wrong internally.

func NewViewPublicDashboardInternalServerError

func NewViewPublicDashboardInternalServerError() *ViewPublicDashboardInternalServerError

NewViewPublicDashboardInternalServerError creates a ViewPublicDashboardInternalServerError with default headers values

func (*ViewPublicDashboardInternalServerError) Code

Code gets the status code for the view public dashboard internal server error response

func (*ViewPublicDashboardInternalServerError) Error

func (*ViewPublicDashboardInternalServerError) GetPayload

func (*ViewPublicDashboardInternalServerError) IsClientError

func (o *ViewPublicDashboardInternalServerError) IsClientError() bool

IsClientError returns true when this view public dashboard internal server error response has a 4xx status code

func (*ViewPublicDashboardInternalServerError) IsCode

IsCode returns true when this view public dashboard internal server error response a status code equal to that given

func (*ViewPublicDashboardInternalServerError) IsRedirect

IsRedirect returns true when this view public dashboard internal server error response has a 3xx status code

func (*ViewPublicDashboardInternalServerError) IsServerError

func (o *ViewPublicDashboardInternalServerError) IsServerError() bool

IsServerError returns true when this view public dashboard internal server error response has a 5xx status code

func (*ViewPublicDashboardInternalServerError) IsSuccess

IsSuccess returns true when this view public dashboard internal server error response has a 2xx status code

func (*ViewPublicDashboardInternalServerError) String

type ViewPublicDashboardNotFound

type ViewPublicDashboardNotFound struct {
	Payload *models.PublicError
}

ViewPublicDashboardNotFound describes a response with status code 404, with default header values.

NotFoundPublicError is returned when the requested resource was not found.

func NewViewPublicDashboardNotFound

func NewViewPublicDashboardNotFound() *ViewPublicDashboardNotFound

NewViewPublicDashboardNotFound creates a ViewPublicDashboardNotFound with default headers values

func (*ViewPublicDashboardNotFound) Code

func (o *ViewPublicDashboardNotFound) Code() int

Code gets the status code for the view public dashboard not found response

func (*ViewPublicDashboardNotFound) Error

func (*ViewPublicDashboardNotFound) GetPayload

func (*ViewPublicDashboardNotFound) IsClientError

func (o *ViewPublicDashboardNotFound) IsClientError() bool

IsClientError returns true when this view public dashboard not found response has a 4xx status code

func (*ViewPublicDashboardNotFound) IsCode

func (o *ViewPublicDashboardNotFound) IsCode(code int) bool

IsCode returns true when this view public dashboard not found response a status code equal to that given

func (*ViewPublicDashboardNotFound) IsRedirect

func (o *ViewPublicDashboardNotFound) IsRedirect() bool

IsRedirect returns true when this view public dashboard not found response has a 3xx status code

func (*ViewPublicDashboardNotFound) IsServerError

func (o *ViewPublicDashboardNotFound) IsServerError() bool

IsServerError returns true when this view public dashboard not found response has a 5xx status code

func (*ViewPublicDashboardNotFound) IsSuccess

func (o *ViewPublicDashboardNotFound) IsSuccess() bool

IsSuccess returns true when this view public dashboard not found response has a 2xx status code

func (*ViewPublicDashboardNotFound) String

func (o *ViewPublicDashboardNotFound) String() string

type ViewPublicDashboardOK

type ViewPublicDashboardOK struct {
	Payload *models.DashboardFullWithMeta
}

ViewPublicDashboardOK describes a response with status code 200, with default header values.

(empty)

func NewViewPublicDashboardOK

func NewViewPublicDashboardOK() *ViewPublicDashboardOK

NewViewPublicDashboardOK creates a ViewPublicDashboardOK with default headers values

func (*ViewPublicDashboardOK) Code

func (o *ViewPublicDashboardOK) Code() int

Code gets the status code for the view public dashboard Ok response

func (*ViewPublicDashboardOK) Error

func (o *ViewPublicDashboardOK) Error() string

func (*ViewPublicDashboardOK) GetPayload

func (*ViewPublicDashboardOK) IsClientError

func (o *ViewPublicDashboardOK) IsClientError() bool

IsClientError returns true when this view public dashboard Ok response has a 4xx status code

func (*ViewPublicDashboardOK) IsCode

func (o *ViewPublicDashboardOK) IsCode(code int) bool

IsCode returns true when this view public dashboard Ok response a status code equal to that given

func (*ViewPublicDashboardOK) IsRedirect

func (o *ViewPublicDashboardOK) IsRedirect() bool

IsRedirect returns true when this view public dashboard Ok response has a 3xx status code

func (*ViewPublicDashboardOK) IsServerError

func (o *ViewPublicDashboardOK) IsServerError() bool

IsServerError returns true when this view public dashboard Ok response has a 5xx status code

func (*ViewPublicDashboardOK) IsSuccess

func (o *ViewPublicDashboardOK) IsSuccess() bool

IsSuccess returns true when this view public dashboard Ok response has a 2xx status code

func (*ViewPublicDashboardOK) String

func (o *ViewPublicDashboardOK) String() string

type ViewPublicDashboardParams

type ViewPublicDashboardParams struct {

	// AccessToken.
	AccessToken string

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

ViewPublicDashboardParams contains all the parameters to send to the API endpoint

for the view public dashboard operation.

Typically these are written to a http.Request.

func NewViewPublicDashboardParams

func NewViewPublicDashboardParams() *ViewPublicDashboardParams

NewViewPublicDashboardParams creates a new ViewPublicDashboardParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewViewPublicDashboardParamsWithContext

func NewViewPublicDashboardParamsWithContext(ctx context.Context) *ViewPublicDashboardParams

NewViewPublicDashboardParamsWithContext creates a new ViewPublicDashboardParams object with the ability to set a context for a request.

func NewViewPublicDashboardParamsWithHTTPClient

func NewViewPublicDashboardParamsWithHTTPClient(client *http.Client) *ViewPublicDashboardParams

NewViewPublicDashboardParamsWithHTTPClient creates a new ViewPublicDashboardParams object with the ability to set a custom HTTPClient for a request.

func NewViewPublicDashboardParamsWithTimeout

func NewViewPublicDashboardParamsWithTimeout(timeout time.Duration) *ViewPublicDashboardParams

NewViewPublicDashboardParamsWithTimeout creates a new ViewPublicDashboardParams object with the ability to set a timeout on a request.

func (*ViewPublicDashboardParams) SetAccessToken

func (o *ViewPublicDashboardParams) SetAccessToken(accessToken string)

SetAccessToken adds the accessToken to the view public dashboard params

func (*ViewPublicDashboardParams) SetContext

func (o *ViewPublicDashboardParams) SetContext(ctx context.Context)

SetContext adds the context to the view public dashboard params

func (*ViewPublicDashboardParams) SetDefaults

func (o *ViewPublicDashboardParams) SetDefaults()

SetDefaults hydrates default values in the view public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ViewPublicDashboardParams) SetHTTPClient

func (o *ViewPublicDashboardParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the view public dashboard params

func (*ViewPublicDashboardParams) SetTimeout

func (o *ViewPublicDashboardParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the view public dashboard params

func (*ViewPublicDashboardParams) WithAccessToken

func (o *ViewPublicDashboardParams) WithAccessToken(accessToken string) *ViewPublicDashboardParams

WithAccessToken adds the accessToken to the view public dashboard params

func (*ViewPublicDashboardParams) WithContext

WithContext adds the context to the view public dashboard params

func (*ViewPublicDashboardParams) WithDefaults

WithDefaults hydrates default values in the view public dashboard params (not the query body).

All values with no default are reset to their zero value.

func (*ViewPublicDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the view public dashboard params

func (*ViewPublicDashboardParams) WithTimeout

WithTimeout adds the timeout to the view public dashboard params

func (*ViewPublicDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ViewPublicDashboardReader

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

ViewPublicDashboardReader is a Reader for the ViewPublicDashboard structure.

func (*ViewPublicDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ViewPublicDashboardUnauthorized

type ViewPublicDashboardUnauthorized struct {
	Payload *models.PublicError
}

ViewPublicDashboardUnauthorized describes a response with status code 401, with default header values.

UnauthorisedPublicError is returned when the request is not authenticated.

func NewViewPublicDashboardUnauthorized

func NewViewPublicDashboardUnauthorized() *ViewPublicDashboardUnauthorized

NewViewPublicDashboardUnauthorized creates a ViewPublicDashboardUnauthorized with default headers values

func (*ViewPublicDashboardUnauthorized) Code

Code gets the status code for the view public dashboard unauthorized response

func (*ViewPublicDashboardUnauthorized) Error

func (*ViewPublicDashboardUnauthorized) GetPayload

func (*ViewPublicDashboardUnauthorized) IsClientError

func (o *ViewPublicDashboardUnauthorized) IsClientError() bool

IsClientError returns true when this view public dashboard unauthorized response has a 4xx status code

func (*ViewPublicDashboardUnauthorized) IsCode

func (o *ViewPublicDashboardUnauthorized) IsCode(code int) bool

IsCode returns true when this view public dashboard unauthorized response a status code equal to that given

func (*ViewPublicDashboardUnauthorized) IsRedirect

func (o *ViewPublicDashboardUnauthorized) IsRedirect() bool

IsRedirect returns true when this view public dashboard unauthorized response has a 3xx status code

func (*ViewPublicDashboardUnauthorized) IsServerError

func (o *ViewPublicDashboardUnauthorized) IsServerError() bool

IsServerError returns true when this view public dashboard unauthorized response has a 5xx status code

func (*ViewPublicDashboardUnauthorized) IsSuccess

func (o *ViewPublicDashboardUnauthorized) IsSuccess() bool

IsSuccess returns true when this view public dashboard unauthorized response has a 2xx status code

func (*ViewPublicDashboardUnauthorized) String

Jump to

Keyboard shortcuts

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