Trait/Object

com.gu.tagmanagement

Sponsorship

Related Docs: object Sponsorship | package tagmanagement

Permalink

trait Sponsorship extends ThriftStruct with Product10[Long, SponsorshipType, String, Image, String, Option[SponsorshipTargeting], Option[String], Option[Image], Option[Long], Option[Long]] with ValidatingThriftStruct[Sponsorship] with Serializable

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

Linear Supertypes
Serializable, ValidatingThriftStruct[Sponsorship], HasThriftStructCodec3[Sponsorship], Product10[Long, SponsorshipType, String, Image, String, Option[SponsorshipTargeting], Option[String], Option[Image], Option[Long], Option[Long]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sponsorship
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product10
  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 aboutLink: Option[String]

    Permalink

    the url of a page that describes the sponsorship deal (occasionally used to describe foundation type deals involving multiple sponsors)

  2. abstract def highContrastSponsorLogo: Option[Image]

    Permalink

    an optional logo to be displayed on darker background media pages, if not supplied the standard logo will be displayed on these pages

  3. abstract def id: Long

    Permalink

    the id of the sponsorship, this is required internally but is not of use for external systems

  4. abstract def sponsorLink: String

    Permalink

    the url to link to when clicking the sponsor logo

  5. abstract def sponsorLogo: Image

    Permalink

    the logo to display for the sponsor

  6. abstract def sponsorName: String

    Permalink

    the name of the sponsor

  7. abstract def sponsorshipType: SponsorshipType

    Permalink

    the type of the sponsorship

  8. abstract def targeting: Option[SponsorshipTargeting]

    Permalink

    targeting information for the sponsorship, always show the sponsorship if this is missing

  9. abstract def validFrom: Option[Long]

    Permalink

    The date of which the sponsorship is valid from

  10. abstract def validTo: Option[Long]

    Permalink

    The date of which the sponsorship is valid 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: Long

    Permalink
    Definition Classes
    Sponsorship → Product10
  5. def _10: Option[Long]

    Permalink
    Definition Classes
    Sponsorship → Product10
  6. def _2: SponsorshipType

    Permalink
    Definition Classes
    Sponsorship → Product10
  7. def _3: String

    Permalink
    Definition Classes
    Sponsorship → Product10
  8. def _4: Image

    Permalink
    Definition Classes
    Sponsorship → Product10
  9. def _5: String

    Permalink
    Definition Classes
    Sponsorship → Product10
  10. def _6: Option[SponsorshipTargeting]

    Permalink
    Definition Classes
    Sponsorship → Product10
  11. def _7: Option[String]

    Permalink
    Definition Classes
    Sponsorship → Product10
  12. def _8: Option[Image]

    Permalink
    Definition Classes
    Sponsorship → Product10
  13. def _9: Option[Long]

    Permalink
    Definition Classes
    Sponsorship → Product10
  14. def _codec: ValidatingThriftStructCodec3[Sponsorship]

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

    Permalink
  16. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Sponsorship → Equals
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def copy(id: Long = this.id, sponsorshipType: SponsorshipType = this.sponsorshipType, sponsorName: String = this.sponsorName, sponsorLogo: Image = this.sponsorLogo, sponsorLink: String = this.sponsorLink, targeting: Option[SponsorshipTargeting] = this.targeting, aboutLink: Option[String] = this.aboutLink, highContrastSponsorLogo: Option[Image] = this.highContrastSponsorLogo, validFrom: Option[Long] = this.validFrom, validTo: Option[Long] = this.validTo, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Sponsorship

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

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

    Permalink
    Definition Classes
    Sponsorship → Equals → AnyRef → Any
  22. def finalize(): Unit

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

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

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

    Permalink

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

  26. def hashCode(): Int

    Permalink
    Definition Classes
    Sponsorship → AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def productArity: Int

    Permalink
    Definition Classes
    Sponsorship → Product10 → Product
  32. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Sponsorship → Product10 → Product
  33. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  34. def productPrefix: String

    Permalink
    Definition Classes
    Sponsorship → Product
  35. def setField(_blob: TFieldBlob): Sponsorship

    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.

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

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

    Permalink
    Definition Classes
    Sponsorship → AnyRef → Any
  38. def toTuple: (Long, SponsorshipType, String, Image, String, Option[SponsorshipTargeting], Option[String], Option[Image], Option[Long], Option[Long])

    Permalink
  39. def unsetAboutLink: Sponsorship

    Permalink
  40. def unsetField(_fieldId: Short): Sponsorship

    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.

  41. def unsetHighContrastSponsorLogo: Sponsorship

    Permalink
  42. def unsetId: Sponsorship

    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.

  43. def unsetSponsorLink: Sponsorship

    Permalink
  44. def unsetSponsorLogo: Sponsorship

    Permalink
  45. def unsetSponsorName: Sponsorship

    Permalink
  46. def unsetSponsorshipType: Sponsorship

    Permalink
  47. def unsetTargeting: Sponsorship

    Permalink
  48. def unsetValidFrom: Sponsorship

    Permalink
  49. def unsetValidTo: Sponsorship

    Permalink
  50. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Sponsorship → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[Sponsorship]

Inherited from HasThriftStructCodec3[Sponsorship]

Inherited from Product10[Long, SponsorshipType, String, Image, String, Option[SponsorshipTargeting], Option[String], Option[Image], Option[Long], Option[Long]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped