| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | ||
| Description | string | ||
| Type | AlertReceiverType | ||
| SendResolved | bool | ||
| Owner | Pointer to NullableString | [optional] | |
| Severity | Pointer to NullableString | [optional] | |
| WebhookUrl | Pointer to NullableString | Update webhook URL. If null, keeps existing value. | [optional] |
func NewSlackAlertReceiverEditRequest(name string, description string, type_ AlertReceiverType, sendResolved bool, ) *SlackAlertReceiverEditRequest
NewSlackAlertReceiverEditRequest instantiates a new SlackAlertReceiverEditRequest 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 NewSlackAlertReceiverEditRequestWithDefaults() *SlackAlertReceiverEditRequest
NewSlackAlertReceiverEditRequestWithDefaults instantiates a new SlackAlertReceiverEditRequest 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 *SlackAlertReceiverEditRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SlackAlertReceiverEditRequest) 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 *SlackAlertReceiverEditRequest) SetName(v string)
SetName sets Name field to given value.
func (o *SlackAlertReceiverEditRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SlackAlertReceiverEditRequest) 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 *SlackAlertReceiverEditRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SlackAlertReceiverEditRequest) GetType() AlertReceiverType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *SlackAlertReceiverEditRequest) GetTypeOk() (*AlertReceiverType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SlackAlertReceiverEditRequest) SetType(v AlertReceiverType)
SetType sets Type field to given value.
func (o *SlackAlertReceiverEditRequest) GetSendResolved() bool
GetSendResolved returns the SendResolved field if non-nil, zero value otherwise.
func (o *SlackAlertReceiverEditRequest) GetSendResolvedOk() (*bool, bool)
GetSendResolvedOk returns a tuple with the SendResolved field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SlackAlertReceiverEditRequest) SetSendResolved(v bool)
SetSendResolved sets SendResolved field to given value.
func (o *SlackAlertReceiverEditRequest) GetOwner() string
GetOwner returns the Owner field if non-nil, zero value otherwise.
func (o *SlackAlertReceiverEditRequest) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SlackAlertReceiverEditRequest) SetOwner(v string)
SetOwner sets Owner field to given value.
func (o *SlackAlertReceiverEditRequest) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (o *SlackAlertReceiverEditRequest) SetOwnerNil(b bool)
SetOwnerNil sets the value for Owner to be an explicit nil
func (o *SlackAlertReceiverEditRequest) UnsetOwner()
UnsetOwner ensures that no value is present for Owner, not even an explicit nil
func (o *SlackAlertReceiverEditRequest) GetSeverity() string
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *SlackAlertReceiverEditRequest) GetSeverityOk() (*string, 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 *SlackAlertReceiverEditRequest) SetSeverity(v string)
SetSeverity sets Severity field to given value.
func (o *SlackAlertReceiverEditRequest) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (o *SlackAlertReceiverEditRequest) SetSeverityNil(b bool)
SetSeverityNil sets the value for Severity to be an explicit nil
func (o *SlackAlertReceiverEditRequest) UnsetSeverity()
UnsetSeverity ensures that no value is present for Severity, not even an explicit nil
func (o *SlackAlertReceiverEditRequest) GetWebhookUrl() string
GetWebhookUrl returns the WebhookUrl field if non-nil, zero value otherwise.
func (o *SlackAlertReceiverEditRequest) GetWebhookUrlOk() (*string, bool)
GetWebhookUrlOk returns a tuple with the WebhookUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SlackAlertReceiverEditRequest) SetWebhookUrl(v string)
SetWebhookUrl sets WebhookUrl field to given value.
func (o *SlackAlertReceiverEditRequest) HasWebhookUrl() bool
HasWebhookUrl returns a boolean if a field has been set.
func (o *SlackAlertReceiverEditRequest) SetWebhookUrlNil(b bool)
SetWebhookUrlNil sets the value for WebhookUrl to be an explicit nil
func (o *SlackAlertReceiverEditRequest) UnsetWebhookUrl()
UnsetWebhookUrl ensures that no value is present for WebhookUrl, not even an explicit nil