com.gu.flexiblecontent.model.thrift.TweetElementFields
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.
Corresponding html to tweet element
Corresponding html to tweet element
The id of the tweet element
The id of the tweet element
Original url of tweet
Original url of tweet
The role of the tweet (i.e.
The role of the tweet (i.e. a hint about how it should be displayed)
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 source of the tweet
The source of the tweet
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 url of the tweet
The url of the tweet
(Since version ) see corresponding Javadoc for more information.
The default read-only implementation of TweetElementFields. You typically should not need to directly reference this class; instead, use the TweetElementFields.apply method to construct new instances.