Trait/Object

com.gu.tagmanagement

Tag

Related Docs: object Tag | package tagmanagement

Permalink

trait Tag extends ThriftStruct with Product with ValidatingThriftStruct[Tag] with Serializable

Prefer the companion object's com.gu.tagmanagement.Tag.apply for construction if you don't need to specify passthrough fields.

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

Abstract Value Members

  1. abstract def activeSponsorships: Option[Seq[Sponsorship]]

    Permalink

    The currently active sponsorships for this tag

  2. abstract def adBlockingLevel: Option[BlockingLevel]

    Permalink

    Blocking level used to block ads when a tag is applied to content

  3. abstract def campaignInformation: Option[CampaignInformation]

    Permalink

    Any campaigninformation associated with this tag

  4. abstract def capiSectionId: Option[String]

    Permalink

    CAPI specific field containing their section id

  5. abstract def comparableValue: String

    Permalink

    The natural sort key used for ordering tag lists, puts surname first, removes 'the' etc.

  6. abstract def contributionBlockingLevel: Option[BlockingLevel]

    Permalink

    Blocking level used to block reader revenue asks when a tag is applied to content

  7. abstract def contributorInformation: Option[ContributorInformation]

    Permalink

    Any Contributor Information associated with this tag

  8. abstract def description: Option[String]

    Permalink

    a description of the tag, rendered on tag pages, this could be a topic precis or a contributor's profile

  9. abstract def expired: Boolean

    Permalink

    is this tag expired - only set to true on paid content tags

  10. abstract def externalName: String

    Permalink

    the publicly displayed name for the tag

  11. abstract def footballCrest: Option[Image]

    Permalink

    Football crest image

  12. abstract def hidden: Boolean

    Permalink

    the tag is not displayed on the site if hidden is true

  13. abstract def id: Long

    Permalink

    the id of the tag

  14. abstract def internalName: String

    Permalink

    the internal label for the tag

  15. abstract def isMicrosite: Boolean

    Permalink

    Is this tag a microsite tag? (In a microsite section when migrated)

  16. abstract def legallySensitive: Boolean

    Permalink

    legally sensitive tags surpress content showing related content and showing up in related content results

  17. abstract def pageId: Long

    Permalink

    the page id for the path as asigned by the path manager

  18. abstract def paidContentInformation: Option[PaidContentInformation]

    Permalink

    Any other paid content data for this tag

  19. abstract def parents: Set[Long]

    Permalink

    a set of parent tag ids.

    a set of parent tag ids. NB a tag can have multiple parents, but more often the set will be empty

  20. abstract def path: String

    Permalink

    the path of the canonical page for this tag - also used as api identifier

  21. abstract def podcastMetadata: Option[PodcastMetadata]

    Permalink

    Any Podcast Metadata associated with this tag

  22. abstract def publication: Option[Long]

    Permalink

    the id of the publication this tag belongs to, generally used for newspaper_book type tags

  23. abstract def publicationInformation: Option[PublicationInformation]

    Permalink

    Any Publication Information associated with this tag (Only for Publication Tags)

  24. abstract def references: Seq[Reference]

    Permalink

    the reference mappings for this tag

  25. abstract def section: Option[Long]

    Permalink

    the id of the section this tag belongs to, if missing the tag is in the 'Global' pseudosection

  26. abstract def slug: String

    Permalink

    the tag owned url slug, the path is derived from this, the section and the tag type

  27. abstract def sponsorshipId: Option[Long]

    Permalink

    the id of the sponsorship for a paid content tag, for internal use external consumers should only use the activeSponsorships data

  28. abstract def trackingInformation: Option[TrackingInformation]

    Permalink

    Any trackinginformation associated with this tag

  29. abstract def type: TagType

    Permalink

    the type of this tag

  30. abstract def updatedAt: Option[Long]

    Permalink

    The time at which this tag was last updated

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: Long

    Permalink
  5. def _10: String

    Permalink
  6. def _11: Option[Long]

    Permalink
  7. def _12: Option[Long]

    Permalink
  8. def _13: Option[String]

    Permalink
  9. def _14: Set[Long]

    Permalink
  10. def _15: Seq[Reference]

    Permalink
  11. def _16: Option[PodcastMetadata]

    Permalink
  12. def _17: Option[ContributorInformation]

    Permalink
  13. def _18: Option[PublicationInformation]

    Permalink
  14. def _19: Boolean

    Permalink
  15. def _2: String

    Permalink
  16. def _20: Option[String]

    Permalink
  17. def _21: Option[TrackingInformation]

    Permalink
  18. def _22: Option[Long]

    Permalink
  19. def _23: Option[Seq[Sponsorship]]

    Permalink
  20. def _24: Option[Long]

    Permalink
  21. def _25: Boolean

    Permalink
  22. def _26: Option[PaidContentInformation]

    Permalink
  23. def _27: Option[CampaignInformation]

    Permalink
  24. def _28: Option[Image]

    Permalink
  25. def _29: Option[BlockingLevel]

    Permalink
  26. def _3: Long

    Permalink
  27. def _30: Option[BlockingLevel]

    Permalink
  28. def _4: TagType

    Permalink
  29. def _5: String

    Permalink
  30. def _6: String

    Permalink
  31. def _7: String

    Permalink
  32. def _8: Boolean

    Permalink
  33. def _9: Boolean

    Permalink
  34. def _codec: ValidatingThriftStructCodec3[Tag]

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

    Permalink
  36. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Tag → Equals
  38. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def copy(id: Long = this.id, path: String = this.path, pageId: Long = this.pageId, type: TagType = this.`type`, internalName: String = this.internalName, externalName: String = this.externalName, slug: String = this.slug, hidden: Boolean = this.hidden, legallySensitive: Boolean = this.legallySensitive, comparableValue: String = this.comparableValue, section: Option[Long] = this.section, publication: Option[Long] = this.publication, description: Option[String] = this.description, parents: Set[Long] = this.parents, references: Seq[Reference] = this.references, podcastMetadata: Option[PodcastMetadata] = this.podcastMetadata, contributorInformation: Option[ContributorInformation] = this.contributorInformation, publicationInformation: Option[PublicationInformation] = this.publicationInformation, isMicrosite: Boolean = this.isMicrosite, capiSectionId: Option[String] = this.capiSectionId, trackingInformation: Option[TrackingInformation] = this.trackingInformation, updatedAt: Option[Long] = this.updatedAt, activeSponsorships: Option[Seq[Sponsorship]] = this.activeSponsorships, sponsorshipId: Option[Long] = this.sponsorshipId, expired: Boolean = this.expired, paidContentInformation: Option[PaidContentInformation] = this.paidContentInformation, campaignInformation: Option[CampaignInformation] = this.campaignInformation, footballCrest: Option[Image] = this.footballCrest, adBlockingLevel: Option[BlockingLevel] = this.adBlockingLevel, contributionBlockingLevel: Option[BlockingLevel] = this.contributionBlockingLevel, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Tag

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

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

    Permalink
    Definition Classes
    Tag → 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.

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

    Permalink

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

  46. def hashCode(): Int

    Permalink
    Definition Classes
    Tag → AnyRef → Any
  47. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  51. def productArity: Int

    Permalink
    Definition Classes
    Tag → Product
  52. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Tag → Product
  53. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  54. def productPrefix: String

    Permalink
    Definition Classes
    Tag → Product
  55. def setField(_blob: TFieldBlob): Tag

    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.

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

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

    Permalink
    Definition Classes
    Tag → AnyRef → Any
  58. def unsetActiveSponsorships: Tag

    Permalink
  59. def unsetAdBlockingLevel: Tag

    Permalink
  60. def unsetCampaignInformation: Tag

    Permalink
  61. def unsetCapiSectionId: Tag

    Permalink
  62. def unsetComparableValue: Tag

    Permalink
  63. def unsetContributionBlockingLevel: Tag

    Permalink
  64. def unsetContributorInformation: Tag

    Permalink
  65. def unsetDescription: Tag

    Permalink
  66. def unsetExpired: Tag

    Permalink
  67. def unsetExternalName: Tag

    Permalink
  68. def unsetField(_fieldId: Short): Tag

    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.

  69. def unsetFootballCrest: Tag

    Permalink
  70. def unsetHidden: Tag

    Permalink
  71. def unsetId: Tag

    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.

  72. def unsetInternalName: Tag

    Permalink
  73. def unsetIsMicrosite: Tag

    Permalink
  74. def unsetLegallySensitive: Tag

    Permalink
  75. def unsetPageId: Tag

    Permalink
  76. def unsetPaidContentInformation: Tag

    Permalink
  77. def unsetParents: Tag

    Permalink
  78. def unsetPath: Tag

    Permalink
  79. def unsetPodcastMetadata: Tag

    Permalink
  80. def unsetPublication: Tag

    Permalink
  81. def unsetPublicationInformation: Tag

    Permalink
  82. def unsetReferences: Tag

    Permalink
  83. def unsetSection: Tag

    Permalink
  84. def unsetSlug: Tag

    Permalink
  85. def unsetSponsorshipId: Tag

    Permalink
  86. def unsetTrackingInformation: Tag

    Permalink
  87. def unsetType: Tag

    Permalink
  88. def unsetUpdatedAt: Tag

    Permalink
  89. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Tag → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[Tag]

Inherited from HasThriftStructCodec3[Tag]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped