Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. enum TProfileType {
  2. PERSONAL = 0
  3. PROFESSIONAL = 1
  4. }
  5.  
  6. struct TProfile {
  7. 1: optional TProfileType profileType // PERSONAL or PROFESSIONAL
  8. 2: optional bool isPrimary // For client user
  9. }
  10.  
  11. struct TServerProfile {
  12. 1: optional TProfileType profileType // PERSONAL or PROFESSIONAL
  13. 2: optional double isLikelyPrimary // Server confidence for this being the primary
  14. 3: optional bool _profileTypeEdited // User assigned a specific profileType manually
  15. 4: optional bool _isPrimaryEdited // User set isPrimary manually
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement