carpool-service/interoperability/ocss/users.go

22 lines
550 B
Go
Raw Normal View History

2023-03-27 18:54:56 +00:00
package ocss
type Gender int64
const (
Female Gender = iota
Male
Other
)
type User struct {
ID string `json:"id"`
Operator string `json:"operator"`
Alias string `json:"alias"`
FirstName *string `json:"firstName,omitempty"`
LastName *string `json:"lastName,omitempty"`
Grade *int64 `json:"grade,omitempty"`
Picture *string `json:"picture,omitempty"`
Gender *Gender `json:"gender,omitempty"`
VerifiedIdentity *bool `json:"verifiedIdentity,omitempty"`
}