2024-08-07 15:38:52 +07:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package device.v1;
|
|
|
|
|
|
|
|
import "buf/validate/validate.proto";
|
2024-08-15 09:36:06 +07:00
|
|
|
import "device/v1/device.proto";
|
2024-08-07 15:38:52 +07:00
|
|
|
|
|
|
|
option go_package = "github.com/tigorlazuardi/bluemage/go/gen/proto/device/v1";
|
|
|
|
|
|
|
|
message GetDeviceRequest {
|
|
|
|
// The `slug` is a unique identifier for the device.
|
|
|
|
string slug = 1 [(buf.validate.field).string.min_len = 1];
|
|
|
|
}
|
|
|
|
|
|
|
|
message GetDeviceResponse {
|
2024-08-15 09:36:06 +07:00
|
|
|
Device device = 1;
|
2024-08-07 15:38:52 +07:00
|
|
|
}
|