// ©2021, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0;
option csharp_namespace = "Ansys.Api.Geometry.V0";
option go_package = "ansys/api/geometry/v0";

// Api
//
service Api{
    // Sets the current scripting version.
    rpc SetVersion(SetVersionRequest) returns(SetVersionResponse) ;

      // Sets the current scripting version.
    rpc GetVersion(GetVersionRequest) returns(GetVersionResponse) ;
}

message GetVersionRequest{
}

message GetVersionResponse{
    string result = 1;
}

message SetVersionRequest{
    // The set api operation being requested.
    ApiVersion version = 1;
}

message SetVersionResponse{
    string result = 1;
}

enum ApiVersion {
    V_21 = 0;
    V_22 = 1;
    V_231 = 2;
    V_232 = 3;
}
