Skip to content

Latest commit

 

History

History
177 lines (94 loc) · 5.55 KB

File metadata and controls

177 lines (94 loc) · 5.55 KB

LibraryAttribute

Properties

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.

Methods

NewLibraryAttribute

func NewLibraryAttribute(entity string, name string, title string, type_ string, description string, presets []string, suggestions []string, ) *LibraryAttribute

NewLibraryAttribute instantiates a new LibraryAttribute 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

NewLibraryAttributeWithDefaults

func NewLibraryAttributeWithDefaults() *LibraryAttribute

NewLibraryAttributeWithDefaults instantiates a new LibraryAttribute 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

GetEntity

func (o *LibraryAttribute) GetEntity() string

GetEntity returns the Entity field if non-nil, zero value otherwise.

GetEntityOk

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.

SetEntity

func (o *LibraryAttribute) SetEntity(v string)

SetEntity sets Entity field to given value.

GetName

func (o *LibraryAttribute) GetName() string

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

GetNameOk

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.

SetName

func (o *LibraryAttribute) SetName(v string)

SetName sets Name field to given value.

GetTitle

func (o *LibraryAttribute) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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.

SetTitle

func (o *LibraryAttribute) SetTitle(v string)

SetTitle sets Title field to given value.

GetType

func (o *LibraryAttribute) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *LibraryAttribute) SetType(v string)

SetType sets Type field to given value.

GetDescription

func (o *LibraryAttribute) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *LibraryAttribute) SetDescription(v string)

SetDescription sets Description field to given value.

GetPresets

func (o *LibraryAttribute) GetPresets() []string

GetPresets returns the Presets field if non-nil, zero value otherwise.

GetPresetsOk

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.

SetPresets

func (o *LibraryAttribute) SetPresets(v []string)

SetPresets sets Presets field to given value.

GetSuggestions

func (o *LibraryAttribute) GetSuggestions() []string

GetSuggestions returns the Suggestions field if non-nil, zero value otherwise.

GetSuggestionsOk

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.

SetSuggestions

func (o *LibraryAttribute) SetSuggestions(v []string)

SetSuggestions sets Suggestions field to given value.

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