Skip to content

Instantly share code, notes, and snippets.

@paulouskunda
Created March 15, 2023 08:46
Show Gist options
  • Save paulouskunda/c182c9353acbf3f7bd88f9adc33fb9b4 to your computer and use it in GitHub Desktop.
Save paulouskunda/c182c9353acbf3f7bd88f9adc33fb9b4 to your computer and use it in GitHub Desktop.
Data
data class Recipe (
var recipeName: String?,
var recipeInstructions: String?,
var recipeImage: String?,
var ingredients: List<Ingredients>,
var instructions: List<Instructions>
)
class Ingredients (
var ingredientsDetails: String
)
class Instructions (
var instructionsDetails: String
)
data class Response(
val statusCode: Int,
val message: Any
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment