| 1 |
package astdb |
| 2 |
|
| 3 |
import "database/sql" |
| 4 |
|
| 5 |
type PsAor struct { |
| 6 |
ID string `gorm:"primary_key"` |
| 7 |
Contact sql.NullString |
| 8 |
|
| 9 |
DefaultExpiration int |
| 10 |
MinimumExpiration int |
| 11 |
MaximumExpiration int |
| 12 |
Mailboxes sql.NullString |
| 13 |
MaxContacts int |
| 14 |
QualifyFrequency int |
| 15 |
QualifyTimeout float64 |
| 16 |
AuthenticateQualify YesNo |
| 17 |
OutboundProxy sql.NullString |
| 18 |
SupportPath YesNo |
| 19 |
VoicemailExtension sql.NullString |
| 20 |
} |
| 21 |
|
| 22 |
type PsContact struct { |
| 23 |
ID string `gorm:"primary_key"` |
| 24 |
URI string |
| 25 |
ExpirationTime string |
| 26 |
QualifyFrequency int |
| 27 |
} |
| 28 |
type PsDomainAlias struct { |
| 29 |
ID string `gorm:"primary_key"` |
| 30 |
Domain string |
| 31 |
} |
| 32 |
type PsEndpointIdIp struct { |
| 33 |
ID string `gorm:"primary_key"` |
| 34 |
Endpoint string |
| 35 |
Match string |
| 36 |
} |
| 37 |
type PsAuth struct { |
| 38 |
ID string `gorm:"primary_key"` |
| 39 |
|
| 40 |
AuthType string |
| 41 |
NonceLifetime sql.NullString |
| 42 |
Md5Cred sql.NullString |
| 43 |
Username string |
| 44 |
Password string |
| 45 |
Realm sql.NullString |
| 46 |
} |
| 47 |
type PsGlobal struct { |
| 48 |
ID string `gorm:"primary_key"` |
| 49 |
MaxForwards *int |
| 50 |
UserAgent *string |
| 51 |
DefaultOutboundEndpoint *string |
| 52 |
} |