Files
scla-unsubscribe/types.go
2023-12-30 10:07:10 -06:00

39 lines
872 B
Go

package main
type Entry struct {
Id string
Name string
JobTitle string // Subtitle
Department string
College string // Subtitle
Phone string
}
type FullEntry struct {
Name string
Classification string
College string
Major string
Email string
// Attributes only for faculty
Title string
Department string
MailingAddress string
Building string
Phone string
Other map[string]string
}
type ConfirmationResponse struct {
FormId string `json:"formId"`
FollowUpUrl string `json:"followUpUrl"`
DeliveryType string `json:"deliveryType"`
FollowUpStreamValue string `json:"followUpStreamValue"`
AliId string `json:"aliId"`
}
type ErrorResponse struct {
Message string `json:"message"`
Code int `json:"code"`
}