com.gu.flexiblecontent.model.thrift.ContentFields
the byline for the contributor(s) or agency that wrote the content.
the byline for the contributor(s) or agency that wrote the content. May contain links to contributor pages as HTML
the byline for the contributor(s) or agency that wrote the content.
the byline for the contributor(s) or agency that wrote the content. Will contain links to contributor pages as HTML
The number of words in the body text
The number of words in the body text
The context info about the contributor for this story
The context info about the contributor for this story
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 headline, does not contain HTML
The headline, does not contain HTML
The text used when linking to the content, usually derives from the headline
The text used when linking to the content, usually derives from the headline
Indicates what level of membership is needed to view content
Indicates what level of membership is needed to view content
The page in the newspaper this content appeared on
The page in the newspaper this content appeared on
The date of the newspaper this content appears in (can be in the future if on the web before printing)
The date of the newspaper this content appears in (can be in the future if on the web before printing)
The number of words in the body text, as printed, excluding those which are marked gu-webonly and including those which are gu-printonly (SEE 14)
The number of words in the body text, as printed, excluding those which are marked gu-webonly and including those which are gu-printonly (SEE 14)
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.
Short social share text override suitable for a service such as twitter (No Html)
Short social share text override suitable for a service such as twitter (No Html)
The url slug for thew content, usually derives from the headline
The url slug for thew content, usually derives from the headline
Social share text override suitable for a service such as facebook (No Html)
Social share text override suitable for a service such as facebook (No Html)
The standfirst of the content, can contain HTML
The standfirst of the content, can contain HTML
The star rating on a review.
The star rating on a review. will be 0 to 5
The short text used when promoting the content, can be derived from the standfirst, can contain HTML
The short text used when promoting the content, can be derived from the standfirst, can contain HTML
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 number of words in the body text, as displayed on web (SEE 19)
The number of words in the body text, as displayed on web (SEE 19)
(Since version ) see corresponding Javadoc for more information.
The default read-only implementation of ContentFields. You typically should not need to directly reference this class; instead, use the ContentFields.apply method to construct new instances.