mirror of
https://github.com/akuker/RASCSI.git
synced 2025-02-21 07:29:28 +00:00
Type update
This commit is contained in:
parent
7a94c0e6e0
commit
35dd3f6282
@ -164,7 +164,7 @@ message PbOperationParameter {
|
||||
string name = 1;
|
||||
// Optional short localized description, key is the lower case locale (e.g. en, de)
|
||||
map<string, string> description = 2;
|
||||
// "int" or "string"
|
||||
// "string", "int", or "boolean". Parameters are always strings but must be convertible to these types.
|
||||
string type = 3;
|
||||
// There is no specific set of values if empty
|
||||
repeated string values = 4;
|
||||
|
@ -489,7 +489,7 @@ PbOperationInfo *RascsiResponse::GetOperationInfo(PbResult& result)
|
||||
parameter = parameters->add_parameters();
|
||||
parameter->set_name("read_only");
|
||||
(*parameter->mutable_description())["en"] = "The read-only flag, true if missing";
|
||||
parameter->set_type("string");
|
||||
parameter->set_type("boolean");
|
||||
|
||||
parameters = operation_info->add_operations();
|
||||
parameters->set_name(PbOperation_Name(DELETE_IMAGE));
|
||||
@ -529,7 +529,7 @@ PbOperationInfo *RascsiResponse::GetOperationInfo(PbResult& result)
|
||||
parameter = parameters->add_parameters();
|
||||
parameter->set_name("read_only");
|
||||
(*parameter->mutable_description())["en"] = "The read-only flag, true if missing";
|
||||
parameter->set_type("string");
|
||||
parameter->set_type("boolean");
|
||||
|
||||
parameters = operation_info->add_operations();
|
||||
parameters->set_name(PbOperation_Name(PROTECT_IMAGE));
|
||||
|
Loading…
x
Reference in New Issue
Block a user