Class/Object

com.gu.flexiblecontent.model.thrift.ContentSettings

Immutable

Related Docs: object Immutable | package ContentSettings

Permalink

class Immutable extends ContentSettings

The default read-only implementation of ContentSettings. You typically should not need to directly reference this class; instead, use the ContentSettings.apply method to construct new instances.

Linear Supertypes
ContentSettings, Serializable, ValidatingThriftStruct[ContentSettings], HasThriftStructCodec3[ContentSettings], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. ContentSettings
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(commentable: Option[Boolean] = _root_.scala.None, commentCloseDate: Option[Long] = _root_.scala.None, isPremoderated: Option[Boolean] = _root_.scala.None, productionOffice: Option[Office] = _root_.scala.None, displayHint: Option[String] = _root_.scala.None, embargoedUntil: Option[Long] = _root_.scala.None, embargoedIndefinitely: Option[Boolean] = _root_.scala.None, isInappropriateForSponsorship: Option[Boolean] = _root_.scala.None, relatedContentOff: Option[Boolean] = _root_.scala.None, blockAds: Option[Boolean] = _root_.scala.None, allowUgc: Option[Boolean] = _root_.scala.None, witnessAssignmentId: Option[String] = _root_.scala.None, liveBloggingNow: Option[Boolean] = _root_.scala.None, relativeTime: Option[Boolean] = _root_.scala.None, timeZone: Option[String] = _root_.scala.None, legallySensitive: Option[Boolean] = _root_.scala.None, sensitive: Option[Boolean] = _root_.scala.None, initialComment: Option[Comment] = _root_.scala.None, optimisedForWeb: Option[Boolean] = _root_.scala.None, optimisedForWebChanged: Option[Boolean] = _root_.scala.None, hideReaderRevenue: Option[Boolean] = _root_.scala.None, showAffiliateLinks: Option[Boolean] = _root_.scala.None, showTableOfContents: Option[Boolean] = _root_.scala.None)

    Permalink
  2. new Immutable(commentable: Option[Boolean], commentCloseDate: Option[Long], isPremoderated: Option[Boolean], productionOffice: Option[Office], displayHint: Option[String], embargoedUntil: Option[Long], embargoedIndefinitely: Option[Boolean], isInappropriateForSponsorship: Option[Boolean], relatedContentOff: Option[Boolean], blockAds: Option[Boolean], allowUgc: Option[Boolean], witnessAssignmentId: Option[String], liveBloggingNow: Option[Boolean], relativeTime: Option[Boolean], timeZone: Option[String], legallySensitive: Option[Boolean], sensitive: Option[Boolean], initialComment: Option[Comment], optimisedForWeb: Option[Boolean], optimisedForWebChanged: Option[Boolean], hideReaderRevenue: Option[Boolean], showAffiliateLinks: Option[Boolean], showTableOfContents: Option[Boolean], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  5. def _10: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  6. def _11: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  7. def _12: Option[String]

    Permalink
    Definition Classes
    ContentSettings
  8. def _13: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  9. def _14: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  10. def _15: Option[String]

    Permalink
    Definition Classes
    ContentSettings
  11. def _16: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  12. def _17: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  13. def _18: Option[Comment]

    Permalink
    Definition Classes
    ContentSettings
  14. def _19: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  15. def _2: Option[Long]

    Permalink
    Definition Classes
    ContentSettings
  16. def _20: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  17. def _21: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  18. def _22: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  19. def _23: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  20. def _3: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  21. def _4: Option[Office]

    Permalink
    Definition Classes
    ContentSettings
  22. def _5: Option[String]

    Permalink
    Definition Classes
    ContentSettings
  23. def _6: Option[Long]

    Permalink
    Definition Classes
    ContentSettings
  24. def _7: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  25. def _8: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  26. def _9: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings
  27. def _codec: ValidatingThriftStructCodec3[ContentSettings]

    Permalink
    Definition Classes
    ContentSettings → ValidatingThriftStruct → HasThriftStructCodec3
  28. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableContentSettings
  29. val allowUgc: Option[Boolean]

    Permalink

    Indicates that we accept UGC submissions for this content

    Indicates that we accept UGC submissions for this content

    Definition Classes
    ImmutableContentSettings
  30. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  31. val blockAds: Option[Boolean]

    Permalink

    Turns of adverts

    Turns of adverts

    Definition Classes
    ImmutableContentSettings
  32. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    ContentSettings → Equals
  33. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val commentCloseDate: Option[Long]

    Permalink

    The closing date for comment submissions - NB comments are still visible afterwards

    The closing date for comment submissions - NB comments are still visible afterwards

    Definition Classes
    ImmutableContentSettings
  35. val commentable: Option[Boolean]

    Permalink

    If comments are turned on

    If comments are turned on

    Definition Classes
    ImmutableContentSettings
  36. def copy(commentable: Option[Boolean] = this.commentable, commentCloseDate: Option[Long] = this.commentCloseDate, isPremoderated: Option[Boolean] = this.isPremoderated, productionOffice: Option[Office] = this.productionOffice, displayHint: Option[String] = this.displayHint, embargoedUntil: Option[Long] = this.embargoedUntil, embargoedIndefinitely: Option[Boolean] = this.embargoedIndefinitely, isInappropriateForSponsorship: Option[Boolean] = this.isInappropriateForSponsorship, relatedContentOff: Option[Boolean] = this.relatedContentOff, blockAds: Option[Boolean] = this.blockAds, allowUgc: Option[Boolean] = this.allowUgc, witnessAssignmentId: Option[String] = this.witnessAssignmentId, liveBloggingNow: Option[Boolean] = this.liveBloggingNow, relativeTime: Option[Boolean] = this.relativeTime, timeZone: Option[String] = this.timeZone, legallySensitive: Option[Boolean] = this.legallySensitive, sensitive: Option[Boolean] = this.sensitive, initialComment: Option[Comment] = this.initialComment, optimisedForWeb: Option[Boolean] = this.optimisedForWeb, optimisedForWebChanged: Option[Boolean] = this.optimisedForWebChanged, hideReaderRevenue: Option[Boolean] = this.hideReaderRevenue, showAffiliateLinks: Option[Boolean] = this.showAffiliateLinks, showTableOfContents: Option[Boolean] = this.showTableOfContents, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  37. val displayHint: Option[String]

    Permalink

    Hints to the frontend how to render the content - photo blog, immersive interactive etc.

    Hints to the frontend how to render the content - photo blog, immersive interactive etc.

    Definition Classes
    ImmutableContentSettings
  38. val embargoedIndefinitely: Option[Boolean]

    Permalink

    Prevents launch forever

    Prevents launch forever

    Definition Classes
    ImmutableContentSettings
  39. val embargoedUntil: Option[Long]

    Permalink

    Prevents launch before the embargo date

    Prevents launch before the embargo date

    Definition Classes
    ImmutableContentSettings
  40. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    ContentSettings → Equals → AnyRef → Any
  42. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  43. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  44. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    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.

    Definition Classes
    ContentSettings
  45. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Definition Classes
    ContentSettings
  46. def hashCode(): Int

    Permalink
    Definition Classes
    ContentSettings → AnyRef → Any
  47. val hideReaderRevenue: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableContentSettings
  48. val initialComment: Option[Comment]

    Permalink

    Initial comment to post when content is published

    Initial comment to post when content is published

    Definition Classes
    ImmutableContentSettings
  49. val isInappropriateForSponsorship: Option[Boolean]

    Permalink

    Turns of automatic sponsorship badging and logos

    Turns of automatic sponsorship badging and logos

    Definition Classes
    ImmutableContentSettings
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. val isPremoderated: Option[Boolean]

    Permalink

    If comments are premoderated

    If comments are premoderated

    Definition Classes
    ImmutableContentSettings
  52. val legallySensitive: Option[Boolean]

    Permalink

    Whether content is considered legally sensitive or not

    Whether content is considered legally sensitive or not

    Definition Classes
    ImmutableContentSettings
  53. val liveBloggingNow: Option[Boolean]

    Permalink

    Is this liveblog currently live

    Is this liveblog currently live

    Definition Classes
    ImmutableContentSettings
  54. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  55. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  56. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  57. val optimisedForWeb: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableContentSettings
  58. val optimisedForWebChanged: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableContentSettings
  59. def productArity: Int

    Permalink
    Definition Classes
    ContentSettings → Product
  60. def productElement(n: Int): Any

    Permalink
    Definition Classes
    ContentSettings → Product
  61. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  62. def productPrefix: String

    Permalink
    Definition Classes
    ContentSettings → Product
  63. val productionOffice: Option[Office]

    Permalink

    The office that commissioned this contnet

    The office that commissioned this contnet

    Definition Classes
    ImmutableContentSettings
  64. val relatedContentOff: Option[Boolean]

    Permalink

    Turns off display and inclusion in the automatic related content component

    Turns off display and inclusion in the automatic related content component

    Definition Classes
    ImmutableContentSettings
  65. val relativeTime: Option[Boolean]

    Permalink

    Times on Live blog blocks are shown relative (6 mins ago etc.)

    Times on Live blog blocks are shown relative (6 mins ago etc.)

    Definition Classes
    ImmutableContentSettings
  66. val sensitive: Option[Boolean]

    Permalink

    Whether content is graphic, violent or sexual

    Whether content is graphic, violent or sexual

    Definition Classes
    ImmutableContentSettings
  67. def setField(_blob: TFieldBlob): ContentSettings

    Permalink

    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.

    Definition Classes
    ContentSettings
  68. val showAffiliateLinks: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableContentSettings
  69. val showTableOfContents: Option[Boolean]

    Permalink
    Definition Classes
    ImmutableContentSettings
  70. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  71. val timeZone: Option[String]

    Permalink

    The timezone to use when rendering live blog blocks

    The timezone to use when rendering live blog blocks

    Definition Classes
    ImmutableContentSettings
  72. def toString(): String

    Permalink
    Definition Classes
    ContentSettings → AnyRef → Any
  73. def unsetAllowUgc: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  74. def unsetBlockAds: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  75. def unsetCommentCloseDate: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  76. def unsetCommentable: ContentSettings

    Permalink

    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.

    Definition Classes
    ContentSettings
  77. def unsetDisplayHint: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  78. def unsetEmbargoedIndefinitely: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  79. def unsetEmbargoedUntil: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  80. def unsetField(_fieldId: Short): ContentSettings

    Permalink

    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.

    Definition Classes
    ContentSettings
  81. def unsetHideReaderRevenue: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  82. def unsetInitialComment: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  83. def unsetIsInappropriateForSponsorship: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  84. def unsetIsPremoderated: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  85. def unsetLegallySensitive: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  86. def unsetLiveBloggingNow: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  87. def unsetOptimisedForWeb: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  88. def unsetOptimisedForWebChanged: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  89. def unsetProductionOffice: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  90. def unsetRelatedContentOff: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  91. def unsetRelativeTime: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  92. def unsetSensitive: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  93. def unsetShowAffiliateLinks: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  94. def unsetShowTableOfContents: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  95. def unsetTimeZone: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  96. def unsetWitnessAssignmentId: ContentSettings

    Permalink
    Definition Classes
    ContentSettings
  97. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. val witnessAssignmentId: Option[String]

    Permalink

    The witness assignment to submit UGC to

    The witness assignment to submit UGC to

    Definition Classes
    ImmutableContentSettings
  101. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    ContentSettings → ThriftStruct

Inherited from ContentSettings

Inherited from Serializable

Inherited from ValidatingThriftStruct[ContentSettings]

Inherited from HasThriftStructCodec3[ContentSettings]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped