reports

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

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

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

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

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

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

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

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

WithBody adds the body to the create report params

func (*CreateReportParams) WithContext

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

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

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

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

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

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

WithBody adds the body to the subscribe report params

func (*SubscribeReportParams) WithContext

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

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

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

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

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

WithBody adds the body to the unsubscribe report params

func (*UnsubscribeReportParams) WithContext

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

WithID adds the id to the unsubscribe report params

func (*UnsubscribeReportParams) WithTimeout

WithTimeout adds the timeout to the unsubscribe report params

func (*UnsubscribeReportParams) WriteToRequest

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

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

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

WithBody adds the body to the update report params

func (*UpdateReportParams) WithContext

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

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

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

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

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

WithBody adds the body to the validate create report params

func (*ValidateCreateReportParams) WithContext

WithContext adds the context to the validate create report params

func (*ValidateCreateReportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create report params

func (*ValidateCreateReportParams) WithTimeout

WithTimeout adds the timeout to the validate create report params

func (*ValidateCreateReportParams) WriteToRequest

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

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

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

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

WithBody adds the body to the validate update report params

func (*ValidateUpdateReportParams) WithContext

WithContext adds the context to the validate update report params

func (*ValidateUpdateReportParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update report params

func (*ValidateUpdateReportParams) WithID

WithID adds the id to the validate update report params

func (*ValidateUpdateReportParams) WithTimeout

WithTimeout adds the timeout to the validate update report params

func (*ValidateUpdateReportParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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