mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
Standardize the naming convention by changing `GetSamplingRateByIDRequest` to `GetSamplingRateByIdRequest`, using "Id" instead of "ID" for consistency with other proto message names across the codebase. Updated the corresponding handler to reference the corrected message name. This aligns with the established naming pattern and improves code consistency following the same convention applied in other proto definitions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
51 lines
871 B
Protocol Buffer
51 lines
871 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option java_package = "com.mediamanager.protocol.messages";
|
|
option java_outer_classname = "SamplingRateMessages";
|
|
|
|
package mediamanager.messages;
|
|
|
|
message SamplingRate{
|
|
int32 id=1;
|
|
string value=2;
|
|
}
|
|
|
|
message CreateSamplingRateRequest{
|
|
string value= 1;
|
|
}
|
|
|
|
message CreateSamplingRateResponse{
|
|
SamplingRate samplingrate =1;
|
|
}
|
|
|
|
message GetSamplingRatesRequest{}
|
|
|
|
message GetSamplingRatesResponse{
|
|
repeated SamplingRate samplingrates = 1;
|
|
}
|
|
|
|
message GetSamplingRateByIdRequest{
|
|
int32 id =1;
|
|
}
|
|
|
|
message GetSamplingRateByIdResponse{
|
|
SamplingRate samplingrate = 1;
|
|
}
|
|
|
|
message UpdateSamplingRateRequest{
|
|
int32 id = 1;
|
|
string value = 2;
|
|
}
|
|
|
|
message UpdateSamplingRateResponse{
|
|
SamplingRate samplingrate = 1;
|
|
}
|
|
|
|
message DeleteSamplingRateRequest{
|
|
int32 id =1;
|
|
}
|
|
|
|
message DeleteSamplingRateResponse{
|
|
bool success = 1;
|
|
string message =2;
|
|
} |