Entity.Participant
{ participantId : Maybe Basics.Int
, firstName : String
, lastName : String
, middleName : String
, email : String
, primaryAddress : Maybe Engage.Entity.Address.Address
, phone : Engage.Entity.PhoneNumber.PhoneNumber
, mobilePhone : Engage.Entity.PhoneNumber.PhoneNumber
, profilePicture : String
, gender : Engage.Entity.Gender.Gender
, birthDate : Maybe Date
, birthDateYear : Maybe Engage.ListItem.ListItem
, birthDateMonth : Maybe Engage.ListItem.ListItem
, account : Maybe Engage.Entity.Account.Account
, username : Maybe String
, password : Maybe String
}
The Participant type
decoder : Json.Decode.Decoder Participant
A Participant decoder
empty : Participant
Get an empty Participant
encoder : ParticipantLike a -> Json.Encode.Value
A Participant encoder
encoderWith : List ( String, Json.Encode.Value ) -> ParticipantLike a -> Json.Encode.Value
A Participant with fields encoder
toParticipant : ParticipantLike a -> Participant
Get a Participant from a partial