dev.azure.com/aidainnovazione0090/DeviceManager/_git/go-mod-core-contracts@v1.0.2/models/application.go (about) 1 package models 2 3 // Device and its properties are defined in the APIv2 specification: 4 // https://app.swaggerhub.com/apis-docs/EdgeXFoundry1/core-metadata/2.1.0#/Device 5 type Application struct { 6 DBTimestamp 7 Id string 8 Name string 9 Description string 10 OrganizationId string 11 Devices []Device 12 Layer []Layer 13 Latitude float64 14 Longitude float64 15 } 16 17 type Layer struct { 18 Id string 19 Name string 20 Folder string 21 } 22 23 type ApplicationDevice struct { 24 Id string 25 ApplicationId string 26 DeviceId string 27 Application Application 28 Device Device 29 }