Files
Claire Kuang e3806f3fb4
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
marked tolerance as required input
2024-01-31 11:29:00 +00:00

15 lines
398 B
C#

using System.ComponentModel.DataAnnotations;
/// <summary>
/// This class describes the user specified variables that the function wants to work with.
/// </summary>
/// This class is used to generate a JSON Schema to ensure that the user provided values
/// are valid and match the required schema.
struct FunctionInputs
{
[Required]
public double Tolerance;
//public string Exclusions;
}