comparison pkg/models/imports.go @ 2021:aa74466feaa8 unify_imports

Moved distancemarks virtual to imports file.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 24 Jan 2019 17:33:37 +0100
parents 491084efd15c
children 213f79fde44a
comparison
equal deleted inserted replaced
2020:491084efd15c 2021:aa74466feaa8
78 // importing the waterway gauges. 78 // importing the waterway gauges.
79 SendEmail bool `json:"send-email"` 79 SendEmail bool `json:"send-email"`
80 // Attributes are optional attributes. 80 // Attributes are optional attributes.
81 Attributes common.Attributes `json:"attributes,omitempty"` 81 Attributes common.Attributes `json:"attributes,omitempty"`
82 } 82 }
83
84 // DistanceMarksVirtualImport specifies an import of distance marks virtual.
85 DistanceMarksVirtualImport struct {
86 // URL is the SOAP service URL.
87 URL string `json:"url"`
88 // SendEmail is set to true if an email should be send after
89 // importing the waterway gauges.
90 SendEmail bool `json:"send-email"`
91 // Attributes are optional attributes.
92 Attributes common.Attributes `json:"attributes,omitempty"`
93 }
83 ) 94 )