io.letsstreamit.services.profile.core.models

Members list

Type members

Classlikes

case class AuthData(id: String, email: String)

AuthData data to returned after a successful authentication

AuthData data to returned after a successful authentication

Value parameters

email

user email

id

user id

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class AuthResponse(data: AuthData)

AuthResponse response to be returned after a successful authentication

AuthResponse response to be returned after a successful authentication

Value parameters

data

AuthData

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class User(email: String, username: String, bio: Option[String], videos: Option[List[String]])

User data model for a user

User data model for a user

Value parameters

bio

bio of the user

email

email of the user

username

username of the user

videos

list of video ids the user has watched

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Video(videoId: String)

Video data model for a video

Video data model for a video

Value parameters

videoId

id of the video

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all