Dockware AI
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Dockware AI
dockware-core
/
ai.dockware.core.scanning.validation
/
SnapshotValidation
Snapshot
Validation
@
Serializable
data
class
SnapshotValidation
(
val
isValid
:
Boolean
,
val
hasWarnings
:
Boolean
,
val
hasFailed
:
Boolean
,
val
issues
:
List
<
SnapshotValidation.ValidationIssue
>
,
val
snapshotCount
:
Int
,
val
totalTimeSpan
:
Double
,
val
totalDistance
:
Double
)
Members
Constructors
Snapshot
Validation
Link copied to clipboard
constructor
(
isValid
:
Boolean
,
hasWarnings
:
Boolean
,
hasFailed
:
Boolean
,
issues
:
List
<
SnapshotValidation.ValidationIssue
>
,
snapshotCount
:
Int
,
totalTimeSpan
:
Double
,
totalDistance
:
Double
)
Types
Issue
Severity
Link copied to clipboard
@
Serializable
enum
IssueSeverity
:
Enum
<
SnapshotValidation.IssueSeverity
>
Issue
Type
Link copied to clipboard
@
Serializable
enum
IssueType
:
Enum
<
SnapshotValidation.IssueType
>
Validation
Issue
Link copied to clipboard
@
Serializable
data
class
ValidationIssue
(
val
severity
:
SnapshotValidation.IssueSeverity
,
val
type
:
SnapshotValidation.IssueType
,
val
message
:
String
,
val
snapshotIndex1
:
Int
?
=
null
,
val
snapshotIndex2
:
Int
?
=
null
,
val
value
:
Double
?
=
null
)
Properties
has
Failed
Link copied to clipboard
val
hasFailed
:
Boolean
has
Warnings
Link copied to clipboard
val
hasWarnings
:
Boolean
issues
Link copied to clipboard
val
issues
:
List
<
SnapshotValidation.ValidationIssue
>
is
Valid
Link copied to clipboard
val
isValid
:
Boolean
snapshot
Count
Link copied to clipboard
val
snapshotCount
:
Int
total
Distance
Link copied to clipboard
val
totalDistance
:
Double
total
Time
Span
Link copied to clipboard
val
totalTimeSpan
:
Double
Functions
get
Desciption
Message
Link copied to clipboard
fun
getDesciptionMessage
(
)
:
String
get
Failure
Issues
Link copied to clipboard
fun
getFailureIssues
(
)
:
List
<
SnapshotValidation.ValidationIssue
>
get
Summary
Message
Link copied to clipboard
fun
getSummaryMessage
(
)
:
String
?
get
Warning
Issues
Link copied to clipboard
fun
getWarningIssues
(
)
:
List
<
SnapshotValidation.ValidationIssue
>
to
Map
Link copied to clipboard
fun
toMap
(
)
:
Map
<
String
,
Any
>