16534: Add example API.
[arvados.git] / sdk / go / arvados / example.go
diff --git a/sdk/go/arvados/example.go b/sdk/go/arvados/example.go
new file mode 100644 (file)
index 0000000..ce8d42a
--- /dev/null
@@ -0,0 +1,18 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+package arvados
+
+type Example struct {
+       UUID      string `json:"uuid"`
+       HairStyle string `json:"hair_style"`
+}
+
+type ExampleCountOptions struct {
+       ClusterID string `json:"cluster_id"`
+}
+
+type ExampleCountResponse struct {
+       Count int `json:"count"`
+}