Packages

object NativeAppSubmission extends ThriftStructCodec3[NativeAppSubmission] with Serializable

This is the root object that represents a tracking submission from native apps.

This can be supplied to ophan in one of two ways:

  • Create the equivalent json and POST the json to https://ophan.theguardian.com/mob with a content type of application/json
  • Create a thift binary blob in compact binary protocol format from this definition and POST to https://ophan.theguardian.com/mob a content type of application/vnd.apache.thrift.compact

Note that, for largely backwards compatibility reasons, in some cases we allow synonyms for enum values in json; these are noted in the descriptions below.

Linear Supertypes
Serializable, Serializable, ThriftStructCodec3[NativeAppSubmission], ThriftStructCodec[NativeAppSubmission], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NativeAppSubmission
  2. Serializable
  3. Serializable
  4. ThriftStructCodec3
  5. ThriftStructCodec
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends NativeAppSubmission

    The default read-only implementation of NativeAppSubmission.

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

  2. trait Proxy extends NativeAppSubmission

    This Proxy trait allows you to extend the NativeAppSubmission trait with additional state or behavior and implement the read-only methods from NativeAppSubmission using an underlying instance.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val AppField: TField
  5. val AppFieldManifest: Manifest[App]
  6. val DeviceField: TField
  7. val DeviceFieldManifest: Manifest[Device]
  8. val DeviceIdField: TField
  9. val DeviceIdFieldManifest: Manifest[String]
  10. val EventsField: TField
  11. val EventsFieldManifest: Manifest[Seq[Event]]
  12. val KruxIdField: TField
  13. val KruxIdFieldManifest: Manifest[String]
  14. val MembershipTierField: TField
  15. val MembershipTierFieldI32: TField
  16. val MembershipTierFieldManifest: Manifest[MembershipTier]
  17. val NoPassthroughFields: Map[Short, TFieldBlob]
  18. val Struct: TStruct
  19. val SubscriptionIdField: TField
  20. val SubscriptionIdFieldI32: TField
  21. val SubscriptionIdFieldManifest: Manifest[SubscriptionType]
  22. val UserIdField: TField
  23. val UserIdFieldManifest: Manifest[String]
  24. def apply(app: App, device: Option[Device] = _root_.scala.None, deviceId: String, userId: Option[String] = _root_.scala.None, kruxId: Option[String] = _root_.scala.None, subscriptionId: Option[SubscriptionType] = _root_.scala.None, events: Seq[Event] = Seq[ophan.thrift.nativeapp.Event](), membershipTier: Option[MembershipTier] = _root_.scala.None): NativeAppSubmission
  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  27. def decode(_iprot: TProtocol): NativeAppSubmission
    Definition Classes
    NativeAppSubmission → ThriftStructCodec
  28. def encode(_item: NativeAppSubmission, _oproto: TProtocol): Unit
    Definition Classes
    NativeAppSubmission → ThriftStructCodec
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  31. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Field information in declaration order.

  32. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. lazy val metaData: ThriftStructMetaData[NativeAppSubmission]
    Definition Classes
    ThriftStructCodec
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. lazy val structAnnotations: Map[String, String]
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. def ttypeToString(byte: Byte): String
    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  44. def unapply(_item: NativeAppSubmission): Option[(App, Option[Device], String, Option[String], Option[String], Option[SubscriptionType], Seq[Event], Option[MembershipTier])]
  45. def validate(_item: NativeAppSubmission): Unit

    Checks that all required fields are non-null.

  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. def withoutPassthroughFields(original: NativeAppSubmission): NativeAppSubmission
  50. object Immutable extends ThriftStructCodec3[NativeAppSubmission] with Serializable

Inherited from Serializable

Inherited from Serializable

Inherited from ThriftStructCodec3[NativeAppSubmission]

Inherited from ThriftStructCodec[NativeAppSubmission]

Inherited from AnyRef

Inherited from Any

Ungrouped