Coverage Summary for Class: ABTestDto (cloud.mindbox.mobile_sdk.models.operation.response)

Class Method, % Branch, % Line, % Instruction, %
ABTestDto 100% (5/5) 100% (9/9) 100% (22/22)
ABTestDto$VariantDto 100% (4/4) 100% (7/7) 100% (17/17)
ABTestDto$VariantDto$ModulusDto 100% (3/3) 100% (5/5) 100% (12/12)
ABTestDto$VariantDto$ObjectsDto 75% (3/4) 85.7% (6/7) 88.2% (15/17)
Total 93.8% (15/16) 96.4% (27/28) 97.1% (66/68)


 package cloud.mindbox.mobile_sdk.models.operation.response
 
 import com.google.gson.annotations.SerializedName
 
 internal data class ABTestDto(
     @SerializedName("id")
     val id: String,
     @SerializedName("sdkVersion")
     val sdkVersion: SdkVersion?,
     @SerializedName("salt")
     val salt: String,
     @SerializedName("variants")
     val variants: List<VariantDto>?,
 ) {
     internal data class VariantDto(
         @SerializedName("id")
         val id: String,
         @SerializedName("modulus")
         val modulus: ModulusDto?,
         @SerializedName("objects")
         val objects: List<ObjectsDto>?,
     ) {
         internal data class ModulusDto(
             @SerializedName("lower")
             val lower: Int?,
             @SerializedName("upper")
             val upper: Int?,
         )
 
         internal data class ObjectsDto(
             @SerializedName("${"$"}type")
             val type: String?,
             @SerializedName("kind")
             val kind: String?,
             @SerializedName("inapps")
             val inapps: List<String>?,
         )
     }
 }