diff --git a/platform/device/get_devices.go b/platform/device/get_devices.go index f041a085..bb52b39e 100644 --- a/platform/device/get_devices.go +++ b/platform/device/get_devices.go @@ -19,10 +19,11 @@ type ListDevicesOption struct { } type DeviceDTO struct { - SerialNumber string `json:"serial_number"` - UDID string `json:"udid"` - EnrollmentStatus bool `json:"enrollment_status"` - LastSeen time.Time `json:"last_seen"` + SerialNumber string `json:"serial_number"` + UDID string `json:"udid"` + EnrollmentStatus bool `json:"enrollment_status"` + LastSeen time.Time `json:"last_seen"` + DEPProfileStatus DEPProfileStatus `json:"dep_profile_status"` } func (svc *DeviceService) ListDevices(ctx context.Context, opt ListDevicesOption) ([]DeviceDTO, error) { @@ -34,6 +35,7 @@ func (svc *DeviceService) ListDevices(ctx context.Context, opt ListDevicesOption UDID: d.UDID, EnrollmentStatus: d.Enrolled, LastSeen: d.LastSeen, + DEPProfileStatus: d.DEPProfileStatus, }) } return dto, err