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.
- Alphabetic
- By Inheritance
- NativeAppSubmission
- Serializable
- Serializable
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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.
-
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
-
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 AppField: TField
- val AppFieldManifest: Manifest[App]
- val DeviceField: TField
- val DeviceFieldManifest: Manifest[Device]
- val DeviceIdField: TField
- val DeviceIdFieldManifest: Manifest[String]
- val EventsField: TField
- val EventsFieldManifest: Manifest[Seq[Event]]
- val KruxIdField: TField
- val KruxIdFieldManifest: Manifest[String]
- val MembershipTierField: TField
- val MembershipTierFieldI32: TField
- val MembershipTierFieldManifest: Manifest[MembershipTier]
- val NoPassthroughFields: Map[Short, TFieldBlob]
- val Struct: TStruct
- val SubscriptionIdField: TField
- val SubscriptionIdFieldI32: TField
- val SubscriptionIdFieldManifest: Manifest[SubscriptionType]
- val UserIdField: TField
- val UserIdFieldManifest: Manifest[String]
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
decode(_iprot: TProtocol): NativeAppSubmission
- Definition Classes
- NativeAppSubmission → ThriftStructCodec
-
def
encode(_item: NativeAppSubmission, _oproto: TProtocol): Unit
- Definition Classes
- NativeAppSubmission → ThriftStructCodec
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
fieldInfos: List[ThriftStructFieldInfo]
Field information in declaration order.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
metaData: ThriftStructMetaData[NativeAppSubmission]
- Definition Classes
- ThriftStructCodec
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy 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: NativeAppSubmission): Option[(App, Option[Device], String, Option[String], Option[String], Option[SubscriptionType], Seq[Event], Option[MembershipTier])]
-
def
validate(_item: NativeAppSubmission): Unit
Checks that all required fields are non-null.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def withoutPassthroughFields(original: NativeAppSubmission): NativeAppSubmission
- object Immutable extends ThriftStructCodec3[NativeAppSubmission] with Serializable