Skip to content

Instantly share code, notes, and snippets.

@brianPlummer
Created June 28, 2018 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianPlummer/2ef0a93a62e422b5ad44c5cdcba72b4a to your computer and use it in GitHub Desktop.
Save brianPlummer/2ef0a93a62e422b5ad44c5cdcba72b4a to your computer and use it in GitHub Desktop.
Data model for government sample data
@JsonClass(generateAdapter = true)
data class Complaint (
val id: String,
val description: String,
val createdAt: Long,
val owner: Owner
)
@JsonClass(generateAdapter = true)
data class Owner (
val id: String,
val displayName: String,
val flags: List<String>?
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment