Skip to content

Commit

Permalink
Allow CollectedStat to be serializable.
Browse files Browse the repository at this point in the history
  • Loading branch information
handstandsam committed Nov 13, 2024
1 parent 74e4e19 commit 674be97
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ package com.squareup.invert

import com.squareup.invert.models.Stat
import com.squareup.invert.models.StatMetadata
import kotlinx.serialization.Serializable


/**
* A Collected [Stat] and its associated [StatMetadata]
*/
@Serializable
data class CollectedStat(
val metadata: StatMetadata,
val stat: Stat?
Expand Down

0 comments on commit 674be97

Please sign in to comment.