Name | Type | Description | Notes |
---|---|---|---|
Key | string | ||
Name | Pointer to string | [optional] | |
Medium | string | The message medium. More mediums may be added in the future. | |
Locale | string | The locale for the message text, a BCP 47 language tag. | |
Subject | Pointer to string | [optional] | |
Header | Pointer to string | [optional] | |
Body | Pointer to string | [optional] | |
Footer | Pointer to string | [optional] | |
From | Pointer to string | [optional] | |
ReplyTo | Pointer to string | [optional] | |
Description | Pointer to string | [optional] | |
Id | Pointer to string | This is auto-generated. | [optional] |
Created | Pointer to time.Time | The time when this template is created. This is auto-generated. | [optional] |
Modified | Pointer to time.Time | The time when this template was last modified. This is auto-generated. | [optional] |
func NewTemplateDto(key string, medium string, locale string, ) *TemplateDto
NewTemplateDto instantiates a new TemplateDto 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 NewTemplateDtoWithDefaults() *TemplateDto
NewTemplateDtoWithDefaults instantiates a new TemplateDto 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 *TemplateDto) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *TemplateDto) 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 *TemplateDto) SetKey(v string)
SetKey sets Key field to given value.
func (o *TemplateDto) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TemplateDto) 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 *TemplateDto) SetName(v string)
SetName sets Name field to given value.
func (o *TemplateDto) HasName() bool
HasName returns a boolean if a field has been set.
func (o *TemplateDto) GetMedium() string
GetMedium returns the Medium field if non-nil, zero value otherwise.
func (o *TemplateDto) GetMediumOk() (*string, bool)
GetMediumOk returns a tuple with the Medium field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetMedium(v string)
SetMedium sets Medium field to given value.
func (o *TemplateDto) GetLocale() string
GetLocale returns the Locale field if non-nil, zero value otherwise.
func (o *TemplateDto) GetLocaleOk() (*string, bool)
GetLocaleOk returns a tuple with the Locale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetLocale(v string)
SetLocale sets Locale field to given value.
func (o *TemplateDto) GetSubject() string
GetSubject returns the Subject field if non-nil, zero value otherwise.
func (o *TemplateDto) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetSubject(v string)
SetSubject sets Subject field to given value.
func (o *TemplateDto) HasSubject() bool
HasSubject returns a boolean if a field has been set.
func (o *TemplateDto) GetHeader() string
GetHeader returns the Header field if non-nil, zero value otherwise.
func (o *TemplateDto) GetHeaderOk() (*string, bool)
GetHeaderOk returns a tuple with the Header field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetHeader(v string)
SetHeader sets Header field to given value.
func (o *TemplateDto) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (o *TemplateDto) GetBody() string
GetBody returns the Body field if non-nil, zero value otherwise.
func (o *TemplateDto) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetBody(v string)
SetBody sets Body field to given value.
func (o *TemplateDto) HasBody() bool
HasBody returns a boolean if a field has been set.
func (o *TemplateDto) GetFooter() string
GetFooter returns the Footer field if non-nil, zero value otherwise.
func (o *TemplateDto) GetFooterOk() (*string, bool)
GetFooterOk returns a tuple with the Footer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetFooter(v string)
SetFooter sets Footer field to given value.
func (o *TemplateDto) HasFooter() bool
HasFooter returns a boolean if a field has been set.
func (o *TemplateDto) GetFrom() string
GetFrom returns the From field if non-nil, zero value otherwise.
func (o *TemplateDto) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetFrom(v string)
SetFrom sets From field to given value.
func (o *TemplateDto) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (o *TemplateDto) GetReplyTo() string
GetReplyTo returns the ReplyTo field if non-nil, zero value otherwise.
func (o *TemplateDto) GetReplyToOk() (*string, bool)
GetReplyToOk returns a tuple with the ReplyTo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetReplyTo(v string)
SetReplyTo sets ReplyTo field to given value.
func (o *TemplateDto) HasReplyTo() bool
HasReplyTo returns a boolean if a field has been set.
func (o *TemplateDto) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *TemplateDto) 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 *TemplateDto) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *TemplateDto) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *TemplateDto) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *TemplateDto) GetIdOk() (*string, 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.
func (o *TemplateDto) SetId(v string)
SetId sets Id field to given value.
func (o *TemplateDto) HasId() bool
HasId returns a boolean if a field has been set.
func (o *TemplateDto) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *TemplateDto) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TemplateDto) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *TemplateDto) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *TemplateDto) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *TemplateDto) 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 *TemplateDto) SetModified(v time.Time)
SetModified sets Modified field to given value.
func (o *TemplateDto) HasModified() bool
HasModified returns a boolean if a field has been set.