Creates a new instance of the entity and assigns the given properties.
Optionalproperties: AttachmentPropertiesThe properties to set via assignProperties().
Protected Readonly_handlesProtected_idThe unique ID for this entity. Once set, this should never change.
Protected Readonly_itemThe item type for this entity when it participates in an App.
The MIME content type of the attachment, e.g. "application/pdf".
The size of the attachment in bytes.
A human-readable title for the attachment.
The URL that can be used to download the attachment data.
Determines how a parent object should handle initialization failure in this object. The default is "warn".
"error": support/InitializeError!InitializeError is thrown."warn": Message is logged and
support/InitializableBase!InitializeWarningEvent is raised."ignore": support/InitializableBase!InitializeWarningEvent is
raised.The unique ID for this entity.
The item type for this entity when it participates in an App.
Protected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_initializableCollections of child items to initialize. Items that fail to initialize are removed from the collection.
Protected_initializeProtected_onProtected_onCalled to perform initialization of the support/InitializableBase!InitializableBase. Subclasses should override this method rather than initialize() to perform custom initialization.
Protected_postProtected_toConverts the value to a PropertyDef object.
The value to convert.
Returns the serializable properties.
OptionalserializeMode: SerializeModeOptional. If specified, only properties that support the given serialization mode will be returned.
A file attachment for a feature.