api.fabaccess-api/state.capnp
2023-11-23 12:36:28 +01:00

20 lines
495 B
Cap'n Proto

@0x9d6da2edc6588d6e;
using CSharp = import "programming_language/csharp.capnp";
$CSharp.namespace("FabAccessAPI.Schema");
using import "utils.capnp".OID;
interface State {
get @0 ( oid :OID ) -> ( val :AnyPointer );
# Return the value for the field specified by `oid`.
# If the field is not set or the resource does not support a field with that OID the returned `val` is NULL.
}
struct UpdateValue {
oid @0 :OID;
val @1 :AnyPointer;
}
using Update = List(UpdateValue);