/// <summary>
 /// Initializes a new instance of the <see cref="BeezUPCommonLinkParameter2" /> class.
 /// </summary>
 /// <param name="Name">The name of the parameter (required).</param>
 /// <param name="Value">The value of the parameter.</param>
 /// <param name="Required">Required.</param>
 /// <param name="_In">_In.</param>
 /// <param name="Type">Type.</param>
 /// <param name="LovLink">This parameter expect the values indicated in this list of values..</param>
 /// <param name="LovRequired">If true, you MUST use indicate a value from the list of values otherwise it&#39;s a freetext.</param>
 public BeezUPCommonLinkParameter2(string Name = default(string), string Value = default(string), bool?Required = default(bool?), BeezUPCommonParameterIn _In = default(BeezUPCommonParameterIn), BeezUPCommonParameterType Type = default(BeezUPCommonParameterType), BeezUPCommonLOVLink2 LovLink = default(BeezUPCommonLOVLink2), bool?LovRequired = default(bool?))
 {
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for BeezUPCommonLinkParameter2 and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     this.Value       = Value;
     this.Required    = Required;
     this._In         = _In;
     this.Type        = Type;
     this.LovLink     = LovLink;
     this.LovRequired = LovRequired;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BeezUPCommonLinkParameter3" /> class.
 /// </summary>
 /// <param name="Label">The label corresponding to the link parameter. This label is automatically translated based on the Accept-Language http header..</param>
 /// <param name="Value">The value of the parameter. It can be an integer a string or an object..</param>
 /// <param name="Required">Required (default to false).</param>
 /// <param name="_In">_In (required).</param>
 /// <param name="Type">Type.</param>
 /// <param name="LovLink">LovLink.</param>
 /// <param name="LovRequired">If true, you MUST indicate a value from the list of values otherwise it&#39;s a freetext.</param>
 /// <param name="Description">description of the parameter.</param>
 /// <param name="Schema">schema of the parameter.</param>
 /// <param name="Properties">If the parameter is an object with flexible properties (additionProperties/dictionary), we will describe the properties of the object..</param>
 public BeezUPCommonLinkParameter3(string Label = default(string), Object Value = default(Object), bool?Required = false, BeezUPCommonParameterIn _In = default(BeezUPCommonParameterIn), BeezUPCommonParameterType Type = default(BeezUPCommonParameterType), BeezUPCommonLOVLink3 LovLink = default(BeezUPCommonLOVLink3), bool?LovRequired = default(bool?), string Description = default(string), string Schema = default(string), Dictionary <string, BeezUPCommonLinkParameterProperty3> Properties = default(Dictionary <string, BeezUPCommonLinkParameterProperty3>))
 {
     // to ensure "_In" is required (not null)
     if (_In == null)
     {
         throw new InvalidDataException("_In is a required property for BeezUPCommonLinkParameter3 and cannot be null");
     }
     else
     {
         this._In = _In;
     }
     this.Label = Label;
     this.Value = Value;
     // use default value if no "Required" provided
     if (Required == null)
     {
         this.Required = false;
     }
     else
     {
         this.Required = Required;
     }
     this.Type        = Type;
     this.LovLink     = LovLink;
     this.LovRequired = LovRequired;
     this.Description = Description;
     this.Schema      = Schema;
     this.Properties  = Properties;
 }