Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RUM schema to latest #1853

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
229 changes: 224 additions & 5 deletions features/dd-sdk-android-rum/api/apiSurface
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ data class com.datadog.android.rum.model.ActionChildProperties
fun fromJson(kotlin.String): Action
fun fromJsonObject(com.google.gson.JsonObject): Action
data class com.datadog.android.rum.model.ActionEvent
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, ActionEventSession, ActionEventSource? = null, ActionEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Container? = null, ActionEventAction)
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, ActionEventSession, ActionEventSource? = null, ActionEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Container? = null, ActionEventAction)
val type: kotlin.String
fun toJson(): com.google.gson.JsonElement
companion object
Expand Down Expand Up @@ -544,7 +544,7 @@ data class com.datadog.android.rum.model.ActionEvent
companion object
fun fromJson(kotlin.String): Type
data class com.datadog.android.rum.model.ErrorEvent
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, ErrorEventSession, ErrorEventSource? = null, ErrorEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Container? = null, Error, Context? = null)
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, ErrorEventSession, ErrorEventSource? = null, ErrorEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Container? = null, Error, Context? = null)
val type: kotlin.String
fun toJson(): com.google.gson.JsonElement
companion object
Expand Down Expand Up @@ -798,6 +798,9 @@ data class com.datadog.android.rum.model.ErrorEvent
- REACT_NATIVE
- FLUTTER
- ROKU
- NDK
- IOS_IL2CPP
- NDK_IL2CPP
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): SourceType
Expand Down Expand Up @@ -854,7 +857,7 @@ data class com.datadog.android.rum.model.ErrorEvent
companion object
fun fromJson(kotlin.String): ProviderType
data class com.datadog.android.rum.model.LongTaskEvent
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, LongTaskEventSession, LongTaskEventSource? = null, LongTaskEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Container? = null, LongTask)
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, LongTaskEventSession, LongTaskEventSource? = null, LongTaskEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Container? = null, LongTask)
val type: kotlin.String
fun toJson(): com.google.gson.JsonElement
companion object
Expand Down Expand Up @@ -1087,7 +1090,7 @@ data class com.datadog.android.rum.model.ParentViewSchema
companion object
fun fromJson(kotlin.String): Source
data class com.datadog.android.rum.model.ResourceEvent
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, ResourceEventSession, ResourceEventSource? = null, ResourceEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Container? = null, Resource)
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, ResourceEventSession, ResourceEventSource? = null, ResourceEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Action? = null, Container? = null, Resource)
val type: kotlin.String
fun toJson(): com.google.gson.JsonElement
companion object
Expand Down Expand Up @@ -1407,6 +1410,222 @@ data class com.datadog.android.rum.model.RumPerfMetric
companion object
fun fromJson(kotlin.String): RumPerfMetric
fun fromJsonObject(com.google.gson.JsonObject): RumPerfMetric
data class com.datadog.android.rum.model.RumVitalEvent
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, RumVitalEventSession, RumVitalEventSource? = null, RumVitalEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Container? = null, Vital)
val type: kotlin.String
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): RumVitalEvent
fun fromJsonObject(com.google.gson.JsonObject): RumVitalEvent
data class Application
constructor(kotlin.String)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Application
fun fromJsonObject(com.google.gson.JsonObject): Application
data class RumVitalEventSession
constructor(kotlin.String, RumVitalEventSessionType, kotlin.Boolean? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): RumVitalEventSession
fun fromJsonObject(com.google.gson.JsonObject): RumVitalEventSession
data class RumVitalEventView
constructor(kotlin.String, kotlin.String? = null, kotlin.String, kotlin.String? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): RumVitalEventView
fun fromJsonObject(com.google.gson.JsonObject): RumVitalEventView
data class Usr
constructor(kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.collections.MutableMap<kotlin.String, kotlin.Any?> = mutableMapOf())
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Usr
fun fromJsonObject(com.google.gson.JsonObject): Usr
data class Connectivity
constructor(Status, kotlin.collections.List<Interface>? = null, EffectiveType? = null, Cellular? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Connectivity
fun fromJsonObject(com.google.gson.JsonObject): Connectivity
data class Display
constructor(Viewport? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Display
fun fromJsonObject(com.google.gson.JsonObject): Display
data class Synthetics
constructor(kotlin.String, kotlin.String, kotlin.Boolean? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Synthetics
fun fromJsonObject(com.google.gson.JsonObject): Synthetics
data class CiTest
constructor(kotlin.String)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): CiTest
fun fromJsonObject(com.google.gson.JsonObject): CiTest
data class Os
constructor(kotlin.String, kotlin.String, kotlin.String? = null, kotlin.String)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Os
fun fromJsonObject(com.google.gson.JsonObject): Os
data class Device
constructor(DeviceType, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Device
fun fromJsonObject(com.google.gson.JsonObject): Device
data class Dd
constructor(DdSession? = null, Configuration? = null, kotlin.String? = null)
val formatVersion: kotlin.Long
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Dd
fun fromJsonObject(com.google.gson.JsonObject): Dd
data class Context
constructor(kotlin.collections.MutableMap<kotlin.String, kotlin.Any?> = mutableMapOf())
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Context
fun fromJsonObject(com.google.gson.JsonObject): Context
data class Container
constructor(ContainerView, RumVitalEventSource)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Container
fun fromJsonObject(com.google.gson.JsonObject): Container
data class Vital
constructor(VitalType, kotlin.String, Custom? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Vital
fun fromJsonObject(com.google.gson.JsonObject): Vital
data class Cellular
constructor(kotlin.String? = null, kotlin.String? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Cellular
fun fromJsonObject(com.google.gson.JsonObject): Cellular
data class Viewport
constructor(kotlin.Number, kotlin.Number)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Viewport
fun fromJsonObject(com.google.gson.JsonObject): Viewport
data class DdSession
constructor(Plan? = null, SessionPrecondition? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): DdSession
fun fromJsonObject(com.google.gson.JsonObject): DdSession
data class Configuration
constructor(kotlin.Number, kotlin.Number? = null)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Configuration
fun fromJsonObject(com.google.gson.JsonObject): Configuration
data class ContainerView
constructor(kotlin.String)
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): ContainerView
fun fromJsonObject(com.google.gson.JsonObject): ContainerView
data class Custom
constructor(kotlin.collections.MutableMap<kotlin.String, kotlin.Number> = mutableMapOf())
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Custom
fun fromJsonObject(com.google.gson.JsonObject): Custom
enum RumVitalEventSource
constructor(kotlin.String)
- ANDROID
- IOS
- BROWSER
- FLUTTER
- REACT_NATIVE
- ROKU
- UNITY
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): RumVitalEventSource
enum RumVitalEventSessionType
constructor(kotlin.String)
- USER
- SYNTHETICS
- CI_TEST
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): RumVitalEventSessionType
enum Status
constructor(kotlin.String)
- CONNECTED
- NOT_CONNECTED
- MAYBE
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Status
enum Interface
constructor(kotlin.String)
- BLUETOOTH
- CELLULAR
- ETHERNET
- WIFI
- WIMAX
- MIXED
- OTHER
- UNKNOWN
- NONE
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Interface
enum EffectiveType
constructor(kotlin.String)
- SLOW_2G
- `2G`
- `3G`
- `4G`
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): EffectiveType
enum DeviceType
constructor(kotlin.String)
- MOBILE
- DESKTOP
- TABLET
- TV
- GAMING_CONSOLE
- BOT
- OTHER
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): DeviceType
enum VitalType
constructor(kotlin.String)
- DURATION
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): VitalType
enum Plan
constructor(kotlin.Number)
- PLAN_1
- PLAN_2
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): Plan
enum SessionPrecondition
constructor(kotlin.String)
- USER_APP_LAUNCH
- INACTIVITY_TIMEOUT
- MAX_DURATION
- BACKGROUND_LAUNCH
- PREWARM
- FROM_NON_INTERACTIVE_SESSION
- EXPLICIT_STOP
fun toJson(): com.google.gson.JsonElement
companion object
fun fromJson(kotlin.String): SessionPrecondition
data class com.datadog.android.rum.model.ViewContainerSchema
constructor(Container? = null)
fun toJson(): com.google.gson.JsonElement
Expand Down Expand Up @@ -1438,7 +1657,7 @@ data class com.datadog.android.rum.model.ViewContainerSchema
companion object
fun fromJson(kotlin.String): Source
data class com.datadog.android.rum.model.ViewEvent
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, ViewEventSession, ViewEventSource? = null, ViewEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Container? = null, Context? = null, Privacy? = null)
constructor(kotlin.Long, Application, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, kotlin.String? = null, ViewEventSession, ViewEventSource? = null, ViewEventView, Usr? = null, Connectivity? = null, Display? = null, Synthetics? = null, CiTest? = null, Os? = null, Device? = null, Dd, Context? = null, Container? = null, Context? = null, Privacy? = null)
val type: kotlin.String
fun toJson(): com.google.gson.JsonElement
companion object
Expand Down
Loading
Loading