Coverage Summary for Class: FailureReason (cloud.mindbox.mobile_sdk.models.operation.request)
| Class |
Class, %
|
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| FailureReason |
100%
(1/1)
|
100%
(2/2)
|
|
100%
(17/17)
|
100%
(71/71)
|
package cloud.mindbox.mobile_sdk.models.operation.request
import com.google.gson.annotations.SerializedName
internal data class InAppShowFailure(
@SerializedName("inappId")
val inAppId: String,
@SerializedName("failureReason")
val failureReason: FailureReason,
@SerializedName("errorDetails")
val errorDetails: String?,
@SerializedName("dateTimeUtc")
val dateTimeUtc: String
)
internal enum class FailureReason(val value: String) {
@SerializedName("image_download_failed")
IMAGE_DOWNLOAD_FAILED("image_download_failed"),
@SerializedName("presentation_failed")
PRESENTATION_FAILED("presentation_failed"),
@SerializedName("geo_request_failed")
GEO_TARGETING_FAILED("geo_request_failed"),
@SerializedName("customer_segmentation_request_failed")
CUSTOMER_SEGMENT_REQUEST_FAILED("customer_segmentation_request_failed"),
@SerializedName("product_segmentation_request_failed")
PRODUCT_SEGMENT_REQUEST_FAILED("product_segmentation_request_failed"),
@SerializedName("webview_load_failed")
WEBVIEW_LOAD_FAILED("webview_load_failed"),
@SerializedName("webview_presentation_failed")
WEBVIEW_PRESENTATION_FAILED("webview_presentation_failed"),
@SerializedName("unknown_error")
UNKNOWN_ERROR("unknown_error")
}