Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.99 KB

PreferencesDto.md

File metadata and controls

108 lines (59 loc) · 2.99 KB

PreferencesDto

Properties

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]

Methods

NewPreferencesDto

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

NewPreferencesDtoWithDefaults

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

GetKey

func (o *PreferencesDto) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

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.

SetKey

func (o *PreferencesDto) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *PreferencesDto) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMediums

func (o *PreferencesDto) GetMediums() []Medium

GetMediums returns the Mediums field if non-nil, zero value otherwise.

GetMediumsOk

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.

SetMediums

func (o *PreferencesDto) SetMediums(v []Medium)

SetMediums sets Mediums field to given value.

HasMediums

func (o *PreferencesDto) HasMediums() bool

HasMediums returns a boolean if a field has been set.

GetModified

func (o *PreferencesDto) GetModified() time.Time

GetModified returns the Modified field if non-nil, zero value otherwise.

GetModifiedOk

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.

SetModified

func (o *PreferencesDto) SetModified(v time.Time)

SetModified sets Modified field to given value.

HasModified

func (o *PreferencesDto) HasModified() bool

HasModified returns a boolean if a field has been set.

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