Name | Type | Description | Notes |
---|---|---|---|
Key | Pointer to string | The template notification key. | [optional] |
Mediums | Pointer to []Medium | List of preferred notification mediums, i.e., the mediums (or method) for which notifications are enabled. More mediums may be added in the future. | [optional] |
Modified | Pointer to time.Time | Modified date of preference | [optional] |
func NewPreferencesDto() *PreferencesDto
NewPreferencesDto instantiates a new PreferencesDto 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 NewPreferencesDtoWithDefaults() *PreferencesDto
NewPreferencesDtoWithDefaults instantiates a new PreferencesDto 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 *PreferencesDto) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *PreferencesDto) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PreferencesDto) SetKey(v string)
SetKey sets Key field to given value.
func (o *PreferencesDto) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *PreferencesDto) GetMediums() []Medium
GetMediums returns the Mediums field if non-nil, zero value otherwise.
func (o *PreferencesDto) GetMediumsOk() (*[]Medium, bool)
GetMediumsOk returns a tuple with the Mediums field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PreferencesDto) SetMediums(v []Medium)
SetMediums sets Mediums field to given value.
func (o *PreferencesDto) HasMediums() bool
HasMediums returns a boolean if a field has been set.
func (o *PreferencesDto) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *PreferencesDto) GetModifiedOk() (*time.Time, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PreferencesDto) SetModified(v time.Time)
SetModified sets Modified field to given value.
func (o *PreferencesDto) HasModified() bool
HasModified returns a boolean if a field has been set.