Trait/Object

com.gu.flexiblecontent.model.thrift

ContentSettings

Related Docs: object ContentSettings | package thrift

Permalink

trait ContentSettings extends ThriftStruct with Product22[Option[Boolean], Option[Long], Option[Boolean], Option[Office], Option[String], Option[Long], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[String], Option[Boolean], Option[Boolean], Option[String], Option[Boolean], Option[Boolean], Option[Comment], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean]] with ValidatingThriftStruct[ContentSettings] with Serializable

Prefer the companion object's com.gu.flexiblecontent.model.thrift.ContentSettings.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, ValidatingThriftStruct[ContentSettings], HasThriftStructCodec3[ContentSettings], Product22[Option[Boolean], Option[Long], Option[Boolean], Option[Office], Option[String], Option[Long], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[String], Option[Boolean], Option[Boolean], Option[String], Option[Boolean], Option[Boolean], Option[Comment], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContentSettings
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product22
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def allowUgc: Option[Boolean]

    Permalink

    Indicates that we accept UGC submissions for this content

  2. abstract def blockAds: Option[Boolean]

    Permalink

    Turns of adverts

  3. abstract def commentCloseDate: Option[Long]

    Permalink

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

  4. abstract def commentable: Option[Boolean]

    Permalink

    If comments are turned on

  5. abstract def displayHint: Option[String]

    Permalink

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

  6. abstract def embargoedIndefinitely: Option[Boolean]

    Permalink

    Prevents launch forever

  7. abstract def embargoedUntil: Option[Long]

    Permalink

    Prevents launch before the embargo date

  8. abstract def hideReaderRevenue: Option[Boolean]

    Permalink
  9. abstract def initialComment: Option[Comment]

    Permalink

    Initial comment to post when content is published

  10. abstract def isInappropriateForSponsorship: Option[Boolean]

    Permalink

    Turns of automatic sponsorship badging and logos

  11. abstract def isPremoderated: Option[Boolean]

    Permalink

    If comments are premoderated

  12. abstract def legallySensitive: Option[Boolean]

    Permalink

    Whether content is considered legally sensitive or not

  13. abstract def liveBloggingNow: Option[Boolean]

    Permalink

    Is this liveblog currently live

  14. abstract def optimisedForWeb: Option[Boolean]

    Permalink
  15. abstract def optimisedForWebChanged: Option[Boolean]

    Permalink
  16. abstract def productionOffice: Option[Office]

    Permalink

    The office that commissioned this contnet

  17. abstract def relatedContentOff: Option[Boolean]

    Permalink

    Turns off display and inclusion in the automatic related content component

  18. abstract def relativeTime: Option[Boolean]

    Permalink

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

  19. abstract def sensitive: Option[Boolean]

    Permalink

    Whether content is graphic, violent or sexual

  20. abstract def showAffiliateLinks: Option[Boolean]

    Permalink
  21. abstract def timeZone: Option[String]

    Permalink

    The timezone to use when rendering live blog blocks

  22. abstract def witnessAssignmentId: Option[String]

    Permalink

    The witness assignment to submit UGC to

Concrete 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 → Product22
  5. def _10: Option[Boolean]

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ContentSettings → Product22
  19. def _3: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings → Product22
  20. def _4: Option[Office]

    Permalink
    Definition Classes
    ContentSettings → Product22
  21. def _5: Option[String]

    Permalink
    Definition Classes
    ContentSettings → Product22
  22. def _6: Option[Long]

    Permalink
    Definition Classes
    ContentSettings → Product22
  23. def _7: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings → Product22
  24. def _8: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings → Product22
  25. def _9: Option[Boolean]

    Permalink
    Definition Classes
    ContentSettings → Product22
  26. def _codec: ValidatingThriftStructCodec3[ContentSettings]

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

    Permalink
  28. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  29. def canEqual(other: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. 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, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ContentSettings

    Permalink
  32. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  36. 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.

  37. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

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

  38. def hashCode(): Int

    Permalink
    Definition Classes
    ContentSettings → AnyRef → Any
  39. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  40. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  43. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  46. def productPrefix: String

    Permalink
    Definition Classes
    ContentSettings → Product
  47. 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.

  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  49. def toString(): String

    Permalink
    Definition Classes
    ContentSettings → AnyRef → Any
  50. def toTuple: (Option[Boolean], Option[Long], Option[Boolean], Option[Office], Option[String], Option[Long], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[String], Option[Boolean], Option[Boolean], Option[String], Option[Boolean], Option[Boolean], Option[Comment], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean])

    Permalink
  51. def unsetAllowUgc: ContentSettings

    Permalink
  52. def unsetBlockAds: ContentSettings

    Permalink
  53. def unsetCommentCloseDate: ContentSettings

    Permalink
  54. 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.

  55. def unsetDisplayHint: ContentSettings

    Permalink
  56. def unsetEmbargoedIndefinitely: ContentSettings

    Permalink
  57. def unsetEmbargoedUntil: ContentSettings

    Permalink
  58. 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.

  59. def unsetHideReaderRevenue: ContentSettings

    Permalink
  60. def unsetInitialComment: ContentSettings

    Permalink
  61. def unsetIsInappropriateForSponsorship: ContentSettings

    Permalink
  62. def unsetIsPremoderated: ContentSettings

    Permalink
  63. def unsetLegallySensitive: ContentSettings

    Permalink
  64. def unsetLiveBloggingNow: ContentSettings

    Permalink
  65. def unsetOptimisedForWeb: ContentSettings

    Permalink
  66. def unsetOptimisedForWebChanged: ContentSettings

    Permalink
  67. def unsetProductionOffice: ContentSettings

    Permalink
  68. def unsetRelatedContentOff: ContentSettings

    Permalink
  69. def unsetRelativeTime: ContentSettings

    Permalink
  70. def unsetSensitive: ContentSettings

    Permalink
  71. def unsetShowAffiliateLinks: ContentSettings

    Permalink
  72. def unsetTimeZone: ContentSettings

    Permalink
  73. def unsetWitnessAssignmentId: ContentSettings

    Permalink
  74. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    ContentSettings → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[ContentSettings]

Inherited from HasThriftStructCodec3[ContentSettings]

Inherited from Product22[Option[Boolean], Option[Long], Option[Boolean], Option[Office], Option[String], Option[Long], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean], Option[String], Option[Boolean], Option[Boolean], Option[String], Option[Boolean], Option[Boolean], Option[Comment], Option[Boolean], Option[Boolean], Option[Boolean], Option[Boolean]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped