Sha256: 28e8d837f21bf3910b2fdbf182ad83f006a4505e36450b2069a00f679ca6184e

Contents?: true

Size: 1.97 KB

Versions: 6

Compression:

Stored size: 1.97 KB

Contents

# TalonOne::NewAttribute

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**entity** | **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. | 
**event_type** | **String** |  | [optional] 
**name** | **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** | **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** | **String** | The data type of the attribute, a `time` attribute must be sent as a string that conforms to the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp format. | 
**description** | **String** | A description of this attribute. | 
**suggestions** | **Array<String>** | A list of suggestions for the attribute. | 
**editable** | **Boolean** | Whether or not this attribute can be edited. | 
**subscribed_applications_ids** | **Array<Integer>** | A list of the IDs of the applications that are subscribed to this attribute | [optional] 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::NewAttribute.new(entity: null,
                                 event_type: null,
                                 name: null,
                                 title: null,
                                 type: null,
                                 description: null,
                                 suggestions: null,
                                 editable: null,
                                 subscribed_applications_ids: null)
```


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
talon_one-2.4.0 docs/NewAttribute.md
talon_one-2.3.0 docs/NewAttribute.md
talon_one-2.2.0 docs/NewAttribute.md
talon_one-2.1.1 docs/NewAttribute.md
talon_one-2.1.0 docs/NewAttribute.md
talon_one-2.0.0 docs/NewAttribute.md