frequent_issue_detection

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 frequent issue detection API

func (*Client) GetFrequentIssueDetection

func (a *Client) GetFrequentIssueDetection(params *GetFrequentIssueDetectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetFrequentIssueDetectionOK, error)

GetFrequentIssueDetection gets the configuration of frequent issue detection

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateFrequentIssueDetection

UpdateFrequentIssueDetection updates the configuration of frequent issue detection

func (*Client) ValidateFrequentIssueDetection

ValidateFrequentIssueDetection validates the frequent issue detection configuration for the p u t frequent issue detection request

type ClientService

type ClientService interface {
	GetFrequentIssueDetection(params *GetFrequentIssueDetectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetFrequentIssueDetectionOK, error)

	UpdateFrequentIssueDetection(params *UpdateFrequentIssueDetectionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFrequentIssueDetectionNoContent, error)

	ValidateFrequentIssueDetection(params *ValidateFrequentIssueDetectionParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateFrequentIssueDetectionNoContent, 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 frequent issue detection API client.

type GetFrequentIssueDetectionOK

type GetFrequentIssueDetectionOK struct {
	Payload *dynatrace.FrequentIssueDetectionConfig
}

GetFrequentIssueDetectionOK handles this case with default header values.

successful operation

func NewGetFrequentIssueDetectionOK

func NewGetFrequentIssueDetectionOK() *GetFrequentIssueDetectionOK

NewGetFrequentIssueDetectionOK creates a GetFrequentIssueDetectionOK with default headers values

func (*GetFrequentIssueDetectionOK) Error

func (*GetFrequentIssueDetectionOK) GetPayload

type GetFrequentIssueDetectionParams

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

GetFrequentIssueDetectionParams contains all the parameters to send to the API endpoint for the get frequent issue detection operation typically these are written to a http.Request

func NewGetFrequentIssueDetectionParams

func NewGetFrequentIssueDetectionParams() *GetFrequentIssueDetectionParams

NewGetFrequentIssueDetectionParams creates a new GetFrequentIssueDetectionParams object with the default values initialized.

func NewGetFrequentIssueDetectionParamsWithContext

func NewGetFrequentIssueDetectionParamsWithContext(ctx context.Context) *GetFrequentIssueDetectionParams

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

func NewGetFrequentIssueDetectionParamsWithHTTPClient

func NewGetFrequentIssueDetectionParamsWithHTTPClient(client *http.Client) *GetFrequentIssueDetectionParams

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

func NewGetFrequentIssueDetectionParamsWithTimeout

func NewGetFrequentIssueDetectionParamsWithTimeout(timeout time.Duration) *GetFrequentIssueDetectionParams

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

func (*GetFrequentIssueDetectionParams) SetContext

func (o *GetFrequentIssueDetectionParams) SetContext(ctx context.Context)

SetContext adds the context to the get frequent issue detection params

func (*GetFrequentIssueDetectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get frequent issue detection params

func (*GetFrequentIssueDetectionParams) SetTimeout

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

SetTimeout adds the timeout to the get frequent issue detection params

func (*GetFrequentIssueDetectionParams) WithContext

WithContext adds the context to the get frequent issue detection params

func (*GetFrequentIssueDetectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get frequent issue detection params

func (*GetFrequentIssueDetectionParams) WithTimeout

WithTimeout adds the timeout to the get frequent issue detection params

func (*GetFrequentIssueDetectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFrequentIssueDetectionReader

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

GetFrequentIssueDetectionReader is a Reader for the GetFrequentIssueDetection structure.

func (*GetFrequentIssueDetectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateFrequentIssueDetectionBadRequest

type UpdateFrequentIssueDetectionBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateFrequentIssueDetectionBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateFrequentIssueDetectionBadRequest

func NewUpdateFrequentIssueDetectionBadRequest() *UpdateFrequentIssueDetectionBadRequest

NewUpdateFrequentIssueDetectionBadRequest creates a UpdateFrequentIssueDetectionBadRequest with default headers values

func (*UpdateFrequentIssueDetectionBadRequest) Error

func (*UpdateFrequentIssueDetectionBadRequest) GetPayload

type UpdateFrequentIssueDetectionNoContent

type UpdateFrequentIssueDetectionNoContent struct {
}

UpdateFrequentIssueDetectionNoContent handles this case with default header values.

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

func NewUpdateFrequentIssueDetectionNoContent

func NewUpdateFrequentIssueDetectionNoContent() *UpdateFrequentIssueDetectionNoContent

NewUpdateFrequentIssueDetectionNoContent creates a UpdateFrequentIssueDetectionNoContent with default headers values

func (*UpdateFrequentIssueDetectionNoContent) Error

type UpdateFrequentIssueDetectionParams

type UpdateFrequentIssueDetectionParams struct {

	/*Body
	  The JSON body of the request, containing parameters of the frequent issue detection configuration

	*/
	Body *dynatrace.FrequentIssueDetectionConfig

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

UpdateFrequentIssueDetectionParams contains all the parameters to send to the API endpoint for the update frequent issue detection operation typically these are written to a http.Request

func NewUpdateFrequentIssueDetectionParams

func NewUpdateFrequentIssueDetectionParams() *UpdateFrequentIssueDetectionParams

NewUpdateFrequentIssueDetectionParams creates a new UpdateFrequentIssueDetectionParams object with the default values initialized.

func NewUpdateFrequentIssueDetectionParamsWithContext

func NewUpdateFrequentIssueDetectionParamsWithContext(ctx context.Context) *UpdateFrequentIssueDetectionParams

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

func NewUpdateFrequentIssueDetectionParamsWithHTTPClient

func NewUpdateFrequentIssueDetectionParamsWithHTTPClient(client *http.Client) *UpdateFrequentIssueDetectionParams

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

func NewUpdateFrequentIssueDetectionParamsWithTimeout

func NewUpdateFrequentIssueDetectionParamsWithTimeout(timeout time.Duration) *UpdateFrequentIssueDetectionParams

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

func (*UpdateFrequentIssueDetectionParams) SetBody

SetBody adds the body to the update frequent issue detection params

func (*UpdateFrequentIssueDetectionParams) SetContext

SetContext adds the context to the update frequent issue detection params

func (*UpdateFrequentIssueDetectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update frequent issue detection params

func (*UpdateFrequentIssueDetectionParams) SetTimeout

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

SetTimeout adds the timeout to the update frequent issue detection params

func (*UpdateFrequentIssueDetectionParams) WithBody

WithBody adds the body to the update frequent issue detection params

func (*UpdateFrequentIssueDetectionParams) WithContext

WithContext adds the context to the update frequent issue detection params

func (*UpdateFrequentIssueDetectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update frequent issue detection params

func (*UpdateFrequentIssueDetectionParams) WithTimeout

WithTimeout adds the timeout to the update frequent issue detection params

func (*UpdateFrequentIssueDetectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateFrequentIssueDetectionReader

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

UpdateFrequentIssueDetectionReader is a Reader for the UpdateFrequentIssueDetection structure.

func (*UpdateFrequentIssueDetectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateFrequentIssueDetectionBadRequest

type ValidateFrequentIssueDetectionBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateFrequentIssueDetectionBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateFrequentIssueDetectionBadRequest

func NewValidateFrequentIssueDetectionBadRequest() *ValidateFrequentIssueDetectionBadRequest

NewValidateFrequentIssueDetectionBadRequest creates a ValidateFrequentIssueDetectionBadRequest with default headers values

func (*ValidateFrequentIssueDetectionBadRequest) Error

func (*ValidateFrequentIssueDetectionBadRequest) GetPayload

type ValidateFrequentIssueDetectionNoContent

type ValidateFrequentIssueDetectionNoContent struct {
}

ValidateFrequentIssueDetectionNoContent handles this case with default header values.

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

func NewValidateFrequentIssueDetectionNoContent

func NewValidateFrequentIssueDetectionNoContent() *ValidateFrequentIssueDetectionNoContent

NewValidateFrequentIssueDetectionNoContent creates a ValidateFrequentIssueDetectionNoContent with default headers values

func (*ValidateFrequentIssueDetectionNoContent) Error

type ValidateFrequentIssueDetectionParams

type ValidateFrequentIssueDetectionParams struct {

	/*Body
	  The JSON body of the request, containing parameters of the frequent issue detection configuration

	*/
	Body *dynatrace.FrequentIssueDetectionConfig

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

ValidateFrequentIssueDetectionParams contains all the parameters to send to the API endpoint for the validate frequent issue detection operation typically these are written to a http.Request

func NewValidateFrequentIssueDetectionParams

func NewValidateFrequentIssueDetectionParams() *ValidateFrequentIssueDetectionParams

NewValidateFrequentIssueDetectionParams creates a new ValidateFrequentIssueDetectionParams object with the default values initialized.

func NewValidateFrequentIssueDetectionParamsWithContext

func NewValidateFrequentIssueDetectionParamsWithContext(ctx context.Context) *ValidateFrequentIssueDetectionParams

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

func NewValidateFrequentIssueDetectionParamsWithHTTPClient

func NewValidateFrequentIssueDetectionParamsWithHTTPClient(client *http.Client) *ValidateFrequentIssueDetectionParams

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

func NewValidateFrequentIssueDetectionParamsWithTimeout

func NewValidateFrequentIssueDetectionParamsWithTimeout(timeout time.Duration) *ValidateFrequentIssueDetectionParams

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

func (*ValidateFrequentIssueDetectionParams) SetBody

SetBody adds the body to the validate frequent issue detection params

func (*ValidateFrequentIssueDetectionParams) SetContext

SetContext adds the context to the validate frequent issue detection params

func (*ValidateFrequentIssueDetectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate frequent issue detection params

func (*ValidateFrequentIssueDetectionParams) SetTimeout

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

SetTimeout adds the timeout to the validate frequent issue detection params

func (*ValidateFrequentIssueDetectionParams) WithBody

WithBody adds the body to the validate frequent issue detection params

func (*ValidateFrequentIssueDetectionParams) WithContext

WithContext adds the context to the validate frequent issue detection params

func (*ValidateFrequentIssueDetectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate frequent issue detection params

func (*ValidateFrequentIssueDetectionParams) WithTimeout

WithTimeout adds the timeout to the validate frequent issue detection params

func (*ValidateFrequentIssueDetectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateFrequentIssueDetectionReader

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

ValidateFrequentIssueDetectionReader is a Reader for the ValidateFrequentIssueDetection structure.

func (*ValidateFrequentIssueDetectionReader) ReadResponse

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