com.gu.flexiblecontent.model.thrift.BlockAttributes
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.
Indicates a keyEvent Block
Indicates a keyEvent Block
Indicates whether a Block is a membership placeholder
Indicates whether a Block is a membership placeholder
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.
Indicates a summary Block
Indicates a summary Block
gives a Block an optional title
gives a Block an optional title
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.
(Since version ) see corresponding Javadoc for more information.
The default read-only implementation of BlockAttributes. You typically should not need to directly reference this class; instead, use the BlockAttributes.apply method to construct new instances.