mirror of
https://github.com/Xevion/scla-unsubscribe.git
synced 2025-12-06 09:16:21 -06:00
39 lines
872 B
Go
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"`
|
|
}
|