Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ObjectWithDeprecatedFields" /> class.
 /// </summary>
 /// <param name="uuid">uuid</param>
 /// <param name="id">id</param>
 /// <param name="deprecatedRef">deprecatedRef</param>
 /// <param name="bars">bars</param>
 public ObjectWithDeprecatedFields(string uuid = default, decimal id = default, DeprecatedObject deprecatedRef = default, List <string> bars = default)
 {
     Uuid          = uuid;
     Id            = id;
     DeprecatedRef = deprecatedRef;
     Bars          = bars;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ObjectWithDeprecatedFields" /> class.
 /// </summary>
 /// <param name="uuid">uuid.</param>
 /// <param name="id">id.</param>
 /// <param name="deprecatedRef">deprecatedRef.</param>
 /// <param name="bars">bars.</param>
 public ObjectWithDeprecatedFields(string uuid = default(string), decimal id = default(decimal), DeprecatedObject deprecatedRef = default(DeprecatedObject), List <string> bars = default(List <string>))
 {
     this.Uuid                 = uuid;
     this.Id                   = id;
     this.DeprecatedRef        = deprecatedRef;
     this.Bars                 = bars;
     this.AdditionalProperties = new Dictionary <string, object>();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ObjectWithDeprecatedFields" /> class.
 /// </summary>
 /// <param name="uuid">uuid.</param>
 /// <param name="id">id.</param>
 /// <param name="deprecatedRef">deprecatedRef.</param>
 /// <param name="bars">bars.</param>
 public ObjectWithDeprecatedFields(string uuid = default(string), decimal id = default(decimal), DeprecatedObject deprecatedRef = default(DeprecatedObject), List <string> bars = default(List <string>))
 {
     this._Uuid = uuid;
     if (this.Uuid != null)
     {
         this._flagUuid = true;
     }
     this._Id = id;
     if (this.Id != null)
     {
         this._flagId = true;
     }
     this._DeprecatedRef = deprecatedRef;
     if (this.DeprecatedRef != null)
     {
         this._flagDeprecatedRef = true;
     }
     this._Bars = bars;
     if (this.Bars != null)
     {
         this._flagBars = true;
     }
     this.AdditionalProperties = new Dictionary <string, object>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ObjectWithDeprecatedFields" /> class.
 /// </summary>
 /// <param name="uuid">uuid.</param>
 /// <param name="id">id.</param>
 /// <param name="deprecatedRef">deprecatedRef.</param>
 /// <param name="bars">bars.</param>
 public ObjectWithDeprecatedFields(string uuid = default(string), decimal id = default(decimal), DeprecatedObject deprecatedRef = default(DeprecatedObject), List <string> bars = default(List <string>))
 {
     this.Uuid          = uuid;
     this.Id            = id;
     this.DeprecatedRef = deprecatedRef;
     this.Bars          = bars;
 }