Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDashboardCreated, error)
- func (a *Client) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDashboardNoContent, error)
- func (a *Client) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*GetDashboardOK, error)
- func (a *Client) GetDashboards(params *GetDashboardsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDashboardsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDashboardCreated, *UpdateDashboardNoContent, error)
- func (a *Client) ValidateCreateDashboard(params *ValidateCreateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateDashboardNoContent, error)
- func (a *Client) ValidateUpdateDashboard(params *ValidateUpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateDashboardNoContent, error)
- type ClientService
- type CreateDashboardBadRequest
- type CreateDashboardCreated
- type CreateDashboardParams
- func NewCreateDashboardParams() *CreateDashboardParams
- func NewCreateDashboardParamsWithContext(ctx context.Context) *CreateDashboardParams
- func NewCreateDashboardParamsWithHTTPClient(client *http.Client) *CreateDashboardParams
- func NewCreateDashboardParamsWithTimeout(timeout time.Duration) *CreateDashboardParams
- func (o *CreateDashboardParams) SetBody(body *dynatrace.Dashboard)
- func (o *CreateDashboardParams) SetContext(ctx context.Context)
- func (o *CreateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *CreateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *CreateDashboardParams) WithBody(body *dynatrace.Dashboard) *CreateDashboardParams
- func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
- func (o *CreateDashboardParams) WithHTTPClient(client *http.Client) *CreateDashboardParams
- func (o *CreateDashboardParams) WithTimeout(timeout time.Duration) *CreateDashboardParams
- func (o *CreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDashboardReader
- type DeleteDashboardNoContent
- type DeleteDashboardParams
- func NewDeleteDashboardParams() *DeleteDashboardParams
- func NewDeleteDashboardParamsWithContext(ctx context.Context) *DeleteDashboardParams
- func NewDeleteDashboardParamsWithHTTPClient(client *http.Client) *DeleteDashboardParams
- func NewDeleteDashboardParamsWithTimeout(timeout time.Duration) *DeleteDashboardParams
- func (o *DeleteDashboardParams) SetContext(ctx context.Context)
- func (o *DeleteDashboardParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDashboardParams) SetID(id string)
- func (o *DeleteDashboardParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDashboardParams) WithContext(ctx context.Context) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithHTTPClient(client *http.Client) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithID(id string) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WithTimeout(timeout time.Duration) *DeleteDashboardParams
- func (o *DeleteDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDashboardReader
- type GetDashboardOK
- type GetDashboardParams
- func (o *GetDashboardParams) SetContext(ctx context.Context)
- func (o *GetDashboardParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardParams) SetID(id string)
- func (o *GetDashboardParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardParams) WithContext(ctx context.Context) *GetDashboardParams
- func (o *GetDashboardParams) WithHTTPClient(client *http.Client) *GetDashboardParams
- func (o *GetDashboardParams) WithID(id string) *GetDashboardParams
- func (o *GetDashboardParams) WithTimeout(timeout time.Duration) *GetDashboardParams
- func (o *GetDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardReader
- type GetDashboardsOK
- type GetDashboardsParams
- func (o *GetDashboardsParams) SetContext(ctx context.Context)
- func (o *GetDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardsParams) WithContext(ctx context.Context) *GetDashboardsParams
- func (o *GetDashboardsParams) WithHTTPClient(client *http.Client) *GetDashboardsParams
- func (o *GetDashboardsParams) WithTimeout(timeout time.Duration) *GetDashboardsParams
- func (o *GetDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardsReader
- type UpdateDashboardBadRequest
- type UpdateDashboardCreated
- type UpdateDashboardNoContent
- type UpdateDashboardParams
- func NewUpdateDashboardParams() *UpdateDashboardParams
- func NewUpdateDashboardParamsWithContext(ctx context.Context) *UpdateDashboardParams
- func NewUpdateDashboardParamsWithHTTPClient(client *http.Client) *UpdateDashboardParams
- func NewUpdateDashboardParamsWithTimeout(timeout time.Duration) *UpdateDashboardParams
- func (o *UpdateDashboardParams) SetBody(body *dynatrace.Dashboard)
- func (o *UpdateDashboardParams) SetContext(ctx context.Context)
- func (o *UpdateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDashboardParams) SetID(id string)
- func (o *UpdateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDashboardParams) WithBody(body *dynatrace.Dashboard) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithHTTPClient(client *http.Client) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithID(id string) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WithTimeout(timeout time.Duration) *UpdateDashboardParams
- func (o *UpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDashboardReader
- type ValidateCreateDashboardBadRequest
- type ValidateCreateDashboardNoContent
- type ValidateCreateDashboardParams
- func NewValidateCreateDashboardParams() *ValidateCreateDashboardParams
- func NewValidateCreateDashboardParamsWithContext(ctx context.Context) *ValidateCreateDashboardParams
- func NewValidateCreateDashboardParamsWithHTTPClient(client *http.Client) *ValidateCreateDashboardParams
- func NewValidateCreateDashboardParamsWithTimeout(timeout time.Duration) *ValidateCreateDashboardParams
- func (o *ValidateCreateDashboardParams) SetBody(body *dynatrace.Dashboard)
- func (o *ValidateCreateDashboardParams) SetContext(ctx context.Context)
- func (o *ValidateCreateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *ValidateCreateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *ValidateCreateDashboardParams) WithBody(body *dynatrace.Dashboard) *ValidateCreateDashboardParams
- func (o *ValidateCreateDashboardParams) WithContext(ctx context.Context) *ValidateCreateDashboardParams
- func (o *ValidateCreateDashboardParams) WithHTTPClient(client *http.Client) *ValidateCreateDashboardParams
- func (o *ValidateCreateDashboardParams) WithTimeout(timeout time.Duration) *ValidateCreateDashboardParams
- func (o *ValidateCreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateCreateDashboardReader
- type ValidateUpdateDashboardBadRequest
- type ValidateUpdateDashboardNoContent
- type ValidateUpdateDashboardParams
- func NewValidateUpdateDashboardParams() *ValidateUpdateDashboardParams
- func NewValidateUpdateDashboardParamsWithContext(ctx context.Context) *ValidateUpdateDashboardParams
- func NewValidateUpdateDashboardParamsWithHTTPClient(client *http.Client) *ValidateUpdateDashboardParams
- func NewValidateUpdateDashboardParamsWithTimeout(timeout time.Duration) *ValidateUpdateDashboardParams
- func (o *ValidateUpdateDashboardParams) SetBody(body *dynatrace.Dashboard)
- func (o *ValidateUpdateDashboardParams) SetContext(ctx context.Context)
- func (o *ValidateUpdateDashboardParams) SetHTTPClient(client *http.Client)
- func (o *ValidateUpdateDashboardParams) SetID(id string)
- func (o *ValidateUpdateDashboardParams) SetTimeout(timeout time.Duration)
- func (o *ValidateUpdateDashboardParams) WithBody(body *dynatrace.Dashboard) *ValidateUpdateDashboardParams
- func (o *ValidateUpdateDashboardParams) WithContext(ctx context.Context) *ValidateUpdateDashboardParams
- func (o *ValidateUpdateDashboardParams) WithHTTPClient(client *http.Client) *ValidateUpdateDashboardParams
- func (o *ValidateUpdateDashboardParams) WithID(id string) *ValidateUpdateDashboardParams
- func (o *ValidateUpdateDashboardParams) WithTimeout(timeout time.Duration) *ValidateUpdateDashboardParams
- func (o *ValidateUpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateUpdateDashboardReader
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 ¶
func (a *Client) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDashboardCreated, *UpdateDashboardNoContent, error)
UpdateDashboard updates or creates a dashboard pipe maturity e a r l y a d o p t e r
func (*Client) ValidateCreateDashboard ¶
func (a *Client) ValidateCreateDashboard(params *ValidateCreateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateDashboardNoContent, error)
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 ¶
func (a *Client) ValidateUpdateDashboard(params *ValidateUpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateDashboardNoContent, error)
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 ¶
type ClientService interface { CreateDashboard(params *CreateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDashboardCreated, error) DeleteDashboard(params *DeleteDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDashboardNoContent, error) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*GetDashboardOK, error) GetDashboards(params *GetDashboardsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDashboardsOK, error) UpdateDashboard(params *UpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDashboardCreated, *UpdateDashboardNoContent, error) ValidateCreateDashboard(params *ValidateCreateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateDashboardNoContent, error) ValidateUpdateDashboard(params *ValidateUpdateDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateDashboardNoContent, 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 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 ¶
func (o *CreateDashboardBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 ¶
func (o *CreateDashboardCreated) GetPayload() *dynatrace.EntityShortRepresentation
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 ¶
func (o *CreateDashboardParams) WithBody(body *dynatrace.Dashboard) *CreateDashboardParams
WithBody adds the body to the create dashboard params
func (*CreateDashboardParams) WithContext ¶
func (o *CreateDashboardParams) WithContext(ctx context.Context) *CreateDashboardParams
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 ¶
func (o *DeleteDashboardParams) WithContext(ctx context.Context) *DeleteDashboardParams
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 ¶
func (o *DeleteDashboardParams) WithID(id string) *DeleteDashboardParams
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 ¶
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 ¶
func (o *GetDashboardParams) WithContext(ctx context.Context) *GetDashboardParams
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 ¶
func (o *GetDashboardParams) WithID(id string) *GetDashboardParams
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 ¶
func (o *GetDashboardsParams) WithContext(ctx context.Context) *GetDashboardsParams
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 ¶
func (o *UpdateDashboardBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 ¶
func (o *UpdateDashboardCreated) GetPayload() *dynatrace.EntityShortRepresentation
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 ¶
func (o *UpdateDashboardParams) WithBody(body *dynatrace.Dashboard) *UpdateDashboardParams
WithBody adds the body to the update dashboard params
func (*UpdateDashboardParams) WithContext ¶
func (o *UpdateDashboardParams) WithContext(ctx context.Context) *UpdateDashboardParams
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 ¶
func (o *UpdateDashboardParams) WithID(id string) *UpdateDashboardParams
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 (o *ValidateCreateDashboardBadRequest) Error() string
func (*ValidateCreateDashboardBadRequest) GetPayload ¶
func (o *ValidateCreateDashboardBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 ¶
func (o *ValidateCreateDashboardNoContent) Error() string
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 ¶
func (o *ValidateCreateDashboardParams) SetBody(body *dynatrace.Dashboard)
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 ¶
func (o *ValidateCreateDashboardParams) WithBody(body *dynatrace.Dashboard) *ValidateCreateDashboardParams
WithBody adds the body to the validate create dashboard params
func (*ValidateCreateDashboardParams) WithContext ¶
func (o *ValidateCreateDashboardParams) WithContext(ctx context.Context) *ValidateCreateDashboardParams
WithContext adds the context to the validate create dashboard params
func (*ValidateCreateDashboardParams) WithHTTPClient ¶
func (o *ValidateCreateDashboardParams) WithHTTPClient(client *http.Client) *ValidateCreateDashboardParams
WithHTTPClient adds the HTTPClient to the validate create dashboard params
func (*ValidateCreateDashboardParams) WithTimeout ¶
func (o *ValidateCreateDashboardParams) WithTimeout(timeout time.Duration) *ValidateCreateDashboardParams
WithTimeout adds the timeout to the validate create dashboard params
func (*ValidateCreateDashboardParams) WriteToRequest ¶
func (o *ValidateCreateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ValidateUpdateDashboardBadRequest) Error() string
func (*ValidateUpdateDashboardBadRequest) GetPayload ¶
func (o *ValidateUpdateDashboardBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 ¶
func (o *ValidateUpdateDashboardNoContent) Error() string
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 ¶
func (o *ValidateUpdateDashboardParams) SetBody(body *dynatrace.Dashboard)
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 ¶
func (o *ValidateUpdateDashboardParams) SetID(id string)
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 ¶
func (o *ValidateUpdateDashboardParams) WithBody(body *dynatrace.Dashboard) *ValidateUpdateDashboardParams
WithBody adds the body to the validate update dashboard params
func (*ValidateUpdateDashboardParams) WithContext ¶
func (o *ValidateUpdateDashboardParams) WithContext(ctx context.Context) *ValidateUpdateDashboardParams
WithContext adds the context to the validate update dashboard params
func (*ValidateUpdateDashboardParams) WithHTTPClient ¶
func (o *ValidateUpdateDashboardParams) WithHTTPClient(client *http.Client) *ValidateUpdateDashboardParams
WithHTTPClient adds the HTTPClient to the validate update dashboard params
func (*ValidateUpdateDashboardParams) WithID ¶
func (o *ValidateUpdateDashboardParams) WithID(id string) *ValidateUpdateDashboardParams
WithID adds the id to the validate update dashboard params
func (*ValidateUpdateDashboardParams) WithTimeout ¶
func (o *ValidateUpdateDashboardParams) WithTimeout(timeout time.Duration) *ValidateUpdateDashboardParams
WithTimeout adds the timeout to the validate update dashboard params
func (*ValidateUpdateDashboardParams) WriteToRequest ¶
func (o *ValidateUpdateDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- create_dashboard_parameters.go
- create_dashboard_responses.go
- dashboards_client.go
- delete_dashboard_parameters.go
- delete_dashboard_responses.go
- get_dashboard_parameters.go
- get_dashboard_responses.go
- get_dashboards_parameters.go
- get_dashboards_responses.go
- update_dashboard_parameters.go
- update_dashboard_responses.go
- validate_create_dashboard_parameters.go
- validate_create_dashboard_responses.go
- validate_update_dashboard_parameters.go
- validate_update_dashboard_responses.go