File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments