mirror of
https://github.com/micromdm/micromdm/
synced 2026-05-16 19:46:05 +08:00
28 lines
572 B
Protocol Buffer
28 lines
572 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package devicecommandproto;
|
|
|
|
option go_package = "github.com/micromdm/micromdm/platform/queue/internal/devicecommandproto";
|
|
|
|
message Command {
|
|
string uuid = 1;
|
|
bytes payload = 2;
|
|
|
|
int64 created_at = 3;
|
|
int64 last_sent_at = 4;
|
|
int64 acknowledged = 5;
|
|
|
|
int64 times_sent = 6;
|
|
|
|
string last_status = 7;
|
|
bytes failure_message = 8;
|
|
}
|
|
|
|
message DeviceCommand {
|
|
string device_udid = 1;
|
|
repeated Command commands = 2;
|
|
repeated Command completed = 3;
|
|
repeated Command failed = 4;
|
|
repeated Command not_now = 5;
|
|
}
|