data class User
Data Structure containing the user object from the Firebase Firestore document object For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!
Author
Kenneth Soh
Since
2019-09-16
Flags |
Inner class to display user flags data class Flags |
PrefDays |
Inner class to store preferred days of the user data class PrefDays |
<init> |
Creates a user object based on the Firebase Firestore document User(name: String = "", uid: String = "", prefLocation: String = "West", gender: String = "Male", prefTime: String = "AM", prefDay: PrefDays = PrefDays(), profilePicUri: String = "", flags: Flags = Flags()) |
flags |
Flags User Flags var flags: Flags |
gender |
String User Gender var gender: String |
name |
String User name var name: String |
prefDay |
PrefDays User Preferred Days var prefDay: PrefDays |
prefLocation |
String User Preferred Location var prefLocation: String |
prefTime |
String User Preferred Time Range var prefTime: String |
profilePicUri |
String User Profile Picture URL var profilePicUri: String |
uid |
String User Identifier (this is obtained from FirebaseAuth#getUID()) var uid: String |