dashboards

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 10 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 dashboards API

func (*Client) CreateDashboard

func (a *Client) CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDashboardCreated, error)

CreateDashboard creates a dashboard pipe maturity e a r l y a d o p t e r

The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.

func (*Client) DeleteDashboard

func (a *Client) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDashboardNoContent, error)

DeleteDashboard deletes the specified dashboard pipe maturity e a r l y a d o p t e r

func (*Client) GetDashboard

func (a *Client) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*GetDashboardOK, error)

GetDashboard gets the properties of the specified dashboard pipe maturity e a r l y a d o p t e r

func (*Client) GetDashboards

func (a *Client) GetDashboards(params *GetDashboardsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDashboardsOK, error)

GetDashboards lists all dashboards of the environment pipe maturity e a r l y a d o p t e r

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDashboard

UpdateDashboard updates or creates a dashboard pipe maturity e a r l y a d o p t e r

func (*Client) ValidateCreateDashboard

ValidateCreateDashboard validates the payload for the p o s t dashboards request pipe maturity e a r l y a d o p t e r

The body must not provide an ID.

func (*Client) ValidateUpdateDashboard

ValidateUpdateDashboard validates the payload for the p u t dashboards id request pipe maturity e a r l y a d o p t e r

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new dashboards API client.

type CreateDashboardBadRequest

type CreateDashboardBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

CreateDashboardBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewCreateDashboardBadRequest

func NewCreateDashboardBadRequest() *CreateDashboardBadRequest

NewCreateDashboardBadRequest creates a CreateDashboardBadRequest with default headers values

func (*CreateDashboardBadRequest) Error

func (o *CreateDashboardBadRequest) Error() string

func (*CreateDashboardBadRequest) GetPayload

type CreateDashboardCreated

type CreateDashboardCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

CreateDashboardCreated handles this case with default header values.

Success. The new dashboard has been created. The response body contains the generated ID.

func NewCreateDashboardCreated

func NewCreateDashboardCreated() *CreateDashboardCreated

NewCreateDashboardCreated creates a CreateDashboardCreated with default headers values

func (*CreateDashboardCreated) Error

func (o *CreateDashboardCreated) Error() string

func (*CreateDashboardCreated) GetPayload

type CreateDashboardParams

type CreateDashboardParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the new dashboard.

	*/
	Body *dynatrace.Dashboard

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

CreateDashboardParams contains all the parameters to send to the API endpoint for the create dashboard operation typically these are written to a http.Request

func NewCreateDashboardParams

func NewCreateDashboardParams() *CreateDashboardParams

NewCreateDashboardParams creates a new CreateDashboardParams object with the default values initialized.

func NewCreateDashboardParamsWithContext

func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams

NewCreateDashboardParamsWithContext creates a new CreateDashboardParams object with the default values initialized, and the ability to set a context for a request

func NewCreateDashboardParamsWithHTTPClient

func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams

NewCreateDashboardParamsWithHTTPClient creates a new CreateDashboardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateDashboardParamsWithTimeout

func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams

NewCreateDashboardParamsWithTimeout creates a new CreateDashboardParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateDashboardParams) SetBody

func (o *CreateDashboardParams) SetBody(body *dynatrace.Dashboard)

SetBody adds the body to the create dashboard params

func (*CreateDashboardParams) SetContext

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

SetContext adds the context to the create dashboard params

func (*CreateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create dashboard params

func (*CreateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the create dashboard params

func (*CreateDashboardParams) WithBody

WithBody adds the body to the create dashboard params

func (*CreateDashboardParams) WithContext

WithContext adds the context to the create dashboard params

func (*CreateDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create dashboard params

func (*CreateDashboardParams) WithTimeout

func (o *CreateDashboardParams) WithTimeout(timeout time.Duration) *CreateDashboardParams

WithTimeout adds the timeout to the create dashboard params

func (*CreateDashboardParams) WriteToRequest

func (o *CreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateDashboardReader

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

CreateDashboardReader is a Reader for the CreateDashboard structure.

func (*CreateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDashboardNoContent

type DeleteDashboardNoContent struct {
}

DeleteDashboardNoContent handles this case with default header values.

Success. The dashboard has been deleted. Response doesn't have a body.

func NewDeleteDashboardNoContent

func NewDeleteDashboardNoContent() *DeleteDashboardNoContent

NewDeleteDashboardNoContent creates a DeleteDashboardNoContent with default headers values

func (*DeleteDashboardNoContent) Error

func (o *DeleteDashboardNoContent) Error() string

type DeleteDashboardParams

type DeleteDashboardParams struct {

	/*ID
	  The ID of the dashboard to be deleted.

	*/
	ID string

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

DeleteDashboardParams contains all the parameters to send to the API endpoint for the delete dashboard operation typically these are written to a http.Request

func NewDeleteDashboardParams

func NewDeleteDashboardParams() *DeleteDashboardParams

NewDeleteDashboardParams creates a new DeleteDashboardParams object with the default values initialized.

func NewDeleteDashboardParamsWithContext

func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams

NewDeleteDashboardParamsWithContext creates a new DeleteDashboardParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDashboardParamsWithHTTPClient

func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams

NewDeleteDashboardParamsWithHTTPClient creates a new DeleteDashboardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDashboardParamsWithTimeout

func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams

NewDeleteDashboardParamsWithTimeout creates a new DeleteDashboardParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDashboardParams) SetContext

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

SetContext adds the context to the delete dashboard params

func (*DeleteDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete dashboard params

func (*DeleteDashboardParams) SetID

func (o *DeleteDashboardParams) SetID(id string)

SetID adds the id to the delete dashboard params

func (*DeleteDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the delete dashboard params

func (*DeleteDashboardParams) WithContext

WithContext adds the context to the delete dashboard params

func (*DeleteDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete dashboard params

func (*DeleteDashboardParams) WithID

WithID adds the id to the delete dashboard params

func (*DeleteDashboardParams) WithTimeout

func (o *DeleteDashboardParams) WithTimeout(timeout time.Duration) *DeleteDashboardParams

WithTimeout adds the timeout to the delete dashboard params

func (*DeleteDashboardParams) WriteToRequest

func (o *DeleteDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteDashboardReader

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

DeleteDashboardReader is a Reader for the DeleteDashboard structure.

func (*DeleteDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDashboardOK

type GetDashboardOK struct {
	Payload *dynatrace.Dashboard
}

GetDashboardOK handles this case with default header values.

Success. The response body contains parameters of the dashboard.

func NewGetDashboardOK

func NewGetDashboardOK() *GetDashboardOK

NewGetDashboardOK creates a GetDashboardOK with default headers values

func (*GetDashboardOK) Error

func (o *GetDashboardOK) Error() string

func (*GetDashboardOK) GetPayload

func (o *GetDashboardOK) GetPayload() *dynatrace.Dashboard

type GetDashboardParams

type GetDashboardParams struct {

	/*ID
	  The ID of the required dashboard.

	*/
	ID string

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

GetDashboardParams contains all the parameters to send to the API endpoint for the get dashboard operation typically these are written to a http.Request

func NewGetDashboardParams

func NewGetDashboardParams() *GetDashboardParams

NewGetDashboardParams creates a new GetDashboardParams object with the default values initialized.

func NewGetDashboardParamsWithContext

func NewGetDashboardParamsWithContext(ctx context.Context) *GetDashboardParams

NewGetDashboardParamsWithContext creates a new GetDashboardParams object with the default values initialized, and the ability to set a context for a request

func NewGetDashboardParamsWithHTTPClient

func NewGetDashboardParamsWithHTTPClient(client *http.Client) *GetDashboardParams

NewGetDashboardParamsWithHTTPClient creates a new GetDashboardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDashboardParamsWithTimeout

func NewGetDashboardParamsWithTimeout(timeout time.Duration) *GetDashboardParams

NewGetDashboardParamsWithTimeout creates a new GetDashboardParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDashboardParams) SetContext

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

SetContext adds the context to the get dashboard params

func (*GetDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dashboard params

func (*GetDashboardParams) SetID

func (o *GetDashboardParams) SetID(id string)

SetID adds the id to the get dashboard params

func (*GetDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the get dashboard params

func (*GetDashboardParams) WithContext

WithContext adds the context to the get dashboard params

func (*GetDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get dashboard params

func (*GetDashboardParams) WithID

WithID adds the id to the get dashboard params

func (*GetDashboardParams) WithTimeout

func (o *GetDashboardParams) WithTimeout(timeout time.Duration) *GetDashboardParams

WithTimeout adds the timeout to the get dashboard params

func (*GetDashboardParams) WriteToRequest

func (o *GetDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDashboardReader

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

GetDashboardReader is a Reader for the GetDashboard structure.

func (*GetDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDashboardsOK

type GetDashboardsOK struct {
	Payload *dynatrace.DashboardList
}

GetDashboardsOK handles this case with default header values.

successful operation

func NewGetDashboardsOK

func NewGetDashboardsOK() *GetDashboardsOK

NewGetDashboardsOK creates a GetDashboardsOK with default headers values

func (*GetDashboardsOK) Error

func (o *GetDashboardsOK) Error() string

func (*GetDashboardsOK) GetPayload

func (o *GetDashboardsOK) GetPayload() *dynatrace.DashboardList

type GetDashboardsParams

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

GetDashboardsParams contains all the parameters to send to the API endpoint for the get dashboards operation typically these are written to a http.Request

func NewGetDashboardsParams

func NewGetDashboardsParams() *GetDashboardsParams

NewGetDashboardsParams creates a new GetDashboardsParams object with the default values initialized.

func NewGetDashboardsParamsWithContext

func NewGetDashboardsParamsWithContext(ctx context.Context) *GetDashboardsParams

NewGetDashboardsParamsWithContext creates a new GetDashboardsParams object with the default values initialized, and the ability to set a context for a request

func NewGetDashboardsParamsWithHTTPClient

func NewGetDashboardsParamsWithHTTPClient(client *http.Client) *GetDashboardsParams

NewGetDashboardsParamsWithHTTPClient creates a new GetDashboardsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDashboardsParamsWithTimeout

func NewGetDashboardsParamsWithTimeout(timeout time.Duration) *GetDashboardsParams

NewGetDashboardsParamsWithTimeout creates a new GetDashboardsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDashboardsParams) SetContext

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

SetContext adds the context to the get dashboards params

func (*GetDashboardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dashboards params

func (*GetDashboardsParams) SetTimeout

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

SetTimeout adds the timeout to the get dashboards params

func (*GetDashboardsParams) WithContext

WithContext adds the context to the get dashboards params

func (*GetDashboardsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get dashboards params

func (*GetDashboardsParams) WithTimeout

func (o *GetDashboardsParams) WithTimeout(timeout time.Duration) *GetDashboardsParams

WithTimeout adds the timeout to the get dashboards params

func (*GetDashboardsParams) WriteToRequest

func (o *GetDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDashboardsReader

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

GetDashboardsReader is a Reader for the GetDashboards structure.

func (*GetDashboardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDashboardBadRequest

type UpdateDashboardBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateDashboardBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateDashboardBadRequest

func NewUpdateDashboardBadRequest() *UpdateDashboardBadRequest

NewUpdateDashboardBadRequest creates a UpdateDashboardBadRequest with default headers values

func (*UpdateDashboardBadRequest) Error

func (o *UpdateDashboardBadRequest) Error() string

func (*UpdateDashboardBadRequest) GetPayload

type UpdateDashboardCreated

type UpdateDashboardCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

UpdateDashboardCreated handles this case with default header values.

Success. The new dashboard has been created. Response doesn't have a body.

func NewUpdateDashboardCreated

func NewUpdateDashboardCreated() *UpdateDashboardCreated

NewUpdateDashboardCreated creates a UpdateDashboardCreated with default headers values

func (*UpdateDashboardCreated) Error

func (o *UpdateDashboardCreated) Error() string

func (*UpdateDashboardCreated) GetPayload

type UpdateDashboardNoContent

type UpdateDashboardNoContent struct {
}

UpdateDashboardNoContent handles this case with default header values.

Success. The dashboard has been updated. Response doesn't have a body

func NewUpdateDashboardNoContent

func NewUpdateDashboardNoContent() *UpdateDashboardNoContent

NewUpdateDashboardNoContent creates a UpdateDashboardNoContent with default headers values

func (*UpdateDashboardNoContent) Error

func (o *UpdateDashboardNoContent) Error() string

type UpdateDashboardParams

type UpdateDashboardParams struct {

	/*Body
	  The JSON body of the request. Contains updated parameters of the dashboard.

	*/
	Body *dynatrace.Dashboard
	/*ID
	 The ID of the dashboard to be updated.

	The ID in the request body provides must match this ID.

	*/
	ID string

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

UpdateDashboardParams contains all the parameters to send to the API endpoint for the update dashboard operation typically these are written to a http.Request

func NewUpdateDashboardParams

func NewUpdateDashboardParams() *UpdateDashboardParams

NewUpdateDashboardParams creates a new UpdateDashboardParams object with the default values initialized.

func NewUpdateDashboardParamsWithContext

func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams

NewUpdateDashboardParamsWithContext creates a new UpdateDashboardParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateDashboardParamsWithHTTPClient

func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams

NewUpdateDashboardParamsWithHTTPClient creates a new UpdateDashboardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateDashboardParamsWithTimeout

func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams

NewUpdateDashboardParamsWithTimeout creates a new UpdateDashboardParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateDashboardParams) SetBody

func (o *UpdateDashboardParams) SetBody(body *dynatrace.Dashboard)

SetBody adds the body to the update dashboard params

func (*UpdateDashboardParams) SetContext

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

SetContext adds the context to the update dashboard params

func (*UpdateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update dashboard params

func (*UpdateDashboardParams) SetID

func (o *UpdateDashboardParams) SetID(id string)

SetID adds the id to the update dashboard params

func (*UpdateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the update dashboard params

func (*UpdateDashboardParams) WithBody

WithBody adds the body to the update dashboard params

func (*UpdateDashboardParams) WithContext

WithContext adds the context to the update dashboard params

func (*UpdateDashboardParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update dashboard params

func (*UpdateDashboardParams) WithID

WithID adds the id to the update dashboard params

func (*UpdateDashboardParams) WithTimeout

func (o *UpdateDashboardParams) WithTimeout(timeout time.Duration) *UpdateDashboardParams

WithTimeout adds the timeout to the update dashboard params

func (*UpdateDashboardParams) WriteToRequest

func (o *UpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateDashboardReader

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

UpdateDashboardReader is a Reader for the UpdateDashboard structure.

func (*UpdateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateCreateDashboardBadRequest

type ValidateCreateDashboardBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateCreateDashboardBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateCreateDashboardBadRequest

func NewValidateCreateDashboardBadRequest() *ValidateCreateDashboardBadRequest

NewValidateCreateDashboardBadRequest creates a ValidateCreateDashboardBadRequest with default headers values

func (*ValidateCreateDashboardBadRequest) Error

func (*ValidateCreateDashboardBadRequest) GetPayload

type ValidateCreateDashboardNoContent

type ValidateCreateDashboardNoContent struct {
}

ValidateCreateDashboardNoContent handles this case with default header values.

Validated. The submitted dashboard is valid. The response doesn't have a body.

func NewValidateCreateDashboardNoContent

func NewValidateCreateDashboardNoContent() *ValidateCreateDashboardNoContent

NewValidateCreateDashboardNoContent creates a ValidateCreateDashboardNoContent with default headers values

func (*ValidateCreateDashboardNoContent) Error

type ValidateCreateDashboardParams

type ValidateCreateDashboardParams struct {

	/*Body
	  The JSON body of the request. Containing the dashboard to be validated.

	*/
	Body *dynatrace.Dashboard

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

ValidateCreateDashboardParams contains all the parameters to send to the API endpoint for the validate create dashboard operation typically these are written to a http.Request

func NewValidateCreateDashboardParams

func NewValidateCreateDashboardParams() *ValidateCreateDashboardParams

NewValidateCreateDashboardParams creates a new ValidateCreateDashboardParams object with the default values initialized.

func NewValidateCreateDashboardParamsWithContext

func NewValidateCreateDashboardParamsWithContext(ctx context.Context) *ValidateCreateDashboardParams

NewValidateCreateDashboardParamsWithContext creates a new ValidateCreateDashboardParams object with the default values initialized, and the ability to set a context for a request

func NewValidateCreateDashboardParamsWithHTTPClient

func NewValidateCreateDashboardParamsWithHTTPClient(client *http.Client) *ValidateCreateDashboardParams

NewValidateCreateDashboardParamsWithHTTPClient creates a new ValidateCreateDashboardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewValidateCreateDashboardParamsWithTimeout

func NewValidateCreateDashboardParamsWithTimeout(timeout time.Duration) *ValidateCreateDashboardParams

NewValidateCreateDashboardParamsWithTimeout creates a new ValidateCreateDashboardParams object with the default values initialized, and the ability to set a timeout on a request

func (*ValidateCreateDashboardParams) SetBody

SetBody adds the body to the validate create dashboard params

func (*ValidateCreateDashboardParams) SetContext

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

SetContext adds the context to the validate create dashboard params

func (*ValidateCreateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate create dashboard params

func (*ValidateCreateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the validate create dashboard params

func (*ValidateCreateDashboardParams) WithBody

WithBody adds the body to the validate create dashboard params

func (*ValidateCreateDashboardParams) WithContext

WithContext adds the context to the validate create dashboard params

func (*ValidateCreateDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create dashboard params

func (*ValidateCreateDashboardParams) WithTimeout

WithTimeout adds the timeout to the validate create dashboard params

func (*ValidateCreateDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateCreateDashboardReader

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

ValidateCreateDashboardReader is a Reader for the ValidateCreateDashboard structure.

func (*ValidateCreateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateDashboardBadRequest

type ValidateUpdateDashboardBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateDashboardBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateDashboardBadRequest

func NewValidateUpdateDashboardBadRequest() *ValidateUpdateDashboardBadRequest

NewValidateUpdateDashboardBadRequest creates a ValidateUpdateDashboardBadRequest with default headers values

func (*ValidateUpdateDashboardBadRequest) Error

func (*ValidateUpdateDashboardBadRequest) GetPayload

type ValidateUpdateDashboardNoContent

type ValidateUpdateDashboardNoContent struct {
}

ValidateUpdateDashboardNoContent handles this case with default header values.

Validated. The submitted dashboard is valid. Response doesn't have a body

func NewValidateUpdateDashboardNoContent

func NewValidateUpdateDashboardNoContent() *ValidateUpdateDashboardNoContent

NewValidateUpdateDashboardNoContent creates a ValidateUpdateDashboardNoContent with default headers values

func (*ValidateUpdateDashboardNoContent) Error

type ValidateUpdateDashboardParams

type ValidateUpdateDashboardParams struct {

	/*Body
	  The JSON body of the request. Contains the dashboard to be validated.

	*/
	Body *dynatrace.Dashboard
	/*ID
	 The ID of the dashboard to be validated.

	The ID in the request body provides must match this ID.

	*/
	ID string

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

ValidateUpdateDashboardParams contains all the parameters to send to the API endpoint for the validate update dashboard operation typically these are written to a http.Request

func NewValidateUpdateDashboardParams

func NewValidateUpdateDashboardParams() *ValidateUpdateDashboardParams

NewValidateUpdateDashboardParams creates a new ValidateUpdateDashboardParams object with the default values initialized.

func NewValidateUpdateDashboardParamsWithContext

func NewValidateUpdateDashboardParamsWithContext(ctx context.Context) *ValidateUpdateDashboardParams

NewValidateUpdateDashboardParamsWithContext creates a new ValidateUpdateDashboardParams object with the default values initialized, and the ability to set a context for a request

func NewValidateUpdateDashboardParamsWithHTTPClient

func NewValidateUpdateDashboardParamsWithHTTPClient(client *http.Client) *ValidateUpdateDashboardParams

NewValidateUpdateDashboardParamsWithHTTPClient creates a new ValidateUpdateDashboardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewValidateUpdateDashboardParamsWithTimeout

func NewValidateUpdateDashboardParamsWithTimeout(timeout time.Duration) *ValidateUpdateDashboardParams

NewValidateUpdateDashboardParamsWithTimeout creates a new ValidateUpdateDashboardParams object with the default values initialized, and the ability to set a timeout on a request

func (*ValidateUpdateDashboardParams) SetBody

SetBody adds the body to the validate update dashboard params

func (*ValidateUpdateDashboardParams) SetContext

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

SetContext adds the context to the validate update dashboard params

func (*ValidateUpdateDashboardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate update dashboard params

func (*ValidateUpdateDashboardParams) SetID

SetID adds the id to the validate update dashboard params

func (*ValidateUpdateDashboardParams) SetTimeout

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

SetTimeout adds the timeout to the validate update dashboard params

func (*ValidateUpdateDashboardParams) WithBody

WithBody adds the body to the validate update dashboard params

func (*ValidateUpdateDashboardParams) WithContext

WithContext adds the context to the validate update dashboard params

func (*ValidateUpdateDashboardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update dashboard params

func (*ValidateUpdateDashboardParams) WithID

WithID adds the id to the validate update dashboard params

func (*ValidateUpdateDashboardParams) WithTimeout

WithTimeout adds the timeout to the validate update dashboard params

func (*ValidateUpdateDashboardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateDashboardReader

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

ValidateUpdateDashboardReader is a Reader for the ValidateUpdateDashboard structure.

func (*ValidateUpdateDashboardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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