Skip to content

Latest commit

 

History

History
379 lines (204 loc) · 9.12 KB

TemplateDto.md

File metadata and controls

379 lines (204 loc) · 9.12 KB

TemplateDto

Properties

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]

Methods

NewTemplateDto

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

NewTemplateDtoWithDefaults

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

GetKey

func (o *TemplateDto) GetKey() string

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

GetKeyOk

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.

SetKey

func (o *TemplateDto) SetKey(v string)

SetKey sets Key field to given value.

GetName

func (o *TemplateDto) GetName() string

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

GetNameOk

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.

SetName

func (o *TemplateDto) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *TemplateDto) HasName() bool

HasName returns a boolean if a field has been set.

GetMedium

func (o *TemplateDto) GetMedium() string

GetMedium returns the Medium field if non-nil, zero value otherwise.

GetMediumOk

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.

SetMedium

func (o *TemplateDto) SetMedium(v string)

SetMedium sets Medium field to given value.

GetLocale

func (o *TemplateDto) GetLocale() string

GetLocale returns the Locale field if non-nil, zero value otherwise.

GetLocaleOk

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.

SetLocale

func (o *TemplateDto) SetLocale(v string)

SetLocale sets Locale field to given value.

GetSubject

func (o *TemplateDto) GetSubject() string

GetSubject returns the Subject field if non-nil, zero value otherwise.

GetSubjectOk

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.

SetSubject

func (o *TemplateDto) SetSubject(v string)

SetSubject sets Subject field to given value.

HasSubject

func (o *TemplateDto) HasSubject() bool

HasSubject returns a boolean if a field has been set.

GetHeader

func (o *TemplateDto) GetHeader() string

GetHeader returns the Header field if non-nil, zero value otherwise.

GetHeaderOk

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.

SetHeader

func (o *TemplateDto) SetHeader(v string)

SetHeader sets Header field to given value.

HasHeader

func (o *TemplateDto) HasHeader() bool

HasHeader returns a boolean if a field has been set.

GetBody

func (o *TemplateDto) GetBody() string

GetBody returns the Body field if non-nil, zero value otherwise.

GetBodyOk

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.

SetBody

func (o *TemplateDto) SetBody(v string)

SetBody sets Body field to given value.

HasBody

func (o *TemplateDto) HasBody() bool

HasBody returns a boolean if a field has been set.

GetFooter

func (o *TemplateDto) GetFooter() string

GetFooter returns the Footer field if non-nil, zero value otherwise.

GetFooterOk

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.

SetFooter

func (o *TemplateDto) SetFooter(v string)

SetFooter sets Footer field to given value.

HasFooter

func (o *TemplateDto) HasFooter() bool

HasFooter returns a boolean if a field has been set.

GetFrom

func (o *TemplateDto) GetFrom() string

GetFrom returns the From field if non-nil, zero value otherwise.

GetFromOk

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.

SetFrom

func (o *TemplateDto) SetFrom(v string)

SetFrom sets From field to given value.

HasFrom

func (o *TemplateDto) HasFrom() bool

HasFrom returns a boolean if a field has been set.

GetReplyTo

func (o *TemplateDto) GetReplyTo() string

GetReplyTo returns the ReplyTo field if non-nil, zero value otherwise.

GetReplyToOk

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.

SetReplyTo

func (o *TemplateDto) SetReplyTo(v string)

SetReplyTo sets ReplyTo field to given value.

HasReplyTo

func (o *TemplateDto) HasReplyTo() bool

HasReplyTo returns a boolean if a field has been set.

GetDescription

func (o *TemplateDto) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *TemplateDto) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *TemplateDto) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetId

func (o *TemplateDto) GetId() string

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

GetIdOk

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.

SetId

func (o *TemplateDto) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *TemplateDto) HasId() bool

HasId returns a boolean if a field has been set.

GetCreated

func (o *TemplateDto) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

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.

SetCreated

func (o *TemplateDto) SetCreated(v time.Time)

SetCreated sets Created field to given value.

HasCreated

func (o *TemplateDto) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetModified

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

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

GetModifiedOk

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.

SetModified

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

SetModified sets Modified field to given value.

HasModified

func (o *TemplateDto) HasModified() bool

HasModified returns a boolean if a field has been set.

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