comparison pkg/models/waterway.go @ 1808:77582da3adb0

Waterway gauges import: Added stub.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 15 Jan 2019 16:51:38 +0100
parents 614c6c766691
children
comparison
equal deleted inserted replaced
1807:824e7b7d81a4 1808:77582da3adb0
43 // importing the axis. 43 // importing the axis.
44 SendEmail bool `json:"send-email"` 44 SendEmail bool `json:"send-email"`
45 // Attributes are optional attributes. 45 // Attributes are optional attributes.
46 Attributes common.Attributes `json:"attributes,omitempty"` 46 Attributes common.Attributes `json:"attributes,omitempty"`
47 } 47 }
48
49 // WaterwayAxisImport specifies an import of waterway gauges.
50 WaterwayGaugeImport struct {
51 // URL is the SOAP service URL.
52 URL string `json:"url"`
53 // SendEmail is set to true if an email should be send after
54 // importing the waterway gauges.
55 SendEmail bool `json:"send-email"`
56 // Attributes are optional attributes.
57 Attributes common.Attributes `json:"attributes,omitempty"`
58 }
48 ) 59 )