Debian Codegraph @

address_types.go

raw
1 package proton
2
3 type Address struct {
4 ID string
5 Email string
6
7 Send Bool
8 Receive Bool
9 Status AddressStatus
10 Type AddressType
11
12 Order int
13 DisplayName string
14
15 Keys Keys
16 }
17
18 type OrderAddressesReq struct {
19 AddressIDs []string
20 }
21
22 type AddressStatus int
23
24 const (
25 AddressStatusDisabled AddressStatus = iota
26 AddressStatusEnabled
27 AddressStatusDeleting
28 )
29
30 type AddressType int
31
32 const (
33 AddressTypeOriginal AddressType = iota + 1
34 AddressTypeAlias
35 AddressTypeCustom
36 AddressTypePremium
37 AddressTypeExternal
38 )