update c# samples

This commit is contained in:
William Cheng
2022-03-06 21:29:49 +08:00
parent 9efda42d57
commit 087c5a2fdb
46 changed files with 129 additions and 0 deletions

View File

@@ -46,13 +46,21 @@ namespace Org.OpenAPITools.Model
public AdditionalPropertiesClass(Dictionary<string, string> mapProperty = default(Dictionary<string, string>), Dictionary<string, Dictionary<string, string>> mapOfMapProperty = default(Dictionary<string, Dictionary<string, string>>), Object anytype1 = default(Object), Object mapWithUndeclaredPropertiesAnytype1 = default(Object), Object mapWithUndeclaredPropertiesAnytype2 = default(Object), Dictionary<string, Object> mapWithUndeclaredPropertiesAnytype3 = default(Dictionary<string, Object>), Object emptyMap = default(Object), Dictionary<string, string> mapWithUndeclaredPropertiesString = default(Dictionary<string, string>))
{
this._MapProperty = mapProperty;
if (this.MapProperty != null) this._flagMapProperty = true;
this._MapOfMapProperty = mapOfMapProperty;
if (this.MapOfMapProperty != null) this._flagMapOfMapProperty = true;
this._Anytype1 = anytype1;
if (this.Anytype1 != null) this._flagAnytype1 = true;
this._MapWithUndeclaredPropertiesAnytype1 = mapWithUndeclaredPropertiesAnytype1;
if (this.MapWithUndeclaredPropertiesAnytype1 != null) this._flagMapWithUndeclaredPropertiesAnytype1 = true;
this._MapWithUndeclaredPropertiesAnytype2 = mapWithUndeclaredPropertiesAnytype2;
if (this.MapWithUndeclaredPropertiesAnytype2 != null) this._flagMapWithUndeclaredPropertiesAnytype2 = true;
this._MapWithUndeclaredPropertiesAnytype3 = mapWithUndeclaredPropertiesAnytype3;
if (this.MapWithUndeclaredPropertiesAnytype3 != null) this._flagMapWithUndeclaredPropertiesAnytype3 = true;
this._EmptyMap = emptyMap;
if (this.EmptyMap != null) this._flagEmptyMap = true;
this._MapWithUndeclaredPropertiesString = mapWithUndeclaredPropertiesString;
if (this.MapWithUndeclaredPropertiesString != null) this._flagMapWithUndeclaredPropertiesString = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -41,8 +41,11 @@ namespace Org.OpenAPITools.Model
public ApiResponse(int code = default(int), string type = default(string), string message = default(string))
{
this._Code = code;
if (this.Code != null) this._flagCode = true;
this._Type = type;
if (this.Type != null) this._flagType = true;
this._Message = message;
if (this.Message != null) this._flagMessage = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -40,7 +40,9 @@ namespace Org.OpenAPITools.Model
public Apple(string cultivar = default(string), string origin = default(string))
{
this._Cultivar = cultivar;
if (this.Cultivar != null) this._flagCultivar = true;
this._Origin = origin;
if (this.Origin != null) this._flagOrigin = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -50,6 +50,7 @@ namespace Org.OpenAPITools.Model
}
this._Cultivar = cultivar;
this._Mealy = mealy;
if (this.Mealy != null) this._flagMealy = true;
}
/// <summary>

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public ArrayOfArrayOfNumberOnly(List<List<decimal>> arrayArrayNumber = default(List<List<decimal>>))
{
this._ArrayArrayNumber = arrayArrayNumber;
if (this.ArrayArrayNumber != null) this._flagArrayArrayNumber = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public ArrayOfNumberOnly(List<decimal> arrayNumber = default(List<decimal>))
{
this._ArrayNumber = arrayNumber;
if (this.ArrayNumber != null) this._flagArrayNumber = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -41,8 +41,11 @@ namespace Org.OpenAPITools.Model
public ArrayTest(List<string> arrayOfString = default(List<string>), List<List<long>> arrayArrayOfInteger = default(List<List<long>>), List<List<ReadOnlyFirst>> arrayArrayOfModel = default(List<List<ReadOnlyFirst>>))
{
this._ArrayOfString = arrayOfString;
if (this.ArrayOfString != null) this._flagArrayOfString = true;
this._ArrayArrayOfInteger = arrayArrayOfInteger;
if (this.ArrayArrayOfInteger != null) this._flagArrayArrayOfInteger = true;
this._ArrayArrayOfModel = arrayArrayOfModel;
if (this.ArrayArrayOfModel != null) this._flagArrayArrayOfModel = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public Banana(decimal lengthCm = default(decimal))
{
this._LengthCm = lengthCm;
if (this.LengthCm != null) this._flagLengthCm = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -46,6 +46,7 @@ namespace Org.OpenAPITools.Model
{
this._LengthCm = lengthCm;
this._Sweet = sweet;
if (this.Sweet != null) this._flagSweet = true;
}
/// <summary>

View File

@@ -44,11 +44,17 @@ namespace Org.OpenAPITools.Model
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
{
this._SmallCamel = smallCamel;
if (this.SmallCamel != null) this._flagSmallCamel = true;
this._CapitalCamel = capitalCamel;
if (this.CapitalCamel != null) this._flagCapitalCamel = true;
this._SmallSnake = smallSnake;
if (this.SmallSnake != null) this._flagSmallSnake = true;
this._CapitalSnake = capitalSnake;
if (this.CapitalSnake != null) this._flagCapitalSnake = true;
this._SCAETHFlowPoints = sCAETHFlowPoints;
if (this.SCAETHFlowPoints != null) this._flagSCAETHFlowPoints = true;
this._ATT_NAME = aTTNAME;
if (this.ATT_NAME != null) this._flagATT_NAME = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -51,6 +51,7 @@ namespace Org.OpenAPITools.Model
public Cat(bool declawed = default(bool), string className = "Cat", string color = "red") : base(className, color)
{
this._Declawed = declawed;
if (this.Declawed != null) this._flagDeclawed = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public CatAllOf(bool declawed = default(bool))
{
this._Declawed = declawed;
if (this.Declawed != null) this._flagDeclawed = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -53,6 +53,7 @@ namespace Org.OpenAPITools.Model
}
this._Name = name;
this._Id = id;
if (this.Id != null) this._flagId = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -91,6 +91,7 @@ namespace Org.OpenAPITools.Model
{
this._PetType = petType;
this._Name = name;
if (this.Name != null) this._flagName = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -80,6 +80,7 @@ namespace Org.OpenAPITools.Model
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>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public ClassModel(string _class = default(string))
{
this._Class = _class;
if (this.Class != null) this._flagClass = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public DeprecatedObject(string name = default(string))
{
this._Name = name;
if (this.Name != null) this._flagName = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -51,6 +51,7 @@ namespace Org.OpenAPITools.Model
public Dog(string breed = default(string), string className = "Dog", string color = "red") : base(className, color)
{
this._Breed = breed;
if (this.Breed != null) this._flagBreed = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public DogAllOf(string breed = default(string))
{
this._Breed = breed;
if (this.Breed != null) this._flagBreed = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -42,9 +42,13 @@ namespace Org.OpenAPITools.Model
public Drawing(Shape mainShape = default(Shape), ShapeOrNull shapeOrNull = default(ShapeOrNull), NullableShape nullableShape = default(NullableShape), List<Shape> shapes = default(List<Shape>)) : base()
{
this._MainShape = mainShape;
if (this.MainShape != null) this._flagMainShape = true;
this._ShapeOrNull = shapeOrNull;
if (this.ShapeOrNull != null) this._flagShapeOrNull = true;
this._NullableShape = nullableShape;
if (this.NullableShape != null) this._flagNullableShape = true;
this._Shapes = shapes;
if (this.Shapes != null) this._flagShapes = true;
}
/// <summary>

View File

@@ -133,7 +133,9 @@ namespace Org.OpenAPITools.Model
public EnumArrays(JustSymbolEnum? justSymbol = default(JustSymbolEnum?), List<ArrayEnumEnum> arrayEnum = default(List<ArrayEnumEnum>))
{
this._JustSymbol = justSymbol;
if (this.JustSymbol != null) this._flagJustSymbol = true;
this._ArrayEnum = arrayEnum;
if (this.ArrayEnum != null) this._flagArrayEnum = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -396,13 +396,21 @@ namespace Org.OpenAPITools.Model
{
this._EnumStringRequired = enumStringRequired;
this._EnumString = enumString;
if (this.EnumString != null) this._flagEnumString = true;
this._EnumInteger = enumInteger;
if (this.EnumInteger != null) this._flagEnumInteger = true;
this._EnumIntegerOnly = enumIntegerOnly;
if (this.EnumIntegerOnly != null) this._flagEnumIntegerOnly = true;
this._EnumNumber = enumNumber;
if (this.EnumNumber != null) this._flagEnumNumber = true;
this._OuterEnum = outerEnum;
if (this.OuterEnum != null) this._flagOuterEnum = true;
this._OuterEnumInteger = outerEnumInteger;
if (this.OuterEnumInteger != null) this._flagOuterEnumInteger = true;
this._OuterEnumDefaultValue = outerEnumDefaultValue;
if (this.OuterEnumDefaultValue != null) this._flagOuterEnumDefaultValue = true;
this._OuterEnumIntegerDefaultValue = outerEnumIntegerDefaultValue;
if (this.OuterEnumIntegerDefaultValue != null) this._flagOuterEnumIntegerDefaultValue = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public File(string sourceURI = default(string))
{
this._SourceURI = sourceURI;
if (this.SourceURI != null) this._flagSourceURI = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -40,7 +40,9 @@ namespace Org.OpenAPITools.Model
public FileSchemaTestClass(File file = default(File), List<File> files = default(List<File>))
{
this._File = file;
if (this.File != null) this._flagFile = true;
this._Files = files;
if (this.Files != null) this._flagFiles = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -74,17 +74,29 @@ namespace Org.OpenAPITools.Model
}
this._Password = password;
this._Integer = integer;
if (this.Integer != null) this._flagInteger = true;
this._Int32 = int32;
if (this.Int32 != null) this._flagInt32 = true;
this._Int64 = int64;
if (this.Int64 != null) this._flagInt64 = true;
this._Float = _float;
if (this.Float != null) this._flagFloat = true;
this._Double = _double;
if (this.Double != null) this._flagDouble = true;
this._Decimal = _decimal;
if (this.Decimal != null) this._flagDecimal = true;
this._String = _string;
if (this.String != null) this._flagString = true;
this._Binary = binary;
if (this.Binary != null) this._flagBinary = true;
this._DateTime = dateTime;
if (this.DateTime != null) this._flagDateTime = true;
this._Uuid = uuid;
if (this.Uuid != null) this._flagUuid = true;
this._PatternWithDigits = patternWithDigits;
if (this.PatternWithDigits != null) this._flagPatternWithDigits = true;
this._PatternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter;
if (this.PatternWithDigitsAndDelimiter != null) this._flagPatternWithDigitsAndDelimiter = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public HealthCheckResult(string nullableMessage = default(string))
{
this._NullableMessage = nullableMessage;
if (this.NullableMessage != null) this._flagNullableMessage = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public InlineResponseDefault(Foo _string = default(Foo))
{
this._String = _string;
if (this.String != null) this._flagString = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public List(string _123list = default(string))
{
this.__123List = _123list;
if (this._123List != null) this._flag_123List = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -89,9 +89,13 @@ namespace Org.OpenAPITools.Model
public MapTest(Dictionary<string, Dictionary<string, string>> mapMapOfString = default(Dictionary<string, Dictionary<string, string>>), Dictionary<string, InnerEnum> mapOfEnumString = default(Dictionary<string, InnerEnum>), Dictionary<string, bool> directMap = default(Dictionary<string, bool>), Dictionary<string, bool> indirectMap = default(Dictionary<string, bool>))
{
this._MapMapOfString = mapMapOfString;
if (this.MapMapOfString != null) this._flagMapMapOfString = true;
this._MapOfEnumString = mapOfEnumString;
if (this.MapOfEnumString != null) this._flagMapOfEnumString = true;
this._DirectMap = directMap;
if (this.DirectMap != null) this._flagDirectMap = true;
this._IndirectMap = indirectMap;
if (this.IndirectMap != null) this._flagIndirectMap = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -41,8 +41,11 @@ namespace Org.OpenAPITools.Model
public MixedPropertiesAndAdditionalPropertiesClass(Guid uuid = default(Guid), DateTime dateTime = default(DateTime), Dictionary<string, Animal> map = default(Dictionary<string, Animal>))
{
this._Uuid = uuid;
if (this.Uuid != null) this._flagUuid = true;
this._DateTime = dateTime;
if (this.DateTime != null) this._flagDateTime = true;
this._Map = map;
if (this.Map != null) this._flagMap = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -40,7 +40,9 @@ namespace Org.OpenAPITools.Model
public Model200Response(int name = default(int), string _class = default(string))
{
this._Name = name;
if (this.Name != null) this._flagName = true;
this._Class = _class;
if (this.Class != null) this._flagClass = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public ModelClient(string _client = default(string))
{
this.__Client = _client;
if (this._Client != null) this._flag_Client = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -49,6 +49,7 @@ namespace Org.OpenAPITools.Model
{
this.__Name = name;
this._Property = property;
if (this.Property != null) this._flagProperty = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -50,17 +50,29 @@ namespace Org.OpenAPITools.Model
public NullableClass(int? integerProp = default(int?), decimal? numberProp = default(decimal?), bool? booleanProp = default(bool?), string stringProp = default(string), DateTime? dateProp = default(DateTime?), DateTime? datetimeProp = default(DateTime?), List<Object> arrayNullableProp = default(List<Object>), List<Object> arrayAndItemsNullableProp = default(List<Object>), List<Object> arrayItemsNullable = default(List<Object>), Dictionary<string, Object> objectNullableProp = default(Dictionary<string, Object>), Dictionary<string, Object> objectAndItemsNullableProp = default(Dictionary<string, Object>), Dictionary<string, Object> objectItemsNullable = default(Dictionary<string, Object>)) : base()
{
this._IntegerProp = integerProp;
if (this.IntegerProp != null) this._flagIntegerProp = true;
this._NumberProp = numberProp;
if (this.NumberProp != null) this._flagNumberProp = true;
this._BooleanProp = booleanProp;
if (this.BooleanProp != null) this._flagBooleanProp = true;
this._StringProp = stringProp;
if (this.StringProp != null) this._flagStringProp = true;
this._DateProp = dateProp;
if (this.DateProp != null) this._flagDateProp = true;
this._DatetimeProp = datetimeProp;
if (this.DatetimeProp != null) this._flagDatetimeProp = true;
this._ArrayNullableProp = arrayNullableProp;
if (this.ArrayNullableProp != null) this._flagArrayNullableProp = true;
this._ArrayAndItemsNullableProp = arrayAndItemsNullableProp;
if (this.ArrayAndItemsNullableProp != null) this._flagArrayAndItemsNullableProp = true;
this._ArrayItemsNullable = arrayItemsNullable;
if (this.ArrayItemsNullable != null) this._flagArrayItemsNullable = true;
this._ObjectNullableProp = objectNullableProp;
if (this.ObjectNullableProp != null) this._flagObjectNullableProp = true;
this._ObjectAndItemsNullableProp = objectAndItemsNullableProp;
if (this.ObjectAndItemsNullableProp != null) this._flagObjectAndItemsNullableProp = true;
this._ObjectItemsNullable = objectItemsNullable;
if (this.ObjectItemsNullable != null) this._flagObjectItemsNullable = true;
}
/// <summary>

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public NumberOnly(decimal justNumber = default(decimal))
{
this._JustNumber = justNumber;
if (this.JustNumber != null) this._flagJustNumber = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -42,9 +42,13 @@ namespace Org.OpenAPITools.Model
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>();
}

View File

@@ -98,10 +98,15 @@ namespace Org.OpenAPITools.Model
public Order(long id = default(long), long petId = default(long), int quantity = default(int), DateTime shipDate = default(DateTime), StatusEnum? status = default(StatusEnum?), bool complete = false)
{
this._Id = id;
if (this.Id != null) this._flagId = true;
this._PetId = petId;
if (this.PetId != null) this._flagPetId = true;
this._Quantity = quantity;
if (this.Quantity != null) this._flagQuantity = true;
this._ShipDate = shipDate;
if (this.ShipDate != null) this._flagShipDate = true;
this._Status = status;
if (this.Status != null) this._flagStatus = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -41,8 +41,11 @@ namespace Org.OpenAPITools.Model
public OuterComposite(decimal myNumber = default(decimal), string myString = default(string), bool myBoolean = default(bool))
{
this._MyNumber = myNumber;
if (this.MyNumber != null) this._flagMyNumber = true;
this._MyString = myString;
if (this.MyString != null) this._flagMyString = true;
this._MyBoolean = myBoolean;
if (this.MyBoolean != null) this._flagMyBoolean = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -116,9 +116,13 @@ namespace Org.OpenAPITools.Model
}
this._PhotoUrls = photoUrls;
this._Id = id;
if (this.Id != null) this._flagId = true;
this._Category = category;
if (this.Category != null) this._flagCategory = true;
this._Tags = tags;
if (this.Tags != null) this._flagTags = true;
this._Status = status;
if (this.Status != null) this._flagStatus = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public ReadOnlyFirst(string baz = default(string))
{
this._Baz = baz;
if (this.Baz != null) this._flagBaz = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -39,6 +39,7 @@ namespace Org.OpenAPITools.Model
public Return(int _return = default(int))
{
this.__Return = _return;
if (this._Return != null) this._flag_Return = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -40,7 +40,9 @@ namespace Org.OpenAPITools.Model
public SpecialModelName(long specialPropertyName = default(long), string specialModelName = default(string))
{
this._SpecialPropertyName = specialPropertyName;
if (this.SpecialPropertyName != null) this._flagSpecialPropertyName = true;
this.__SpecialModelName = specialModelName;
if (this._SpecialModelName != null) this._flag_SpecialModelName = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -40,7 +40,9 @@ namespace Org.OpenAPITools.Model
public Tag(long id = default(long), string name = default(string))
{
this._Id = id;
if (this.Id != null) this._flagId = true;
this._Name = name;
if (this.Name != null) this._flagName = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -50,17 +50,29 @@ namespace Org.OpenAPITools.Model
public User(long id = default(long), string username = default(string), string firstName = default(string), string lastName = default(string), string email = default(string), string password = default(string), string phone = default(string), int userStatus = default(int), Object objectWithNoDeclaredProps = default(Object), Object objectWithNoDeclaredPropsNullable = default(Object), Object anyTypeProp = default(Object), Object anyTypePropNullable = default(Object))
{
this._Id = id;
if (this.Id != null) this._flagId = true;
this._Username = username;
if (this.Username != null) this._flagUsername = true;
this._FirstName = firstName;
if (this.FirstName != null) this._flagFirstName = true;
this._LastName = lastName;
if (this.LastName != null) this._flagLastName = true;
this._Email = email;
if (this.Email != null) this._flagEmail = true;
this._Password = password;
if (this.Password != null) this._flagPassword = true;
this._Phone = phone;
if (this.Phone != null) this._flagPhone = true;
this._UserStatus = userStatus;
if (this.UserStatus != null) this._flagUserStatus = true;
this._ObjectWithNoDeclaredProps = objectWithNoDeclaredProps;
if (this.ObjectWithNoDeclaredProps != null) this._flagObjectWithNoDeclaredProps = true;
this._ObjectWithNoDeclaredPropsNullable = objectWithNoDeclaredPropsNullable;
if (this.ObjectWithNoDeclaredPropsNullable != null) this._flagObjectWithNoDeclaredPropsNullable = true;
this._AnyTypeProp = anyTypeProp;
if (this.AnyTypeProp != null) this._flagAnyTypeProp = true;
this._AnyTypePropNullable = anyTypePropNullable;
if (this.AnyTypePropNullable != null) this._flagAnyTypePropNullable = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -54,7 +54,9 @@ namespace Org.OpenAPITools.Model
}
this._ClassName = className;
this._HasBaleen = hasBaleen;
if (this.HasBaleen != null) this._flagHasBaleen = true;
this._HasTeeth = hasTeeth;
if (this.HasTeeth != null) this._flagHasTeeth = true;
this.AdditionalProperties = new Dictionary<string, object>();
}

View File

@@ -105,6 +105,7 @@ namespace Org.OpenAPITools.Model
}
this._ClassName = className;
this._Type = type;
if (this.Type != null) this._flagType = true;
this.AdditionalProperties = new Dictionary<string, object>();
}