Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/pkg/models/waterway.go Tue Jan 15 14:51:44 2019 +0100 +++ b/pkg/models/waterway.go Tue Jan 15 16:51:38 2019 +0100 @@ -45,4 +45,15 @@ // Attributes are optional attributes. Attributes common.Attributes `json:"attributes,omitempty"` } + + // WaterwayAxisImport specifies an import of waterway gauges. + WaterwayGaugeImport struct { + // URL is the SOAP service URL. + URL string `json:"url"` + // SendEmail is set to true if an email should be send after + // importing the waterway gauges. + SendEmail bool `json:"send-email"` + // Attributes are optional attributes. + Attributes common.Attributes `json:"attributes,omitempty"` + } )