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.
- Alphabetic
- By Inheritance
- Immutable
- Sponsorship
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product12
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Immutable(sponsorshipType: SponsorshipType, sponsorName: String, sponsorLogo: String, sponsorLink: String, targeting: Option[SponsorshipTargeting] = _root_.scala.None, aboutLink: Option[String] = _root_.scala.None, sponsorLogoDimensions: Option[SponsorshipLogoDimensions] = _root_.scala.None, highContrastSponsorLogo: Option[String] = _root_.scala.None, highContrastSponsorLogoDimensions: Option[SponsorshipLogoDimensions] = _root_.scala.None, validFrom: Option[CapiDateTime] = _root_.scala.None, validTo: Option[CapiDateTime] = _root_.scala.None, sponsorshipPackage: Option[SponsorshipPackage] = _root_.scala.None)
- new Immutable(sponsorshipType: SponsorshipType, sponsorName: String, sponsorLogo: String, sponsorLink: String, targeting: Option[SponsorshipTargeting], aboutLink: Option[String], sponsorLogoDimensions: Option[SponsorshipLogoDimensions], highContrastSponsorLogo: Option[String], highContrastSponsorLogoDimensions: Option[SponsorshipLogoDimensions], validFrom: Option[CapiDateTime], validTo: Option[CapiDateTime], sponsorshipPackage: Option[SponsorshipPackage], _passthroughFields: Map[Short, TFieldBlob])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _1: SponsorshipType
- Definition Classes
- Sponsorship → Product12
- def _10: Option[CapiDateTime]
- Definition Classes
- Sponsorship → Product12
- def _11: Option[CapiDateTime]
- Definition Classes
- Sponsorship → Product12
- def _12: Option[SponsorshipPackage]
- Definition Classes
- Sponsorship → Product12
- def _2: String
- Definition Classes
- Sponsorship → Product12
- def _3: String
- Definition Classes
- Sponsorship → Product12
- def _4: String
- Definition Classes
- Sponsorship → Product12
- def _5: Option[SponsorshipTargeting]
- Definition Classes
- Sponsorship → Product12
- def _6: Option[String]
- Definition Classes
- Sponsorship → Product12
- def _7: Option[SponsorshipLogoDimensions]
- Definition Classes
- Sponsorship → Product12
- def _8: Option[String]
- Definition Classes
- Sponsorship → Product12
- def _9: Option[SponsorshipLogoDimensions]
- Definition Classes
- Sponsorship → Product12
- def _codec: ValidatingThriftStructCodec3[Sponsorship]
- Definition Classes
- Sponsorship → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- Definition Classes
- Immutable → Sponsorship
- val aboutLink: Option[String]
- Definition Classes
- Immutable → Sponsorship
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- Sponsorship → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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, sponsorLogoDimensions: Option[SponsorshipLogoDimensions] = this.sponsorLogoDimensions, highContrastSponsorLogo: Option[String] = this.highContrastSponsorLogo, highContrastSponsorLogoDimensions: Option[SponsorshipLogoDimensions] = this.highContrastSponsorLogoDimensions, validFrom: Option[CapiDateTime] = this.validFrom, validTo: Option[CapiDateTime] = this.validTo, sponsorshipPackage: Option[SponsorshipPackage] = this.sponsorshipPackage, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Sponsorship
- Definition Classes
- Sponsorship
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Sponsorship → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getFieldBlob(_fieldId: Short): Option[TFieldBlob]
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
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
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
- def hashCode(): Int
- Definition Classes
- Sponsorship → AnyRef → Any
- val highContrastSponsorLogo: Option[String]
- Definition Classes
- Immutable → Sponsorship
- val highContrastSponsorLogoDimensions: Option[SponsorshipLogoDimensions]
- Definition Classes
- Immutable → Sponsorship
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[Sponsorship]
- Definition Classes
- Sponsorship
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productArity: Int
- Definition Classes
- Product12 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product12 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Sponsorship → Product
- def setField(_blob: TFieldBlob): Sponsorship
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
- val sponsorLink: String
- Definition Classes
- Immutable → Sponsorship
- val sponsorLogo: String
- Definition Classes
- Immutable → Sponsorship
- val sponsorLogoDimensions: Option[SponsorshipLogoDimensions]
- Definition Classes
- Immutable → Sponsorship
- val sponsorName: String
- Definition Classes
- Immutable → Sponsorship
- val sponsorshipPackage: Option[SponsorshipPackage]
- Definition Classes
- Immutable → Sponsorship
- val sponsorshipType: SponsorshipType
- Definition Classes
- Immutable → Sponsorship
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targeting: Option[SponsorshipTargeting]
- Definition Classes
- Immutable → Sponsorship
- def toString(): String
- Definition Classes
- Sponsorship → AnyRef → Any
- def toTuple: (SponsorshipType, String, String, String, Option[SponsorshipTargeting], Option[String], Option[SponsorshipLogoDimensions], Option[String], Option[SponsorshipLogoDimensions], Option[CapiDateTime], Option[CapiDateTime], Option[SponsorshipPackage])
- Definition Classes
- Sponsorship
- def unsetAboutLink: Sponsorship
- Definition Classes
- Sponsorship
- def unsetField(_fieldId: Short): Sponsorship
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
- def unsetHighContrastSponsorLogo: Sponsorship
- Definition Classes
- Sponsorship
- def unsetHighContrastSponsorLogoDimensions: Sponsorship
- Definition Classes
- Sponsorship
- def unsetSponsorLink: Sponsorship
- Definition Classes
- Sponsorship
- def unsetSponsorLogo: Sponsorship
- Definition Classes
- Sponsorship
- def unsetSponsorLogoDimensions: Sponsorship
- Definition Classes
- Sponsorship
- def unsetSponsorName: Sponsorship
- Definition Classes
- Sponsorship
- def unsetSponsorshipPackage: Sponsorship
- Definition Classes
- Sponsorship
- def unsetSponsorshipType: Sponsorship
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
- def unsetTargeting: Sponsorship
- Definition Classes
- Sponsorship
- def unsetValidFrom: Sponsorship
- Definition Classes
- Sponsorship
- def unsetValidTo: Sponsorship
- Definition Classes
- Sponsorship
- val validFrom: Option[CapiDateTime]
- Definition Classes
- Immutable → Sponsorship
- val validTo: Option[CapiDateTime]
- Definition Classes
- Immutable → Sponsorship
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(_oprot: TProtocol): Unit
- Definition Classes
- Sponsorship → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)