Skip to content

Latest commit

 

History

History
702 lines (385 loc) · 20.2 KB

NotificationResource.md

File metadata and controls

702 lines (385 loc) · 20.2 KB

NotificationResource

Properties

Name Type Description Notes
Id Pointer to int32 [optional]
Name Pointer to NullableString [optional]
Fields Pointer to []Field [optional]
ImplementationName Pointer to NullableString [optional]
Implementation Pointer to NullableString [optional]
ConfigContract Pointer to NullableString [optional]
InfoLink Pointer to NullableString [optional]
Message Pointer to ProviderMessage [optional]
Tags Pointer to []int32 [optional]
Presets Pointer to []NotificationResource [optional]
Link Pointer to NullableString [optional]
OnGrab Pointer to bool [optional]
OnHealthIssue Pointer to bool [optional]
OnHealthRestored Pointer to bool [optional]
OnApplicationUpdate Pointer to bool [optional]
SupportsOnGrab Pointer to bool [optional]
IncludeManualGrabs Pointer to bool [optional]
SupportsOnHealthIssue Pointer to bool [optional]
SupportsOnHealthRestored Pointer to bool [optional]
IncludeHealthWarnings Pointer to bool [optional]
SupportsOnApplicationUpdate Pointer to bool [optional]
TestCommand Pointer to NullableString [optional]

Methods

NewNotificationResource

func NewNotificationResource() *NotificationResource

NewNotificationResource instantiates a new NotificationResource 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

NewNotificationResourceWithDefaults

func NewNotificationResourceWithDefaults() *NotificationResource

NewNotificationResourceWithDefaults instantiates a new NotificationResource 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

GetId

func (o *NotificationResource) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *NotificationResource) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *NotificationResource) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *NotificationResource) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *NotificationResource) GetName() string

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

GetNameOk

func (o *NotificationResource) 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 *NotificationResource) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *NotificationResource) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *NotificationResource) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *NotificationResource) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetFields

func (o *NotificationResource) GetFields() []Field

GetFields returns the Fields field if non-nil, zero value otherwise.

GetFieldsOk

func (o *NotificationResource) GetFieldsOk() (*[]Field, bool)

GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFields

func (o *NotificationResource) SetFields(v []Field)

SetFields sets Fields field to given value.

HasFields

func (o *NotificationResource) HasFields() bool

HasFields returns a boolean if a field has been set.

SetFieldsNil

func (o *NotificationResource) SetFieldsNil(b bool)

SetFieldsNil sets the value for Fields to be an explicit nil

UnsetFields

func (o *NotificationResource) UnsetFields()

UnsetFields ensures that no value is present for Fields, not even an explicit nil

GetImplementationName

func (o *NotificationResource) GetImplementationName() string

GetImplementationName returns the ImplementationName field if non-nil, zero value otherwise.

GetImplementationNameOk

func (o *NotificationResource) GetImplementationNameOk() (*string, bool)

GetImplementationNameOk returns a tuple with the ImplementationName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImplementationName

func (o *NotificationResource) SetImplementationName(v string)

SetImplementationName sets ImplementationName field to given value.

HasImplementationName

func (o *NotificationResource) HasImplementationName() bool

HasImplementationName returns a boolean if a field has been set.

SetImplementationNameNil

func (o *NotificationResource) SetImplementationNameNil(b bool)

SetImplementationNameNil sets the value for ImplementationName to be an explicit nil

UnsetImplementationName

func (o *NotificationResource) UnsetImplementationName()

UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil

GetImplementation

func (o *NotificationResource) GetImplementation() string

GetImplementation returns the Implementation field if non-nil, zero value otherwise.

GetImplementationOk

func (o *NotificationResource) GetImplementationOk() (*string, bool)

GetImplementationOk returns a tuple with the Implementation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImplementation

func (o *NotificationResource) SetImplementation(v string)

SetImplementation sets Implementation field to given value.

HasImplementation

func (o *NotificationResource) HasImplementation() bool

HasImplementation returns a boolean if a field has been set.

SetImplementationNil

func (o *NotificationResource) SetImplementationNil(b bool)

SetImplementationNil sets the value for Implementation to be an explicit nil

UnsetImplementation

func (o *NotificationResource) UnsetImplementation()

UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil

GetConfigContract

func (o *NotificationResource) GetConfigContract() string

GetConfigContract returns the ConfigContract field if non-nil, zero value otherwise.

GetConfigContractOk

func (o *NotificationResource) GetConfigContractOk() (*string, bool)

GetConfigContractOk returns a tuple with the ConfigContract field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetConfigContract

func (o *NotificationResource) SetConfigContract(v string)

SetConfigContract sets ConfigContract field to given value.

HasConfigContract

func (o *NotificationResource) HasConfigContract() bool

HasConfigContract returns a boolean if a field has been set.

SetConfigContractNil

func (o *NotificationResource) SetConfigContractNil(b bool)

SetConfigContractNil sets the value for ConfigContract to be an explicit nil

UnsetConfigContract

func (o *NotificationResource) UnsetConfigContract()

UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil

GetInfoLink

func (o *NotificationResource) GetInfoLink() string

GetInfoLink returns the InfoLink field if non-nil, zero value otherwise.

GetInfoLinkOk

func (o *NotificationResource) GetInfoLinkOk() (*string, bool)

GetInfoLinkOk returns a tuple with the InfoLink field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInfoLink

func (o *NotificationResource) SetInfoLink(v string)

SetInfoLink sets InfoLink field to given value.

HasInfoLink

func (o *NotificationResource) HasInfoLink() bool

HasInfoLink returns a boolean if a field has been set.

SetInfoLinkNil

func (o *NotificationResource) SetInfoLinkNil(b bool)

SetInfoLinkNil sets the value for InfoLink to be an explicit nil

UnsetInfoLink

func (o *NotificationResource) UnsetInfoLink()

UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil

GetMessage

func (o *NotificationResource) GetMessage() ProviderMessage

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *NotificationResource) GetMessageOk() (*ProviderMessage, bool)

GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMessage

func (o *NotificationResource) SetMessage(v ProviderMessage)

SetMessage sets Message field to given value.

HasMessage

func (o *NotificationResource) HasMessage() bool

HasMessage returns a boolean if a field has been set.

GetTags

func (o *NotificationResource) GetTags() []int32

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *NotificationResource) GetTagsOk() (*[]int32, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *NotificationResource) SetTags(v []int32)

SetTags sets Tags field to given value.

HasTags

func (o *NotificationResource) HasTags() bool

HasTags returns a boolean if a field has been set.

SetTagsNil

func (o *NotificationResource) SetTagsNil(b bool)

SetTagsNil sets the value for Tags to be an explicit nil

UnsetTags

func (o *NotificationResource) UnsetTags()

UnsetTags ensures that no value is present for Tags, not even an explicit nil

GetPresets

func (o *NotificationResource) GetPresets() []NotificationResource

GetPresets returns the Presets field if non-nil, zero value otherwise.

GetPresetsOk

func (o *NotificationResource) GetPresetsOk() (*[]NotificationResource, bool)

GetPresetsOk returns a tuple with the Presets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPresets

func (o *NotificationResource) SetPresets(v []NotificationResource)

SetPresets sets Presets field to given value.

HasPresets

func (o *NotificationResource) HasPresets() bool

HasPresets returns a boolean if a field has been set.

SetPresetsNil

func (o *NotificationResource) SetPresetsNil(b bool)

SetPresetsNil sets the value for Presets to be an explicit nil

UnsetPresets

func (o *NotificationResource) UnsetPresets()

UnsetPresets ensures that no value is present for Presets, not even an explicit nil

GetLink

func (o *NotificationResource) GetLink() string

GetLink returns the Link field if non-nil, zero value otherwise.

GetLinkOk

func (o *NotificationResource) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLink

func (o *NotificationResource) SetLink(v string)

SetLink sets Link field to given value.

HasLink

func (o *NotificationResource) HasLink() bool

HasLink returns a boolean if a field has been set.

SetLinkNil

func (o *NotificationResource) SetLinkNil(b bool)

SetLinkNil sets the value for Link to be an explicit nil

UnsetLink

func (o *NotificationResource) UnsetLink()

UnsetLink ensures that no value is present for Link, not even an explicit nil

GetOnGrab

func (o *NotificationResource) GetOnGrab() bool

GetOnGrab returns the OnGrab field if non-nil, zero value otherwise.

GetOnGrabOk

func (o *NotificationResource) GetOnGrabOk() (*bool, bool)

GetOnGrabOk returns a tuple with the OnGrab field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOnGrab

func (o *NotificationResource) SetOnGrab(v bool)

SetOnGrab sets OnGrab field to given value.

HasOnGrab

func (o *NotificationResource) HasOnGrab() bool

HasOnGrab returns a boolean if a field has been set.

GetOnHealthIssue

func (o *NotificationResource) GetOnHealthIssue() bool

GetOnHealthIssue returns the OnHealthIssue field if non-nil, zero value otherwise.

GetOnHealthIssueOk

func (o *NotificationResource) GetOnHealthIssueOk() (*bool, bool)

GetOnHealthIssueOk returns a tuple with the OnHealthIssue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOnHealthIssue

func (o *NotificationResource) SetOnHealthIssue(v bool)

SetOnHealthIssue sets OnHealthIssue field to given value.

HasOnHealthIssue

func (o *NotificationResource) HasOnHealthIssue() bool

HasOnHealthIssue returns a boolean if a field has been set.

GetOnHealthRestored

func (o *NotificationResource) GetOnHealthRestored() bool

GetOnHealthRestored returns the OnHealthRestored field if non-nil, zero value otherwise.

GetOnHealthRestoredOk

func (o *NotificationResource) GetOnHealthRestoredOk() (*bool, bool)

GetOnHealthRestoredOk returns a tuple with the OnHealthRestored field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOnHealthRestored

func (o *NotificationResource) SetOnHealthRestored(v bool)

SetOnHealthRestored sets OnHealthRestored field to given value.

HasOnHealthRestored

func (o *NotificationResource) HasOnHealthRestored() bool

HasOnHealthRestored returns a boolean if a field has been set.

GetOnApplicationUpdate

func (o *NotificationResource) GetOnApplicationUpdate() bool

GetOnApplicationUpdate returns the OnApplicationUpdate field if non-nil, zero value otherwise.

GetOnApplicationUpdateOk

func (o *NotificationResource) GetOnApplicationUpdateOk() (*bool, bool)

GetOnApplicationUpdateOk returns a tuple with the OnApplicationUpdate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOnApplicationUpdate

func (o *NotificationResource) SetOnApplicationUpdate(v bool)

SetOnApplicationUpdate sets OnApplicationUpdate field to given value.

HasOnApplicationUpdate

func (o *NotificationResource) HasOnApplicationUpdate() bool

HasOnApplicationUpdate returns a boolean if a field has been set.

GetSupportsOnGrab

func (o *NotificationResource) GetSupportsOnGrab() bool

GetSupportsOnGrab returns the SupportsOnGrab field if non-nil, zero value otherwise.

GetSupportsOnGrabOk

func (o *NotificationResource) GetSupportsOnGrabOk() (*bool, bool)

GetSupportsOnGrabOk returns a tuple with the SupportsOnGrab field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSupportsOnGrab

func (o *NotificationResource) SetSupportsOnGrab(v bool)

SetSupportsOnGrab sets SupportsOnGrab field to given value.

HasSupportsOnGrab

func (o *NotificationResource) HasSupportsOnGrab() bool

HasSupportsOnGrab returns a boolean if a field has been set.

GetIncludeManualGrabs

func (o *NotificationResource) GetIncludeManualGrabs() bool

GetIncludeManualGrabs returns the IncludeManualGrabs field if non-nil, zero value otherwise.

GetIncludeManualGrabsOk

func (o *NotificationResource) GetIncludeManualGrabsOk() (*bool, bool)

GetIncludeManualGrabsOk returns a tuple with the IncludeManualGrabs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIncludeManualGrabs

func (o *NotificationResource) SetIncludeManualGrabs(v bool)

SetIncludeManualGrabs sets IncludeManualGrabs field to given value.

HasIncludeManualGrabs

func (o *NotificationResource) HasIncludeManualGrabs() bool

HasIncludeManualGrabs returns a boolean if a field has been set.

GetSupportsOnHealthIssue

func (o *NotificationResource) GetSupportsOnHealthIssue() bool

GetSupportsOnHealthIssue returns the SupportsOnHealthIssue field if non-nil, zero value otherwise.

GetSupportsOnHealthIssueOk

func (o *NotificationResource) GetSupportsOnHealthIssueOk() (*bool, bool)

GetSupportsOnHealthIssueOk returns a tuple with the SupportsOnHealthIssue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSupportsOnHealthIssue

func (o *NotificationResource) SetSupportsOnHealthIssue(v bool)

SetSupportsOnHealthIssue sets SupportsOnHealthIssue field to given value.

HasSupportsOnHealthIssue

func (o *NotificationResource) HasSupportsOnHealthIssue() bool

HasSupportsOnHealthIssue returns a boolean if a field has been set.

GetSupportsOnHealthRestored

func (o *NotificationResource) GetSupportsOnHealthRestored() bool

GetSupportsOnHealthRestored returns the SupportsOnHealthRestored field if non-nil, zero value otherwise.

GetSupportsOnHealthRestoredOk

func (o *NotificationResource) GetSupportsOnHealthRestoredOk() (*bool, bool)

GetSupportsOnHealthRestoredOk returns a tuple with the SupportsOnHealthRestored field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSupportsOnHealthRestored

func (o *NotificationResource) SetSupportsOnHealthRestored(v bool)

SetSupportsOnHealthRestored sets SupportsOnHealthRestored field to given value.

HasSupportsOnHealthRestored

func (o *NotificationResource) HasSupportsOnHealthRestored() bool

HasSupportsOnHealthRestored returns a boolean if a field has been set.

GetIncludeHealthWarnings

func (o *NotificationResource) GetIncludeHealthWarnings() bool

GetIncludeHealthWarnings returns the IncludeHealthWarnings field if non-nil, zero value otherwise.

GetIncludeHealthWarningsOk

func (o *NotificationResource) GetIncludeHealthWarningsOk() (*bool, bool)

GetIncludeHealthWarningsOk returns a tuple with the IncludeHealthWarnings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIncludeHealthWarnings

func (o *NotificationResource) SetIncludeHealthWarnings(v bool)

SetIncludeHealthWarnings sets IncludeHealthWarnings field to given value.

HasIncludeHealthWarnings

func (o *NotificationResource) HasIncludeHealthWarnings() bool

HasIncludeHealthWarnings returns a boolean if a field has been set.

GetSupportsOnApplicationUpdate

func (o *NotificationResource) GetSupportsOnApplicationUpdate() bool

GetSupportsOnApplicationUpdate returns the SupportsOnApplicationUpdate field if non-nil, zero value otherwise.

GetSupportsOnApplicationUpdateOk

func (o *NotificationResource) GetSupportsOnApplicationUpdateOk() (*bool, bool)

GetSupportsOnApplicationUpdateOk returns a tuple with the SupportsOnApplicationUpdate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSupportsOnApplicationUpdate

func (o *NotificationResource) SetSupportsOnApplicationUpdate(v bool)

SetSupportsOnApplicationUpdate sets SupportsOnApplicationUpdate field to given value.

HasSupportsOnApplicationUpdate

func (o *NotificationResource) HasSupportsOnApplicationUpdate() bool

HasSupportsOnApplicationUpdate returns a boolean if a field has been set.

GetTestCommand

func (o *NotificationResource) GetTestCommand() string

GetTestCommand returns the TestCommand field if non-nil, zero value otherwise.

GetTestCommandOk

func (o *NotificationResource) GetTestCommandOk() (*string, bool)

GetTestCommandOk returns a tuple with the TestCommand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTestCommand

func (o *NotificationResource) SetTestCommand(v string)

SetTestCommand sets TestCommand field to given value.

HasTestCommand

func (o *NotificationResource) HasTestCommand() bool

HasTestCommand returns a boolean if a field has been set.

SetTestCommandNil

func (o *NotificationResource) SetTestCommandNil(b bool)

SetTestCommandNil sets the value for TestCommand to be an explicit nil

UnsetTestCommand

func (o *NotificationResource) UnsetTestCommand()

UnsetTestCommand ensures that no value is present for TestCommand, not even an explicit nil

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