httpsms-gateway / api /pkg /requests /phone_delete_request.go
ML Intern deploy
Deploy httpSMS gateway to Hugging Face Spaces (Docker SDK): nginx :7860 -> Go API :8000, Nuxt SPA, Android APK, bootstrap-mode entrypoint
83a59ca
Raw History Blame
365 Bytes
package requests
import (
"github.com/google/uuid"
)
// PhoneDelete is the payload for deleting
type PhoneDelete struct {
request
PhoneID string `json:"phoneID" swaggerignore:"true"` // used internally for validation
}
// PhoneIDUuid returns the phoneID as uuid.UUID
func (input *PhoneDelete) PhoneIDUuid() uuid.UUID {
return uuid.MustParse(input.PhoneID)
}