anomaly_detection_applications

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 anomaly detection applications API

func (*Client) GetAnomalyDetectionApplications

func (a *Client) GetAnomalyDetectionApplications(params *GetAnomalyDetectionApplicationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAnomalyDetectionApplicationsOK, error)

GetAnomalyDetectionApplications gets the configuration of anomaly detection for applications

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateAnomalyDetectionApplications

UpdateAnomalyDetectionApplications updates the configuration of anomaly detection for applications

func (*Client) ValidateUpdateAnomalyDetectionApplications

ValidateUpdateAnomalyDetectionApplications validates the configuration of anomaly detection for applications for the p u t anomaly detection applications request

type ClientService

type ClientService interface {
	GetAnomalyDetectionApplications(params *GetAnomalyDetectionApplicationsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAnomalyDetectionApplicationsOK, error)

	UpdateAnomalyDetectionApplications(params *UpdateAnomalyDetectionApplicationsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAnomalyDetectionApplicationsNoContent, error)

	ValidateUpdateAnomalyDetectionApplications(params *ValidateUpdateAnomalyDetectionApplicationsParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateAnomalyDetectionApplicationsNoContent, 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 anomaly detection applications API client.

type GetAnomalyDetectionApplicationsOK

type GetAnomalyDetectionApplicationsOK struct {
	Payload *dynatrace.ApplicationAnomalyDetectionConfig
}

GetAnomalyDetectionApplicationsOK handles this case with default header values.

successful operation

func NewGetAnomalyDetectionApplicationsOK

func NewGetAnomalyDetectionApplicationsOK() *GetAnomalyDetectionApplicationsOK

NewGetAnomalyDetectionApplicationsOK creates a GetAnomalyDetectionApplicationsOK with default headers values

func (*GetAnomalyDetectionApplicationsOK) Error

func (*GetAnomalyDetectionApplicationsOK) GetPayload

type GetAnomalyDetectionApplicationsParams

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

GetAnomalyDetectionApplicationsParams contains all the parameters to send to the API endpoint for the get anomaly detection applications operation typically these are written to a http.Request

func NewGetAnomalyDetectionApplicationsParams

func NewGetAnomalyDetectionApplicationsParams() *GetAnomalyDetectionApplicationsParams

NewGetAnomalyDetectionApplicationsParams creates a new GetAnomalyDetectionApplicationsParams object with the default values initialized.

func NewGetAnomalyDetectionApplicationsParamsWithContext

func NewGetAnomalyDetectionApplicationsParamsWithContext(ctx context.Context) *GetAnomalyDetectionApplicationsParams

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

func NewGetAnomalyDetectionApplicationsParamsWithHTTPClient

func NewGetAnomalyDetectionApplicationsParamsWithHTTPClient(client *http.Client) *GetAnomalyDetectionApplicationsParams

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

func NewGetAnomalyDetectionApplicationsParamsWithTimeout

func NewGetAnomalyDetectionApplicationsParamsWithTimeout(timeout time.Duration) *GetAnomalyDetectionApplicationsParams

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

func (*GetAnomalyDetectionApplicationsParams) SetContext

SetContext adds the context to the get anomaly detection applications params

func (*GetAnomalyDetectionApplicationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get anomaly detection applications params

func (*GetAnomalyDetectionApplicationsParams) SetTimeout

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

SetTimeout adds the timeout to the get anomaly detection applications params

func (*GetAnomalyDetectionApplicationsParams) WithContext

WithContext adds the context to the get anomaly detection applications params

func (*GetAnomalyDetectionApplicationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get anomaly detection applications params

func (*GetAnomalyDetectionApplicationsParams) WithTimeout

WithTimeout adds the timeout to the get anomaly detection applications params

func (*GetAnomalyDetectionApplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAnomalyDetectionApplicationsReader

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

GetAnomalyDetectionApplicationsReader is a Reader for the GetAnomalyDetectionApplications structure.

func (*GetAnomalyDetectionApplicationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAnomalyDetectionApplicationsBadRequest

type UpdateAnomalyDetectionApplicationsBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateAnomalyDetectionApplicationsBadRequest handles this case with default header values.

Failed. The input is invalid

func NewUpdateAnomalyDetectionApplicationsBadRequest

func NewUpdateAnomalyDetectionApplicationsBadRequest() *UpdateAnomalyDetectionApplicationsBadRequest

NewUpdateAnomalyDetectionApplicationsBadRequest creates a UpdateAnomalyDetectionApplicationsBadRequest with default headers values

func (*UpdateAnomalyDetectionApplicationsBadRequest) Error

func (*UpdateAnomalyDetectionApplicationsBadRequest) GetPayload

type UpdateAnomalyDetectionApplicationsNoContent

type UpdateAnomalyDetectionApplicationsNoContent struct {
}

UpdateAnomalyDetectionApplicationsNoContent handles this case with default header values.

Success. Configuration has been updated. Response doesn't have a body.

func NewUpdateAnomalyDetectionApplicationsNoContent

func NewUpdateAnomalyDetectionApplicationsNoContent() *UpdateAnomalyDetectionApplicationsNoContent

NewUpdateAnomalyDetectionApplicationsNoContent creates a UpdateAnomalyDetectionApplicationsNoContent with default headers values

func (*UpdateAnomalyDetectionApplicationsNoContent) Error

type UpdateAnomalyDetectionApplicationsParams

type UpdateAnomalyDetectionApplicationsParams struct {

	/*Body
	  The JSON body of the request, containing parameters of the application anomaly detection configuration.

	*/
	Body *dynatrace.ApplicationAnomalyDetectionConfig

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

UpdateAnomalyDetectionApplicationsParams contains all the parameters to send to the API endpoint for the update anomaly detection applications operation typically these are written to a http.Request

func NewUpdateAnomalyDetectionApplicationsParams

func NewUpdateAnomalyDetectionApplicationsParams() *UpdateAnomalyDetectionApplicationsParams

NewUpdateAnomalyDetectionApplicationsParams creates a new UpdateAnomalyDetectionApplicationsParams object with the default values initialized.

func NewUpdateAnomalyDetectionApplicationsParamsWithContext

func NewUpdateAnomalyDetectionApplicationsParamsWithContext(ctx context.Context) *UpdateAnomalyDetectionApplicationsParams

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

func NewUpdateAnomalyDetectionApplicationsParamsWithHTTPClient

func NewUpdateAnomalyDetectionApplicationsParamsWithHTTPClient(client *http.Client) *UpdateAnomalyDetectionApplicationsParams

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

func NewUpdateAnomalyDetectionApplicationsParamsWithTimeout

func NewUpdateAnomalyDetectionApplicationsParamsWithTimeout(timeout time.Duration) *UpdateAnomalyDetectionApplicationsParams

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

func (*UpdateAnomalyDetectionApplicationsParams) SetBody

SetBody adds the body to the update anomaly detection applications params

func (*UpdateAnomalyDetectionApplicationsParams) SetContext

SetContext adds the context to the update anomaly detection applications params

func (*UpdateAnomalyDetectionApplicationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update anomaly detection applications params

func (*UpdateAnomalyDetectionApplicationsParams) SetTimeout

SetTimeout adds the timeout to the update anomaly detection applications params

func (*UpdateAnomalyDetectionApplicationsParams) WithBody

WithBody adds the body to the update anomaly detection applications params

func (*UpdateAnomalyDetectionApplicationsParams) WithContext

WithContext adds the context to the update anomaly detection applications params

func (*UpdateAnomalyDetectionApplicationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update anomaly detection applications params

func (*UpdateAnomalyDetectionApplicationsParams) WithTimeout

WithTimeout adds the timeout to the update anomaly detection applications params

func (*UpdateAnomalyDetectionApplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAnomalyDetectionApplicationsReader

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

UpdateAnomalyDetectionApplicationsReader is a Reader for the UpdateAnomalyDetectionApplications structure.

func (*UpdateAnomalyDetectionApplicationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateAnomalyDetectionApplicationsBadRequest

type ValidateUpdateAnomalyDetectionApplicationsBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateAnomalyDetectionApplicationsBadRequest handles this case with default header values.

Failed. The input is invalid

func NewValidateUpdateAnomalyDetectionApplicationsBadRequest

func NewValidateUpdateAnomalyDetectionApplicationsBadRequest() *ValidateUpdateAnomalyDetectionApplicationsBadRequest

NewValidateUpdateAnomalyDetectionApplicationsBadRequest creates a ValidateUpdateAnomalyDetectionApplicationsBadRequest with default headers values

func (*ValidateUpdateAnomalyDetectionApplicationsBadRequest) Error

func (*ValidateUpdateAnomalyDetectionApplicationsBadRequest) GetPayload

type ValidateUpdateAnomalyDetectionApplicationsNoContent

type ValidateUpdateAnomalyDetectionApplicationsNoContent struct {
}

ValidateUpdateAnomalyDetectionApplicationsNoContent handles this case with default header values.

Validated. The submitted configuration is valid. Response does not have a body.

func NewValidateUpdateAnomalyDetectionApplicationsNoContent

func NewValidateUpdateAnomalyDetectionApplicationsNoContent() *ValidateUpdateAnomalyDetectionApplicationsNoContent

NewValidateUpdateAnomalyDetectionApplicationsNoContent creates a ValidateUpdateAnomalyDetectionApplicationsNoContent with default headers values

func (*ValidateUpdateAnomalyDetectionApplicationsNoContent) Error

type ValidateUpdateAnomalyDetectionApplicationsParams

type ValidateUpdateAnomalyDetectionApplicationsParams struct {

	/*Body
	  The JSON body of the request, containing parameters of the application anomaly detection configuration.

	*/
	Body *dynatrace.ApplicationAnomalyDetectionConfig

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

ValidateUpdateAnomalyDetectionApplicationsParams contains all the parameters to send to the API endpoint for the validate update anomaly detection applications operation typically these are written to a http.Request

func NewValidateUpdateAnomalyDetectionApplicationsParams

func NewValidateUpdateAnomalyDetectionApplicationsParams() *ValidateUpdateAnomalyDetectionApplicationsParams

NewValidateUpdateAnomalyDetectionApplicationsParams creates a new ValidateUpdateAnomalyDetectionApplicationsParams object with the default values initialized.

func NewValidateUpdateAnomalyDetectionApplicationsParamsWithContext

func NewValidateUpdateAnomalyDetectionApplicationsParamsWithContext(ctx context.Context) *ValidateUpdateAnomalyDetectionApplicationsParams

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

func NewValidateUpdateAnomalyDetectionApplicationsParamsWithHTTPClient

func NewValidateUpdateAnomalyDetectionApplicationsParamsWithHTTPClient(client *http.Client) *ValidateUpdateAnomalyDetectionApplicationsParams

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

func NewValidateUpdateAnomalyDetectionApplicationsParamsWithTimeout

func NewValidateUpdateAnomalyDetectionApplicationsParamsWithTimeout(timeout time.Duration) *ValidateUpdateAnomalyDetectionApplicationsParams

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

func (*ValidateUpdateAnomalyDetectionApplicationsParams) SetBody

SetBody adds the body to the validate update anomaly detection applications params

func (*ValidateUpdateAnomalyDetectionApplicationsParams) SetContext

SetContext adds the context to the validate update anomaly detection applications params

func (*ValidateUpdateAnomalyDetectionApplicationsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the validate update anomaly detection applications params

func (*ValidateUpdateAnomalyDetectionApplicationsParams) SetTimeout

SetTimeout adds the timeout to the validate update anomaly detection applications params

func (*ValidateUpdateAnomalyDetectionApplicationsParams) WithBody

WithBody adds the body to the validate update anomaly detection applications params

func (*ValidateUpdateAnomalyDetectionApplicationsParams) WithContext

WithContext adds the context to the validate update anomaly detection applications params

func (*ValidateUpdateAnomalyDetectionApplicationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update anomaly detection applications params

func (*ValidateUpdateAnomalyDetectionApplicationsParams) WithTimeout

WithTimeout adds the timeout to the validate update anomaly detection applications params

func (*ValidateUpdateAnomalyDetectionApplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateAnomalyDetectionApplicationsReader

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

ValidateUpdateAnomalyDetectionApplicationsReader is a Reader for the ValidateUpdateAnomalyDetectionApplications structure.

func (*ValidateUpdateAnomalyDetectionApplicationsReader) ReadResponse

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