From 38319848c9ecbaf1bd5cb56b08057246b475367a Mon Sep 17 00:00:00 2001 From: dbirman <7455770+dbirman@users.noreply.github.com> Date: Thu, 21 Mar 2024 18:49:04 +0000 Subject: [PATCH] Build Models --- models/csharp/ephys_link/GetManipulatorsResponse.cs | 2 +- models/schemas/ephys_link/GetManipulatorsResponse.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/csharp/ephys_link/GetManipulatorsResponse.cs b/models/csharp/ephys_link/GetManipulatorsResponse.cs index 5166305..c209d52 100644 --- a/models/csharp/ephys_link/GetManipulatorsResponse.cs +++ b/models/csharp/ephys_link/GetManipulatorsResponse.cs @@ -5,6 +5,6 @@ public struct GetManipulatorsResponse { public string[] Manipulators; public int NumAxes; - public Vector3 Dimensions; + public Vector4 Dimensions; public string Error; } diff --git a/models/schemas/ephys_link/GetManipulatorsResponse.json b/models/schemas/ephys_link/GetManipulatorsResponse.json index 4666322..8839bd8 100644 --- a/models/schemas/ephys_link/GetManipulatorsResponse.json +++ b/models/schemas/ephys_link/GetManipulatorsResponse.json @@ -1 +1 @@ -{"$defs": {"Vector3": {"properties": {"x": {"default": 0.0, "title": "X", "type": "number"}, "y": {"default": 0.0, "title": "Y", "type": "number"}, "z": {"default": 0.0, "title": "Z", "type": "number"}}, "title": "Vector3", "type": "object"}}, "description": "Response format for requesting available manipulators.\n\n:param manipulators: List of manipulators.\n:type manipulators: list[str]\n:param num_axes: Number of axes for the manipulators.\n:type num_axes: int\n:param dimensions: Dimensions of the manipulators (first 3 axes in unified manipulator space).\n:type dimensions: Vector3\n:param error: Error message if any.\n:type error: str", "properties": {"Manipulators": {"items": {"type": "string"}, "title": "Manipulators", "type": "array"}, "NumAxes": {"default": 0, "minimum": -1, "title": "Numaxes", "type": "integer"}, "Dimensions": {"allOf": [{"$ref": "#/$defs/Vector3"}], "default": {"x": 0.0, "y": 0.0, "z": 0.0}}, "Error": {"default": "", "title": "Error", "type": "string"}}, "title": "GetManipulatorsResponse", "type": "object"} \ No newline at end of file +{"$defs": {"Vector4": {"properties": {"x": {"default": 0.0, "title": "X", "type": "number"}, "y": {"default": 0.0, "title": "Y", "type": "number"}, "z": {"default": 0.0, "title": "Z", "type": "number"}, "w": {"default": 0.0, "title": "W", "type": "number"}}, "title": "Vector4", "type": "object"}}, "description": "Response format for requesting available manipulators.\n\n:param manipulators: List of manipulators.\n:type manipulators: list[str]\n:param num_axes: Number of axes for the manipulators.\n:type num_axes: int\n:param dimensions: Dimensions of the manipulators (3-axis manipulators should set w to 0).\n:type dimensions: Vector4\n:param error: Error message if any.\n:type error: str", "properties": {"Manipulators": {"items": {"type": "string"}, "title": "Manipulators", "type": "array"}, "NumAxes": {"default": 0, "minimum": -1, "title": "Numaxes", "type": "integer"}, "Dimensions": {"allOf": [{"$ref": "#/$defs/Vector4"}], "default": {"x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0}}, "Error": {"default": "", "title": "Error", "type": "string"}}, "title": "GetManipulatorsResponse", "type": "object"} \ No newline at end of file