mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
09a22e5cbc
* add protocol buffer definitions * oauth rework * websocket introduction Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
22 lines
820 B
Protocol Buffer
22 lines
820 B
Protocol Buffer
syntax = "proto3";
|
|
package proto;
|
|
import "acp.proto";
|
|
|
|
//import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
import "gogo.proto";
|
|
|
|
option (gogoproto.goproto_enum_prefix_all) = true;
|
|
option java_package = "com.daimler.mbcarkit.proto";
|
|
|
|
message EventPushCommand {
|
|
string vin = 1 [json_name = "vin"];
|
|
VVA.CommandState state = 2 [json_name = "acpState"];
|
|
VVA.CommandCondition condition = 3 [json_name = "acpCondition"];
|
|
ACP.CommandType type = 4 [json_name = "acpCommandType"];
|
|
int64 process_id = 5 [json_name = "pid"];
|
|
string tracking_id = 6 [json_name = "trackingId"];
|
|
string correlation_id = 7 [json_name = "correlationId"];
|
|
repeated int32 error_codes = 8 [json_name = "errorCodes"];
|
|
string guid = 9 [json_name = "guid"];
|
|
int64 timestamp_in_s = 10 [ json_name = "timestamp" ];
|
|
} |