Skip to content

Commit eb918cb

Browse files
MaxjreyMaxJPRey
andauthored
Add folder content from CSharpAddins\ApiServer\DomainModel\DomainModel.Protobuffer\ansys\api\geometry\v0. (#21)
Co-authored-by: pyansys-ci-bot <maxime.rey@ansys.com>
1 parent ecb2d40 commit eb918cb

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// ©2021, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2+
syntax = "proto3";
3+
package ansys.api.geometry.v0.geometryapi;
4+
option csharp_namespace = "Ansys.Api.Geometry.V0.GeometryApi";
5+
option go_package = "ansys/api/geometry/v0";
6+
7+
// Api
8+
//
9+
service GeometryApi{
10+
// Sets the current scripting version.
11+
rpc SetVersion(SetVersionRequest) returns(SetVersionResponse) ;
12+
13+
// Sets the current scripting version.
14+
rpc GetVersion(GetVersionRequest) returns(GetVersionResponse) ;
15+
}
16+
17+
message GetVersionRequest{
18+
}
19+
20+
message GetVersionResponse{
21+
string result = 1;
22+
}
23+
24+
message SetVersionRequest{
25+
// The set api operation being requested.
26+
ApiVersion version = 1;
27+
}
28+
29+
message SetVersionResponse{
30+
string result = 1;
31+
}
32+
33+
enum ApiVersion {
34+
V_21 = 0;
35+
V_22 = 1;
36+
V_231 = 2;
37+
V_232 = 3;
38+
}

0 commit comments

Comments
 (0)