Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateCalculatedMetricsService(params *CreateCalculatedMetricsServiceParams, ...) (*CreateCalculatedMetricsServiceCreated, error)
- func (a *Client) DeleteCalculatedMetricsService(params *DeleteCalculatedMetricsServiceParams, ...) (*DeleteCalculatedMetricsServiceNoContent, error)
- func (a *Client) GetCalculatedMetricsService(params *GetCalculatedMetricsServiceParams, ...) (*GetCalculatedMetricsServiceOK, error)
- func (a *Client) GetCalculatedMetricsServices(params *GetCalculatedMetricsServicesParams, ...) (*GetCalculatedMetricsServicesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCalculatedMetricsService(params *UpdateCalculatedMetricsServiceParams, ...) (*UpdateCalculatedMetricsServiceCreated, ...)
- func (a *Client) ValidateCreateCalculatedMetricsService(params *ValidateCreateCalculatedMetricsServiceParams, ...) (*ValidateCreateCalculatedMetricsServiceNoContent, error)
- func (a *Client) ValidateUpdateCalculatedMetricsService(params *ValidateUpdateCalculatedMetricsServiceParams, ...) (*ValidateUpdateCalculatedMetricsServiceNoContent, error)
- type ClientService
- type CreateCalculatedMetricsServiceBadRequest
- type CreateCalculatedMetricsServiceCreated
- type CreateCalculatedMetricsServiceParams
- func NewCreateCalculatedMetricsServiceParams() *CreateCalculatedMetricsServiceParams
- func NewCreateCalculatedMetricsServiceParamsWithContext(ctx context.Context) *CreateCalculatedMetricsServiceParams
- func NewCreateCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *CreateCalculatedMetricsServiceParams
- func NewCreateCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *CreateCalculatedMetricsServiceParams
- func (o *CreateCalculatedMetricsServiceParams) SetBody(body *dynatrace.CalculatedServiceMetric)
- func (o *CreateCalculatedMetricsServiceParams) SetContext(ctx context.Context)
- func (o *CreateCalculatedMetricsServiceParams) SetHTTPClient(client *http.Client)
- func (o *CreateCalculatedMetricsServiceParams) SetTimeout(timeout time.Duration)
- func (o *CreateCalculatedMetricsServiceParams) WithBody(body *dynatrace.CalculatedServiceMetric) *CreateCalculatedMetricsServiceParams
- func (o *CreateCalculatedMetricsServiceParams) WithContext(ctx context.Context) *CreateCalculatedMetricsServiceParams
- func (o *CreateCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *CreateCalculatedMetricsServiceParams
- func (o *CreateCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *CreateCalculatedMetricsServiceParams
- func (o *CreateCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCalculatedMetricsServiceReader
- type DeleteCalculatedMetricsServiceNoContent
- type DeleteCalculatedMetricsServiceParams
- func NewDeleteCalculatedMetricsServiceParams() *DeleteCalculatedMetricsServiceParams
- func NewDeleteCalculatedMetricsServiceParamsWithContext(ctx context.Context) *DeleteCalculatedMetricsServiceParams
- func NewDeleteCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *DeleteCalculatedMetricsServiceParams
- func NewDeleteCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *DeleteCalculatedMetricsServiceParams
- func (o *DeleteCalculatedMetricsServiceParams) SetContext(ctx context.Context)
- func (o *DeleteCalculatedMetricsServiceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCalculatedMetricsServiceParams) SetMetricKey(metricKey string)
- func (o *DeleteCalculatedMetricsServiceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCalculatedMetricsServiceParams) WithContext(ctx context.Context) *DeleteCalculatedMetricsServiceParams
- func (o *DeleteCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *DeleteCalculatedMetricsServiceParams
- func (o *DeleteCalculatedMetricsServiceParams) WithMetricKey(metricKey string) *DeleteCalculatedMetricsServiceParams
- func (o *DeleteCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *DeleteCalculatedMetricsServiceParams
- func (o *DeleteCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCalculatedMetricsServiceReader
- type GetCalculatedMetricsServiceOK
- type GetCalculatedMetricsServiceParams
- func NewGetCalculatedMetricsServiceParams() *GetCalculatedMetricsServiceParams
- func NewGetCalculatedMetricsServiceParamsWithContext(ctx context.Context) *GetCalculatedMetricsServiceParams
- func NewGetCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *GetCalculatedMetricsServiceParams
- func NewGetCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *GetCalculatedMetricsServiceParams
- func (o *GetCalculatedMetricsServiceParams) SetContext(ctx context.Context)
- func (o *GetCalculatedMetricsServiceParams) SetHTTPClient(client *http.Client)
- func (o *GetCalculatedMetricsServiceParams) SetMetricKey(metricKey string)
- func (o *GetCalculatedMetricsServiceParams) SetTimeout(timeout time.Duration)
- func (o *GetCalculatedMetricsServiceParams) WithContext(ctx context.Context) *GetCalculatedMetricsServiceParams
- func (o *GetCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *GetCalculatedMetricsServiceParams
- func (o *GetCalculatedMetricsServiceParams) WithMetricKey(metricKey string) *GetCalculatedMetricsServiceParams
- func (o *GetCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *GetCalculatedMetricsServiceParams
- func (o *GetCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCalculatedMetricsServiceReader
- type GetCalculatedMetricsServicesOK
- type GetCalculatedMetricsServicesParams
- func NewGetCalculatedMetricsServicesParams() *GetCalculatedMetricsServicesParams
- func NewGetCalculatedMetricsServicesParamsWithContext(ctx context.Context) *GetCalculatedMetricsServicesParams
- func NewGetCalculatedMetricsServicesParamsWithHTTPClient(client *http.Client) *GetCalculatedMetricsServicesParams
- func NewGetCalculatedMetricsServicesParamsWithTimeout(timeout time.Duration) *GetCalculatedMetricsServicesParams
- func (o *GetCalculatedMetricsServicesParams) SetContext(ctx context.Context)
- func (o *GetCalculatedMetricsServicesParams) SetHTTPClient(client *http.Client)
- func (o *GetCalculatedMetricsServicesParams) SetTimeout(timeout time.Duration)
- func (o *GetCalculatedMetricsServicesParams) WithContext(ctx context.Context) *GetCalculatedMetricsServicesParams
- func (o *GetCalculatedMetricsServicesParams) WithHTTPClient(client *http.Client) *GetCalculatedMetricsServicesParams
- func (o *GetCalculatedMetricsServicesParams) WithTimeout(timeout time.Duration) *GetCalculatedMetricsServicesParams
- func (o *GetCalculatedMetricsServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCalculatedMetricsServicesReader
- type UpdateCalculatedMetricsServiceBadRequest
- type UpdateCalculatedMetricsServiceCreated
- type UpdateCalculatedMetricsServiceNoContent
- type UpdateCalculatedMetricsServiceParams
- func NewUpdateCalculatedMetricsServiceParams() *UpdateCalculatedMetricsServiceParams
- func NewUpdateCalculatedMetricsServiceParamsWithContext(ctx context.Context) *UpdateCalculatedMetricsServiceParams
- func NewUpdateCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *UpdateCalculatedMetricsServiceParams
- func NewUpdateCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *UpdateCalculatedMetricsServiceParams
- func (o *UpdateCalculatedMetricsServiceParams) SetBody(body *dynatrace.CalculatedServiceMetric)
- func (o *UpdateCalculatedMetricsServiceParams) SetContext(ctx context.Context)
- func (o *UpdateCalculatedMetricsServiceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCalculatedMetricsServiceParams) SetMetricKey(metricKey string)
- func (o *UpdateCalculatedMetricsServiceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCalculatedMetricsServiceParams) WithBody(body *dynatrace.CalculatedServiceMetric) *UpdateCalculatedMetricsServiceParams
- func (o *UpdateCalculatedMetricsServiceParams) WithContext(ctx context.Context) *UpdateCalculatedMetricsServiceParams
- func (o *UpdateCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *UpdateCalculatedMetricsServiceParams
- func (o *UpdateCalculatedMetricsServiceParams) WithMetricKey(metricKey string) *UpdateCalculatedMetricsServiceParams
- func (o *UpdateCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *UpdateCalculatedMetricsServiceParams
- func (o *UpdateCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCalculatedMetricsServiceReader
- type ValidateCreateCalculatedMetricsServiceBadRequest
- type ValidateCreateCalculatedMetricsServiceNoContent
- type ValidateCreateCalculatedMetricsServiceParams
- func NewValidateCreateCalculatedMetricsServiceParams() *ValidateCreateCalculatedMetricsServiceParams
- func NewValidateCreateCalculatedMetricsServiceParamsWithContext(ctx context.Context) *ValidateCreateCalculatedMetricsServiceParams
- func NewValidateCreateCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *ValidateCreateCalculatedMetricsServiceParams
- func NewValidateCreateCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *ValidateCreateCalculatedMetricsServiceParams
- func (o *ValidateCreateCalculatedMetricsServiceParams) SetBody(body *dynatrace.CalculatedServiceMetric)
- func (o *ValidateCreateCalculatedMetricsServiceParams) SetContext(ctx context.Context)
- func (o *ValidateCreateCalculatedMetricsServiceParams) SetHTTPClient(client *http.Client)
- func (o *ValidateCreateCalculatedMetricsServiceParams) SetTimeout(timeout time.Duration)
- func (o *ValidateCreateCalculatedMetricsServiceParams) WithBody(body *dynatrace.CalculatedServiceMetric) *ValidateCreateCalculatedMetricsServiceParams
- func (o *ValidateCreateCalculatedMetricsServiceParams) WithContext(ctx context.Context) *ValidateCreateCalculatedMetricsServiceParams
- func (o *ValidateCreateCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *ValidateCreateCalculatedMetricsServiceParams
- func (o *ValidateCreateCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *ValidateCreateCalculatedMetricsServiceParams
- func (o *ValidateCreateCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateCreateCalculatedMetricsServiceReader
- type ValidateUpdateCalculatedMetricsServiceBadRequest
- type ValidateUpdateCalculatedMetricsServiceNoContent
- type ValidateUpdateCalculatedMetricsServiceParams
- func NewValidateUpdateCalculatedMetricsServiceParams() *ValidateUpdateCalculatedMetricsServiceParams
- func NewValidateUpdateCalculatedMetricsServiceParamsWithContext(ctx context.Context) *ValidateUpdateCalculatedMetricsServiceParams
- func NewValidateUpdateCalculatedMetricsServiceParamsWithHTTPClient(client *http.Client) *ValidateUpdateCalculatedMetricsServiceParams
- func NewValidateUpdateCalculatedMetricsServiceParamsWithTimeout(timeout time.Duration) *ValidateUpdateCalculatedMetricsServiceParams
- func (o *ValidateUpdateCalculatedMetricsServiceParams) SetBody(body *dynatrace.CalculatedServiceMetric)
- func (o *ValidateUpdateCalculatedMetricsServiceParams) SetContext(ctx context.Context)
- func (o *ValidateUpdateCalculatedMetricsServiceParams) SetHTTPClient(client *http.Client)
- func (o *ValidateUpdateCalculatedMetricsServiceParams) SetMetricKey(metricKey string)
- func (o *ValidateUpdateCalculatedMetricsServiceParams) SetTimeout(timeout time.Duration)
- func (o *ValidateUpdateCalculatedMetricsServiceParams) WithBody(body *dynatrace.CalculatedServiceMetric) *ValidateUpdateCalculatedMetricsServiceParams
- func (o *ValidateUpdateCalculatedMetricsServiceParams) WithContext(ctx context.Context) *ValidateUpdateCalculatedMetricsServiceParams
- func (o *ValidateUpdateCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *ValidateUpdateCalculatedMetricsServiceParams
- func (o *ValidateUpdateCalculatedMetricsServiceParams) WithMetricKey(metricKey string) *ValidateUpdateCalculatedMetricsServiceParams
- func (o *ValidateUpdateCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *ValidateUpdateCalculatedMetricsServiceParams
- func (o *ValidateUpdateCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateUpdateCalculatedMetricsServiceReader
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 ¶
func (a *Client) CreateCalculatedMetricsService(params *CreateCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCalculatedMetricsServiceCreated, error)
CreateCalculatedMetricsService creates a new calculated service metric pipe maturity e a r l y a d o p t e r
func (*Client) DeleteCalculatedMetricsService ¶
func (a *Client) DeleteCalculatedMetricsService(params *DeleteCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCalculatedMetricsServiceNoContent, error)
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 ¶
func (a *Client) UpdateCalculatedMetricsService(params *UpdateCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCalculatedMetricsServiceCreated, *UpdateCalculatedMetricsServiceNoContent, error)
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 ¶
func (a *Client) ValidateCreateCalculatedMetricsService(params *ValidateCreateCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateCalculatedMetricsServiceNoContent, error)
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 ¶
func (a *Client) ValidateUpdateCalculatedMetricsService(params *ValidateUpdateCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateCalculatedMetricsServiceNoContent, error)
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 ¶
type ClientService interface { CreateCalculatedMetricsService(params *CreateCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCalculatedMetricsServiceCreated, error) DeleteCalculatedMetricsService(params *DeleteCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCalculatedMetricsServiceNoContent, error) GetCalculatedMetricsService(params *GetCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsServiceOK, error) GetCalculatedMetricsServices(params *GetCalculatedMetricsServicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetCalculatedMetricsServicesOK, error) UpdateCalculatedMetricsService(params *UpdateCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCalculatedMetricsServiceCreated, *UpdateCalculatedMetricsServiceNoContent, error) ValidateCreateCalculatedMetricsService(params *ValidateCreateCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateCalculatedMetricsServiceNoContent, error) ValidateUpdateCalculatedMetricsService(params *ValidateUpdateCalculatedMetricsServiceParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateCalculatedMetricsServiceNoContent, 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 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 (o *CreateCalculatedMetricsServiceBadRequest) Error() string
func (*CreateCalculatedMetricsServiceBadRequest) GetPayload ¶
func (o *CreateCalculatedMetricsServiceBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 (o *CreateCalculatedMetricsServiceCreated) Error() string
func (*CreateCalculatedMetricsServiceCreated) GetPayload ¶
func (o *CreateCalculatedMetricsServiceCreated) GetPayload() *dynatrace.EntityShortRepresentation
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 ¶
func (o *CreateCalculatedMetricsServiceParams) SetBody(body *dynatrace.CalculatedServiceMetric)
SetBody adds the body to the create calculated metrics service params
func (*CreateCalculatedMetricsServiceParams) SetContext ¶
func (o *CreateCalculatedMetricsServiceParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateCalculatedMetricsServiceParams) WithBody(body *dynatrace.CalculatedServiceMetric) *CreateCalculatedMetricsServiceParams
WithBody adds the body to the create calculated metrics service params
func (*CreateCalculatedMetricsServiceParams) WithContext ¶
func (o *CreateCalculatedMetricsServiceParams) WithContext(ctx context.Context) *CreateCalculatedMetricsServiceParams
WithContext adds the context to the create calculated metrics service params
func (*CreateCalculatedMetricsServiceParams) WithHTTPClient ¶
func (o *CreateCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *CreateCalculatedMetricsServiceParams
WithHTTPClient adds the HTTPClient to the create calculated metrics service params
func (*CreateCalculatedMetricsServiceParams) WithTimeout ¶
func (o *CreateCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *CreateCalculatedMetricsServiceParams
WithTimeout adds the timeout to the create calculated metrics service params
func (*CreateCalculatedMetricsServiceParams) WriteToRequest ¶
func (o *CreateCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteCalculatedMetricsServiceNoContent) Error() string
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 ¶
func (o *DeleteCalculatedMetricsServiceParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteCalculatedMetricsServiceParams) WithContext(ctx context.Context) *DeleteCalculatedMetricsServiceParams
WithContext adds the context to the delete calculated metrics service params
func (*DeleteCalculatedMetricsServiceParams) WithHTTPClient ¶
func (o *DeleteCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *DeleteCalculatedMetricsServiceParams
WithHTTPClient adds the HTTPClient to the delete calculated metrics service params
func (*DeleteCalculatedMetricsServiceParams) WithMetricKey ¶
func (o *DeleteCalculatedMetricsServiceParams) WithMetricKey(metricKey string) *DeleteCalculatedMetricsServiceParams
WithMetricKey adds the metricKey to the delete calculated metrics service params
func (*DeleteCalculatedMetricsServiceParams) WithTimeout ¶
func (o *DeleteCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *DeleteCalculatedMetricsServiceParams
WithTimeout adds the timeout to the delete calculated metrics service params
func (*DeleteCalculatedMetricsServiceParams) WriteToRequest ¶
func (o *DeleteCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetCalculatedMetricsServiceOK) Error() string
func (*GetCalculatedMetricsServiceOK) GetPayload ¶
func (o *GetCalculatedMetricsServiceOK) GetPayload() *dynatrace.CalculatedServiceMetric
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 ¶
func (o *GetCalculatedMetricsServiceParams) SetContext(ctx context.Context)
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 ¶
func (o *GetCalculatedMetricsServiceParams) WithContext(ctx context.Context) *GetCalculatedMetricsServiceParams
WithContext adds the context to the get calculated metrics service params
func (*GetCalculatedMetricsServiceParams) WithHTTPClient ¶
func (o *GetCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *GetCalculatedMetricsServiceParams
WithHTTPClient adds the HTTPClient to the get calculated metrics service params
func (*GetCalculatedMetricsServiceParams) WithMetricKey ¶
func (o *GetCalculatedMetricsServiceParams) WithMetricKey(metricKey string) *GetCalculatedMetricsServiceParams
WithMetricKey adds the metricKey to the get calculated metrics service params
func (*GetCalculatedMetricsServiceParams) WithTimeout ¶
func (o *GetCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *GetCalculatedMetricsServiceParams
WithTimeout adds the timeout to the get calculated metrics service params
func (*GetCalculatedMetricsServiceParams) WriteToRequest ¶
func (o *GetCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetCalculatedMetricsServicesOK) Error() string
func (*GetCalculatedMetricsServicesOK) GetPayload ¶
func (o *GetCalculatedMetricsServicesOK) GetPayload() *dynatrace.StubList
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 ¶
func (o *GetCalculatedMetricsServicesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetCalculatedMetricsServicesParams) WithContext(ctx context.Context) *GetCalculatedMetricsServicesParams
WithContext adds the context to the get calculated metrics services params
func (*GetCalculatedMetricsServicesParams) WithHTTPClient ¶
func (o *GetCalculatedMetricsServicesParams) WithHTTPClient(client *http.Client) *GetCalculatedMetricsServicesParams
WithHTTPClient adds the HTTPClient to the get calculated metrics services params
func (*GetCalculatedMetricsServicesParams) WithTimeout ¶
func (o *GetCalculatedMetricsServicesParams) WithTimeout(timeout time.Duration) *GetCalculatedMetricsServicesParams
WithTimeout adds the timeout to the get calculated metrics services params
func (*GetCalculatedMetricsServicesParams) WriteToRequest ¶
func (o *GetCalculatedMetricsServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateCalculatedMetricsServiceBadRequest) Error() string
func (*UpdateCalculatedMetricsServiceBadRequest) GetPayload ¶
func (o *UpdateCalculatedMetricsServiceBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 (o *UpdateCalculatedMetricsServiceCreated) Error() string
func (*UpdateCalculatedMetricsServiceCreated) GetPayload ¶
func (o *UpdateCalculatedMetricsServiceCreated) GetPayload() *dynatrace.EntityShortRepresentation
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 ¶
func (o *UpdateCalculatedMetricsServiceNoContent) Error() string
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 ¶
func (o *UpdateCalculatedMetricsServiceParams) SetBody(body *dynatrace.CalculatedServiceMetric)
SetBody adds the body to the update calculated metrics service params
func (*UpdateCalculatedMetricsServiceParams) SetContext ¶
func (o *UpdateCalculatedMetricsServiceParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateCalculatedMetricsServiceParams) WithBody(body *dynatrace.CalculatedServiceMetric) *UpdateCalculatedMetricsServiceParams
WithBody adds the body to the update calculated metrics service params
func (*UpdateCalculatedMetricsServiceParams) WithContext ¶
func (o *UpdateCalculatedMetricsServiceParams) WithContext(ctx context.Context) *UpdateCalculatedMetricsServiceParams
WithContext adds the context to the update calculated metrics service params
func (*UpdateCalculatedMetricsServiceParams) WithHTTPClient ¶
func (o *UpdateCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *UpdateCalculatedMetricsServiceParams
WithHTTPClient adds the HTTPClient to the update calculated metrics service params
func (*UpdateCalculatedMetricsServiceParams) WithMetricKey ¶
func (o *UpdateCalculatedMetricsServiceParams) WithMetricKey(metricKey string) *UpdateCalculatedMetricsServiceParams
WithMetricKey adds the metricKey to the update calculated metrics service params
func (*UpdateCalculatedMetricsServiceParams) WithTimeout ¶
func (o *UpdateCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *UpdateCalculatedMetricsServiceParams
WithTimeout adds the timeout to the update calculated metrics service params
func (*UpdateCalculatedMetricsServiceParams) WriteToRequest ¶
func (o *UpdateCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ValidateCreateCalculatedMetricsServiceBadRequest) Error() string
func (*ValidateCreateCalculatedMetricsServiceBadRequest) GetPayload ¶
func (o *ValidateCreateCalculatedMetricsServiceBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 ¶
func (o *ValidateCreateCalculatedMetricsServiceNoContent) Error() string
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 ¶
func (o *ValidateCreateCalculatedMetricsServiceParams) SetBody(body *dynatrace.CalculatedServiceMetric)
SetBody adds the body to the validate create calculated metrics service params
func (*ValidateCreateCalculatedMetricsServiceParams) SetContext ¶
func (o *ValidateCreateCalculatedMetricsServiceParams) SetContext(ctx context.Context)
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 ¶
func (o *ValidateCreateCalculatedMetricsServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate create calculated metrics service params
func (*ValidateCreateCalculatedMetricsServiceParams) WithBody ¶
func (o *ValidateCreateCalculatedMetricsServiceParams) WithBody(body *dynatrace.CalculatedServiceMetric) *ValidateCreateCalculatedMetricsServiceParams
WithBody adds the body to the validate create calculated metrics service params
func (*ValidateCreateCalculatedMetricsServiceParams) WithContext ¶
func (o *ValidateCreateCalculatedMetricsServiceParams) WithContext(ctx context.Context) *ValidateCreateCalculatedMetricsServiceParams
WithContext adds the context to the validate create calculated metrics service params
func (*ValidateCreateCalculatedMetricsServiceParams) WithHTTPClient ¶
func (o *ValidateCreateCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *ValidateCreateCalculatedMetricsServiceParams
WithHTTPClient adds the HTTPClient to the validate create calculated metrics service params
func (*ValidateCreateCalculatedMetricsServiceParams) WithTimeout ¶
func (o *ValidateCreateCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *ValidateCreateCalculatedMetricsServiceParams
WithTimeout adds the timeout to the validate create calculated metrics service params
func (*ValidateCreateCalculatedMetricsServiceParams) WriteToRequest ¶
func (o *ValidateCreateCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ValidateUpdateCalculatedMetricsServiceBadRequest) Error() string
func (*ValidateUpdateCalculatedMetricsServiceBadRequest) GetPayload ¶
func (o *ValidateUpdateCalculatedMetricsServiceBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 ¶
func (o *ValidateUpdateCalculatedMetricsServiceNoContent) Error() string
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 ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) SetBody(body *dynatrace.CalculatedServiceMetric)
SetBody adds the body to the validate update calculated metrics service params
func (*ValidateUpdateCalculatedMetricsServiceParams) SetContext ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) SetContext(ctx context.Context)
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 ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the validate update calculated metrics service params
func (*ValidateUpdateCalculatedMetricsServiceParams) WithBody ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) WithBody(body *dynatrace.CalculatedServiceMetric) *ValidateUpdateCalculatedMetricsServiceParams
WithBody adds the body to the validate update calculated metrics service params
func (*ValidateUpdateCalculatedMetricsServiceParams) WithContext ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) WithContext(ctx context.Context) *ValidateUpdateCalculatedMetricsServiceParams
WithContext adds the context to the validate update calculated metrics service params
func (*ValidateUpdateCalculatedMetricsServiceParams) WithHTTPClient ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) WithHTTPClient(client *http.Client) *ValidateUpdateCalculatedMetricsServiceParams
WithHTTPClient adds the HTTPClient to the validate update calculated metrics service params
func (*ValidateUpdateCalculatedMetricsServiceParams) WithMetricKey ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) WithMetricKey(metricKey string) *ValidateUpdateCalculatedMetricsServiceParams
WithMetricKey adds the metricKey to the validate update calculated metrics service params
func (*ValidateUpdateCalculatedMetricsServiceParams) WithTimeout ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) WithTimeout(timeout time.Duration) *ValidateUpdateCalculatedMetricsServiceParams
WithTimeout adds the timeout to the validate update calculated metrics service params
func (*ValidateUpdateCalculatedMetricsServiceParams) WriteToRequest ¶
func (o *ValidateUpdateCalculatedMetricsServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- create_calculated_metrics_service_parameters.go
- create_calculated_metrics_service_responses.go
- delete_calculated_metrics_service_parameters.go
- delete_calculated_metrics_service_responses.go
- get_calculated_metrics_service_parameters.go
- get_calculated_metrics_service_responses.go
- get_calculated_metrics_services_parameters.go
- get_calculated_metrics_services_responses.go
- service_calculated_metrics_client.go
- update_calculated_metrics_service_parameters.go
- update_calculated_metrics_service_responses.go
- validate_create_calculated_metrics_service_parameters.go
- validate_create_calculated_metrics_service_responses.go
- validate_update_calculated_metrics_service_parameters.go
- validate_update_calculated_metrics_service_responses.go