using Json.LitJson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceClientGenerator.Endpoints
{
///
/// Object model for Condition.
///
public class Condition
{
///
/// Standard function name (lower-case)
///
public string fn { get; set; }
///
/// Standard function arguments
///
public JsonData argv { get; set; }
private Function _function;
///
/// Object model for standard function
///
public Function Function
{
get
{
if (_function == null)
{
_function = new Function(fn, argv, assign);
}
return _function;
}
}
///
/// Name of the internal reference you can assign function result to.
/// This reference can be used in other ruleset conditions/functions as a parameter.
///
public string assign { get; set; }
}
}