service_calculated_metrics

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 service calculated metrics API

func (*Client) CreateCalculatedMetricsService

CreateCalculatedMetricsService creates a new calculated service metric pipe maturity e a r l y a d o p t e r

func (*Client) DeleteCalculatedMetricsService

DeleteCalculatedMetricsService deletes the specified calculated service metric pipe maturity e a r l y a d o p t e r

func (*Client) GetCalculatedMetricsService

func (a *Client) GetCalculatedMetricsService(params *GetCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsServiceOK, error)

GetCalculatedMetricsService gets the descriptor of the specified calculated service metric pipe maturity e a r l y a d o p t e r

func (*Client) GetCalculatedMetricsServices

func (a *Client) GetCalculatedMetricsServices(params *GetCalculatedMetricsServicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsServicesOK, error)

GetCalculatedMetricsServices lists all calculated service metrics configured 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) UpdateCalculatedMetricsService

UpdateCalculatedMetricsService updates the specified calculated service metric pipe maturity e a r l y a d o p t e r

If the calculated service metric with the specified key doesn't exist, a new metric is created.

func (*Client) ValidateCreateCalculatedMetricsService

ValidateCreateCalculatedMetricsService validates the payload for the p o s t calculated metric service request pipe maturity e a r l y a d o p t e r

func (*Client) ValidateUpdateCalculatedMetricsService

ValidateUpdateCalculatedMetricsService validates the payload for the p u t calculated metric service 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 service calculated metrics API client.

type CreateCalculatedMetricsServiceBadRequest

type CreateCalculatedMetricsServiceBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

CreateCalculatedMetricsServiceBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewCreateCalculatedMetricsServiceBadRequest

func NewCreateCalculatedMetricsServiceBadRequest() *CreateCalculatedMetricsServiceBadRequest

NewCreateCalculatedMetricsServiceBadRequest creates a CreateCalculatedMetricsServiceBadRequest with default headers values

func (*CreateCalculatedMetricsServiceBadRequest) Error

func (*CreateCalculatedMetricsServiceBadRequest) GetPayload

type CreateCalculatedMetricsServiceCreated

type CreateCalculatedMetricsServiceCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

CreateCalculatedMetricsServiceCreated handles this case with default header values.

Success. The calculated service metric has been created. Response contains the key of the new metric.

func NewCreateCalculatedMetricsServiceCreated

func NewCreateCalculatedMetricsServiceCreated() *CreateCalculatedMetricsServiceCreated

NewCreateCalculatedMetricsServiceCreated creates a CreateCalculatedMetricsServiceCreated with default headers values

func (*CreateCalculatedMetricsServiceCreated) Error

func (*CreateCalculatedMetricsServiceCreated) GetPayload

type CreateCalculatedMetricsServiceParams

type CreateCalculatedMetricsServiceParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the new calculated service metric.

	*/
	Body *dynatrace.CalculatedServiceMetric

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

CreateCalculatedMetricsServiceParams contains all the parameters to send to the API endpoint for the create calculated metrics service operation typically these are written to a http.Request

func NewCreateCalculatedMetricsServiceParams

func NewCreateCalculatedMetricsServiceParams() *CreateCalculatedMetricsServiceParams

NewCreateCalculatedMetricsServiceParams creates a new CreateCalculatedMetricsServiceParams object with the default values initialized.

func NewCreateCalculatedMetricsServiceParamsWithContext

func NewCreateCalculatedMetricsServiceParamsWithContext(ctx context.Context) *CreateCalculatedMetricsServiceParams

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

func NewCreateCalculatedMetricsServiceParamsWithHTTPClient

func NewCreateCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *CreateCalculatedMetricsServiceParams

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

func NewCreateCalculatedMetricsServiceParamsWithTimeout

func NewCreateCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *CreateCalculatedMetricsServiceParams

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

func (*CreateCalculatedMetricsServiceParams) SetBody

SetBody adds the body to the create calculated metrics service params

func (*CreateCalculatedMetricsServiceParams) SetContext

SetContext adds the context to the create calculated metrics service params

func (*CreateCalculatedMetricsServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create calculated metrics service params

func (*CreateCalculatedMetricsServiceParams) SetTimeout

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

SetTimeout adds the timeout to the create calculated metrics service params

func (*CreateCalculatedMetricsServiceParams) WithBody

WithBody adds the body to the create calculated metrics service params

func (*CreateCalculatedMetricsServiceParams) WithContext

WithContext adds the context to the create calculated metrics service params

func (*CreateCalculatedMetricsServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create calculated metrics service params

func (*CreateCalculatedMetricsServiceParams) WithTimeout

WithTimeout adds the timeout to the create calculated metrics service params

func (*CreateCalculatedMetricsServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCalculatedMetricsServiceReader

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

CreateCalculatedMetricsServiceReader is a Reader for the CreateCalculatedMetricsService structure.

func (*CreateCalculatedMetricsServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCalculatedMetricsServiceNoContent

type DeleteCalculatedMetricsServiceNoContent struct {
}

DeleteCalculatedMetricsServiceNoContent handles this case with default header values.

Success. The calculated service metric has been deleted. Response doesn't have a body.

func NewDeleteCalculatedMetricsServiceNoContent

func NewDeleteCalculatedMetricsServiceNoContent() *DeleteCalculatedMetricsServiceNoContent

NewDeleteCalculatedMetricsServiceNoContent creates a DeleteCalculatedMetricsServiceNoContent with default headers values

func (*DeleteCalculatedMetricsServiceNoContent) Error

type DeleteCalculatedMetricsServiceParams

type DeleteCalculatedMetricsServiceParams struct {

	/*MetricKey
	  The key of the calculated service metric to be deleted.

	*/
	MetricKey string

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

DeleteCalculatedMetricsServiceParams contains all the parameters to send to the API endpoint for the delete calculated metrics service operation typically these are written to a http.Request

func NewDeleteCalculatedMetricsServiceParams

func NewDeleteCalculatedMetricsServiceParams() *DeleteCalculatedMetricsServiceParams

NewDeleteCalculatedMetricsServiceParams creates a new DeleteCalculatedMetricsServiceParams object with the default values initialized.

func NewDeleteCalculatedMetricsServiceParamsWithContext

func NewDeleteCalculatedMetricsServiceParamsWithContext(ctx context.Context) *DeleteCalculatedMetricsServiceParams

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

func NewDeleteCalculatedMetricsServiceParamsWithHTTPClient

func NewDeleteCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *DeleteCalculatedMetricsServiceParams

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

func NewDeleteCalculatedMetricsServiceParamsWithTimeout

func NewDeleteCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *DeleteCalculatedMetricsServiceParams

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

func (*DeleteCalculatedMetricsServiceParams) SetContext

SetContext adds the context to the delete calculated metrics service params

func (*DeleteCalculatedMetricsServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete calculated metrics service params

func (*DeleteCalculatedMetricsServiceParams) SetMetricKey

func (o *DeleteCalculatedMetricsServiceParams) SetMetricKey(metricKey string)

SetMetricKey adds the metricKey to the delete calculated metrics service params

func (*DeleteCalculatedMetricsServiceParams) SetTimeout

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

SetTimeout adds the timeout to the delete calculated metrics service params

func (*DeleteCalculatedMetricsServiceParams) WithContext

WithContext adds the context to the delete calculated metrics service params

func (*DeleteCalculatedMetricsServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete calculated metrics service params

func (*DeleteCalculatedMetricsServiceParams) WithMetricKey

WithMetricKey adds the metricKey to the delete calculated metrics service params

func (*DeleteCalculatedMetricsServiceParams) WithTimeout

WithTimeout adds the timeout to the delete calculated metrics service params

func (*DeleteCalculatedMetricsServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCalculatedMetricsServiceReader

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

DeleteCalculatedMetricsServiceReader is a Reader for the DeleteCalculatedMetricsService structure.

func (*DeleteCalculatedMetricsServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCalculatedMetricsServiceOK

type GetCalculatedMetricsServiceOK struct {
	Payload *dynatrace.CalculatedServiceMetric
}

GetCalculatedMetricsServiceOK handles this case with default header values.

successful operation

func NewGetCalculatedMetricsServiceOK

func NewGetCalculatedMetricsServiceOK() *GetCalculatedMetricsServiceOK

NewGetCalculatedMetricsServiceOK creates a GetCalculatedMetricsServiceOK with default headers values

func (*GetCalculatedMetricsServiceOK) Error

func (*GetCalculatedMetricsServiceOK) GetPayload

type GetCalculatedMetricsServiceParams

type GetCalculatedMetricsServiceParams struct {

	/*MetricKey
	  The key of the required calculated service metric.

	*/
	MetricKey string

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

GetCalculatedMetricsServiceParams contains all the parameters to send to the API endpoint for the get calculated metrics service operation typically these are written to a http.Request

func NewGetCalculatedMetricsServiceParams

func NewGetCalculatedMetricsServiceParams() *GetCalculatedMetricsServiceParams

NewGetCalculatedMetricsServiceParams creates a new GetCalculatedMetricsServiceParams object with the default values initialized.

func NewGetCalculatedMetricsServiceParamsWithContext

func NewGetCalculatedMetricsServiceParamsWithContext(ctx context.Context) *GetCalculatedMetricsServiceParams

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

func NewGetCalculatedMetricsServiceParamsWithHTTPClient

func NewGetCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *GetCalculatedMetricsServiceParams

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

func NewGetCalculatedMetricsServiceParamsWithTimeout

func NewGetCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *GetCalculatedMetricsServiceParams

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

func (*GetCalculatedMetricsServiceParams) SetContext

SetContext adds the context to the get calculated metrics service params

func (*GetCalculatedMetricsServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get calculated metrics service params

func (*GetCalculatedMetricsServiceParams) SetMetricKey

func (o *GetCalculatedMetricsServiceParams) SetMetricKey(metricKey string)

SetMetricKey adds the metricKey to the get calculated metrics service params

func (*GetCalculatedMetricsServiceParams) SetTimeout

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

SetTimeout adds the timeout to the get calculated metrics service params

func (*GetCalculatedMetricsServiceParams) WithContext

WithContext adds the context to the get calculated metrics service params

func (*GetCalculatedMetricsServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get calculated metrics service params

func (*GetCalculatedMetricsServiceParams) WithMetricKey

WithMetricKey adds the metricKey to the get calculated metrics service params

func (*GetCalculatedMetricsServiceParams) WithTimeout

WithTimeout adds the timeout to the get calculated metrics service params

func (*GetCalculatedMetricsServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCalculatedMetricsServiceReader

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

GetCalculatedMetricsServiceReader is a Reader for the GetCalculatedMetricsService structure.

func (*GetCalculatedMetricsServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCalculatedMetricsServicesOK

type GetCalculatedMetricsServicesOK struct {
	Payload *dynatrace.StubList
}

GetCalculatedMetricsServicesOK handles this case with default header values.

successful operation

func NewGetCalculatedMetricsServicesOK

func NewGetCalculatedMetricsServicesOK() *GetCalculatedMetricsServicesOK

NewGetCalculatedMetricsServicesOK creates a GetCalculatedMetricsServicesOK with default headers values

func (*GetCalculatedMetricsServicesOK) Error

func (*GetCalculatedMetricsServicesOK) GetPayload

type GetCalculatedMetricsServicesParams

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

GetCalculatedMetricsServicesParams contains all the parameters to send to the API endpoint for the get calculated metrics services operation typically these are written to a http.Request

func NewGetCalculatedMetricsServicesParams

func NewGetCalculatedMetricsServicesParams() *GetCalculatedMetricsServicesParams

NewGetCalculatedMetricsServicesParams creates a new GetCalculatedMetricsServicesParams object with the default values initialized.

func NewGetCalculatedMetricsServicesParamsWithContext

func NewGetCalculatedMetricsServicesParamsWithContext(ctx context.Context) *GetCalculatedMetricsServicesParams

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

func NewGetCalculatedMetricsServicesParamsWithHTTPClient

func NewGetCalculatedMetricsServicesParamsWithHTTPClient(client *http.Client) *GetCalculatedMetricsServicesParams

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

func NewGetCalculatedMetricsServicesParamsWithTimeout

func NewGetCalculatedMetricsServicesParamsWithTimeout(timeout time.Duration) *GetCalculatedMetricsServicesParams

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

func (*GetCalculatedMetricsServicesParams) SetContext

SetContext adds the context to the get calculated metrics services params

func (*GetCalculatedMetricsServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get calculated metrics services params

func (*GetCalculatedMetricsServicesParams) SetTimeout

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

SetTimeout adds the timeout to the get calculated metrics services params

func (*GetCalculatedMetricsServicesParams) WithContext

WithContext adds the context to the get calculated metrics services params

func (*GetCalculatedMetricsServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get calculated metrics services params

func (*GetCalculatedMetricsServicesParams) WithTimeout

WithTimeout adds the timeout to the get calculated metrics services params

func (*GetCalculatedMetricsServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCalculatedMetricsServicesReader

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

GetCalculatedMetricsServicesReader is a Reader for the GetCalculatedMetricsServices structure.

func (*GetCalculatedMetricsServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCalculatedMetricsServiceBadRequest

type UpdateCalculatedMetricsServiceBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateCalculatedMetricsServiceBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateCalculatedMetricsServiceBadRequest

func NewUpdateCalculatedMetricsServiceBadRequest() *UpdateCalculatedMetricsServiceBadRequest

NewUpdateCalculatedMetricsServiceBadRequest creates a UpdateCalculatedMetricsServiceBadRequest with default headers values

func (*UpdateCalculatedMetricsServiceBadRequest) Error

func (*UpdateCalculatedMetricsServiceBadRequest) GetPayload

type UpdateCalculatedMetricsServiceCreated

type UpdateCalculatedMetricsServiceCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

UpdateCalculatedMetricsServiceCreated handles this case with default header values.

Success. The new calculated service metric has been created. Response contains the key of the new metric.

func NewUpdateCalculatedMetricsServiceCreated

func NewUpdateCalculatedMetricsServiceCreated() *UpdateCalculatedMetricsServiceCreated

NewUpdateCalculatedMetricsServiceCreated creates a UpdateCalculatedMetricsServiceCreated with default headers values

func (*UpdateCalculatedMetricsServiceCreated) Error

func (*UpdateCalculatedMetricsServiceCreated) GetPayload

type UpdateCalculatedMetricsServiceNoContent

type UpdateCalculatedMetricsServiceNoContent struct {
}

UpdateCalculatedMetricsServiceNoContent handles this case with default header values.

Success. The calculated service metric has been updated. Response doesn't have a body.

func NewUpdateCalculatedMetricsServiceNoContent

func NewUpdateCalculatedMetricsServiceNoContent() *UpdateCalculatedMetricsServiceNoContent

NewUpdateCalculatedMetricsServiceNoContent creates a UpdateCalculatedMetricsServiceNoContent with default headers values

func (*UpdateCalculatedMetricsServiceNoContent) Error

type UpdateCalculatedMetricsServiceParams

type UpdateCalculatedMetricsServiceParams struct {

	/*Body
	  The JSON body of the request. Contains updated parameters of the calculated service metric.

	*/
	Body *dynatrace.CalculatedServiceMetric
	/*MetricKey
	 The key of the calculated service metric to be updated.

	The key of the calculated service metric in the body of the request must match this key.

	*/
	MetricKey string

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

UpdateCalculatedMetricsServiceParams contains all the parameters to send to the API endpoint for the update calculated metrics service operation typically these are written to a http.Request

func NewUpdateCalculatedMetricsServiceParams

func NewUpdateCalculatedMetricsServiceParams() *UpdateCalculatedMetricsServiceParams

NewUpdateCalculatedMetricsServiceParams creates a new UpdateCalculatedMetricsServiceParams object with the default values initialized.

func NewUpdateCalculatedMetricsServiceParamsWithContext

func NewUpdateCalculatedMetricsServiceParamsWithContext(ctx context.Context) *UpdateCalculatedMetricsServiceParams

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

func NewUpdateCalculatedMetricsServiceParamsWithHTTPClient

func NewUpdateCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *UpdateCalculatedMetricsServiceParams

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

func NewUpdateCalculatedMetricsServiceParamsWithTimeout

func NewUpdateCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *UpdateCalculatedMetricsServiceParams

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

func (*UpdateCalculatedMetricsServiceParams) SetBody

SetBody adds the body to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) SetContext

SetContext adds the context to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) SetMetricKey

func (o *UpdateCalculatedMetricsServiceParams) SetMetricKey(metricKey string)

SetMetricKey adds the metricKey to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) SetTimeout

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

SetTimeout adds the timeout to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) WithBody

WithBody adds the body to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) WithContext

WithContext adds the context to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) WithMetricKey

WithMetricKey adds the metricKey to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) WithTimeout

WithTimeout adds the timeout to the update calculated metrics service params

func (*UpdateCalculatedMetricsServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCalculatedMetricsServiceReader

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

UpdateCalculatedMetricsServiceReader is a Reader for the UpdateCalculatedMetricsService structure.

func (*UpdateCalculatedMetricsServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateCreateCalculatedMetricsServiceBadRequest

type ValidateCreateCalculatedMetricsServiceBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateCreateCalculatedMetricsServiceBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateCreateCalculatedMetricsServiceBadRequest

func NewValidateCreateCalculatedMetricsServiceBadRequest() *ValidateCreateCalculatedMetricsServiceBadRequest

NewValidateCreateCalculatedMetricsServiceBadRequest creates a ValidateCreateCalculatedMetricsServiceBadRequest with default headers values

func (*ValidateCreateCalculatedMetricsServiceBadRequest) Error

func (*ValidateCreateCalculatedMetricsServiceBadRequest) GetPayload

type ValidateCreateCalculatedMetricsServiceNoContent

type ValidateCreateCalculatedMetricsServiceNoContent struct {
}

ValidateCreateCalculatedMetricsServiceNoContent handles this case with default header values.

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

func NewValidateCreateCalculatedMetricsServiceNoContent

func NewValidateCreateCalculatedMetricsServiceNoContent() *ValidateCreateCalculatedMetricsServiceNoContent

NewValidateCreateCalculatedMetricsServiceNoContent creates a ValidateCreateCalculatedMetricsServiceNoContent with default headers values

func (*ValidateCreateCalculatedMetricsServiceNoContent) Error

type ValidateCreateCalculatedMetricsServiceParams

type ValidateCreateCalculatedMetricsServiceParams struct {

	/*Body
	  The JSON body of the request. Contains the calculated service metric to be validated.

	*/
	Body *dynatrace.CalculatedServiceMetric

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

ValidateCreateCalculatedMetricsServiceParams contains all the parameters to send to the API endpoint for the validate create calculated metrics service operation typically these are written to a http.Request

func NewValidateCreateCalculatedMetricsServiceParams

func NewValidateCreateCalculatedMetricsServiceParams() *ValidateCreateCalculatedMetricsServiceParams

NewValidateCreateCalculatedMetricsServiceParams creates a new ValidateCreateCalculatedMetricsServiceParams object with the default values initialized.

func NewValidateCreateCalculatedMetricsServiceParamsWithContext

func NewValidateCreateCalculatedMetricsServiceParamsWithContext(ctx context.Context) *ValidateCreateCalculatedMetricsServiceParams

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

func NewValidateCreateCalculatedMetricsServiceParamsWithHTTPClient

func NewValidateCreateCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *ValidateCreateCalculatedMetricsServiceParams

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

func NewValidateCreateCalculatedMetricsServiceParamsWithTimeout

func NewValidateCreateCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *ValidateCreateCalculatedMetricsServiceParams

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

func (*ValidateCreateCalculatedMetricsServiceParams) SetBody

SetBody adds the body to the validate create calculated metrics service params

func (*ValidateCreateCalculatedMetricsServiceParams) SetContext

SetContext adds the context to the validate create calculated metrics service params

func (*ValidateCreateCalculatedMetricsServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate create calculated metrics service params

func (*ValidateCreateCalculatedMetricsServiceParams) SetTimeout

SetTimeout adds the timeout to the validate create calculated metrics service params

func (*ValidateCreateCalculatedMetricsServiceParams) WithBody

WithBody adds the body to the validate create calculated metrics service params

func (*ValidateCreateCalculatedMetricsServiceParams) WithContext

WithContext adds the context to the validate create calculated metrics service params

func (*ValidateCreateCalculatedMetricsServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create calculated metrics service params

func (*ValidateCreateCalculatedMetricsServiceParams) WithTimeout

WithTimeout adds the timeout to the validate create calculated metrics service params

func (*ValidateCreateCalculatedMetricsServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateCreateCalculatedMetricsServiceReader

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

ValidateCreateCalculatedMetricsServiceReader is a Reader for the ValidateCreateCalculatedMetricsService structure.

func (*ValidateCreateCalculatedMetricsServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateCalculatedMetricsServiceBadRequest

type ValidateUpdateCalculatedMetricsServiceBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateCalculatedMetricsServiceBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateCalculatedMetricsServiceBadRequest

func NewValidateUpdateCalculatedMetricsServiceBadRequest() *ValidateUpdateCalculatedMetricsServiceBadRequest

NewValidateUpdateCalculatedMetricsServiceBadRequest creates a ValidateUpdateCalculatedMetricsServiceBadRequest with default headers values

func (*ValidateUpdateCalculatedMetricsServiceBadRequest) Error

func (*ValidateUpdateCalculatedMetricsServiceBadRequest) GetPayload

type ValidateUpdateCalculatedMetricsServiceNoContent

type ValidateUpdateCalculatedMetricsServiceNoContent struct {
}

ValidateUpdateCalculatedMetricsServiceNoContent handles this case with default header values.

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

func NewValidateUpdateCalculatedMetricsServiceNoContent

func NewValidateUpdateCalculatedMetricsServiceNoContent() *ValidateUpdateCalculatedMetricsServiceNoContent

NewValidateUpdateCalculatedMetricsServiceNoContent creates a ValidateUpdateCalculatedMetricsServiceNoContent with default headers values

func (*ValidateUpdateCalculatedMetricsServiceNoContent) Error

type ValidateUpdateCalculatedMetricsServiceParams

type ValidateUpdateCalculatedMetricsServiceParams struct {

	/*Body
	  The JSON body of the request. Contains the calculated service metric to be validated.

	*/
	Body *dynatrace.CalculatedServiceMetric
	/*MetricKey
	 The key of the calculated service metric to be validated .

	The key of the metric in the body of the request must match this key.

	*/
	MetricKey string

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

ValidateUpdateCalculatedMetricsServiceParams contains all the parameters to send to the API endpoint for the validate update calculated metrics service operation typically these are written to a http.Request

func NewValidateUpdateCalculatedMetricsServiceParams

func NewValidateUpdateCalculatedMetricsServiceParams() *ValidateUpdateCalculatedMetricsServiceParams

NewValidateUpdateCalculatedMetricsServiceParams creates a new ValidateUpdateCalculatedMetricsServiceParams object with the default values initialized.

func NewValidateUpdateCalculatedMetricsServiceParamsWithContext

func NewValidateUpdateCalculatedMetricsServiceParamsWithContext(ctx context.Context) *ValidateUpdateCalculatedMetricsServiceParams

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

func NewValidateUpdateCalculatedMetricsServiceParamsWithHTTPClient

func NewValidateUpdateCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *ValidateUpdateCalculatedMetricsServiceParams

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

func NewValidateUpdateCalculatedMetricsServiceParamsWithTimeout

func NewValidateUpdateCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *ValidateUpdateCalculatedMetricsServiceParams

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

func (*ValidateUpdateCalculatedMetricsServiceParams) SetBody

SetBody adds the body to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) SetContext

SetContext adds the context to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) SetMetricKey

func (o *ValidateUpdateCalculatedMetricsServiceParams) SetMetricKey(metricKey string)

SetMetricKey adds the metricKey to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) SetTimeout

SetTimeout adds the timeout to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) WithBody

WithBody adds the body to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) WithContext

WithContext adds the context to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) WithMetricKey

WithMetricKey adds the metricKey to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) WithTimeout

WithTimeout adds the timeout to the validate update calculated metrics service params

func (*ValidateUpdateCalculatedMetricsServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateCalculatedMetricsServiceReader

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

ValidateUpdateCalculatedMetricsServiceReader is a Reader for the ValidateUpdateCalculatedMetricsService structure.

func (*ValidateUpdateCalculatedMetricsServiceReader) ReadResponse

func (o *ValidateUpdateCalculatedMetricsServiceReader) 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