anomaly_detection_services

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 services API

func (*Client) GetAnomalyDetectionServices

func (a *Client) GetAnomalyDetectionServices(params *GetAnomalyDetectionServicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAnomalyDetectionServicesOK, error)

GetAnomalyDetectionServices gets the service anomaly detection configuration

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAnomalyDetectionServices

UpdateAnomalyDetectionServices updates the service anomaly detection configuration

func (*Client) ValidateUpdateAnomalyDetectionServices

ValidateUpdateAnomalyDetectionServices validates the payload for the p u t anomaly detection services request

type ClientService

type ClientService interface {
	GetAnomalyDetectionServices(params *GetAnomalyDetectionServicesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAnomalyDetectionServicesOK, error)

	UpdateAnomalyDetectionServices(params *UpdateAnomalyDetectionServicesParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAnomalyDetectionServicesNoContent, error)

	ValidateUpdateAnomalyDetectionServices(params *ValidateUpdateAnomalyDetectionServicesParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateAnomalyDetectionServicesNoContent, 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 services API client.

type GetAnomalyDetectionServicesOK

type GetAnomalyDetectionServicesOK struct {
	Payload *dynatrace.ServiceAnomalyDetectionConfig
}

GetAnomalyDetectionServicesOK handles this case with default header values.

successful operation

func NewGetAnomalyDetectionServicesOK

func NewGetAnomalyDetectionServicesOK() *GetAnomalyDetectionServicesOK

NewGetAnomalyDetectionServicesOK creates a GetAnomalyDetectionServicesOK with default headers values

func (*GetAnomalyDetectionServicesOK) Error

func (*GetAnomalyDetectionServicesOK) GetPayload

type GetAnomalyDetectionServicesParams

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

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

func NewGetAnomalyDetectionServicesParams

func NewGetAnomalyDetectionServicesParams() *GetAnomalyDetectionServicesParams

NewGetAnomalyDetectionServicesParams creates a new GetAnomalyDetectionServicesParams object with the default values initialized.

func NewGetAnomalyDetectionServicesParamsWithContext

func NewGetAnomalyDetectionServicesParamsWithContext(ctx context.Context) *GetAnomalyDetectionServicesParams

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

func NewGetAnomalyDetectionServicesParamsWithHTTPClient

func NewGetAnomalyDetectionServicesParamsWithHTTPClient(client *http.Client) *GetAnomalyDetectionServicesParams

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

func NewGetAnomalyDetectionServicesParamsWithTimeout

func NewGetAnomalyDetectionServicesParamsWithTimeout(timeout time.Duration) *GetAnomalyDetectionServicesParams

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

func (*GetAnomalyDetectionServicesParams) SetContext

SetContext adds the context to the get anomaly detection services params

func (*GetAnomalyDetectionServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get anomaly detection services params

func (*GetAnomalyDetectionServicesParams) SetTimeout

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

SetTimeout adds the timeout to the get anomaly detection services params

func (*GetAnomalyDetectionServicesParams) WithContext

WithContext adds the context to the get anomaly detection services params

func (*GetAnomalyDetectionServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get anomaly detection services params

func (*GetAnomalyDetectionServicesParams) WithTimeout

WithTimeout adds the timeout to the get anomaly detection services params

func (*GetAnomalyDetectionServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAnomalyDetectionServicesReader

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

GetAnomalyDetectionServicesReader is a Reader for the GetAnomalyDetectionServices structure.

func (*GetAnomalyDetectionServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAnomalyDetectionServicesBadRequest

type UpdateAnomalyDetectionServicesBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateAnomalyDetectionServicesBadRequest handles this case with default header values.

Failed. The input is invalid

func NewUpdateAnomalyDetectionServicesBadRequest

func NewUpdateAnomalyDetectionServicesBadRequest() *UpdateAnomalyDetectionServicesBadRequest

NewUpdateAnomalyDetectionServicesBadRequest creates a UpdateAnomalyDetectionServicesBadRequest with default headers values

func (*UpdateAnomalyDetectionServicesBadRequest) Error

func (*UpdateAnomalyDetectionServicesBadRequest) GetPayload

type UpdateAnomalyDetectionServicesNoContent

type UpdateAnomalyDetectionServicesNoContent struct {
}

UpdateAnomalyDetectionServicesNoContent handles this case with default header values.

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

func NewUpdateAnomalyDetectionServicesNoContent

func NewUpdateAnomalyDetectionServicesNoContent() *UpdateAnomalyDetectionServicesNoContent

NewUpdateAnomalyDetectionServicesNoContent creates a UpdateAnomalyDetectionServicesNoContent with default headers values

func (*UpdateAnomalyDetectionServicesNoContent) Error

type UpdateAnomalyDetectionServicesParams

type UpdateAnomalyDetectionServicesParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the service anomaly detection configuration.

	*/
	Body *dynatrace.ServiceAnomalyDetectionConfig

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

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

func NewUpdateAnomalyDetectionServicesParams

func NewUpdateAnomalyDetectionServicesParams() *UpdateAnomalyDetectionServicesParams

NewUpdateAnomalyDetectionServicesParams creates a new UpdateAnomalyDetectionServicesParams object with the default values initialized.

func NewUpdateAnomalyDetectionServicesParamsWithContext

func NewUpdateAnomalyDetectionServicesParamsWithContext(ctx context.Context) *UpdateAnomalyDetectionServicesParams

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

func NewUpdateAnomalyDetectionServicesParamsWithHTTPClient

func NewUpdateAnomalyDetectionServicesParamsWithHTTPClient(client *http.Client) *UpdateAnomalyDetectionServicesParams

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

func NewUpdateAnomalyDetectionServicesParamsWithTimeout

func NewUpdateAnomalyDetectionServicesParamsWithTimeout(timeout time.Duration) *UpdateAnomalyDetectionServicesParams

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

func (*UpdateAnomalyDetectionServicesParams) SetBody

SetBody adds the body to the update anomaly detection services params

func (*UpdateAnomalyDetectionServicesParams) SetContext

SetContext adds the context to the update anomaly detection services params

func (*UpdateAnomalyDetectionServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update anomaly detection services params

func (*UpdateAnomalyDetectionServicesParams) SetTimeout

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

SetTimeout adds the timeout to the update anomaly detection services params

func (*UpdateAnomalyDetectionServicesParams) WithBody

WithBody adds the body to the update anomaly detection services params

func (*UpdateAnomalyDetectionServicesParams) WithContext

WithContext adds the context to the update anomaly detection services params

func (*UpdateAnomalyDetectionServicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update anomaly detection services params

func (*UpdateAnomalyDetectionServicesParams) WithTimeout

WithTimeout adds the timeout to the update anomaly detection services params

func (*UpdateAnomalyDetectionServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAnomalyDetectionServicesReader

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

UpdateAnomalyDetectionServicesReader is a Reader for the UpdateAnomalyDetectionServices structure.

func (*UpdateAnomalyDetectionServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateAnomalyDetectionServicesBadRequest

type ValidateUpdateAnomalyDetectionServicesBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateAnomalyDetectionServicesBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateAnomalyDetectionServicesBadRequest

func NewValidateUpdateAnomalyDetectionServicesBadRequest() *ValidateUpdateAnomalyDetectionServicesBadRequest

NewValidateUpdateAnomalyDetectionServicesBadRequest creates a ValidateUpdateAnomalyDetectionServicesBadRequest with default headers values

func (*ValidateUpdateAnomalyDetectionServicesBadRequest) Error

func (*ValidateUpdateAnomalyDetectionServicesBadRequest) GetPayload

type ValidateUpdateAnomalyDetectionServicesNoContent

type ValidateUpdateAnomalyDetectionServicesNoContent struct {
}

ValidateUpdateAnomalyDetectionServicesNoContent handles this case with default header values.

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

func NewValidateUpdateAnomalyDetectionServicesNoContent

func NewValidateUpdateAnomalyDetectionServicesNoContent() *ValidateUpdateAnomalyDetectionServicesNoContent

NewValidateUpdateAnomalyDetectionServicesNoContent creates a ValidateUpdateAnomalyDetectionServicesNoContent with default headers values

func (*ValidateUpdateAnomalyDetectionServicesNoContent) Error

type ValidateUpdateAnomalyDetectionServicesParams

type ValidateUpdateAnomalyDetectionServicesParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the service anomaly detection configuration.

	*/
	Body *dynatrace.ServiceAnomalyDetectionConfig

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

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

func NewValidateUpdateAnomalyDetectionServicesParams

func NewValidateUpdateAnomalyDetectionServicesParams() *ValidateUpdateAnomalyDetectionServicesParams

NewValidateUpdateAnomalyDetectionServicesParams creates a new ValidateUpdateAnomalyDetectionServicesParams object with the default values initialized.

func NewValidateUpdateAnomalyDetectionServicesParamsWithContext

func NewValidateUpdateAnomalyDetectionServicesParamsWithContext(ctx context.Context) *ValidateUpdateAnomalyDetectionServicesParams

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

func NewValidateUpdateAnomalyDetectionServicesParamsWithHTTPClient

func NewValidateUpdateAnomalyDetectionServicesParamsWithHTTPClient(client *http.Client) *ValidateUpdateAnomalyDetectionServicesParams

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

func NewValidateUpdateAnomalyDetectionServicesParamsWithTimeout

func NewValidateUpdateAnomalyDetectionServicesParamsWithTimeout(timeout time.Duration) *ValidateUpdateAnomalyDetectionServicesParams

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

func (*ValidateUpdateAnomalyDetectionServicesParams) SetBody

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

func (*ValidateUpdateAnomalyDetectionServicesParams) SetContext

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

func (*ValidateUpdateAnomalyDetectionServicesParams) SetHTTPClient

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

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

func (*ValidateUpdateAnomalyDetectionServicesParams) SetTimeout

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

func (*ValidateUpdateAnomalyDetectionServicesParams) WithBody

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

func (*ValidateUpdateAnomalyDetectionServicesParams) WithContext

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

func (*ValidateUpdateAnomalyDetectionServicesParams) WithHTTPClient

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

func (*ValidateUpdateAnomalyDetectionServicesParams) WithTimeout

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

func (*ValidateUpdateAnomalyDetectionServicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateAnomalyDetectionServicesReader

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

ValidateUpdateAnomalyDetectionServicesReader is a Reader for the ValidateUpdateAnomalyDetectionServices structure.

func (*ValidateUpdateAnomalyDetectionServicesReader) ReadResponse

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