-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathproApiV1Prop.proto
80 lines (60 loc) · 1.56 KB
/
proApiV1Prop.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
syntax = "proto3";
package rv.data;
import "proApiV1Identifier.proto";
message API_v1_PropData {
rv.data.API_v1_Identifier id = 1;
bool is_active = 2;
}
message API_v1_Prop_Request {
oneof Request {
rv.data.API_v1_Prop_Request.Props props = 1;
rv.data.API_v1_Prop_Request.GetProp get_prop = 2;
rv.data.API_v1_Prop_Request.DeleteProp delete_prop = 3;
rv.data.API_v1_Prop_Request.TriggerProp trigger_prop = 4;
rv.data.API_v1_Prop_Request.ClearProp clear_prop = 5;
rv.data.API_v1_Prop_Request.GetThumbnail get_thumbnail = 6;
}
message Props {
}
message GetProp {
string id = 1;
}
message DeleteProp {
string id = 1;
}
message TriggerProp {
string id = 1;
}
message ClearProp {
string id = 1;
}
message GetThumbnail {
string id = 1;
int32 quality = 2;
}
}
message API_v1_Prop_Response {
oneof Response {
rv.data.API_v1_Prop_Response.Props props = 1;
rv.data.API_v1_Prop_Response.GetProp get_prop = 2;
rv.data.API_v1_Prop_Response.DeleteProp delete_prop = 3;
rv.data.API_v1_Prop_Response.TriggerProp trigger_prop = 4;
rv.data.API_v1_Prop_Response.ClearProp clear_prop = 5;
rv.data.API_v1_Prop_Response.GetThumbnail get_thumbnail = 6;
}
message Props {
repeated rv.data.API_v1_PropData props = 1;
}
message GetProp {
rv.data.API_v1_PropData prop = 1;
}
message DeleteProp {
}
message TriggerProp {
}
message ClearProp {
}
message GetThumbnail {
bytes data = 1;
}
}