mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 14:51:42 +01:00
20 lines
495 B
Cap'n Proto
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);
|