object Sponsorship extends ValidatingThriftStructCodec3[Sponsorship] with StructBuilderFactory[Sponsorship] with Serializable
- Alphabetic
- By Inheritance
- Sponsorship
- Serializable
- StructBuilderFactory
- ValidatingThriftStructCodec3
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Immutable extends Sponsorship
The default read-only implementation of 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.
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
- val AboutLinkField: TField
- val AboutLinkFieldManifest: Manifest[String]
- val HighContrastSponsorLogoDimensionsField: TField
- val HighContrastSponsorLogoDimensionsFieldManifest: Manifest[SponsorshipLogoDimensions]
- val HighContrastSponsorLogoField: TField
- val HighContrastSponsorLogoFieldManifest: Manifest[String]
- val SponsorLinkField: TField
- val SponsorLinkFieldManifest: Manifest[String]
- val SponsorLogoDimensionsField: TField
- val SponsorLogoDimensionsFieldManifest: Manifest[SponsorshipLogoDimensions]
- val SponsorLogoField: TField
- val SponsorLogoFieldManifest: Manifest[String]
- val SponsorNameField: TField
- val SponsorNameFieldManifest: Manifest[String]
- val SponsorshipPackageField: TField
- val SponsorshipPackageFieldI32: TField
- val SponsorshipPackageFieldManifest: Manifest[SponsorshipPackage]
- val SponsorshipTypeField: TField
- val SponsorshipTypeFieldI32: TField
- val SponsorshipTypeFieldManifest: Manifest[SponsorshipType]
- val Struct: TStruct
- val TargetingField: TField
- val TargetingFieldManifest: Manifest[SponsorshipTargeting]
- val ValidFromField: TField
- val ValidFromFieldManifest: Manifest[CapiDateTime]
- val ValidToField: TField
- val ValidToFieldManifest: Manifest[CapiDateTime]
- def apply(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): Sponsorship
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def decode(_iprot: TProtocol): Sponsorship
- Definition Classes
- Sponsorship → ThriftStructCodec
- def encode(_item: Sponsorship, _oproto: TProtocol): Unit
- Definition Classes
- Sponsorship → ThriftStructCodec
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val fieldInfos: List[ThriftStructFieldInfo]
Field information in declaration order.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val metaData: ThriftStructMetaData[Sponsorship]
- Definition Classes
- Sponsorship → ThriftStructCodec
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[Sponsorship]
- Definition Classes
- Sponsorship → StructBuilderFactory
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val structAnnotations: Map[String, String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def ttypeToString(byte: Byte): String
- Attributes
- protected
- Definition Classes
- ThriftStructCodec3
- def unapply(_item: Sponsorship): Option[(SponsorshipType, String, String, String, Option[SponsorshipTargeting], Option[String], Option[SponsorshipLogoDimensions], Option[String], Option[SponsorshipLogoDimensions], Option[CapiDateTime], Option[CapiDateTime], Option[SponsorshipPackage])]
- lazy val unsafeEmpty: Sponsorship
- def validate(_item: Sponsorship): Unit
Checks that all required fields are non-null.
- final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
- final def validateFieldValue[U <: ValidatingThriftStruct[U]](fieldName: String, fieldValue: Any, fieldAnnotations: Map[String, String], thriftValidatorOpt: Option[ThriftValidator]): Set[ThriftValidationViolation]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
- def validateInstanceValue(item: Sponsorship): Set[ThriftValidationViolation]
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
- Definition Classes
- Sponsorship → ValidatingThriftStructCodec3
- def validateNewInstance(item: Sponsorship): Seq[Issue]
Checks that the struct is a valid as a new instance.
Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.
- Definition Classes
- Sponsorship → ValidatingThriftStructCodec3
- 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withoutPassthroughFields(original: Sponsorship): Sponsorship
- object Immutable extends ThriftStructCodec3[Sponsorship] with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)