| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | Name of the alert rule | |
| Description | string | Description of what the alert monitors | |
| Tag | string | ||
| Condition | AlertRuleCondition | ||
| ForDuration | string | Duration the condition must be true before firing (ISO-8601 duration format) | |
| Severity | AlertSeverity | ||
| Enabled | bool | Whether the alert rule is enabled | |
| AlertReceiverIds | []string | List of alert receiver IDs to send notifications to | |
| Presentation | AlertPresentation |
func NewAlertRuleEditRequest(name string, description string, tag string, condition AlertRuleCondition, forDuration string, severity AlertSeverity, enabled bool, alertReceiverIds []string, presentation AlertPresentation, ) *AlertRuleEditRequest
NewAlertRuleEditRequest instantiates a new AlertRuleEditRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAlertRuleEditRequestWithDefaults() *AlertRuleEditRequest
NewAlertRuleEditRequestWithDefaults instantiates a new AlertRuleEditRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *AlertRuleEditRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetName(v string)
SetName sets Name field to given value.
func (o *AlertRuleEditRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *AlertRuleEditRequest) GetTag() string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetTag(v string)
SetTag sets Tag field to given value.
func (o *AlertRuleEditRequest) GetCondition() AlertRuleCondition
GetCondition returns the Condition field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetConditionOk() (*AlertRuleCondition, bool)
GetConditionOk returns a tuple with the Condition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetCondition(v AlertRuleCondition)
SetCondition sets Condition field to given value.
func (o *AlertRuleEditRequest) GetForDuration() string
GetForDuration returns the ForDuration field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetForDurationOk() (*string, bool)
GetForDurationOk returns a tuple with the ForDuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetForDuration(v string)
SetForDuration sets ForDuration field to given value.
func (o *AlertRuleEditRequest) GetSeverity() AlertSeverity
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetSeverityOk() (*AlertSeverity, bool)
GetSeverityOk returns a tuple with the Severity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetSeverity(v AlertSeverity)
SetSeverity sets Severity field to given value.
func (o *AlertRuleEditRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *AlertRuleEditRequest) GetAlertReceiverIds() []string
GetAlertReceiverIds returns the AlertReceiverIds field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetAlertReceiverIdsOk() (*[]string, bool)
GetAlertReceiverIdsOk returns a tuple with the AlertReceiverIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetAlertReceiverIds(v []string)
SetAlertReceiverIds sets AlertReceiverIds field to given value.
func (o *AlertRuleEditRequest) GetPresentation() AlertPresentation
GetPresentation returns the Presentation field if non-nil, zero value otherwise.
func (o *AlertRuleEditRequest) GetPresentationOk() (*AlertPresentation, bool)
GetPresentationOk returns a tuple with the Presentation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AlertRuleEditRequest) SetPresentation(v AlertPresentation)
SetPresentation sets Presentation field to given value.