ApiAllowableValuesAttribute
Document the allowable values for an API Property
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class ApiAllowableValuesAttribute : AttributeBase, _Attribute
Properties
Name
Gets or sets parameter name with which allowable values will be associated.
View Source
Declaration
public string Name { get; set; }
Type
View Source
Declaration
public string Type { get; set; }
Min
View Source
Declaration
public int? Min { get; set; }
Max
View Source
Declaration
public int? Max { get; set; }
Values
View Source
Declaration
public string[] Values { get; set; }
Implements
System.Runtime.InteropServices._Attribute