| 1 | package subscriptionscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/core/push/subscription`/ |
| 2 | |
| 3 | // A PushVerification object is sent by the server to the created Subscriptions' |
| 4 | // URL. |
| 5 | type Verificationscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/core/push/subscription`/Verification# struct { |
| 6 | // The MUST be "PushVerification" |
| 7 | Typescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/core/push/subscription`/Verification#Type. string `json:"@type,omitempty"` |
| 8 | |
| 9 | // The ID of the Push Subscription that was created |
| 10 | SubscriptionIDscip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/core/push/subscription`/Verification#SubscriptionID. string `json:"pushSubscriptionId,omitempty"` |
| 11 | |
| 12 | // The verification code to add to the subscription |
| 13 | Codescip-go gomod git.sr.ht/~rockorager/go-jmap . `git.sr.ht/~rockorager/go-jmap/core/push/subscription`/Verification#Code. string `json:"verificationCode,omitempty"` |
| 14 | } |