Name | Type | Description | Notes |
---|---|---|---|
EntityType | string | A string description of this resource. | |
Id | string | The unique identifier for the entity template. | |
CreatedAt | time.Time | The time/date when the entity template was created. | |
UpdatedAt | time.Time | The time/date when the entity template was last updated. | |
Name | string | The template's name. | |
AuthorId | string | The unique ID of the member who created the template. | |
LastUsedAt | time.Time | The last time that someone created an entity using this template. | |
StoryContents | StoryContents |
func NewEntityTemplate(entityType string, id string, createdAt time.Time, updatedAt time.Time, name string, authorId string, lastUsedAt time.Time, storyContents StoryContents, ) *EntityTemplate
NewEntityTemplate instantiates a new EntityTemplate 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 NewEntityTemplateWithDefaults() *EntityTemplate
NewEntityTemplateWithDefaults instantiates a new EntityTemplate 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 *EntityTemplate) GetEntityType() string
GetEntityType returns the EntityType field if non-nil, zero value otherwise.
func (o *EntityTemplate) GetEntityTypeOk() (*string, bool)
GetEntityTypeOk returns a tuple with the EntityType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EntityTemplate) SetEntityType(v string)
SetEntityType sets EntityType field to given value.
func (o *EntityTemplate) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *EntityTemplate) 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 *EntityTemplate) SetId(v string)
SetId sets Id field to given value.
func (o *EntityTemplate) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *EntityTemplate) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EntityTemplate) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *EntityTemplate) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *EntityTemplate) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EntityTemplate) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *EntityTemplate) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *EntityTemplate) 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 *EntityTemplate) SetName(v string)
SetName sets Name field to given value.
func (o *EntityTemplate) GetAuthorId() string
GetAuthorId returns the AuthorId field if non-nil, zero value otherwise.
func (o *EntityTemplate) GetAuthorIdOk() (*string, bool)
GetAuthorIdOk returns a tuple with the AuthorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EntityTemplate) SetAuthorId(v string)
SetAuthorId sets AuthorId field to given value.
func (o *EntityTemplate) GetLastUsedAt() time.Time
GetLastUsedAt returns the LastUsedAt field if non-nil, zero value otherwise.
func (o *EntityTemplate) GetLastUsedAtOk() (*time.Time, bool)
GetLastUsedAtOk returns a tuple with the LastUsedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EntityTemplate) SetLastUsedAt(v time.Time)
SetLastUsedAt sets LastUsedAt field to given value.
func (o *EntityTemplate) GetStoryContents() StoryContents
GetStoryContents returns the StoryContents field if non-nil, zero value otherwise.
func (o *EntityTemplate) GetStoryContentsOk() (*StoryContents, bool)
GetStoryContentsOk returns a tuple with the StoryContents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EntityTemplate) SetStoryContents(v StoryContents)
SetStoryContents sets StoryContents field to given value.