Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateAlertingProfile(params *CreateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAlertingProfileCreated, error)
- func (a *Client) DeleteAlertingProfile(params *DeleteAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAlertingProfileNoContent, error)
- func (a *Client) GetAlertingProfile(params *GetAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetAlertingProfileOK, error)
- func (a *Client) GetAlertingProfiles(params *GetAlertingProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAlertingProfilesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAlertingProfile(params *UpdateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAlertingProfileCreated, *UpdateAlertingProfileNoContent, error)
- func (a *Client) ValidateCreateAlertingProfile(params *ValidateCreateAlertingProfileParams, ...) (*ValidateCreateAlertingProfileNoContent, error)
- func (a *Client) ValidateUpdateAlertingProfile(params *ValidateUpdateAlertingProfileParams, ...) (*ValidateUpdateAlertingProfileNoContent, error)
- type ClientService
- type CreateAlertingProfileBadRequest
- type CreateAlertingProfileCreated
- type CreateAlertingProfileParams
- func NewCreateAlertingProfileParams() *CreateAlertingProfileParams
- func NewCreateAlertingProfileParamsWithContext(ctx context.Context) *CreateAlertingProfileParams
- func NewCreateAlertingProfileParamsWithHTTPClient(client *http.Client) *CreateAlertingProfileParams
- func NewCreateAlertingProfileParamsWithTimeout(timeout time.Duration) *CreateAlertingProfileParams
- func (o *CreateAlertingProfileParams) SetBody(body *dynatrace.AlertingProfile)
- func (o *CreateAlertingProfileParams) SetContext(ctx context.Context)
- func (o *CreateAlertingProfileParams) SetHTTPClient(client *http.Client)
- func (o *CreateAlertingProfileParams) SetTimeout(timeout time.Duration)
- func (o *CreateAlertingProfileParams) WithBody(body *dynatrace.AlertingProfile) *CreateAlertingProfileParams
- func (o *CreateAlertingProfileParams) WithContext(ctx context.Context) *CreateAlertingProfileParams
- func (o *CreateAlertingProfileParams) WithHTTPClient(client *http.Client) *CreateAlertingProfileParams
- func (o *CreateAlertingProfileParams) WithTimeout(timeout time.Duration) *CreateAlertingProfileParams
- func (o *CreateAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAlertingProfileReader
- type DeleteAlertingProfileNoContent
- type DeleteAlertingProfileParams
- func NewDeleteAlertingProfileParams() *DeleteAlertingProfileParams
- func NewDeleteAlertingProfileParamsWithContext(ctx context.Context) *DeleteAlertingProfileParams
- func NewDeleteAlertingProfileParamsWithHTTPClient(client *http.Client) *DeleteAlertingProfileParams
- func NewDeleteAlertingProfileParamsWithTimeout(timeout time.Duration) *DeleteAlertingProfileParams
- func (o *DeleteAlertingProfileParams) SetContext(ctx context.Context)
- func (o *DeleteAlertingProfileParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAlertingProfileParams) SetID(id strfmt.UUID)
- func (o *DeleteAlertingProfileParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAlertingProfileParams) WithContext(ctx context.Context) *DeleteAlertingProfileParams
- func (o *DeleteAlertingProfileParams) WithHTTPClient(client *http.Client) *DeleteAlertingProfileParams
- func (o *DeleteAlertingProfileParams) WithID(id strfmt.UUID) *DeleteAlertingProfileParams
- func (o *DeleteAlertingProfileParams) WithTimeout(timeout time.Duration) *DeleteAlertingProfileParams
- func (o *DeleteAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAlertingProfileReader
- type GetAlertingProfileOK
- type GetAlertingProfileParams
- func NewGetAlertingProfileParams() *GetAlertingProfileParams
- func NewGetAlertingProfileParamsWithContext(ctx context.Context) *GetAlertingProfileParams
- func NewGetAlertingProfileParamsWithHTTPClient(client *http.Client) *GetAlertingProfileParams
- func NewGetAlertingProfileParamsWithTimeout(timeout time.Duration) *GetAlertingProfileParams
- func (o *GetAlertingProfileParams) SetContext(ctx context.Context)
- func (o *GetAlertingProfileParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertingProfileParams) SetID(id strfmt.UUID)
- func (o *GetAlertingProfileParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertingProfileParams) WithContext(ctx context.Context) *GetAlertingProfileParams
- func (o *GetAlertingProfileParams) WithHTTPClient(client *http.Client) *GetAlertingProfileParams
- func (o *GetAlertingProfileParams) WithID(id strfmt.UUID) *GetAlertingProfileParams
- func (o *GetAlertingProfileParams) WithTimeout(timeout time.Duration) *GetAlertingProfileParams
- func (o *GetAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertingProfileReader
- type GetAlertingProfilesOK
- type GetAlertingProfilesParams
- func NewGetAlertingProfilesParams() *GetAlertingProfilesParams
- func NewGetAlertingProfilesParamsWithContext(ctx context.Context) *GetAlertingProfilesParams
- func NewGetAlertingProfilesParamsWithHTTPClient(client *http.Client) *GetAlertingProfilesParams
- func NewGetAlertingProfilesParamsWithTimeout(timeout time.Duration) *GetAlertingProfilesParams
- func (o *GetAlertingProfilesParams) SetContext(ctx context.Context)
- func (o *GetAlertingProfilesParams) SetHTTPClient(client *http.Client)
- func (o *GetAlertingProfilesParams) SetTimeout(timeout time.Duration)
- func (o *GetAlertingProfilesParams) WithContext(ctx context.Context) *GetAlertingProfilesParams
- func (o *GetAlertingProfilesParams) WithHTTPClient(client *http.Client) *GetAlertingProfilesParams
- func (o *GetAlertingProfilesParams) WithTimeout(timeout time.Duration) *GetAlertingProfilesParams
- func (o *GetAlertingProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAlertingProfilesReader
- type UpdateAlertingProfileBadRequest
- type UpdateAlertingProfileCreated
- type UpdateAlertingProfileNoContent
- type UpdateAlertingProfileParams
- func NewUpdateAlertingProfileParams() *UpdateAlertingProfileParams
- func NewUpdateAlertingProfileParamsWithContext(ctx context.Context) *UpdateAlertingProfileParams
- func NewUpdateAlertingProfileParamsWithHTTPClient(client *http.Client) *UpdateAlertingProfileParams
- func NewUpdateAlertingProfileParamsWithTimeout(timeout time.Duration) *UpdateAlertingProfileParams
- func (o *UpdateAlertingProfileParams) SetBody(body *dynatrace.AlertingProfile)
- func (o *UpdateAlertingProfileParams) SetContext(ctx context.Context)
- func (o *UpdateAlertingProfileParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAlertingProfileParams) SetID(id strfmt.UUID)
- func (o *UpdateAlertingProfileParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAlertingProfileParams) WithBody(body *dynatrace.AlertingProfile) *UpdateAlertingProfileParams
- func (o *UpdateAlertingProfileParams) WithContext(ctx context.Context) *UpdateAlertingProfileParams
- func (o *UpdateAlertingProfileParams) WithHTTPClient(client *http.Client) *UpdateAlertingProfileParams
- func (o *UpdateAlertingProfileParams) WithID(id strfmt.UUID) *UpdateAlertingProfileParams
- func (o *UpdateAlertingProfileParams) WithTimeout(timeout time.Duration) *UpdateAlertingProfileParams
- func (o *UpdateAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAlertingProfileReader
- type ValidateCreateAlertingProfileBadRequest
- type ValidateCreateAlertingProfileNoContent
- type ValidateCreateAlertingProfileParams
- func NewValidateCreateAlertingProfileParams() *ValidateCreateAlertingProfileParams
- func NewValidateCreateAlertingProfileParamsWithContext(ctx context.Context) *ValidateCreateAlertingProfileParams
- func NewValidateCreateAlertingProfileParamsWithHTTPClient(client *http.Client) *ValidateCreateAlertingProfileParams
- func NewValidateCreateAlertingProfileParamsWithTimeout(timeout time.Duration) *ValidateCreateAlertingProfileParams
- func (o *ValidateCreateAlertingProfileParams) SetBody(body *dynatrace.AlertingProfile)
- func (o *ValidateCreateAlertingProfileParams) SetContext(ctx context.Context)
- func (o *ValidateCreateAlertingProfileParams) SetHTTPClient(client *http.Client)
- func (o *ValidateCreateAlertingProfileParams) SetTimeout(timeout time.Duration)
- func (o *ValidateCreateAlertingProfileParams) WithBody(body *dynatrace.AlertingProfile) *ValidateCreateAlertingProfileParams
- func (o *ValidateCreateAlertingProfileParams) WithContext(ctx context.Context) *ValidateCreateAlertingProfileParams
- func (o *ValidateCreateAlertingProfileParams) WithHTTPClient(client *http.Client) *ValidateCreateAlertingProfileParams
- func (o *ValidateCreateAlertingProfileParams) WithTimeout(timeout time.Duration) *ValidateCreateAlertingProfileParams
- func (o *ValidateCreateAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateCreateAlertingProfileReader
- type ValidateUpdateAlertingProfileBadRequest
- type ValidateUpdateAlertingProfileNoContent
- type ValidateUpdateAlertingProfileParams
- func NewValidateUpdateAlertingProfileParams() *ValidateUpdateAlertingProfileParams
- func NewValidateUpdateAlertingProfileParamsWithContext(ctx context.Context) *ValidateUpdateAlertingProfileParams
- func NewValidateUpdateAlertingProfileParamsWithHTTPClient(client *http.Client) *ValidateUpdateAlertingProfileParams
- func NewValidateUpdateAlertingProfileParamsWithTimeout(timeout time.Duration) *ValidateUpdateAlertingProfileParams
- func (o *ValidateUpdateAlertingProfileParams) SetBody(body *dynatrace.AlertingProfile)
- func (o *ValidateUpdateAlertingProfileParams) SetContext(ctx context.Context)
- func (o *ValidateUpdateAlertingProfileParams) SetHTTPClient(client *http.Client)
- func (o *ValidateUpdateAlertingProfileParams) SetID(id strfmt.UUID)
- func (o *ValidateUpdateAlertingProfileParams) SetTimeout(timeout time.Duration)
- func (o *ValidateUpdateAlertingProfileParams) WithBody(body *dynatrace.AlertingProfile) *ValidateUpdateAlertingProfileParams
- func (o *ValidateUpdateAlertingProfileParams) WithContext(ctx context.Context) *ValidateUpdateAlertingProfileParams
- func (o *ValidateUpdateAlertingProfileParams) WithHTTPClient(client *http.Client) *ValidateUpdateAlertingProfileParams
- func (o *ValidateUpdateAlertingProfileParams) WithID(id strfmt.UUID) *ValidateUpdateAlertingProfileParams
- func (o *ValidateUpdateAlertingProfileParams) WithTimeout(timeout time.Duration) *ValidateUpdateAlertingProfileParams
- func (o *ValidateUpdateAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ValidateUpdateAlertingProfileReader
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 ¶
func (a *Client) DeleteAlertingProfile(params *DeleteAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAlertingProfileNoContent, error)
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 ¶
func (a *Client) UpdateAlertingProfile(params *UpdateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAlertingProfileCreated, *UpdateAlertingProfileNoContent, error)
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 ¶
func (a *Client) ValidateCreateAlertingProfile(params *ValidateCreateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateAlertingProfileNoContent, error)
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 ¶
func (a *Client) ValidateUpdateAlertingProfile(params *ValidateUpdateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateAlertingProfileNoContent, error)
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 ¶
type ClientService interface { CreateAlertingProfile(params *CreateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAlertingProfileCreated, error) DeleteAlertingProfile(params *DeleteAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAlertingProfileNoContent, error) GetAlertingProfile(params *GetAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetAlertingProfileOK, error) GetAlertingProfiles(params *GetAlertingProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAlertingProfilesOK, error) UpdateAlertingProfile(params *UpdateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAlertingProfileCreated, *UpdateAlertingProfileNoContent, error) ValidateCreateAlertingProfile(params *ValidateCreateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateCreateAlertingProfileNoContent, error) ValidateUpdateAlertingProfile(params *ValidateUpdateAlertingProfileParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateUpdateAlertingProfileNoContent, 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 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 (o *CreateAlertingProfileBadRequest) Error() string
func (*CreateAlertingProfileBadRequest) GetPayload ¶
func (o *CreateAlertingProfileBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 (o *CreateAlertingProfileCreated) Error() string
func (*CreateAlertingProfileCreated) GetPayload ¶
func (o *CreateAlertingProfileCreated) GetPayload() *dynatrace.EntityShortRepresentation
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 ¶
func (o *CreateAlertingProfileParams) SetBody(body *dynatrace.AlertingProfile)
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 ¶
func (o *CreateAlertingProfileParams) WithBody(body *dynatrace.AlertingProfile) *CreateAlertingProfileParams
WithBody adds the body to the create alerting profile params
func (*CreateAlertingProfileParams) WithContext ¶
func (o *CreateAlertingProfileParams) WithContext(ctx context.Context) *CreateAlertingProfileParams
WithContext adds the context to the create alerting profile params
func (*CreateAlertingProfileParams) WithHTTPClient ¶
func (o *CreateAlertingProfileParams) WithHTTPClient(client *http.Client) *CreateAlertingProfileParams
WithHTTPClient adds the HTTPClient to the create alerting profile params
func (*CreateAlertingProfileParams) WithTimeout ¶
func (o *CreateAlertingProfileParams) WithTimeout(timeout time.Duration) *CreateAlertingProfileParams
WithTimeout adds the timeout to the create alerting profile params
func (*CreateAlertingProfileParams) WriteToRequest ¶
func (o *CreateAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteAlertingProfileNoContent) Error() string
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 ¶
func (o *DeleteAlertingProfileParams) SetID(id strfmt.UUID)
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 ¶
func (o *DeleteAlertingProfileParams) WithContext(ctx context.Context) *DeleteAlertingProfileParams
WithContext adds the context to the delete alerting profile params
func (*DeleteAlertingProfileParams) WithHTTPClient ¶
func (o *DeleteAlertingProfileParams) WithHTTPClient(client *http.Client) *DeleteAlertingProfileParams
WithHTTPClient adds the HTTPClient to the delete alerting profile params
func (*DeleteAlertingProfileParams) WithID ¶
func (o *DeleteAlertingProfileParams) WithID(id strfmt.UUID) *DeleteAlertingProfileParams
WithID adds the id to the delete alerting profile params
func (*DeleteAlertingProfileParams) WithTimeout ¶
func (o *DeleteAlertingProfileParams) WithTimeout(timeout time.Duration) *DeleteAlertingProfileParams
WithTimeout adds the timeout to the delete alerting profile params
func (*DeleteAlertingProfileParams) WriteToRequest ¶
func (o *DeleteAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAlertingProfileOK) GetPayload() *dynatrace.AlertingProfile
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 ¶
func (o *GetAlertingProfileParams) WithContext(ctx context.Context) *GetAlertingProfileParams
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 ¶
func (o *GetAlertingProfileParams) WithID(id strfmt.UUID) *GetAlertingProfileParams
WithID adds the id to the get alerting profile params
func (*GetAlertingProfileParams) WithTimeout ¶
func (o *GetAlertingProfileParams) WithTimeout(timeout time.Duration) *GetAlertingProfileParams
WithTimeout adds the timeout to the get alerting profile params
func (*GetAlertingProfileParams) WriteToRequest ¶
func (o *GetAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetAlertingProfilesParams) WithContext(ctx context.Context) *GetAlertingProfilesParams
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 ¶
func (o *GetAlertingProfilesParams) WithTimeout(timeout time.Duration) *GetAlertingProfilesParams
WithTimeout adds the timeout to the get alerting profiles params
func (*GetAlertingProfilesParams) WriteToRequest ¶
func (o *GetAlertingProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateAlertingProfileBadRequest) Error() string
func (*UpdateAlertingProfileBadRequest) GetPayload ¶
func (o *UpdateAlertingProfileBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 (o *UpdateAlertingProfileCreated) Error() string
func (*UpdateAlertingProfileCreated) GetPayload ¶
func (o *UpdateAlertingProfileCreated) GetPayload() *dynatrace.EntityShortRepresentation
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 ¶
func (o *UpdateAlertingProfileNoContent) Error() string
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 ¶
func (o *UpdateAlertingProfileParams) SetBody(body *dynatrace.AlertingProfile)
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 ¶
func (o *UpdateAlertingProfileParams) SetID(id strfmt.UUID)
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 ¶
func (o *UpdateAlertingProfileParams) WithBody(body *dynatrace.AlertingProfile) *UpdateAlertingProfileParams
WithBody adds the body to the update alerting profile params
func (*UpdateAlertingProfileParams) WithContext ¶
func (o *UpdateAlertingProfileParams) WithContext(ctx context.Context) *UpdateAlertingProfileParams
WithContext adds the context to the update alerting profile params
func (*UpdateAlertingProfileParams) WithHTTPClient ¶
func (o *UpdateAlertingProfileParams) WithHTTPClient(client *http.Client) *UpdateAlertingProfileParams
WithHTTPClient adds the HTTPClient to the update alerting profile params
func (*UpdateAlertingProfileParams) WithID ¶
func (o *UpdateAlertingProfileParams) WithID(id strfmt.UUID) *UpdateAlertingProfileParams
WithID adds the id to the update alerting profile params
func (*UpdateAlertingProfileParams) WithTimeout ¶
func (o *UpdateAlertingProfileParams) WithTimeout(timeout time.Duration) *UpdateAlertingProfileParams
WithTimeout adds the timeout to the update alerting profile params
func (*UpdateAlertingProfileParams) WriteToRequest ¶
func (o *UpdateAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ValidateCreateAlertingProfileBadRequest) Error() string
func (*ValidateCreateAlertingProfileBadRequest) GetPayload ¶
func (o *ValidateCreateAlertingProfileBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 ¶
func (o *ValidateCreateAlertingProfileNoContent) Error() string
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 ¶
func (o *ValidateCreateAlertingProfileParams) SetBody(body *dynatrace.AlertingProfile)
SetBody adds the body to the validate create alerting profile params
func (*ValidateCreateAlertingProfileParams) SetContext ¶
func (o *ValidateCreateAlertingProfileParams) SetContext(ctx context.Context)
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 ¶
func (o *ValidateCreateAlertingProfileParams) WithBody(body *dynatrace.AlertingProfile) *ValidateCreateAlertingProfileParams
WithBody adds the body to the validate create alerting profile params
func (*ValidateCreateAlertingProfileParams) WithContext ¶
func (o *ValidateCreateAlertingProfileParams) WithContext(ctx context.Context) *ValidateCreateAlertingProfileParams
WithContext adds the context to the validate create alerting profile params
func (*ValidateCreateAlertingProfileParams) WithHTTPClient ¶
func (o *ValidateCreateAlertingProfileParams) WithHTTPClient(client *http.Client) *ValidateCreateAlertingProfileParams
WithHTTPClient adds the HTTPClient to the validate create alerting profile params
func (*ValidateCreateAlertingProfileParams) WithTimeout ¶
func (o *ValidateCreateAlertingProfileParams) WithTimeout(timeout time.Duration) *ValidateCreateAlertingProfileParams
WithTimeout adds the timeout to the validate create alerting profile params
func (*ValidateCreateAlertingProfileParams) WriteToRequest ¶
func (o *ValidateCreateAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ValidateUpdateAlertingProfileBadRequest) Error() string
func (*ValidateUpdateAlertingProfileBadRequest) GetPayload ¶
func (o *ValidateUpdateAlertingProfileBadRequest) GetPayload() *dynatrace.ErrorEnvelope
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 ¶
func (o *ValidateUpdateAlertingProfileNoContent) Error() string
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 ¶
func (o *ValidateUpdateAlertingProfileParams) SetBody(body *dynatrace.AlertingProfile)
SetBody adds the body to the validate update alerting profile params
func (*ValidateUpdateAlertingProfileParams) SetContext ¶
func (o *ValidateUpdateAlertingProfileParams) SetContext(ctx context.Context)
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 ¶
func (o *ValidateUpdateAlertingProfileParams) SetID(id strfmt.UUID)
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 ¶
func (o *ValidateUpdateAlertingProfileParams) WithBody(body *dynatrace.AlertingProfile) *ValidateUpdateAlertingProfileParams
WithBody adds the body to the validate update alerting profile params
func (*ValidateUpdateAlertingProfileParams) WithContext ¶
func (o *ValidateUpdateAlertingProfileParams) WithContext(ctx context.Context) *ValidateUpdateAlertingProfileParams
WithContext adds the context to the validate update alerting profile params
func (*ValidateUpdateAlertingProfileParams) WithHTTPClient ¶
func (o *ValidateUpdateAlertingProfileParams) WithHTTPClient(client *http.Client) *ValidateUpdateAlertingProfileParams
WithHTTPClient adds the HTTPClient to the validate update alerting profile params
func (*ValidateUpdateAlertingProfileParams) WithID ¶
func (o *ValidateUpdateAlertingProfileParams) WithID(id strfmt.UUID) *ValidateUpdateAlertingProfileParams
WithID adds the id to the validate update alerting profile params
func (*ValidateUpdateAlertingProfileParams) WithTimeout ¶
func (o *ValidateUpdateAlertingProfileParams) WithTimeout(timeout time.Duration) *ValidateUpdateAlertingProfileParams
WithTimeout adds the timeout to the validate update alerting profile params
func (*ValidateUpdateAlertingProfileParams) WriteToRequest ¶
func (o *ValidateUpdateAlertingProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- alerting_profiles_client.go
- create_alerting_profile_parameters.go
- create_alerting_profile_responses.go
- delete_alerting_profile_parameters.go
- delete_alerting_profile_responses.go
- get_alerting_profile_parameters.go
- get_alerting_profile_responses.go
- get_alerting_profiles_parameters.go
- get_alerting_profiles_responses.go
- update_alerting_profile_parameters.go
- update_alerting_profile_responses.go
- validate_create_alerting_profile_parameters.go
- validate_create_alerting_profile_responses.go
- validate_update_alerting_profile_parameters.go
- validate_update_alerting_profile_responses.go