Class/Object

com.gu.contentapi.client.model.v1.Sponsorship

Immutable

Related Docs: object Immutable | package Sponsorship

Permalink

class Immutable extends Sponsorship

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

Linear Supertypes
Sponsorship, Serializable, Product6[SponsorshipType, String, String, String, Option[SponsorshipTargeting], Option[String]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Sponsorship
  3. Serializable
  4. Product6
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(sponsorshipType: SponsorshipType, sponsorName: String, sponsorLogo: String, sponsorLink: String, targeting: Option[SponsorshipTargeting] = _root_.scala.None, aboutLink: Option[String] = _root_.scala.None)

    Permalink
  2. new Immutable(sponsorshipType: SponsorshipType, sponsorName: String, sponsorLogo: String, sponsorLink: String, targeting: Option[SponsorshipTargeting], aboutLink: Option[String], _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: SponsorshipType

    Permalink
    Definition Classes
    Sponsorship → Product6
  5. def _2: String

    Permalink
    Definition Classes
    Sponsorship → Product6
  6. def _3: String

    Permalink
    Definition Classes
    Sponsorship → Product6
  7. def _4: String

    Permalink
    Definition Classes
    Sponsorship → Product6
  8. def _5: Option[SponsorshipTargeting]

    Permalink
    Definition Classes
    Sponsorship → Product6
  9. def _6: Option[String]

    Permalink
    Definition Classes
    Sponsorship → Product6
  10. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableSponsorship
  11. val aboutLink: Option[String]

    Permalink
    Definition Classes
    ImmutableSponsorship
  12. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    Sponsorship
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. 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
    Sponsorship
  21. 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
    Sponsorship
  22. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def productArity: Int

    Permalink
    Definition Classes
    Sponsorship → Product6 → Product
  28. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Sponsorship → Product6 → Product
  29. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  30. def productPrefix: String

    Permalink
    Definition Classes
    Sponsorship → Product
  31. 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.

    Definition Classes
    Sponsorship
  32. val sponsorLink: String

    Permalink
    Definition Classes
    ImmutableSponsorship
  33. val sponsorLogo: String

    Permalink
    Definition Classes
    ImmutableSponsorship
  34. val sponsorName: String

    Permalink
    Definition Classes
    ImmutableSponsorship
  35. val sponsorshipType: SponsorshipType

    Permalink
    Definition Classes
    ImmutableSponsorship
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. val targeting: Option[SponsorshipTargeting]

    Permalink
    Definition Classes
    ImmutableSponsorship
  38. def toString(): String

    Permalink
    Definition Classes
    Sponsorship → AnyRef → Any
  39. def unsetAboutLink: Sponsorship

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

    Definition Classes
    Sponsorship
  41. def unsetSponsorLink: Sponsorship

    Permalink
    Definition Classes
    Sponsorship
  42. def unsetSponsorLogo: Sponsorship

    Permalink
    Definition Classes
    Sponsorship
  43. def unsetSponsorName: Sponsorship

    Permalink
    Definition Classes
    Sponsorship
  44. def unsetSponsorshipType: 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.

    Definition Classes
    Sponsorship
  45. def unsetTargeting: Sponsorship

    Permalink
    Definition Classes
    Sponsorship
  46. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Sponsorship → ThriftStruct

Inherited from Sponsorship

Inherited from Serializable

Inherited from Product6[SponsorshipType, String, String, String, Option[SponsorshipTargeting], Option[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped