alerting_profiles

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 alerting profiles API

func (*Client) CreateAlertingProfile

func (a *Client) CreateAlertingProfile(params *CreateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAlertingProfileCreated, error)

CreateAlertingProfile creates a new alerting profile pipe maturity e a r l y a d o p t e r

The body must not provide an ID. An ID is assigned automatically by the Dynatrace server.

func (*Client) DeleteAlertingProfile

DeleteAlertingProfile deletes the specified alerting profile pipe maturity e a r l y a d o p t e r

The default alerting profile cannot be deleted.

func (*Client) GetAlertingProfile

func (a *Client) GetAlertingProfile(params *GetAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetAlertingProfileOK, error)

GetAlertingProfile gets the properties of the specified alerting profile pipe maturity e a r l y a d o p t e r

func (*Client) GetAlertingProfiles

func (a *Client) GetAlertingProfiles(params *GetAlertingProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAlertingProfilesOK, error)

GetAlertingProfiles lists all alerting profiles available 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) UpdateAlertingProfile

UpdateAlertingProfile updates an existing alerting profile pipe maturity e a r l y a d o p t e r

If an alerting profile with the specified ID doesn't exist, a new one is created.

func (*Client) ValidateCreateAlertingProfile

ValidateCreateAlertingProfile validates the payload the p o s t alerting profiles request pipe maturity e a r l y a d o p t e r

func (*Client) ValidateUpdateAlertingProfile

ValidateUpdateAlertingProfile validates the payload the p u t alerting profiles id request pipe maturity e a r l y a d o p t e r

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new alerting profiles API client.

type CreateAlertingProfileBadRequest

type CreateAlertingProfileBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

CreateAlertingProfileBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewCreateAlertingProfileBadRequest

func NewCreateAlertingProfileBadRequest() *CreateAlertingProfileBadRequest

NewCreateAlertingProfileBadRequest creates a CreateAlertingProfileBadRequest with default headers values

func (*CreateAlertingProfileBadRequest) Error

func (*CreateAlertingProfileBadRequest) GetPayload

type CreateAlertingProfileCreated

type CreateAlertingProfileCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

CreateAlertingProfileCreated handles this case with default header values.

Success. The new alerting profile has been created. The response contains the ID of the new alerting profile.

func NewCreateAlertingProfileCreated

func NewCreateAlertingProfileCreated() *CreateAlertingProfileCreated

NewCreateAlertingProfileCreated creates a CreateAlertingProfileCreated with default headers values

func (*CreateAlertingProfileCreated) Error

func (*CreateAlertingProfileCreated) GetPayload

type CreateAlertingProfileParams

type CreateAlertingProfileParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the new alerting profile.

	*/
	Body *dynatrace.AlertingProfile

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

CreateAlertingProfileParams contains all the parameters to send to the API endpoint for the create alerting profile operation typically these are written to a http.Request

func NewCreateAlertingProfileParams

func NewCreateAlertingProfileParams() *CreateAlertingProfileParams

NewCreateAlertingProfileParams creates a new CreateAlertingProfileParams object with the default values initialized.

func NewCreateAlertingProfileParamsWithContext

func NewCreateAlertingProfileParamsWithContext(ctx context.Context) *CreateAlertingProfileParams

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

func NewCreateAlertingProfileParamsWithHTTPClient

func NewCreateAlertingProfileParamsWithHTTPClient(client *http.Client) *CreateAlertingProfileParams

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

func NewCreateAlertingProfileParamsWithTimeout

func NewCreateAlertingProfileParamsWithTimeout(timeout time.Duration) *CreateAlertingProfileParams

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

func (*CreateAlertingProfileParams) SetBody

SetBody adds the body to the create alerting profile params

func (*CreateAlertingProfileParams) SetContext

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

SetContext adds the context to the create alerting profile params

