Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChildCatAllOf" /> class.
 /// </summary>
 /// <param name="name">name.</param>
 /// <param name="petType">petType (default to PetTypeEnum.ChildCat).</param>
 public ChildCatAllOf(string name = default(string), PetTypeEnum?petType = PetTypeEnum.ChildCat)
 {
     this._Name = name;
     if (this.Name != null)
     {
         this._flagName = true;
     }
     this.AdditionalProperties = new Dictionary <string, object>();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChildCatAllOf" /> class.
 /// </summary>
 /// <param name="name">name.</param>
 /// <param name="petType">petType (default to PetTypeEnum.ChildCat).</param>
 public ChildCatAllOf(string name = default(string), PetTypeEnum?petType = PetTypeEnum.ChildCat)
 {
     this.Name    = name;
     this.PetType = petType;
     this.AdditionalProperties = new Dictionary <string, object>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ChildCatAllOf" /> class.
 /// </summary>
 /// <param name="name">name.</param>
 /// <param name="petType">petType (default to PetTypeEnum.ChildCat).</param>
 public ChildCatAllOf(string name = default(string), PetTypeEnum?petType = PetTypeEnum.ChildCat)
 {
     this.Name    = name;
     this.PetType = petType;
 }
Esempio n. 4
0
 public ChildCatAllOf(string?name = default, PetTypeEnum?petType = PetTypeEnum.ChildCat)
 {
     Name    = name;
     PetType = petType;
 }