Class Result
- Namespace
- Styra.Opa.OpenApi.Models.Components
- Assembly
- Styra.Opa.dll
The base or virtual document referred to by the URL path. If the path is undefined, this key will be omitted.
[JsonConverter(typeof(Result.ResultConverter))]
public class Result
- Inheritance
-
Result
- Inherited Members
Constructors
Result(ResultType)
public Result(ResultType type)
Parameters
type
ResultType
Properties
ArrayOfAny
public List<object>? ArrayOfAny { get; set; }
Property Value
Boolean
public bool? Boolean { get; set; }
Property Value
- bool?
MapOfAny
public Dictionary<string, object>? MapOfAny { get; set; }
Property Value
Number
public double? Number { get; set; }
Property Value
Str
public string? Str { get; set; }
Property Value
Type
public ResultType Type { get; set; }
Property Value
Methods
CreateArrayOfAny(List<object>)
public static Result CreateArrayOfAny(List<object> arrayOfAny)
Parameters
Returns
CreateBoolean(bool)
public static Result CreateBoolean(bool boolean)
Parameters
boolean
bool
Returns
CreateMapOfAny(Dictionary<string, object>)
public static Result CreateMapOfAny(Dictionary<string, object> mapOfAny)
Parameters
mapOfAny
Dictionary<string, object>
Returns
CreateNull()
public static Result CreateNull()
Returns
CreateNumber(double)
public static Result CreateNumber(double number)
Parameters
number
double
Returns
CreateStr(string)
public static Result CreateStr(string str)
Parameters
str
string