Skip to content

Latest commit

 

History

History
222 lines (121 loc) · 6.45 KB

SlackAlertReceiverEditRequest.md

File metadata and controls

222 lines (121 loc) · 6.45 KB

SlackAlertReceiverEditRequest

Properties

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]

Methods

NewSlackAlertReceiverEditRequest

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

NewSlackAlertReceiverEditRequestWithDefaults

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

GetName

func (o *SlackAlertReceiverEditRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *SlackAlertReceiverEditRequest) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *SlackAlertReceiverEditRequest) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *SlackAlertReceiverEditRequest) SetDescription(v string)

SetDescription sets Description field to given value.

GetType

func (o *SlackAlertReceiverEditRequest) GetType() AlertReceiverType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *SlackAlertReceiverEditRequest) SetType(v AlertReceiverType)

SetType sets Type field to given value.

GetSendResolved

func (o *SlackAlertReceiverEditRequest) GetSendResolved() bool

GetSendResolved returns the SendResolved field if non-nil, zero value otherwise.

GetSendResolvedOk

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.

SetSendResolved

func (o *SlackAlertReceiverEditRequest) SetSendResolved(v bool)

SetSendResolved sets SendResolved field to given value.

GetOwner

func (o *SlackAlertReceiverEditRequest) GetOwner() string

GetOwner returns the Owner field if non-nil, zero value otherwise.

GetOwnerOk

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.

SetOwner

func (o *SlackAlertReceiverEditRequest) SetOwner(v string)

SetOwner sets Owner field to given value.

HasOwner

func (o *SlackAlertReceiverEditRequest) HasOwner() bool

HasOwner returns a boolean if a field has been set.

SetOwnerNil

func (o *SlackAlertReceiverEditRequest) SetOwnerNil(b bool)

SetOwnerNil sets the value for Owner to be an explicit nil

UnsetOwner

func (o *SlackAlertReceiverEditRequest) UnsetOwner()

UnsetOwner ensures that no value is present for Owner, not even an explicit nil

GetSeverity

func (o *SlackAlertReceiverEditRequest) GetSeverity() string

GetSeverity returns the Severity field if non-nil, zero value otherwise.

GetSeverityOk

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.

SetSeverity

func (o *SlackAlertReceiverEditRequest) SetSeverity(v string)

SetSeverity sets Severity field to given value.

HasSeverity

func (o *SlackAlertReceiverEditRequest) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

SetSeverityNil

func (o *SlackAlertReceiverEditRequest) SetSeverityNil(b bool)

SetSeverityNil sets the value for Severity to be an explicit nil

UnsetSeverity

func (o *SlackAlertReceiverEditRequest) UnsetSeverity()

UnsetSeverity ensures that no value is present for Severity, not even an explicit nil

GetWebhookUrl

func (o *SlackAlertReceiverEditRequest) GetWebhookUrl() string

GetWebhookUrl returns the WebhookUrl field if non-nil, zero value otherwise.

GetWebhookUrlOk

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.

SetWebhookUrl

func (o *SlackAlertReceiverEditRequest) SetWebhookUrl(v string)

SetWebhookUrl sets WebhookUrl field to given value.

HasWebhookUrl

func (o *SlackAlertReceiverEditRequest) HasWebhookUrl() bool

HasWebhookUrl returns a boolean if a field has been set.

SetWebhookUrlNil

func (o *SlackAlertReceiverEditRequest) SetWebhookUrlNil(b bool)

SetWebhookUrlNil sets the value for WebhookUrl to be an explicit nil

UnsetWebhookUrl

func (o *SlackAlertReceiverEditRequest) UnsetWebhookUrl()

UnsetWebhookUrl ensures that no value is present for WebhookUrl, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]