Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateReport(params *CreateReportParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReportCreated, error)
- func (a *Client) DeleteReport(params *DeleteReportParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReportNoContent, error)
- func (a *Client) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportOK, error)
- func (a *Client) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SubscribeReport(params *SubscribeReportParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeReportCreated, error)
- func (a *Client) UnsubscribeReport(params *UnsubscribeReportParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeReportCreated, error)
- func (a *Client) UpdateReport(params *UpdateReportParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReportCreated, *UpdateReportNoContent, error)
- func (a *Client) ValidateCreateReport(params *ValidateCreateReportParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateReportNoContent, error)
- func (a *Client) ValidateUpdateReport(params *ValidateUpdateReportParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateReportNoContent, error)
- type ClientService
- type CreateReportBadRequest
- type CreateReportCreated
- type CreateReportParams
- func (o *CreateReportParams) SetBody(body *dynatrace.DashboardReport)
- func (o *CreateReportParams) SetContext(ctx context.Context)
- func (o *CreateReportParams) SetHTTPClient(client *http.Client)
- func (o *CreateReportParams) SetTimeout(timeout time.Duration)
- func (o *CreateReportParams) WithBody(body *dynatrace.DashboardReport) *CreateReportParams
- func (o *CreateReportParams) WithContext(ctx context.Context) *CreateReportParams
- func (o *CreateReportParams) WithHTTPClient(client *http.Client) *CreateReportParams
- func (o *CreateReportParams) WithTimeout(timeout time.Duration) *CreateReportParams
- func (o *CreateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReportReader
- type DeleteReportNoContent
- type DeleteReportParams
- func (o *DeleteReportParams) SetContext(ctx context.Context)
- func (o *DeleteReportParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReportParams) SetID(id string)
- func (o *DeleteReportParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReportParams) WithContext(ctx context.Context) *DeleteReportParams
- func (o *DeleteReportParams) WithHTTPClient(client *http.Client) *DeleteReportParams
- func (o *DeleteReportParams) WithID(id string) *DeleteReportParams
- func (o *DeleteReportParams) WithTimeout(timeout time.Duration) *DeleteReportParams
- func (o *DeleteReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReportReader
- type GetReportOK
- type GetReportParams
- func (o *GetReportParams) SetContext(ctx context.Context)
- func (o *GetReportParams) SetHTTPClient(client *http.Client)
- func (o *GetReportParams) SetID(id string)
- func (o *GetReportParams) SetTimeout(timeout time.Duration)
- func (o *GetReportParams) WithContext(ctx context.Context) *GetReportParams
- func (o *GetReportParams) WithHTTPClient(client *http.Client) *GetReportParams
- func (o *GetReportParams) WithID(id string) *GetReportParams
- func (o *GetReportParams) WithTimeout(timeout time.Duration) *GetReportParams
- func (o *GetReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportReader
- type GetReportsOK
- type GetReportsParams
- func (o *GetReportsParams) SetContext(ctx context.Context)
- func (o *GetReportsParams) SetHTTPClient(client *http.Client)
- func (o *GetReportsParams) SetSourceID(sourceID *string)
- func (o *GetReportsParams) SetTimeout(timeout time.Duration)
- func (o *GetReportsParams) SetType(typeVar *string)
- func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
- func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
- func (o *GetReportsParams) WithSourceID(sourceID *string) *GetReportsParams
- func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
- func (o *GetReportsParams) WithType(typeVar *string) *GetReportsParams
- func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportsReader
- type SubscribeReportBadRequest
- type SubscribeReportCreated
- type SubscribeReportParams
- func NewSubscribeReportParams() *SubscribeReportParams
- func NewSubscribeReportParamsWithContext(ctx context.Context) *SubscribeReportParams
- func NewSubscribeReportParamsWithHTTPClient(client *http.Client) *SubscribeReportParams
- func NewSubscribeReportParamsWithTimeout(timeout time.Duration) *SubscribeReportParams
- func (o *SubscribeReportParams) SetBody(body *dynatrace.ReportSubscriptions)
- func (o *SubscribeReportParams) SetContext(ctx context.Context)
- func (o *SubscribeReportParams) SetHTTPClient(client *http.Client)
- func (o *SubscribeReportParams) SetID(id string)
- func (o *SubscribeReportParams) SetTimeout(timeout time.Duration)
- func (o *SubscribeReportParams) WithBody(body *dynatrace.ReportSubscriptions) *SubscribeReportParams
- func (o *SubscribeReportParams) WithContext(ctx context.Context) *SubscribeReportParams
- func (o *SubscribeReportParams) WithHTTPClient(client *http.Client) *SubscribeReportParams
- func (o *SubscribeReportParams) WithID(id string) *SubscribeReportParams
- func (o *SubscribeReportParams) WithTimeout(timeout time.Duration) *SubscribeReportParams
- func (o *SubscribeReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubscribeReportReader
- type UnsubscribeReportBadRequest
- type UnsubscribeReportCreated
- type UnsubscribeReportParams
- func NewUnsubscribeReportParams() *UnsubscribeReportParams
- func NewUnsubscribeReportParamsWithContext(ctx context.Context) *UnsubscribeReportParams
- func NewUnsubscribeReportParamsWithHTTPClient(client *http.Client) *UnsubscribeReportParams
- func NewUnsubscribeReportParamsWithTimeout(timeout time.Duration) *UnsubscribeReportParams
- func (o *UnsubscribeReportParams) SetBody(body *dynatrace.ReportSubscriptions)
- func (o *UnsubscribeReportParams) SetContext(ctx context.Context)
- func (o *UnsubscribeReportParams) SetHTTPClient(client *http.Client)
- func (o *UnsubscribeReportParams) SetID(id string)
- func (o *UnsubscribeReportParams) SetTimeout(timeout time.Duration)
- func (o *UnsubscribeReportParams) WithBody(body *dynatrace.ReportSubscriptions) *UnsubscribeReportParams
- func (o *UnsubscribeReportParams) WithContext(ctx context.Context) *UnsubscribeReportParams
- func (o *UnsubscribeReportParams) WithHTTPClient(client *http.Client) *UnsubscribeReportParams
- func (o *UnsubscribeReportParams) WithID(id string) *UnsubscribeReportParams
- func (o *UnsubscribeReportParams) WithTimeout(timeout time.Duration) *UnsubscribeReportParams
- func (o *UnsubscribeReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnsubscribeReportReader
- type UpdateReportBadRequest
- type UpdateReportCreated
- type UpdateReportNoContent
- type UpdateReportParams
- func (o *UpdateReportParams) SetBody(body *dynatrace.DashboardReport)
- func (o *UpdateReportParams) SetContext(ctx context.Context)
- func (o *UpdateReportParams) SetHTTPClient(client *http.Client)
- func (o *UpdateReportParams) SetID(id string)
- func (o *UpdateReportParams) SetTimeout(timeout time.Duration)
- func (o *UpdateReportParams) WithBody(body *dynatrace.DashboardReport) *UpdateReportParams
- func (o *UpdateReportParams) WithContext(ctx context.Context) *UpdateReportParams
- func (o *UpdateReportParams) WithHTTPClient(client *http.Client) *UpdateReportParams
- func (o *UpdateReportParams) WithID(id string) *UpdateReportParams
- func (o *UpdateReportParams) WithTimeout(timeout time.Duration) *UpdateReportParams
- func (o *UpdateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReportReader
- type ValidateCreateReportBadRequest
- type ValidateCreateReportNoContent
- type ValidateCreateReportParams
- func NewValidateCreateReportParams() *ValidateCreateReportParams
- func NewValidateCreateReportParamsWithContext(ctx context.Context) *ValidateCreateReportParams
- func NewValidateCreateReportParamsWithHTTPClient(client *http.Client) *ValidateCreateReportParams
- func NewValidateCreateReportParamsWithTimeout(timeout time.Duration) *ValidateCreateReportParams
- func (o *ValidateCreateReportParams) SetBody(body *dynatrace.DashboardReport)
- func (o *ValidateCreateReportParams) SetContext(ctx context.Context)
- func (o *ValidateCreateReportParams) SetHTTPClient(client *http.Client)
- func (o *ValidateCreateReportParams) SetTimeout(timeout time.Duration)
- func (o *ValidateCreateReportParams) WithBody(body *dynatrace.DashboardReport) *ValidateCreateReportParams
- func (o *ValidateCreateReportParams) WithContext(ctx context.Context) *ValidateCreateReportParams
- func (o *ValidateCreateReportParams) WithHTTPClient(client *http.Client) *ValidateCreateReportParams
- func (o *ValidateCreateReportParams) WithTimeout(timeout time.Duration) *ValidateCreateReportParams
- func (o *ValidateCreateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateCreateReportReader
- type ValidateUpdateReportBadRequest
- type ValidateUpdateReportNoContent
- type ValidateUpdateReportParams
- func NewValidateUpdateReportParams() *ValidateUpdateReportParams
- func NewValidateUpdateReportParamsWithContext(ctx context.Context) *ValidateUpdateReportParams
- func NewValidateUpdateReportParamsWithHTTPClient(client *http.Client) *ValidateUpdateReportParams
- func NewValidateUpdateReportParamsWithTimeout(timeout time.Duration) *ValidateUpdateReportParams
- func (o *ValidateUpdateReportParams) SetBody(body *dynatrace.DashboardReport)
- func (o *ValidateUpdateReportParams) SetContext(ctx context.Context)
- func (o *ValidateUpdateReportParams) SetHTTPClient(client *http.Client)
- func (o *ValidateUpdateReportParams) SetID(id string)
- func (o *ValidateUpdateReportParams) SetTimeout(timeout time.Duration)
- func (o *ValidateUpdateReportParams) WithBody(body *dynatrace.DashboardReport) *ValidateUpdateReportParams
- func (o *ValidateUpdateReportParams) WithContext(ctx context.Context) *ValidateUpdateReportParams
- func (o *ValidateUpdateReportParams) WithHTTPClient(client *http.Client) *ValidateUpdateReportParams
- func (o *ValidateUpdateReportParams) WithID(id string) *ValidateUpdateReportParams
- func (o *ValidateUpdateReportParams) WithTimeout(timeout time.Duration) *ValidateUpdateReportParams
- func (o *ValidateUpdateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateUpdateReportReader
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 reports API
func (*Client) CreateReport ¶
func (a *Client) CreateReport(params *CreateReportParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReportCreated, error)
CreateReport creates a report 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) DeleteReport ¶
func (a *Client) DeleteReport(params *DeleteReportParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReportNoContent, error)
DeleteReport deletes the specified report pipe maturity e a r l y a d o p t e r
func (*Client) GetReport ¶
func (a *Client) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportOK, error)
GetReport gets the properties of the specified report pipe maturity e a r l y a d o p t e r
func (*Client) GetReports ¶
func (a *Client) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsOK, error)
GetReports lists all reports available in your 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) SubscribeReport ¶
func (a *Client) SubscribeReport(params *SubscribeReportParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeReportCreated, error)
SubscribeReport subscribes to the specified report pipe maturity e a r l y a d o p t e r
func (*Client) UnsubscribeReport ¶
func (a *Client) UnsubscribeReport(params *UnsubscribeReportParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeReportCreated, error)
UnsubscribeReport unsubscribes from the specified report pipe maturity e a r l y a d o p t e r
func (*Client) UpdateReport ¶
func (a *Client) UpdateReport(params *UpdateReportParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReportCreated, *UpdateReportNoContent, error)
UpdateReport updates an existing report pipe maturity e a r l y a d o p t e r
If a report with the specified ID doesn't exist, a new report is created.
func (*Client) ValidateCreateReport ¶
func (a *Client) ValidateCreateReport(params *ValidateCreateReportParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateReportNoContent, error)
ValidateCreateReport validates the payload for the p o s t reports request pipe maturity e a r l y a d o p t e r
The body must not provide an ID.
func (*Client) ValidateUpdateReport ¶
func (a *Client) ValidateUpdateReport(params *ValidateUpdateReportParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateReportNoContent, error)
ValidateUpdateReport validates the payload for the p u t reports id request pipe maturity e a r l y a d o p t e r
type ClientService ¶
type ClientService interface { CreateReport(params *CreateReportParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReportCreated, error) DeleteReport(params *DeleteReportParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteReportNoContent, error) GetReport(params *GetReportParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportOK, error) GetReports(params *GetReportsParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportsOK, error) SubscribeReport(params *SubscribeReportParams, authInfo runtime.ClientAuthInfoWriter) (*SubscribeReportCreated, error) UnsubscribeReport(params *UnsubscribeReportParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeReportCreated, error) UpdateReport(params *UpdateReportParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateReportCreated, *UpdateReportNoContent, error) ValidateCreateReport(params *ValidateCreateReportParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateReportNoContent, error) ValidateUpdateReport(params *ValidateUpdateReportParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateReportNoContent, 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 reports API client.
type CreateReportBadRequest ¶
type CreateReportBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
CreateReportBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewCreateReportBadRequest ¶
func NewCreateReportBadRequest() *CreateReportBadRequest
NewCreateReportBadRequest creates a CreateReportBadRequest with default headers values
func (*CreateReportBadRequest) Error ¶
func (o *CreateReportBadRequest) Error() string
func (*CreateReportBadRequest) GetPayload ¶
func (o *CreateReportBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type CreateReportCreated ¶
type CreateReportCreated struct {
Payload *dynatrace.EntityShortRepresentation
}
CreateReportCreated handles this case with default header values.
Success. The new report has been created. The response contains the ID of the new report.
func NewCreateReportCreated ¶
func NewCreateReportCreated() *CreateReportCreated
NewCreateReportCreated creates a CreateReportCreated with default headers values
func (*CreateReportCreated) Error ¶
func (o *CreateReportCreated) Error() string
func (*CreateReportCreated) GetPayload ¶
func (o *CreateReportCreated) GetPayload() *dynatrace.EntityShortRepresentation
type CreateReportParams ¶
type CreateReportParams struct { /*Body The JSON body of the request. Contains parameters of the new report. */ Body *dynatrace.DashboardReport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateReportParams contains all the parameters to send to the API endpoint for the create report operation typically these are written to a http.Request
func NewCreateReportParams ¶
func NewCreateReportParams() *CreateReportParams
NewCreateReportParams creates a new CreateReportParams object with the default values initialized.
func NewCreateReportParamsWithContext ¶
func NewCreateReportParamsWithContext(ctx context.Context) *CreateReportParams
NewCreateReportParamsWithContext creates a new CreateReportParams object with the default values initialized, and the ability to set a context for a request
func NewCreateReportParamsWithHTTPClient ¶
func NewCreateReportParamsWithHTTPClient(client *http.Client) *CreateReportParams
NewCreateReportParamsWithHTTPClient creates a new CreateReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateReportParamsWithTimeout ¶
func NewCreateReportParamsWithTimeout(timeout time.Duration) *CreateReportParams
NewCreateReportParamsWithTimeout creates a new CreateReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateReportParams) SetBody ¶
func (o *CreateReportParams) SetBody(body *dynatrace.DashboardReport)
SetBody adds the body to the create report params
func (*CreateReportParams) SetContext ¶
func (o *CreateReportParams) SetContext(ctx context.Context)
SetContext adds the context to the create report params
func (*CreateReportParams) SetHTTPClient ¶
func (o *CreateReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create report params
func (*CreateReportParams) SetTimeout ¶
func (o *CreateReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create report params
func (*CreateReportParams) WithBody ¶
func (o *CreateReportParams) WithBody(body *dynatrace.DashboardReport) *CreateReportParams
WithBody adds the body to the create report params
func (*CreateReportParams) WithContext ¶
func (o *CreateReportParams) WithContext(ctx context.Context) *CreateReportParams
WithContext adds the context to the create report params
func (*CreateReportParams) WithHTTPClient ¶
func (o *CreateReportParams) WithHTTPClient(client *http.Client) *CreateReportParams
WithHTTPClient adds the HTTPClient to the create report params
func (*CreateReportParams) WithTimeout ¶
func (o *CreateReportParams) WithTimeout(timeout time.Duration) *CreateReportParams
WithTimeout adds the timeout to the create report params
func (*CreateReportParams) WriteToRequest ¶
func (o *CreateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReportReader ¶
type CreateReportReader struct {
// contains filtered or unexported fields
}
CreateReportReader is a Reader for the CreateReport structure.
func (*CreateReportReader) ReadResponse ¶
func (o *CreateReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteReportNoContent ¶
type DeleteReportNoContent struct { }
DeleteReportNoContent handles this case with default header values.
Success. The report has been deleted. Response doesn't have a body.
func NewDeleteReportNoContent ¶
func NewDeleteReportNoContent() *DeleteReportNoContent
NewDeleteReportNoContent creates a DeleteReportNoContent with default headers values
func (*DeleteReportNoContent) Error ¶
func (o *DeleteReportNoContent) Error() string
type DeleteReportParams ¶
type DeleteReportParams struct { /*ID The ID of the report to be deleted. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteReportParams contains all the parameters to send to the API endpoint for the delete report operation typically these are written to a http.Request
func NewDeleteReportParams ¶
func NewDeleteReportParams() *DeleteReportParams
NewDeleteReportParams creates a new DeleteReportParams object with the default values initialized.
func NewDeleteReportParamsWithContext ¶
func NewDeleteReportParamsWithContext(ctx context.Context) *DeleteReportParams
NewDeleteReportParamsWithContext creates a new DeleteReportParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteReportParamsWithHTTPClient ¶
func NewDeleteReportParamsWithHTTPClient(client *http.Client) *DeleteReportParams
NewDeleteReportParamsWithHTTPClient creates a new DeleteReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteReportParamsWithTimeout ¶
func NewDeleteReportParamsWithTimeout(timeout time.Duration) *DeleteReportParams
NewDeleteReportParamsWithTimeout creates a new DeleteReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteReportParams) SetContext ¶
func (o *DeleteReportParams) SetContext(ctx context.Context)
SetContext adds the context to the delete report params
func (*DeleteReportParams) SetHTTPClient ¶
func (o *DeleteReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete report params
func (*DeleteReportParams) SetID ¶
func (o *DeleteReportParams) SetID(id string)
SetID adds the id to the delete report params
func (*DeleteReportParams) SetTimeout ¶
func (o *DeleteReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete report params
func (*DeleteReportParams) WithContext ¶
func (o *DeleteReportParams) WithContext(ctx context.Context) *DeleteReportParams
WithContext adds the context to the delete report params
func (*DeleteReportParams) WithHTTPClient ¶
func (o *DeleteReportParams) WithHTTPClient(client *http.Client) *DeleteReportParams
WithHTTPClient adds the HTTPClient to the delete report params
func (*DeleteReportParams) WithID ¶
func (o *DeleteReportParams) WithID(id string) *DeleteReportParams
WithID adds the id to the delete report params
func (*DeleteReportParams) WithTimeout ¶
func (o *DeleteReportParams) WithTimeout(timeout time.Duration) *DeleteReportParams
WithTimeout adds the timeout to the delete report params
func (*DeleteReportParams) WriteToRequest ¶
func (o *DeleteReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReportReader ¶
type DeleteReportReader struct {
// contains filtered or unexported fields
}
DeleteReportReader is a Reader for the DeleteReport structure.
func (*DeleteReportReader) ReadResponse ¶
func (o *DeleteReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportOK ¶
type GetReportOK struct {
Payload *dynatrace.DashboardReport
}
GetReportOK handles this case with default header values.
Success. The response body contains parameters of the report.
func NewGetReportOK ¶
func NewGetReportOK() *GetReportOK
NewGetReportOK creates a GetReportOK with default headers values
func (*GetReportOK) Error ¶
func (o *GetReportOK) Error() string
func (*GetReportOK) GetPayload ¶
func (o *GetReportOK) GetPayload() *dynatrace.DashboardReport
type GetReportParams ¶
type GetReportParams struct { /*ID The ID of the required report. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportParams contains all the parameters to send to the API endpoint for the get report operation typically these are written to a http.Request
func NewGetReportParams ¶
func NewGetReportParams() *GetReportParams
NewGetReportParams creates a new GetReportParams object with the default values initialized.
func NewGetReportParamsWithContext ¶
func NewGetReportParamsWithContext(ctx context.Context) *GetReportParams
NewGetReportParamsWithContext creates a new GetReportParams object with the default values initialized, and the ability to set a context for a request
func NewGetReportParamsWithHTTPClient ¶
func NewGetReportParamsWithHTTPClient(client *http.Client) *GetReportParams
NewGetReportParamsWithHTTPClient creates a new GetReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetReportParamsWithTimeout ¶
func NewGetReportParamsWithTimeout(timeout time.Duration) *GetReportParams
NewGetReportParamsWithTimeout creates a new GetReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetReportParams) SetContext ¶
func (o *GetReportParams) SetContext(ctx context.Context)
SetContext adds the context to the get report params
func (*GetReportParams) SetHTTPClient ¶
func (o *GetReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report params
func (*GetReportParams) SetID ¶
func (o *GetReportParams) SetID(id string)
SetID adds the id to the get report params
func (*GetReportParams) SetTimeout ¶
func (o *GetReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report params
func (*GetReportParams) WithContext ¶
func (o *GetReportParams) WithContext(ctx context.Context) *GetReportParams
WithContext adds the context to the get report params
func (*GetReportParams) WithHTTPClient ¶
func (o *GetReportParams) WithHTTPClient(client *http.Client) *GetReportParams
WithHTTPClient adds the HTTPClient to the get report params
func (*GetReportParams) WithID ¶
func (o *GetReportParams) WithID(id string) *GetReportParams
WithID adds the id to the get report params
func (*GetReportParams) WithTimeout ¶
func (o *GetReportParams) WithTimeout(timeout time.Duration) *GetReportParams
WithTimeout adds the timeout to the get report params
func (*GetReportParams) WriteToRequest ¶
func (o *GetReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportReader ¶
type GetReportReader struct {
// contains filtered or unexported fields
}
GetReportReader is a Reader for the GetReport structure.
func (*GetReportReader) ReadResponse ¶
func (o *GetReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportsOK ¶
type GetReportsOK struct {
Payload *dynatrace.ReportStubList
}
GetReportsOK handles this case with default header values.
successful operation
func NewGetReportsOK ¶
func NewGetReportsOK() *GetReportsOK
NewGetReportsOK creates a GetReportsOK with default headers values
func (*GetReportsOK) Error ¶
func (o *GetReportsOK) Error() string
func (*GetReportsOK) GetPayload ¶
func (o *GetReportsOK) GetPayload() *dynatrace.ReportStubList
type GetReportsParams ¶
type GetReportsParams struct { /*SourceID Referencing source entity of a report (e.g. dashboard). */ SourceID *string /*Type Type of a report. */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportsParams contains all the parameters to send to the API endpoint for the get reports operation typically these are written to a http.Request
func NewGetReportsParams ¶
func NewGetReportsParams() *GetReportsParams
NewGetReportsParams creates a new GetReportsParams object with the default values initialized.
func NewGetReportsParamsWithContext ¶
func NewGetReportsParamsWithContext(ctx context.Context) *GetReportsParams
NewGetReportsParamsWithContext creates a new GetReportsParams object with the default values initialized, and the ability to set a context for a request
func NewGetReportsParamsWithHTTPClient ¶
func NewGetReportsParamsWithHTTPClient(client *http.Client) *GetReportsParams
NewGetReportsParamsWithHTTPClient creates a new GetReportsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetReportsParamsWithTimeout ¶
func NewGetReportsParamsWithTimeout(timeout time.Duration) *GetReportsParams
NewGetReportsParamsWithTimeout creates a new GetReportsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetReportsParams) SetContext ¶
func (o *GetReportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get reports params
func (*GetReportsParams) SetHTTPClient ¶
func (o *GetReportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) SetSourceID ¶
func (o *GetReportsParams) SetSourceID(sourceID *string)
SetSourceID adds the sourceId to the get reports params
func (*GetReportsParams) SetTimeout ¶
func (o *GetReportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get reports params
func (*GetReportsParams) SetType ¶
func (o *GetReportsParams) SetType(typeVar *string)
SetType adds the type to the get reports params
func (*GetReportsParams) WithContext ¶
func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams
WithContext adds the context to the get reports params
func (*GetReportsParams) WithHTTPClient ¶
func (o *GetReportsParams) WithHTTPClient(client *http.Client) *GetReportsParams
WithHTTPClient adds the HTTPClient to the get reports params
func (*GetReportsParams) WithSourceID ¶
func (o *GetReportsParams) WithSourceID(sourceID *string) *GetReportsParams
WithSourceID adds the sourceID to the get reports params
func (*GetReportsParams) WithTimeout ¶
func (o *GetReportsParams) WithTimeout(timeout time.Duration) *GetReportsParams
WithTimeout adds the timeout to the get reports params
func (*GetReportsParams) WithType ¶
func (o *GetReportsParams) WithType(typeVar *string) *GetReportsParams
WithType adds the typeVar to the get reports params
func (*GetReportsParams) WriteToRequest ¶
func (o *GetReportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportsReader ¶
type GetReportsReader struct {
// contains filtered or unexported fields
}
GetReportsReader is a Reader for the GetReports structure.
func (*GetReportsReader) ReadResponse ¶
func (o *GetReportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubscribeReportBadRequest ¶
type SubscribeReportBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
SubscribeReportBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewSubscribeReportBadRequest ¶
func NewSubscribeReportBadRequest() *SubscribeReportBadRequest
NewSubscribeReportBadRequest creates a SubscribeReportBadRequest with default headers values
func (*SubscribeReportBadRequest) Error ¶
func (o *SubscribeReportBadRequest) Error() string
func (*SubscribeReportBadRequest) GetPayload ¶
func (o *SubscribeReportBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type SubscribeReportCreated ¶
type SubscribeReportCreated struct {
Payload *dynatrace.EntityShortRepresentation
}
SubscribeReportCreated handles this case with default header values.
Success. The new subscriptions have been created. The response body contains the report ID.
func NewSubscribeReportCreated ¶
func NewSubscribeReportCreated() *SubscribeReportCreated
NewSubscribeReportCreated creates a SubscribeReportCreated with default headers values
func (*SubscribeReportCreated) Error ¶
func (o *SubscribeReportCreated) Error() string
func (*SubscribeReportCreated) GetPayload ¶
func (o *SubscribeReportCreated) GetPayload() *dynatrace.EntityShortRepresentation
type SubscribeReportParams ¶
type SubscribeReportParams struct { /*Body The JSON body of the request. Contains a list of new subscribers. */ Body *dynatrace.ReportSubscriptions /*ID The ID of the report to subscribe to. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubscribeReportParams contains all the parameters to send to the API endpoint for the subscribe report operation typically these are written to a http.Request
func NewSubscribeReportParams ¶
func NewSubscribeReportParams() *SubscribeReportParams
NewSubscribeReportParams creates a new SubscribeReportParams object with the default values initialized.
func NewSubscribeReportParamsWithContext ¶
func NewSubscribeReportParamsWithContext(ctx context.Context) *SubscribeReportParams
NewSubscribeReportParamsWithContext creates a new SubscribeReportParams object with the default values initialized, and the ability to set a context for a request
func NewSubscribeReportParamsWithHTTPClient ¶
func NewSubscribeReportParamsWithHTTPClient(client *http.Client) *SubscribeReportParams
NewSubscribeReportParamsWithHTTPClient creates a new SubscribeReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSubscribeReportParamsWithTimeout ¶
func NewSubscribeReportParamsWithTimeout(timeout time.Duration) *SubscribeReportParams
NewSubscribeReportParamsWithTimeout creates a new SubscribeReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*SubscribeReportParams) SetBody ¶
func (o *SubscribeReportParams) SetBody(body *dynatrace.ReportSubscriptions)
SetBody adds the body to the subscribe report params
func (*SubscribeReportParams) SetContext ¶
func (o *SubscribeReportParams) SetContext(ctx context.Context)
SetContext adds the context to the subscribe report params
func (*SubscribeReportParams) SetHTTPClient ¶
func (o *SubscribeReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the subscribe report params
func (*SubscribeReportParams) SetID ¶
func (o *SubscribeReportParams) SetID(id string)
SetID adds the id to the subscribe report params
func (*SubscribeReportParams) SetTimeout ¶
func (o *SubscribeReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the subscribe report params
func (*SubscribeReportParams) WithBody ¶
func (o *SubscribeReportParams) WithBody(body *dynatrace.ReportSubscriptions) *SubscribeReportParams
WithBody adds the body to the subscribe report params
func (*SubscribeReportParams) WithContext ¶
func (o *SubscribeReportParams) WithContext(ctx context.Context) *SubscribeReportParams
WithContext adds the context to the subscribe report params
func (*SubscribeReportParams) WithHTTPClient ¶
func (o *SubscribeReportParams) WithHTTPClient(client *http.Client) *SubscribeReportParams
WithHTTPClient adds the HTTPClient to the subscribe report params
func (*SubscribeReportParams) WithID ¶
func (o *SubscribeReportParams) WithID(id string) *SubscribeReportParams
WithID adds the id to the subscribe report params
func (*SubscribeReportParams) WithTimeout ¶
func (o *SubscribeReportParams) WithTimeout(timeout time.Duration) *SubscribeReportParams
WithTimeout adds the timeout to the subscribe report params
func (*SubscribeReportParams) WriteToRequest ¶
func (o *SubscribeReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubscribeReportReader ¶
type SubscribeReportReader struct {
// contains filtered or unexported fields
}
SubscribeReportReader is a Reader for the SubscribeReport structure.
func (*SubscribeReportReader) ReadResponse ¶
func (o *SubscribeReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnsubscribeReportBadRequest ¶
type UnsubscribeReportBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
UnsubscribeReportBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewUnsubscribeReportBadRequest ¶
func NewUnsubscribeReportBadRequest() *UnsubscribeReportBadRequest
NewUnsubscribeReportBadRequest creates a UnsubscribeReportBadRequest with default headers values
func (*UnsubscribeReportBadRequest) Error ¶
func (o *UnsubscribeReportBadRequest) Error() string
func (*UnsubscribeReportBadRequest) GetPayload ¶
func (o *UnsubscribeReportBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type UnsubscribeReportCreated ¶
type UnsubscribeReportCreated struct {
Payload *dynatrace.EntityShortRepresentation
}
UnsubscribeReportCreated handles this case with default header values.
Success. The subscriptions have been revoked. The response body contains the report ID.
func NewUnsubscribeReportCreated ¶
func NewUnsubscribeReportCreated() *UnsubscribeReportCreated
NewUnsubscribeReportCreated creates a UnsubscribeReportCreated with default headers values
func (*UnsubscribeReportCreated) Error ¶
func (o *UnsubscribeReportCreated) Error() string
func (*UnsubscribeReportCreated) GetPayload ¶
func (o *UnsubscribeReportCreated) GetPayload() *dynatrace.EntityShortRepresentation
type UnsubscribeReportParams ¶
type UnsubscribeReportParams struct { /*Body The JSON body of the request. Contains a list of recipients to be unsubscribed. */ Body *dynatrace.ReportSubscriptions /*ID The ID of the report to unsubscribe from. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnsubscribeReportParams contains all the parameters to send to the API endpoint for the unsubscribe report operation typically these are written to a http.Request
func NewUnsubscribeReportParams ¶
func NewUnsubscribeReportParams() *UnsubscribeReportParams
NewUnsubscribeReportParams creates a new UnsubscribeReportParams object with the default values initialized.
func NewUnsubscribeReportParamsWithContext ¶
func NewUnsubscribeReportParamsWithContext(ctx context.Context) *UnsubscribeReportParams
NewUnsubscribeReportParamsWithContext creates a new UnsubscribeReportParams object with the default values initialized, and the ability to set a context for a request
func NewUnsubscribeReportParamsWithHTTPClient ¶
func NewUnsubscribeReportParamsWithHTTPClient(client *http.Client) *UnsubscribeReportParams
NewUnsubscribeReportParamsWithHTTPClient creates a new UnsubscribeReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnsubscribeReportParamsWithTimeout ¶
func NewUnsubscribeReportParamsWithTimeout(timeout time.Duration) *UnsubscribeReportParams
NewUnsubscribeReportParamsWithTimeout creates a new UnsubscribeReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnsubscribeReportParams) SetBody ¶
func (o *UnsubscribeReportParams) SetBody(body *dynatrace.ReportSubscriptions)
SetBody adds the body to the unsubscribe report params
func (*UnsubscribeReportParams) SetContext ¶
func (o *UnsubscribeReportParams) SetContext(ctx context.Context)
SetContext adds the context to the unsubscribe report params
func (*UnsubscribeReportParams) SetHTTPClient ¶
func (o *UnsubscribeReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unsubscribe report params
func (*UnsubscribeReportParams) SetID ¶
func (o *UnsubscribeReportParams) SetID(id string)
SetID adds the id to the unsubscribe report params
func (*UnsubscribeReportParams) SetTimeout ¶
func (o *UnsubscribeReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unsubscribe report params
func (*UnsubscribeReportParams) WithBody ¶
func (o *UnsubscribeReportParams) WithBody(body *dynatrace.ReportSubscriptions) *UnsubscribeReportParams
WithBody adds the body to the unsubscribe report params
func (*UnsubscribeReportParams) WithContext ¶
func (o *UnsubscribeReportParams) WithContext(ctx context.Context) *UnsubscribeReportParams
WithContext adds the context to the unsubscribe report params
func (*UnsubscribeReportParams) WithHTTPClient ¶
func (o *UnsubscribeReportParams) WithHTTPClient(client *http.Client) *UnsubscribeReportParams
WithHTTPClient adds the HTTPClient to the unsubscribe report params
func (*UnsubscribeReportParams) WithID ¶
func (o *UnsubscribeReportParams) WithID(id string) *UnsubscribeReportParams
WithID adds the id to the unsubscribe report params
func (*UnsubscribeReportParams) WithTimeout ¶
func (o *UnsubscribeReportParams) WithTimeout(timeout time.Duration) *UnsubscribeReportParams
WithTimeout adds the timeout to the unsubscribe report params
func (*UnsubscribeReportParams) WriteToRequest ¶
func (o *UnsubscribeReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnsubscribeReportReader ¶
type UnsubscribeReportReader struct {
// contains filtered or unexported fields
}
UnsubscribeReportReader is a Reader for the UnsubscribeReport structure.
func (*UnsubscribeReportReader) ReadResponse ¶
func (o *UnsubscribeReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateReportBadRequest ¶
type UpdateReportBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
UpdateReportBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewUpdateReportBadRequest ¶
func NewUpdateReportBadRequest() *UpdateReportBadRequest
NewUpdateReportBadRequest creates a UpdateReportBadRequest with default headers values
func (*UpdateReportBadRequest) Error ¶
func (o *UpdateReportBadRequest) Error() string
func (*UpdateReportBadRequest) GetPayload ¶
func (o *UpdateReportBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type UpdateReportCreated ¶
type UpdateReportCreated struct {
Payload *dynatrace.EntityShortRepresentation
}
UpdateReportCreated handles this case with default header values.
Success. The new report has been created. The response contains the ID of the new report.
func NewUpdateReportCreated ¶
func NewUpdateReportCreated() *UpdateReportCreated
NewUpdateReportCreated creates a UpdateReportCreated with default headers values
func (*UpdateReportCreated) Error ¶
func (o *UpdateReportCreated) Error() string
func (*UpdateReportCreated) GetPayload ¶
func (o *UpdateReportCreated) GetPayload() *dynatrace.EntityShortRepresentation
type UpdateReportNoContent ¶
type UpdateReportNoContent struct { }
UpdateReportNoContent handles this case with default header values.
Success. The report has been updated. Response doesn't have a body
func NewUpdateReportNoContent ¶
func NewUpdateReportNoContent() *UpdateReportNoContent
NewUpdateReportNoContent creates a UpdateReportNoContent with default headers values
func (*UpdateReportNoContent) Error ¶
func (o *UpdateReportNoContent) Error() string
type UpdateReportParams ¶
type UpdateReportParams struct { /*Body The JSON body of the request. Contains updated parameters of the report. */ Body *dynatrace.DashboardReport /*ID The ID of the report to be updated. The ID in the request body must match this ID. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateReportParams contains all the parameters to send to the API endpoint for the update report operation typically these are written to a http.Request
func NewUpdateReportParams ¶
func NewUpdateReportParams() *UpdateReportParams
NewUpdateReportParams creates a new UpdateReportParams object with the default values initialized.
func NewUpdateReportParamsWithContext ¶
func NewUpdateReportParamsWithContext(ctx context.Context) *UpdateReportParams
NewUpdateReportParamsWithContext creates a new UpdateReportParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateReportParamsWithHTTPClient ¶
func NewUpdateReportParamsWithHTTPClient(client *http.Client) *UpdateReportParams
NewUpdateReportParamsWithHTTPClient creates a new UpdateReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateReportParamsWithTimeout ¶
func NewUpdateReportParamsWithTimeout(timeout time.Duration) *UpdateReportParams
NewUpdateReportParamsWithTimeout creates a new UpdateReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateReportParams) SetBody ¶
func (o *UpdateReportParams) SetBody(body *dynatrace.DashboardReport)
SetBody adds the body to the update report params
func (*UpdateReportParams) SetContext ¶
func (o *UpdateReportParams) SetContext(ctx context.Context)
SetContext adds the context to the update report params
func (*UpdateReportParams) SetHTTPClient ¶
func (o *UpdateReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update report params
func (*UpdateReportParams) SetID ¶
func (o *UpdateReportParams) SetID(id string)
SetID adds the id to the update report params
func (*UpdateReportParams) SetTimeout ¶
func (o *UpdateReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update report params
func (*UpdateReportParams) WithBody ¶
func (o *UpdateReportParams) WithBody(body *dynatrace.DashboardReport) *UpdateReportParams
WithBody adds the body to the update report params
func (*UpdateReportParams) WithContext ¶
func (o *UpdateReportParams) WithContext(ctx context.Context) *UpdateReportParams
WithContext adds the context to the update report params
func (*UpdateReportParams) WithHTTPClient ¶
func (o *UpdateReportParams) WithHTTPClient(client *http.Client) *UpdateReportParams
WithHTTPClient adds the HTTPClient to the update report params
func (*UpdateReportParams) WithID ¶
func (o *UpdateReportParams) WithID(id string) *UpdateReportParams
WithID adds the id to the update report params
func (*UpdateReportParams) WithTimeout ¶
func (o *UpdateReportParams) WithTimeout(timeout time.Duration) *UpdateReportParams
WithTimeout adds the timeout to the update report params
func (*UpdateReportParams) WriteToRequest ¶
func (o *UpdateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateReportReader ¶
type UpdateReportReader struct {
// contains filtered or unexported fields
}
UpdateReportReader is a Reader for the UpdateReport structure.
func (*UpdateReportReader) ReadResponse ¶
func (o *UpdateReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateCreateReportBadRequest ¶
type ValidateCreateReportBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
ValidateCreateReportBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewValidateCreateReportBadRequest ¶
func NewValidateCreateReportBadRequest() *ValidateCreateReportBadRequest
NewValidateCreateReportBadRequest creates a ValidateCreateReportBadRequest with default headers values
func (*ValidateCreateReportBadRequest) Error ¶
func (o *ValidateCreateReportBadRequest) Error() string
func (*ValidateCreateReportBadRequest) GetPayload ¶
func (o *ValidateCreateReportBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type ValidateCreateReportNoContent ¶
type ValidateCreateReportNoContent struct { }
ValidateCreateReportNoContent handles this case with default header values.
Validated. The submitted report is valid. The response doesn't have a body.
func NewValidateCreateReportNoContent ¶
func NewValidateCreateReportNoContent() *ValidateCreateReportNoContent
NewValidateCreateReportNoContent creates a ValidateCreateReportNoContent with default headers values
func (*ValidateCreateReportNoContent) Error ¶
func (o *ValidateCreateReportNoContent) Error() string
type ValidateCreateReportParams ¶
type ValidateCreateReportParams struct { /*Body The JSON body of the request. Contains the report to be validated. */ Body *dynatrace.DashboardReport Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateCreateReportParams contains all the parameters to send to the API endpoint for the validate create report operation typically these are written to a http.Request
func NewValidateCreateReportParams ¶
func NewValidateCreateReportParams() *ValidateCreateReportParams
NewValidateCreateReportParams creates a new ValidateCreateReportParams object with the default values initialized.
func NewValidateCreateReportParamsWithContext ¶
func NewValidateCreateReportParamsWithContext(ctx context.Context) *ValidateCreateReportParams
NewValidateCreateReportParamsWithContext creates a new ValidateCreateReportParams object with the default values initialized, and the ability to set a context for a request
func NewValidateCreateReportParamsWithHTTPClient ¶
func NewValidateCreateReportParamsWithHTTPClient(client *http.Client) *ValidateCreateReportParams
NewValidateCreateReportParamsWithHTTPClient creates a new ValidateCreateReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateCreateReportParamsWithTimeout ¶
func NewValidateCreateReportParamsWithTimeout(timeout time.Duration) *ValidateCreateReportParams
NewValidateCreateReportParamsWithTimeout creates a new ValidateCreateReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateCreateReportParams) SetBody ¶
func (o *ValidateCreateReportParams) SetBody(body *dynatrace.DashboardReport)
SetBody adds the body to the validate create report params
func (*ValidateCreateReportParams) SetContext ¶
func (o *ValidateCreateReportParams) SetContext(ctx context.Context)
SetContext adds the context to the validate create report params
func (*ValidateCreateReportParams) SetHTTPClient ¶
func (o *ValidateCreateReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate create report params
func (*ValidateCreateReportParams) SetTimeout ¶
func (o *ValidateCreateReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate create report params
func (*ValidateCreateReportParams) WithBody ¶
func (o *ValidateCreateReportParams) WithBody(body *dynatrace.DashboardReport) *ValidateCreateReportParams
WithBody adds the body to the validate create report params
func (*ValidateCreateReportParams) WithContext ¶
func (o *ValidateCreateReportParams) WithContext(ctx context.Context) *ValidateCreateReportParams
WithContext adds the context to the validate create report params
func (*ValidateCreateReportParams) WithHTTPClient ¶
func (o *ValidateCreateReportParams) WithHTTPClient(client *http.Client) *ValidateCreateReportParams
WithHTTPClient adds the HTTPClient to the validate create report params
func (*ValidateCreateReportParams) WithTimeout ¶
func (o *ValidateCreateReportParams) WithTimeout(timeout time.Duration) *ValidateCreateReportParams
WithTimeout adds the timeout to the validate create report params
func (*ValidateCreateReportParams) WriteToRequest ¶
func (o *ValidateCreateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateCreateReportReader ¶
type ValidateCreateReportReader struct {
// contains filtered or unexported fields
}
ValidateCreateReportReader is a Reader for the ValidateCreateReport structure.
func (*ValidateCreateReportReader) ReadResponse ¶
func (o *ValidateCreateReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ValidateUpdateReportBadRequest ¶
type ValidateUpdateReportBadRequest struct {
Payload *dynatrace.ErrorEnvelope
}
ValidateUpdateReportBadRequest handles this case with default header values.
Failed. The input is invalid.
func NewValidateUpdateReportBadRequest ¶
func NewValidateUpdateReportBadRequest() *ValidateUpdateReportBadRequest
NewValidateUpdateReportBadRequest creates a ValidateUpdateReportBadRequest with default headers values
func (*ValidateUpdateReportBadRequest) Error ¶
func (o *ValidateUpdateReportBadRequest) Error() string
func (*ValidateUpdateReportBadRequest) GetPayload ¶
func (o *ValidateUpdateReportBadRequest) GetPayload() *dynatrace.ErrorEnvelope
type ValidateUpdateReportNoContent ¶
type ValidateUpdateReportNoContent struct { }
ValidateUpdateReportNoContent handles this case with default header values.
Validated. The submitted report is valid. Response doesn't have a body
func NewValidateUpdateReportNoContent ¶
func NewValidateUpdateReportNoContent() *ValidateUpdateReportNoContent
NewValidateUpdateReportNoContent creates a ValidateUpdateReportNoContent with default headers values
func (*ValidateUpdateReportNoContent) Error ¶
func (o *ValidateUpdateReportNoContent) Error() string
type ValidateUpdateReportParams ¶
type ValidateUpdateReportParams struct { /*Body The JSON body of the request. Contains the report to be validated. */ Body *dynatrace.DashboardReport /*ID The ID of the report to be validated. The ID in the request body must match this ID. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ValidateUpdateReportParams contains all the parameters to send to the API endpoint for the validate update report operation typically these are written to a http.Request
func NewValidateUpdateReportParams ¶
func NewValidateUpdateReportParams() *ValidateUpdateReportParams
NewValidateUpdateReportParams creates a new ValidateUpdateReportParams object with the default values initialized.
func NewValidateUpdateReportParamsWithContext ¶
func NewValidateUpdateReportParamsWithContext(ctx context.Context) *ValidateUpdateReportParams
NewValidateUpdateReportParamsWithContext creates a new ValidateUpdateReportParams object with the default values initialized, and the ability to set a context for a request
func NewValidateUpdateReportParamsWithHTTPClient ¶
func NewValidateUpdateReportParamsWithHTTPClient(client *http.Client) *ValidateUpdateReportParams
NewValidateUpdateReportParamsWithHTTPClient creates a new ValidateUpdateReportParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewValidateUpdateReportParamsWithTimeout ¶
func NewValidateUpdateReportParamsWithTimeout(timeout time.Duration) *ValidateUpdateReportParams
NewValidateUpdateReportParamsWithTimeout creates a new ValidateUpdateReportParams object with the default values initialized, and the ability to set a timeout on a request
func (*ValidateUpdateReportParams) SetBody ¶
func (o *ValidateUpdateReportParams) SetBody(body *dynatrace.DashboardReport)
SetBody adds the body to the validate update report params
func (*ValidateUpdateReportParams) SetContext ¶
func (o *ValidateUpdateReportParams) SetContext(ctx context.Context)
SetContext adds the context to the validate update report params
func (*ValidateUpdateReportParams) SetHTTPClient ¶
func (o *ValidateUpdateReportParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the validate update report params
func (*ValidateUpdateReportParams) SetID ¶
func (o *ValidateUpdateReportParams) SetID(id string)
SetID adds the id to the validate update report params
func (*ValidateUpdateReportParams) SetTimeout ¶
func (o *ValidateUpdateReportParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate update report params
func (*ValidateUpdateReportParams) WithBody ¶
func (o *ValidateUpdateReportParams) WithBody(body *dynatrace.DashboardReport) *ValidateUpdateReportParams
WithBody adds the body to the validate update report params
func (*ValidateUpdateReportParams) WithContext ¶
func (o *ValidateUpdateReportParams) WithContext(ctx context.Context) *ValidateUpdateReportParams
WithContext adds the context to the validate update report params
func (*ValidateUpdateReportParams) WithHTTPClient ¶
func (o *ValidateUpdateReportParams) WithHTTPClient(client *http.Client) *ValidateUpdateReportParams
WithHTTPClient adds the HTTPClient to the validate update report params
func (*ValidateUpdateReportParams) WithID ¶
func (o *ValidateUpdateReportParams) WithID(id string) *ValidateUpdateReportParams
WithID adds the id to the validate update report params
func (*ValidateUpdateReportParams) WithTimeout ¶
func (o *ValidateUpdateReportParams) WithTimeout(timeout time.Duration) *ValidateUpdateReportParams
WithTimeout adds the timeout to the validate update report params
func (*ValidateUpdateReportParams) WriteToRequest ¶
func (o *ValidateUpdateReportParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ValidateUpdateReportReader ¶
type ValidateUpdateReportReader struct {
// contains filtered or unexported fields
}
ValidateUpdateReportReader is a Reader for the ValidateUpdateReport structure.
func (*ValidateUpdateReportReader) ReadResponse ¶
func (o *ValidateUpdateReportReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_report_parameters.go
- create_report_responses.go
- delete_report_parameters.go
- delete_report_responses.go
- get_report_parameters.go
- get_report_responses.go
- get_reports_parameters.go
- get_reports_responses.go
- reports_client.go
- subscribe_report_parameters.go
- subscribe_report_responses.go
- unsubscribe_report_parameters.go
- unsubscribe_report_responses.go
- update_report_parameters.go
- update_report_responses.go
- validate_create_report_parameters.go
- validate_create_report_responses.go
- validate_update_report_parameters.go
- validate_update_report_responses.go