func (*CreateAlertingProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create alerting profile params

func (*CreateAlertingProfileParams) SetTimeout

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

SetTimeout adds the timeout to the create alerting profile params

func (*CreateAlertingProfileParams) WithBody

WithBody adds the body to the create alerting profile params

func (*CreateAlertingProfileParams) WithContext

WithContext adds the context to the create alerting profile params

func (*CreateAlertingProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create alerting profile params

func (*CreateAlertingProfileParams) WithTimeout

WithTimeout adds the timeout to the create alerting profile params

func (*CreateAlertingProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateAlertingProfileReader

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

CreateAlertingProfileReader is a Reader for the CreateAlertingProfile structure.

func (*CreateAlertingProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAlertingProfileNoContent

type DeleteAlertingProfileNoContent struct {
}

DeleteAlertingProfileNoContent handles this case with default header values.

Success. The alerting profile has been deleted. Response doesn't have a body.

func NewDeleteAlertingProfileNoContent

func NewDeleteAlertingProfileNoContent() *DeleteAlertingProfileNoContent

NewDeleteAlertingProfileNoContent creates a DeleteAlertingProfileNoContent with default headers values

func (*DeleteAlertingProfileNoContent) Error

type DeleteAlertingProfileParams

type DeleteAlertingProfileParams struct {

	/*ID
	  The ID of the alerting profile to be deleted.

	*/
	ID strfmt.UUID

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

DeleteAlertingProfileParams contains all the parameters to send to the API endpoint for the delete alerting profile operation typically these are written to a http.Request

func NewDeleteAlertingProfileParams

func NewDeleteAlertingProfileParams() *DeleteAlertingProfileParams

NewDeleteAlertingProfileParams creates a new DeleteAlertingProfileParams object with the default values initialized.

func NewDeleteAlertingProfileParamsWithContext

func NewDeleteAlertingProfileParamsWithContext(ctx context.Context) *DeleteAlertingProfileParams

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

func NewDeleteAlertingProfileParamsWithHTTPClient

func NewDeleteAlertingProfileParamsWithHTTPClient(client *http.Client) *DeleteAlertingProfileParams

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

func NewDeleteAlertingProfileParamsWithTimeout

func NewDeleteAlertingProfileParamsWithTimeout(timeout time.Duration) *DeleteAlertingProfileParams

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

func (*DeleteAlertingProfileParams) SetContext

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

SetContext adds the context to the delete alerting profile params

func (*DeleteAlertingProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete alerting profile params

func (*DeleteAlertingProfileParams) SetID

SetID adds the id to the delete alerting profile params

func (*DeleteAlertingProfileParams) SetTimeout

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

SetTimeout adds the timeout to the delete alerting profile params

func (*DeleteAlertingProfileParams) WithContext

WithContext adds the context to the delete alerting profile params

func (*DeleteAlertingProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete alerting profile params

func (*DeleteAlertingProfileParams) WithID

WithID adds the id to the delete alerting profile params

func (*DeleteAlertingProfileParams) WithTimeout

WithTimeout adds the timeout to the delete alerting profile params

func (*DeleteAlertingProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAlertingProfileReader

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

DeleteAlertingProfileReader is a Reader for the DeleteAlertingProfile structure.

func (*DeleteAlertingProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAlertingProfileOK

type GetAlertingProfileOK struct {
	Payload *dynatrace.AlertingProfile
}

GetAlertingProfileOK handles this case with default header values.

successful operation

func NewGetAlertingProfileOK

func NewGetAlertingProfileOK() *GetAlertingProfileOK

NewGetAlertingProfileOK creates a GetAlertingProfileOK with default headers values

func (*GetAlertingProfileOK) Error

func (o *GetAlertingProfileOK) Error() string

func (*GetAlertingProfileOK) GetPayload

type GetAlertingProfileParams

type GetAlertingProfileParams struct {

	/*ID
	  The ID of the required alerting profile.

	*/
	ID strfmt.UUID

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

GetAlertingProfileParams contains all the parameters to send to the API endpoint for the get alerting profile operation typically these are written to a http.Request

func NewGetAlertingProfileParams

func NewGetAlertingProfileParams() *GetAlertingProfileParams

NewGetAlertingProfileParams creates a new GetAlertingProfileParams object with the default values initialized.

func NewGetAlertingProfileParamsWithContext

func NewGetAlertingProfileParamsWithContext(ctx context.Context) *GetAlertingProfileParams

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

func NewGetAlertingProfileParamsWithHTTPClient

func NewGetAlertingProfileParamsWithHTTPClient(client *http.Client) *GetAlertingProfileParams

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

func NewGetAlertingProfileParamsWithTimeout

func NewGetAlertingProfileParamsWithTimeout(timeout time.Duration) *GetAlertingProfileParams

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

func (*GetAlertingProfileParams) SetContext

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

SetContext adds the context to the get alerting profile params

func (*GetAlertingProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get alerting profile params

func (*GetAlertingProfileParams) SetID

func (o *GetAlertingProfileParams) SetID(id strfmt.UUID)

SetID adds the id to the get alerting profile params

func (*GetAlertingProfileParams) SetTimeout

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

SetTimeout adds the timeout to the get alerting profile params

func (*GetAlertingProfileParams) WithContext

WithContext adds the context to the get alerting profile params

func (*GetAlertingProfileParams) WithHTTPClient

func (o *GetAlertingProfileParams) WithHTTPClient(client *http.Client) *GetAlertingProfileParams

WithHTTPClient adds the HTTPClient to the get alerting profile params

func (*GetAlertingProfileParams) WithID

WithID adds the id to the get alerting profile params

func (*GetAlertingProfileParams) WithTimeout

WithTimeout adds the timeout to the get alerting profile params

func (*GetAlertingProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAlertingProfileReader

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

GetAlertingProfileReader is a Reader for the GetAlertingProfile structure.

func (*GetAlertingProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAlertingProfilesOK

type GetAlertingProfilesOK struct {
	Payload *dynatrace.StubList
}

GetAlertingProfilesOK handles this case with default header values.

successful operation

func NewGetAlertingProfilesOK

func NewGetAlertingProfilesOK() *GetAlertingProfilesOK

NewGetAlertingProfilesOK creates a GetAlertingProfilesOK with default headers values

func (*GetAlertingProfilesOK) Error

func (o *GetAlertingProfilesOK) Error() string

func (*GetAlertingProfilesOK) GetPayload

func (o *GetAlertingProfilesOK) GetPayload() *dynatrace.StubList

type GetAlertingProfilesParams

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

GetAlertingProfilesParams contains all the parameters to send to the API endpoint for the get alerting profiles operation typically these are written to a http.Request

func NewGetAlertingProfilesParams

func NewGetAlertingProfilesParams() *GetAlertingProfilesParams

NewGetAlertingProfilesParams creates a new GetAlertingProfilesParams object with the default values initialized.

func NewGetAlertingProfilesParamsWithContext

func NewGetAlertingProfilesParamsWithContext(ctx context.Context) *GetAlertingProfilesParams

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

func NewGetAlertingProfilesParamsWithHTTPClient

func NewGetAlertingProfilesParamsWithHTTPClient(client *http.Client) *GetAlertingProfilesParams

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

func NewGetAlertingProfilesParamsWithTimeout

func NewGetAlertingProfilesParamsWithTimeout(timeout time.Duration) *GetAlertingProfilesParams

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

func (*GetAlertingProfilesParams) SetContext

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

SetContext adds the context to the get alerting profiles params

func (*GetAlertingProfilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get alerting profiles params

func (*GetAlertingProfilesParams) SetTimeout

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

SetTimeout adds the timeout to the get alerting profiles params

func (*GetAlertingProfilesParams) WithContext

WithContext adds the context to the get alerting profiles params

func (*GetAlertingProfilesParams) WithHTTPClient

func (o *GetAlertingProfilesParams) WithHTTPClient(client *http.Client) *GetAlertingProfilesParams

WithHTTPClient adds the HTTPClient to the get alerting profiles params

func (*GetAlertingProfilesParams) WithTimeout

WithTimeout adds the timeout to the get alerting profiles params

func (*GetAlertingProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAlertingProfilesReader

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

GetAlertingProfilesReader is a Reader for the GetAlertingProfiles structure.

func (*GetAlertingProfilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAlertingProfileBadRequest

type UpdateAlertingProfileBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

UpdateAlertingProfileBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewUpdateAlertingProfileBadRequest

func NewUpdateAlertingProfileBadRequest() *UpdateAlertingProfileBadRequest

NewUpdateAlertingProfileBadRequest creates a UpdateAlertingProfileBadRequest with default headers values

func (*UpdateAlertingProfileBadRequest) Error

func (*UpdateAlertingProfileBadRequest) GetPayload

type UpdateAlertingProfileCreated

type UpdateAlertingProfileCreated struct {
	Payload *dynatrace.EntityShortRepresentation
}

UpdateAlertingProfileCreated handles this case with default header values.

Success. The new alerting profile has been created. The response contains the ID of the new alerting profile.

func NewUpdateAlertingProfileCreated

func NewUpdateAlertingProfileCreated() *UpdateAlertingProfileCreated

NewUpdateAlertingProfileCreated creates a UpdateAlertingProfileCreated with default headers values

func (*UpdateAlertingProfileCreated) Error

func (*UpdateAlertingProfileCreated) GetPayload

type UpdateAlertingProfileNoContent

type UpdateAlertingProfileNoContent struct {
}

UpdateAlertingProfileNoContent handles this case with default header values.

Success. The alerting profile has been updated. Response doesn't have a body.

func NewUpdateAlertingProfileNoContent

func NewUpdateAlertingProfileNoContent() *UpdateAlertingProfileNoContent

NewUpdateAlertingProfileNoContent creates a UpdateAlertingProfileNoContent with default headers values

func (*UpdateAlertingProfileNoContent) Error

type UpdateAlertingProfileParams

type UpdateAlertingProfileParams struct {

	/*Body
	  The JSON body of the request. Contains updated parameters of the alerting profile.

	*/
	Body *dynatrace.AlertingProfile
	/*ID
	  The ID of the alerting profile to be updated.

	*/
	ID strfmt.UUID

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

UpdateAlertingProfileParams contains all the parameters to send to the API endpoint for the update alerting profile operation typically these are written to a http.Request

func NewUpdateAlertingProfileParams

func NewUpdateAlertingProfileParams() *UpdateAlertingProfileParams

NewUpdateAlertingProfileParams creates a new UpdateAlertingProfileParams object with the default values initialized.

func NewUpdateAlertingProfileParamsWithContext

func NewUpdateAlertingProfileParamsWithContext(ctx context.Context) *UpdateAlertingProfileParams

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

func NewUpdateAlertingProfileParamsWithHTTPClient

func NewUpdateAlertingProfileParamsWithHTTPClient(client *http.Client) *UpdateAlertingProfileParams

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

func NewUpdateAlertingProfileParamsWithTimeout

func NewUpdateAlertingProfileParamsWithTimeout(timeout time.Duration) *UpdateAlertingProfileParams

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

func (*UpdateAlertingProfileParams) SetBody

SetBody adds the body to the update alerting profile params

func (*UpdateAlertingProfileParams) SetContext

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

SetContext adds the context to the update alerting profile params

func (*UpdateAlertingProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update alerting profile params

func (*UpdateAlertingProfileParams) SetID

SetID adds the id to the update alerting profile params

func (*UpdateAlertingProfileParams) SetTimeout

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

SetTimeout adds the timeout to the update alerting profile params

func (*UpdateAlertingProfileParams) WithBody

WithBody adds the body to the update alerting profile params

func (*UpdateAlertingProfileParams) WithContext

WithContext adds the context to the update alerting profile params

func (*UpdateAlertingProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update alerting profile params

func (*UpdateAlertingProfileParams) WithID

WithID adds the id to the update alerting profile params

func (*UpdateAlertingProfileParams) WithTimeout

WithTimeout adds the timeout to the update alerting profile params

func (*UpdateAlertingProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAlertingProfileReader

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

UpdateAlertingProfileReader is a Reader for the UpdateAlertingProfile structure.

func (*UpdateAlertingProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateCreateAlertingProfileBadRequest

type ValidateCreateAlertingProfileBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateCreateAlertingProfileBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateCreateAlertingProfileBadRequest

func NewValidateCreateAlertingProfileBadRequest() *ValidateCreateAlertingProfileBadRequest

NewValidateCreateAlertingProfileBadRequest creates a ValidateCreateAlertingProfileBadRequest with default headers values

func (*ValidateCreateAlertingProfileBadRequest) Error

func (*ValidateCreateAlertingProfileBadRequest) GetPayload

type ValidateCreateAlertingProfileNoContent

type ValidateCreateAlertingProfileNoContent struct {
}

ValidateCreateAlertingProfileNoContent handles this case with default header values.

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

func NewValidateCreateAlertingProfileNoContent

func NewValidateCreateAlertingProfileNoContent() *ValidateCreateAlertingProfileNoContent

NewValidateCreateAlertingProfileNoContent creates a ValidateCreateAlertingProfileNoContent with default headers values

func (*ValidateCreateAlertingProfileNoContent) Error

type ValidateCreateAlertingProfileParams

type ValidateCreateAlertingProfileParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the alerting profile to be validated.

	*/
	Body *dynatrace.AlertingProfile

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

ValidateCreateAlertingProfileParams contains all the parameters to send to the API endpoint for the validate create alerting profile operation typically these are written to a http.Request

func NewValidateCreateAlertingProfileParams

func NewValidateCreateAlertingProfileParams() *ValidateCreateAlertingProfileParams

NewValidateCreateAlertingProfileParams creates a new ValidateCreateAlertingProfileParams object with the default values initialized.

func NewValidateCreateAlertingProfileParamsWithContext

func NewValidateCreateAlertingProfileParamsWithContext(ctx context.Context) *ValidateCreateAlertingProfileParams

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

func NewValidateCreateAlertingProfileParamsWithHTTPClient

func NewValidateCreateAlertingProfileParamsWithHTTPClient(client *http.Client) *ValidateCreateAlertingProfileParams

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

func NewValidateCreateAlertingProfileParamsWithTimeout

func NewValidateCreateAlertingProfileParamsWithTimeout(timeout time.Duration) *ValidateCreateAlertingProfileParams

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

func (*ValidateCreateAlertingProfileParams) SetBody

SetBody adds the body to the validate create alerting profile params

func (*ValidateCreateAlertingProfileParams) SetContext

SetContext adds the context to the validate create alerting profile params

func (*ValidateCreateAlertingProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate create alerting profile params

func (*ValidateCreateAlertingProfileParams) SetTimeout

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

SetTimeout adds the timeout to the validate create alerting profile params

func (*ValidateCreateAlertingProfileParams) WithBody

WithBody adds the body to the validate create alerting profile params

func (*ValidateCreateAlertingProfileParams) WithContext

WithContext adds the context to the validate create alerting profile params

func (*ValidateCreateAlertingProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate create alerting profile params

func (*ValidateCreateAlertingProfileParams) WithTimeout

WithTimeout adds the timeout to the validate create alerting profile params

func (*ValidateCreateAlertingProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateCreateAlertingProfileReader

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

ValidateCreateAlertingProfileReader is a Reader for the ValidateCreateAlertingProfile structure.

func (*ValidateCreateAlertingProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ValidateUpdateAlertingProfileBadRequest

type ValidateUpdateAlertingProfileBadRequest struct {
	Payload *dynatrace.ErrorEnvelope
}

ValidateUpdateAlertingProfileBadRequest handles this case with default header values.

Failed. The input is invalid.

func NewValidateUpdateAlertingProfileBadRequest

func NewValidateUpdateAlertingProfileBadRequest() *ValidateUpdateAlertingProfileBadRequest

NewValidateUpdateAlertingProfileBadRequest creates a ValidateUpdateAlertingProfileBadRequest with default headers values

func (*ValidateUpdateAlertingProfileBadRequest) Error

func (*ValidateUpdateAlertingProfileBadRequest) GetPayload

type ValidateUpdateAlertingProfileNoContent

type ValidateUpdateAlertingProfileNoContent struct {
}

ValidateUpdateAlertingProfileNoContent handles this case with default header values.

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

func NewValidateUpdateAlertingProfileNoContent

func NewValidateUpdateAlertingProfileNoContent() *ValidateUpdateAlertingProfileNoContent

NewValidateUpdateAlertingProfileNoContent creates a ValidateUpdateAlertingProfileNoContent with default headers values

func (*ValidateUpdateAlertingProfileNoContent) Error

type ValidateUpdateAlertingProfileParams

type ValidateUpdateAlertingProfileParams struct {

	/*Body
	  The JSON body of the request. Contains parameters of the alerting profile to be validated.

	*/
	Body *dynatrace.AlertingProfile
	/*ID
	  The ID of the alerting profile to be validated.

	*/
	ID strfmt.UUID

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

ValidateUpdateAlertingProfileParams contains all the parameters to send to the API endpoint for the validate update alerting profile operation typically these are written to a http.Request

func NewValidateUpdateAlertingProfileParams

func NewValidateUpdateAlertingProfileParams() *ValidateUpdateAlertingProfileParams

NewValidateUpdateAlertingProfileParams creates a new ValidateUpdateAlertingProfileParams object with the default values initialized.

func NewValidateUpdateAlertingProfileParamsWithContext

func NewValidateUpdateAlertingProfileParamsWithContext(ctx context.Context) *ValidateUpdateAlertingProfileParams

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

func NewValidateUpdateAlertingProfileParamsWithHTTPClient

func NewValidateUpdateAlertingProfileParamsWithHTTPClient(client *http.Client) *ValidateUpdateAlertingProfileParams

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

func NewValidateUpdateAlertingProfileParamsWithTimeout

func NewValidateUpdateAlertingProfileParamsWithTimeout(timeout time.Duration) *ValidateUpdateAlertingProfileParams

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

func (*ValidateUpdateAlertingProfileParams) SetBody

SetBody adds the body to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) SetContext

SetContext adds the context to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) SetID

SetID adds the id to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) SetTimeout

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

SetTimeout adds the timeout to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) WithBody

WithBody adds the body to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) WithContext

WithContext adds the context to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) WithID

WithID adds the id to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) WithTimeout

WithTimeout adds the timeout to the validate update alerting profile params

func (*ValidateUpdateAlertingProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateUpdateAlertingProfileReader

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

ValidateUpdateAlertingProfileReader is a Reader for the ValidateUpdateAlertingProfile structure.

func (*ValidateUpdateAlertingProfileReader) ReadResponse

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