com.gu.flexiblecontent.model.thrift.Element
The assets associated with this Element
The audio type data associated with this Element
The Code data associated with this Element
The comment type data associated with this Element
The Content Atom data associated with this Element
The document type data associated with this Element
The type of element this represents
The fields associated with the Element
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
Collects TCompactProtocol-encoded field values according to getFieldBlob
into a map.
Collects TCompactProtocol-encoded field values according to getFieldBlob
into a map.
The image type data associated with this Element
The Instagram data associated with this Element
The interactive type data associated with this Element
The map type data associated with this Element
The membership type data associated with this Element
The pull quote type data associated with this Element
The rich-link type data associated with this Element
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
The table type data associated with this Element
The text type data associated with this Element
The tweet type data associated with this Element
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
The video type data associated with this Element
The Vine data associated with this Element
The witness type data associated with this Element
The default read-only implementation of Element. You typically should not need to directly reference this class; instead, use the Element.apply method to construct new instances.