Name | Type | Description | Notes |
---|---|---|---|
Entity | Pointer to string | The name of the entity that can have this attribute. When creating or updating the entities of a given type, you can include an `attributes` object with keys corresponding to the `name` of the custom attributes for that type. | |
Name | Pointer to string | The attribute name that will be used in API requests and Talang. E.g. if `name == "region"` then you would set the region attribute by including an `attributes.region` property in your request payload. | |
Title | Pointer to string | The human-readable name for the attribute that will be shown in the Campaign Manager. Like `name`, the combination of entity and title must also be unique. | |
Type | Pointer to string | The data type of the attribute, a `time` attribute must be sent as a string that conforms to the RFC3339 timestamp format. | |
Description | Pointer to string | A description of the attribute. | |
Presets | Pointer to []string | The presets that indicate to which industry the attribute applies to. | |
Suggestions | Pointer to []string | Short suggestions that are used to group attributes. |
func (o *LibraryAttribute) GetEntity() string
GetEntity returns the Entity field if non-nil, zero value otherwise.
func (o *LibraryAttribute) GetEntityOk() (string, bool)
GetEntityOk returns a tuple with the Entity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LibraryAttribute) HasEntity() bool
HasEntity returns a boolean if a field has been set.
func (o *LibraryAttribute) SetEntity(v string)
SetEntity gets a reference to the given string and assigns it to the Entity field.
func (o *LibraryAttribute) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LibraryAttribute) 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 *LibraryAttribute) HasName() bool
HasName returns a boolean if a field has been set.
func (o *LibraryAttribute) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *LibraryAttribute) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *LibraryAttribute) GetTitleOk() (string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LibraryAttribute) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *LibraryAttribute) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *LibraryAttribute) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *LibraryAttribute) GetTypeOk() (string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LibraryAttribute) HasType() bool
HasType returns a boolean if a field has been set.
func (o *LibraryAttribute) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (o *LibraryAttribute) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *LibraryAttribute) 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 *LibraryAttribute) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *LibraryAttribute) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *LibraryAttribute) GetPresets() []string
GetPresets returns the Presets field if non-nil, zero value otherwise.
func (o *LibraryAttribute) GetPresetsOk() ([]string, bool)
GetPresetsOk returns a tuple with the Presets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LibraryAttribute) HasPresets() bool
HasPresets returns a boolean if a field has been set.
func (o *LibraryAttribute) SetPresets(v []string)
SetPresets gets a reference to the given []string and assigns it to the Presets field.
func (o *LibraryAttribute) GetSuggestions() []string
GetSuggestions returns the Suggestions field if non-nil, zero value otherwise.
func (o *LibraryAttribute) GetSuggestionsOk() ([]string, bool)
GetSuggestionsOk returns a tuple with the Suggestions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LibraryAttribute) HasSuggestions() bool
HasSuggestions returns a boolean if a field has been set.
func (o *LibraryAttribute) SetSuggestions(v []string)
SetSuggestions gets a reference to the given []string and assigns it to the Suggestions field.