Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum TProfileType {
- PERSONAL = 0
- PROFESSIONAL = 1
- }
- struct TProfile {
- 1: optional TProfileType profileType // PERSONAL or PROFESSIONAL
- 2: optional bool isPrimary // For client user
- }
- struct TServerProfile {
- 1: optional TProfileType profileType // PERSONAL or PROFESSIONAL
- 2: optional double isLikelyPrimary // Server confidence for this being the primary
- 3: optional bool _profileTypeEdited // User assigned a specific profileType manually
- 4: optional bool _isPrimaryEdited // User set isPrimary manually
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement