diff --git a/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache b/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache index c03ea276b1a..5d8beeda3b9 100644 --- a/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache +++ b/modules/openapi-generator/src/main/resources/csharp-netcore/modelGeneric.mustache @@ -193,6 +193,7 @@ ( this.{{name}} == input.{{name}} || this.{{name}} != null && + input.{{name}} != null && this.{{name}}.SequenceEqual(input.{{name}}) ){{#hasMore}} && {{/hasMore}}{{/isContainer}}{{/vars}}{{^vars}}{{#parent}}base.Equals(input){{/parent}}{{^parent}}false{{/parent}}{{/vars}}; {{/useCompareNetObjects}} diff --git a/modules/openapi-generator/src/main/resources/csharp/modelGeneric.mustache b/modules/openapi-generator/src/main/resources/csharp/modelGeneric.mustache index ddeb2563e1d..688062a9077 100644 --- a/modules/openapi-generator/src/main/resources/csharp/modelGeneric.mustache +++ b/modules/openapi-generator/src/main/resources/csharp/modelGeneric.mustache @@ -171,6 +171,7 @@ this.{{name}} = {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}; ( this.{{name}} == input.{{name}} || this.{{name}} != null && + input.{{name}} != null && this.{{name}}.SequenceEqual(input.{{name}}) ){{#hasMore}} && {{/hasMore}}{{/isContainer}}{{/vars}}{{^vars}}{{#parent}}base.Equals(input){{/parent}}{{^parent}}false{{/parent}}{{/vars}}; } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index d426d83770e..ff12e67bf15 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -181,41 +181,49 @@ namespace Org.OpenAPITools.Model ( this.MapString == input.MapString || this.MapString != null && + input.MapString != null && this.MapString.SequenceEqual(input.MapString) ) && ( this.MapNumber == input.MapNumber || this.MapNumber != null && + input.MapNumber != null && this.MapNumber.SequenceEqual(input.MapNumber) ) && ( this.MapInteger == input.MapInteger || this.MapInteger != null && + input.MapInteger != null && this.MapInteger.SequenceEqual(input.MapInteger) ) && ( this.MapBoolean == input.MapBoolean || this.MapBoolean != null && + input.MapBoolean != null && this.MapBoolean.SequenceEqual(input.MapBoolean) ) && ( this.MapArrayInteger == input.MapArrayInteger || this.MapArrayInteger != null && + input.MapArrayInteger != null && this.MapArrayInteger.SequenceEqual(input.MapArrayInteger) ) && ( this.MapArrayAnytype == input.MapArrayAnytype || this.MapArrayAnytype != null && + input.MapArrayAnytype != null && this.MapArrayAnytype.SequenceEqual(input.MapArrayAnytype) ) && ( this.MapMapString == input.MapMapString || this.MapMapString != null && + input.MapMapString != null && this.MapMapString.SequenceEqual(input.MapMapString) ) && ( this.MapMapAnytype == input.MapMapAnytype || this.MapMapAnytype != null && + input.MapMapAnytype != null && this.MapMapAnytype.SequenceEqual(input.MapMapAnytype) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index eb23cf99943..1bf2bf1bd24 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -91,6 +91,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayArrayNumber == input.ArrayArrayNumber || this.ArrayArrayNumber != null && + input.ArrayArrayNumber != null && this.ArrayArrayNumber.SequenceEqual(input.ArrayArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index a1aac93fc2f..8c4140dbc47 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -91,6 +91,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayNumber == input.ArrayNumber || this.ArrayNumber != null && + input.ArrayNumber != null && this.ArrayNumber.SequenceEqual(input.ArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs index c99d9289344..5c44643bc01 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -109,16 +109,19 @@ namespace Org.OpenAPITools.Model ( this.ArrayOfString == input.ArrayOfString || this.ArrayOfString != null && + input.ArrayOfString != null && this.ArrayOfString.SequenceEqual(input.ArrayOfString) ) && ( this.ArrayArrayOfInteger == input.ArrayArrayOfInteger || this.ArrayArrayOfInteger != null && + input.ArrayArrayOfInteger != null && this.ArrayArrayOfInteger.SequenceEqual(input.ArrayArrayOfInteger) ) && ( this.ArrayArrayOfModel == input.ArrayArrayOfModel || this.ArrayArrayOfModel != null && + input.ArrayArrayOfModel != null && this.ArrayArrayOfModel.SequenceEqual(input.ArrayArrayOfModel) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs index 567a207068c..1fb6adf6887 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -146,6 +146,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayEnum == input.ArrayEnum || this.ArrayEnum != null && + input.ArrayEnum != null && this.ArrayEnum.SequenceEqual(input.ArrayEnum) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 7853ca2a0de..95983ccdb2e 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -105,6 +105,7 @@ namespace Org.OpenAPITools.Model ( this.Files == input.Files || this.Files != null && + input.Files != null && this.Files.SequenceEqual(input.Files) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs index 3f44bcf22ea..a64cd89eecc 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/MapTest.cs @@ -139,21 +139,25 @@ namespace Org.OpenAPITools.Model ( this.MapMapOfString == input.MapMapOfString || this.MapMapOfString != null && + input.MapMapOfString != null && this.MapMapOfString.SequenceEqual(input.MapMapOfString) ) && ( this.MapOfEnumString == input.MapOfEnumString || this.MapOfEnumString != null && + input.MapOfEnumString != null && this.MapOfEnumString.SequenceEqual(input.MapOfEnumString) ) && ( this.DirectMap == input.DirectMap || this.DirectMap != null && + input.DirectMap != null && this.DirectMap.SequenceEqual(input.DirectMap) ) && ( this.IndirectMap == input.IndirectMap || this.IndirectMap != null && + input.IndirectMap != null && this.IndirectMap.SequenceEqual(input.IndirectMap) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 19df6fd3489..26df7b3b14a 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -119,6 +119,7 @@ namespace Org.OpenAPITools.Model ( this.Map == input.Map || this.Map != null && + input.Map != null && this.Map.SequenceEqual(input.Map) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs index 619d1a7a58b..d839db6fb5f 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/Pet.cs @@ -202,11 +202,13 @@ namespace Org.OpenAPITools.Model ( this.PhotoUrls == input.PhotoUrls || this.PhotoUrls != null && + input.PhotoUrls != null && this.PhotoUrls.SequenceEqual(input.PhotoUrls) ) && ( this.Tags == input.Tags || this.Tags != null && + input.Tags != null && this.Tags.SequenceEqual(input.Tags) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/TypeHolderDefault.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/TypeHolderDefault.cs index 0e0c1ee4fae..5cf9cf5c167 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/TypeHolderDefault.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/TypeHolderDefault.cs @@ -197,6 +197,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/TypeHolderExample.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/TypeHolderExample.cs index 4cf24af6493..9798485f8d9 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/TypeHolderExample.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/TypeHolderExample.cs @@ -197,6 +197,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/XmlItem.cs b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/XmlItem.cs index 2ea201abda0..bdda6297371 100644 --- a/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/XmlItem.cs +++ b/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Model/XmlItem.cs @@ -363,6 +363,7 @@ namespace Org.OpenAPITools.Model ( this.WrappedArray == input.WrappedArray || this.WrappedArray != null && + input.WrappedArray != null && this.WrappedArray.SequenceEqual(input.WrappedArray) ) && ( @@ -388,11 +389,13 @@ namespace Org.OpenAPITools.Model ( this.NameArray == input.NameArray || this.NameArray != null && + input.NameArray != null && this.NameArray.SequenceEqual(input.NameArray) ) && ( this.NameWrappedArray == input.NameWrappedArray || this.NameWrappedArray != null && + input.NameWrappedArray != null && this.NameWrappedArray.SequenceEqual(input.NameWrappedArray) ) && ( @@ -418,11 +421,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixArray == input.PrefixArray || this.PrefixArray != null && + input.PrefixArray != null && this.PrefixArray.SequenceEqual(input.PrefixArray) ) && ( this.PrefixWrappedArray == input.PrefixWrappedArray || this.PrefixWrappedArray != null && + input.PrefixWrappedArray != null && this.PrefixWrappedArray.SequenceEqual(input.PrefixWrappedArray) ) && ( @@ -448,11 +453,13 @@ namespace Org.OpenAPITools.Model ( this.NamespaceArray == input.NamespaceArray || this.NamespaceArray != null && + input.NamespaceArray != null && this.NamespaceArray.SequenceEqual(input.NamespaceArray) ) && ( this.NamespaceWrappedArray == input.NamespaceWrappedArray || this.NamespaceWrappedArray != null && + input.NamespaceWrappedArray != null && this.NamespaceWrappedArray.SequenceEqual(input.NamespaceWrappedArray) ) && ( @@ -478,11 +485,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixNsArray == input.PrefixNsArray || this.PrefixNsArray != null && + input.PrefixNsArray != null && this.PrefixNsArray.SequenceEqual(input.PrefixNsArray) ) && ( this.PrefixNsWrappedArray == input.PrefixNsWrappedArray || this.PrefixNsWrappedArray != null && + input.PrefixNsWrappedArray != null && this.PrefixNsWrappedArray.SequenceEqual(input.PrefixNsWrappedArray) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 95a5645f540..ff500111953 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -181,41 +181,49 @@ namespace Org.OpenAPITools.Model ( this.MapString == input.MapString || this.MapString != null && + input.MapString != null && this.MapString.SequenceEqual(input.MapString) ) && ( this.MapNumber == input.MapNumber || this.MapNumber != null && + input.MapNumber != null && this.MapNumber.SequenceEqual(input.MapNumber) ) && ( this.MapInteger == input.MapInteger || this.MapInteger != null && + input.MapInteger != null && this.MapInteger.SequenceEqual(input.MapInteger) ) && ( this.MapBoolean == input.MapBoolean || this.MapBoolean != null && + input.MapBoolean != null && this.MapBoolean.SequenceEqual(input.MapBoolean) ) && ( this.MapArrayInteger == input.MapArrayInteger || this.MapArrayInteger != null && + input.MapArrayInteger != null && this.MapArrayInteger.SequenceEqual(input.MapArrayInteger) ) && ( this.MapArrayAnytype == input.MapArrayAnytype || this.MapArrayAnytype != null && + input.MapArrayAnytype != null && this.MapArrayAnytype.SequenceEqual(input.MapArrayAnytype) ) && ( this.MapMapString == input.MapMapString || this.MapMapString != null && + input.MapMapString != null && this.MapMapString.SequenceEqual(input.MapMapString) ) && ( this.MapMapAnytype == input.MapMapAnytype || this.MapMapAnytype != null && + input.MapMapAnytype != null && this.MapMapAnytype.SequenceEqual(input.MapMapAnytype) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index c93805a7ce3..80cc9092394 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -91,6 +91,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayArrayNumber == input.ArrayArrayNumber || this.ArrayArrayNumber != null && + input.ArrayArrayNumber != null && this.ArrayArrayNumber.SequenceEqual(input.ArrayArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index 50c675c8b5e..68a75417bef 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -91,6 +91,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayNumber == input.ArrayNumber || this.ArrayNumber != null && + input.ArrayNumber != null && this.ArrayNumber.SequenceEqual(input.ArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayTest.cs index ebdf9414677..e17b73fe828 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -109,16 +109,19 @@ namespace Org.OpenAPITools.Model ( this.ArrayOfString == input.ArrayOfString || this.ArrayOfString != null && + input.ArrayOfString != null && this.ArrayOfString.SequenceEqual(input.ArrayOfString) ) && ( this.ArrayArrayOfInteger == input.ArrayArrayOfInteger || this.ArrayArrayOfInteger != null && + input.ArrayArrayOfInteger != null && this.ArrayArrayOfInteger.SequenceEqual(input.ArrayArrayOfInteger) ) && ( this.ArrayArrayOfModel == input.ArrayArrayOfModel || this.ArrayArrayOfModel != null && + input.ArrayArrayOfModel != null && this.ArrayArrayOfModel.SequenceEqual(input.ArrayArrayOfModel) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/EnumArrays.cs index b8b86f0038a..8d643d37d00 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -146,6 +146,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayEnum == input.ArrayEnum || this.ArrayEnum != null && + input.ArrayEnum != null && this.ArrayEnum.SequenceEqual(input.ArrayEnum) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 990c96b80b5..b679477f7aa 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -105,6 +105,7 @@ namespace Org.OpenAPITools.Model ( this.Files == input.Files || this.Files != null && + input.Files != null && this.Files.SequenceEqual(input.Files) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/MapTest.cs index bc7166dfbfd..804a11c4f67 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/MapTest.cs @@ -139,21 +139,25 @@ namespace Org.OpenAPITools.Model ( this.MapMapOfString == input.MapMapOfString || this.MapMapOfString != null && + input.MapMapOfString != null && this.MapMapOfString.SequenceEqual(input.MapMapOfString) ) && ( this.MapOfEnumString == input.MapOfEnumString || this.MapOfEnumString != null && + input.MapOfEnumString != null && this.MapOfEnumString.SequenceEqual(input.MapOfEnumString) ) && ( this.DirectMap == input.DirectMap || this.DirectMap != null && + input.DirectMap != null && this.DirectMap.SequenceEqual(input.DirectMap) ) && ( this.IndirectMap == input.IndirectMap || this.IndirectMap != null && + input.IndirectMap != null && this.IndirectMap.SequenceEqual(input.IndirectMap) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 45e8386df73..8edb41201c0 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -119,6 +119,7 @@ namespace Org.OpenAPITools.Model ( this.Map == input.Map || this.Map != null && + input.Map != null && this.Map.SequenceEqual(input.Map) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/Pet.cs index 4ac703882a5..748ff6dbbd0 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/Pet.cs @@ -202,11 +202,13 @@ namespace Org.OpenAPITools.Model ( this.PhotoUrls == input.PhotoUrls || this.PhotoUrls != null && + input.PhotoUrls != null && this.PhotoUrls.SequenceEqual(input.PhotoUrls) ) && ( this.Tags == input.Tags || this.Tags != null && + input.Tags != null && this.Tags.SequenceEqual(input.Tags) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/TypeHolderDefault.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/TypeHolderDefault.cs index ad47bbdecc5..ab410c00523 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/TypeHolderDefault.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/TypeHolderDefault.cs @@ -197,6 +197,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/TypeHolderExample.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/TypeHolderExample.cs index 071a97aa7f4..7f63275418b 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/TypeHolderExample.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/TypeHolderExample.cs @@ -197,6 +197,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/XmlItem.cs b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/XmlItem.cs index 234345c860b..8831868f206 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/XmlItem.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/XmlItem.cs @@ -363,6 +363,7 @@ namespace Org.OpenAPITools.Model ( this.WrappedArray == input.WrappedArray || this.WrappedArray != null && + input.WrappedArray != null && this.WrappedArray.SequenceEqual(input.WrappedArray) ) && ( @@ -388,11 +389,13 @@ namespace Org.OpenAPITools.Model ( this.NameArray == input.NameArray || this.NameArray != null && + input.NameArray != null && this.NameArray.SequenceEqual(input.NameArray) ) && ( this.NameWrappedArray == input.NameWrappedArray || this.NameWrappedArray != null && + input.NameWrappedArray != null && this.NameWrappedArray.SequenceEqual(input.NameWrappedArray) ) && ( @@ -418,11 +421,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixArray == input.PrefixArray || this.PrefixArray != null && + input.PrefixArray != null && this.PrefixArray.SequenceEqual(input.PrefixArray) ) && ( this.PrefixWrappedArray == input.PrefixWrappedArray || this.PrefixWrappedArray != null && + input.PrefixWrappedArray != null && this.PrefixWrappedArray.SequenceEqual(input.PrefixWrappedArray) ) && ( @@ -448,11 +453,13 @@ namespace Org.OpenAPITools.Model ( this.NamespaceArray == input.NamespaceArray || this.NamespaceArray != null && + input.NamespaceArray != null && this.NamespaceArray.SequenceEqual(input.NamespaceArray) ) && ( this.NamespaceWrappedArray == input.NamespaceWrappedArray || this.NamespaceWrappedArray != null && + input.NamespaceWrappedArray != null && this.NamespaceWrappedArray.SequenceEqual(input.NamespaceWrappedArray) ) && ( @@ -478,11 +485,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixNsArray == input.PrefixNsArray || this.PrefixNsArray != null && + input.PrefixNsArray != null && this.PrefixNsArray.SequenceEqual(input.PrefixNsArray) ) && ( this.PrefixNsWrappedArray == input.PrefixNsWrappedArray || this.PrefixNsWrappedArray != null && + input.PrefixNsWrappedArray != null && this.PrefixNsWrappedArray.SequenceEqual(input.PrefixNsWrappedArray) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index d426d83770e..ff12e67bf15 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -181,41 +181,49 @@ namespace Org.OpenAPITools.Model ( this.MapString == input.MapString || this.MapString != null && + input.MapString != null && this.MapString.SequenceEqual(input.MapString) ) && ( this.MapNumber == input.MapNumber || this.MapNumber != null && + input.MapNumber != null && this.MapNumber.SequenceEqual(input.MapNumber) ) && ( this.MapInteger == input.MapInteger || this.MapInteger != null && + input.MapInteger != null && this.MapInteger.SequenceEqual(input.MapInteger) ) && ( this.MapBoolean == input.MapBoolean || this.MapBoolean != null && + input.MapBoolean != null && this.MapBoolean.SequenceEqual(input.MapBoolean) ) && ( this.MapArrayInteger == input.MapArrayInteger || this.MapArrayInteger != null && + input.MapArrayInteger != null && this.MapArrayInteger.SequenceEqual(input.MapArrayInteger) ) && ( this.MapArrayAnytype == input.MapArrayAnytype || this.MapArrayAnytype != null && + input.MapArrayAnytype != null && this.MapArrayAnytype.SequenceEqual(input.MapArrayAnytype) ) && ( this.MapMapString == input.MapMapString || this.MapMapString != null && + input.MapMapString != null && this.MapMapString.SequenceEqual(input.MapMapString) ) && ( this.MapMapAnytype == input.MapMapAnytype || this.MapMapAnytype != null && + input.MapMapAnytype != null && this.MapMapAnytype.SequenceEqual(input.MapMapAnytype) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index eb23cf99943..1bf2bf1bd24 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -91,6 +91,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayArrayNumber == input.ArrayArrayNumber || this.ArrayArrayNumber != null && + input.ArrayArrayNumber != null && this.ArrayArrayNumber.SequenceEqual(input.ArrayArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index a1aac93fc2f..8c4140dbc47 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -91,6 +91,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayNumber == input.ArrayNumber || this.ArrayNumber != null && + input.ArrayNumber != null && this.ArrayNumber.SequenceEqual(input.ArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayTest.cs index c99d9289344..5c44643bc01 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -109,16 +109,19 @@ namespace Org.OpenAPITools.Model ( this.ArrayOfString == input.ArrayOfString || this.ArrayOfString != null && + input.ArrayOfString != null && this.ArrayOfString.SequenceEqual(input.ArrayOfString) ) && ( this.ArrayArrayOfInteger == input.ArrayArrayOfInteger || this.ArrayArrayOfInteger != null && + input.ArrayArrayOfInteger != null && this.ArrayArrayOfInteger.SequenceEqual(input.ArrayArrayOfInteger) ) && ( this.ArrayArrayOfModel == input.ArrayArrayOfModel || this.ArrayArrayOfModel != null && + input.ArrayArrayOfModel != null && this.ArrayArrayOfModel.SequenceEqual(input.ArrayArrayOfModel) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/EnumArrays.cs index 567a207068c..1fb6adf6887 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -146,6 +146,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayEnum == input.ArrayEnum || this.ArrayEnum != null && + input.ArrayEnum != null && this.ArrayEnum.SequenceEqual(input.ArrayEnum) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 7853ca2a0de..95983ccdb2e 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -105,6 +105,7 @@ namespace Org.OpenAPITools.Model ( this.Files == input.Files || this.Files != null && + input.Files != null && this.Files.SequenceEqual(input.Files) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/MapTest.cs index 3f44bcf22ea..a64cd89eecc 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/MapTest.cs @@ -139,21 +139,25 @@ namespace Org.OpenAPITools.Model ( this.MapMapOfString == input.MapMapOfString || this.MapMapOfString != null && + input.MapMapOfString != null && this.MapMapOfString.SequenceEqual(input.MapMapOfString) ) && ( this.MapOfEnumString == input.MapOfEnumString || this.MapOfEnumString != null && + input.MapOfEnumString != null && this.MapOfEnumString.SequenceEqual(input.MapOfEnumString) ) && ( this.DirectMap == input.DirectMap || this.DirectMap != null && + input.DirectMap != null && this.DirectMap.SequenceEqual(input.DirectMap) ) && ( this.IndirectMap == input.IndirectMap || this.IndirectMap != null && + input.IndirectMap != null && this.IndirectMap.SequenceEqual(input.IndirectMap) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 19df6fd3489..26df7b3b14a 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -119,6 +119,7 @@ namespace Org.OpenAPITools.Model ( this.Map == input.Map || this.Map != null && + input.Map != null && this.Map.SequenceEqual(input.Map) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/Pet.cs index 619d1a7a58b..d839db6fb5f 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/Pet.cs @@ -202,11 +202,13 @@ namespace Org.OpenAPITools.Model ( this.PhotoUrls == input.PhotoUrls || this.PhotoUrls != null && + input.PhotoUrls != null && this.PhotoUrls.SequenceEqual(input.PhotoUrls) ) && ( this.Tags == input.Tags || this.Tags != null && + input.Tags != null && this.Tags.SequenceEqual(input.Tags) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/TypeHolderDefault.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/TypeHolderDefault.cs index 0e0c1ee4fae..5cf9cf5c167 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/TypeHolderDefault.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/TypeHolderDefault.cs @@ -197,6 +197,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/TypeHolderExample.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/TypeHolderExample.cs index 4cf24af6493..9798485f8d9 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/TypeHolderExample.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/TypeHolderExample.cs @@ -197,6 +197,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/XmlItem.cs b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/XmlItem.cs index 2ea201abda0..bdda6297371 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/XmlItem.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNet40/src/Org.OpenAPITools/Model/XmlItem.cs @@ -363,6 +363,7 @@ namespace Org.OpenAPITools.Model ( this.WrappedArray == input.WrappedArray || this.WrappedArray != null && + input.WrappedArray != null && this.WrappedArray.SequenceEqual(input.WrappedArray) ) && ( @@ -388,11 +389,13 @@ namespace Org.OpenAPITools.Model ( this.NameArray == input.NameArray || this.NameArray != null && + input.NameArray != null && this.NameArray.SequenceEqual(input.NameArray) ) && ( this.NameWrappedArray == input.NameWrappedArray || this.NameWrappedArray != null && + input.NameWrappedArray != null && this.NameWrappedArray.SequenceEqual(input.NameWrappedArray) ) && ( @@ -418,11 +421,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixArray == input.PrefixArray || this.PrefixArray != null && + input.PrefixArray != null && this.PrefixArray.SequenceEqual(input.PrefixArray) ) && ( this.PrefixWrappedArray == input.PrefixWrappedArray || this.PrefixWrappedArray != null && + input.PrefixWrappedArray != null && this.PrefixWrappedArray.SequenceEqual(input.PrefixWrappedArray) ) && ( @@ -448,11 +453,13 @@ namespace Org.OpenAPITools.Model ( this.NamespaceArray == input.NamespaceArray || this.NamespaceArray != null && + input.NamespaceArray != null && this.NamespaceArray.SequenceEqual(input.NamespaceArray) ) && ( this.NamespaceWrappedArray == input.NamespaceWrappedArray || this.NamespaceWrappedArray != null && + input.NamespaceWrappedArray != null && this.NamespaceWrappedArray.SequenceEqual(input.NamespaceWrappedArray) ) && ( @@ -478,11 +485,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixNsArray == input.PrefixNsArray || this.PrefixNsArray != null && + input.PrefixNsArray != null && this.PrefixNsArray.SequenceEqual(input.PrefixNsArray) ) && ( this.PrefixNsWrappedArray == input.PrefixNsWrappedArray || this.PrefixNsWrappedArray != null && + input.PrefixNsWrappedArray != null && this.PrefixNsWrappedArray.SequenceEqual(input.PrefixNsWrappedArray) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 5b18519f342..a962da564fc 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -179,41 +179,49 @@ namespace Org.OpenAPITools.Model ( this.MapString == input.MapString || this.MapString != null && + input.MapString != null && this.MapString.SequenceEqual(input.MapString) ) && ( this.MapNumber == input.MapNumber || this.MapNumber != null && + input.MapNumber != null && this.MapNumber.SequenceEqual(input.MapNumber) ) && ( this.MapInteger == input.MapInteger || this.MapInteger != null && + input.MapInteger != null && this.MapInteger.SequenceEqual(input.MapInteger) ) && ( this.MapBoolean == input.MapBoolean || this.MapBoolean != null && + input.MapBoolean != null && this.MapBoolean.SequenceEqual(input.MapBoolean) ) && ( this.MapArrayInteger == input.MapArrayInteger || this.MapArrayInteger != null && + input.MapArrayInteger != null && this.MapArrayInteger.SequenceEqual(input.MapArrayInteger) ) && ( this.MapArrayAnytype == input.MapArrayAnytype || this.MapArrayAnytype != null && + input.MapArrayAnytype != null && this.MapArrayAnytype.SequenceEqual(input.MapArrayAnytype) ) && ( this.MapMapString == input.MapMapString || this.MapMapString != null && + input.MapMapString != null && this.MapMapString.SequenceEqual(input.MapMapString) ) && ( this.MapMapAnytype == input.MapMapAnytype || this.MapMapAnytype != null && + input.MapMapAnytype != null && this.MapMapAnytype.SequenceEqual(input.MapMapAnytype) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 5473bd7b9b1..5f8e9a0a5cd 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -89,6 +89,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayArrayNumber == input.ArrayArrayNumber || this.ArrayArrayNumber != null && + input.ArrayArrayNumber != null && this.ArrayArrayNumber.SequenceEqual(input.ArrayArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index 22a5449658b..a5c3582224d 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -89,6 +89,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayNumber == input.ArrayNumber || this.ArrayNumber != null && + input.ArrayNumber != null && this.ArrayNumber.SequenceEqual(input.ArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayTest.cs index 9d7d5e9800b..e2fe6b3bad4 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -107,16 +107,19 @@ namespace Org.OpenAPITools.Model ( this.ArrayOfString == input.ArrayOfString || this.ArrayOfString != null && + input.ArrayOfString != null && this.ArrayOfString.SequenceEqual(input.ArrayOfString) ) && ( this.ArrayArrayOfInteger == input.ArrayArrayOfInteger || this.ArrayArrayOfInteger != null && + input.ArrayArrayOfInteger != null && this.ArrayArrayOfInteger.SequenceEqual(input.ArrayArrayOfInteger) ) && ( this.ArrayArrayOfModel == input.ArrayArrayOfModel || this.ArrayArrayOfModel != null && + input.ArrayArrayOfModel != null && this.ArrayArrayOfModel.SequenceEqual(input.ArrayArrayOfModel) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/EnumArrays.cs index 7490299730c..1b2ace3163b 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -144,6 +144,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayEnum == input.ArrayEnum || this.ArrayEnum != null && + input.ArrayEnum != null && this.ArrayEnum.SequenceEqual(input.ArrayEnum) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 1203ce22c0c..1c8a4f43c8c 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -103,6 +103,7 @@ namespace Org.OpenAPITools.Model ( this.Files == input.Files || this.Files != null && + input.Files != null && this.Files.SequenceEqual(input.Files) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/MapTest.cs index 8a85cf487f8..e9ff16a5d66 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/MapTest.cs @@ -137,21 +137,25 @@ namespace Org.OpenAPITools.Model ( this.MapMapOfString == input.MapMapOfString || this.MapMapOfString != null && + input.MapMapOfString != null && this.MapMapOfString.SequenceEqual(input.MapMapOfString) ) && ( this.MapOfEnumString == input.MapOfEnumString || this.MapOfEnumString != null && + input.MapOfEnumString != null && this.MapOfEnumString.SequenceEqual(input.MapOfEnumString) ) && ( this.DirectMap == input.DirectMap || this.DirectMap != null && + input.DirectMap != null && this.DirectMap.SequenceEqual(input.DirectMap) ) && ( this.IndirectMap == input.IndirectMap || this.IndirectMap != null && + input.IndirectMap != null && this.IndirectMap.SequenceEqual(input.IndirectMap) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 4293c876ecd..e29d80ce719 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -117,6 +117,7 @@ namespace Org.OpenAPITools.Model ( this.Map == input.Map || this.Map != null && + input.Map != null && this.Map.SequenceEqual(input.Map) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/Pet.cs index 128919fd56f..348520db912 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/Pet.cs @@ -200,11 +200,13 @@ namespace Org.OpenAPITools.Model ( this.PhotoUrls == input.PhotoUrls || this.PhotoUrls != null && + input.PhotoUrls != null && this.PhotoUrls.SequenceEqual(input.PhotoUrls) ) && ( this.Tags == input.Tags || this.Tags != null && + input.Tags != null && this.Tags.SequenceEqual(input.Tags) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/TypeHolderDefault.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/TypeHolderDefault.cs index bce6eb46f86..d670c863060 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/TypeHolderDefault.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/TypeHolderDefault.cs @@ -195,6 +195,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/TypeHolderExample.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/TypeHolderExample.cs index ec7fd2d815f..bcf6056c09a 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/TypeHolderExample.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/TypeHolderExample.cs @@ -195,6 +195,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/XmlItem.cs b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/XmlItem.cs index abade53ccb5..e7998ec563a 100644 --- a/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/XmlItem.cs +++ b/samples/client/petstore/csharp/OpenAPIClientNetStandard/src/Org.OpenAPITools/Model/XmlItem.cs @@ -361,6 +361,7 @@ namespace Org.OpenAPITools.Model ( this.WrappedArray == input.WrappedArray || this.WrappedArray != null && + input.WrappedArray != null && this.WrappedArray.SequenceEqual(input.WrappedArray) ) && ( @@ -386,11 +387,13 @@ namespace Org.OpenAPITools.Model ( this.NameArray == input.NameArray || this.NameArray != null && + input.NameArray != null && this.NameArray.SequenceEqual(input.NameArray) ) && ( this.NameWrappedArray == input.NameWrappedArray || this.NameWrappedArray != null && + input.NameWrappedArray != null && this.NameWrappedArray.SequenceEqual(input.NameWrappedArray) ) && ( @@ -416,11 +419,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixArray == input.PrefixArray || this.PrefixArray != null && + input.PrefixArray != null && this.PrefixArray.SequenceEqual(input.PrefixArray) ) && ( this.PrefixWrappedArray == input.PrefixWrappedArray || this.PrefixWrappedArray != null && + input.PrefixWrappedArray != null && this.PrefixWrappedArray.SequenceEqual(input.PrefixWrappedArray) ) && ( @@ -446,11 +451,13 @@ namespace Org.OpenAPITools.Model ( this.NamespaceArray == input.NamespaceArray || this.NamespaceArray != null && + input.NamespaceArray != null && this.NamespaceArray.SequenceEqual(input.NamespaceArray) ) && ( this.NamespaceWrappedArray == input.NamespaceWrappedArray || this.NamespaceWrappedArray != null && + input.NamespaceWrappedArray != null && this.NamespaceWrappedArray.SequenceEqual(input.NamespaceWrappedArray) ) && ( @@ -476,11 +483,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixNsArray == input.PrefixNsArray || this.PrefixNsArray != null && + input.PrefixNsArray != null && this.PrefixNsArray.SequenceEqual(input.PrefixNsArray) ) && ( this.PrefixNsWrappedArray == input.PrefixNsWrappedArray || this.PrefixNsWrappedArray != null && + input.PrefixNsWrappedArray != null && this.PrefixNsWrappedArray.SequenceEqual(input.PrefixNsWrappedArray) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 940f598817f..6561533698d 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -184,41 +184,49 @@ namespace Org.OpenAPITools.Model ( this.MapString == input.MapString || this.MapString != null && + input.MapString != null && this.MapString.SequenceEqual(input.MapString) ) && ( this.MapNumber == input.MapNumber || this.MapNumber != null && + input.MapNumber != null && this.MapNumber.SequenceEqual(input.MapNumber) ) && ( this.MapInteger == input.MapInteger || this.MapInteger != null && + input.MapInteger != null && this.MapInteger.SequenceEqual(input.MapInteger) ) && ( this.MapBoolean == input.MapBoolean || this.MapBoolean != null && + input.MapBoolean != null && this.MapBoolean.SequenceEqual(input.MapBoolean) ) && ( this.MapArrayInteger == input.MapArrayInteger || this.MapArrayInteger != null && + input.MapArrayInteger != null && this.MapArrayInteger.SequenceEqual(input.MapArrayInteger) ) && ( this.MapArrayAnytype == input.MapArrayAnytype || this.MapArrayAnytype != null && + input.MapArrayAnytype != null && this.MapArrayAnytype.SequenceEqual(input.MapArrayAnytype) ) && ( this.MapMapString == input.MapMapString || this.MapMapString != null && + input.MapMapString != null && this.MapMapString.SequenceEqual(input.MapMapString) ) && ( this.MapMapAnytype == input.MapMapAnytype || this.MapMapAnytype != null && + input.MapMapAnytype != null && this.MapMapAnytype.SequenceEqual(input.MapMapAnytype) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 3006aee08f7..278fc25f914 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -94,6 +94,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayArrayNumber == input.ArrayArrayNumber || this.ArrayArrayNumber != null && + input.ArrayArrayNumber != null && this.ArrayArrayNumber.SequenceEqual(input.ArrayArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index 5f3749f80c2..3909cffdb85 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -94,6 +94,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayNumber == input.ArrayNumber || this.ArrayNumber != null && + input.ArrayNumber != null && this.ArrayNumber.SequenceEqual(input.ArrayNumber) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayTest.cs index fd6b04d12fe..b21bb647849 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -112,16 +112,19 @@ namespace Org.OpenAPITools.Model ( this.ArrayOfString == input.ArrayOfString || this.ArrayOfString != null && + input.ArrayOfString != null && this.ArrayOfString.SequenceEqual(input.ArrayOfString) ) && ( this.ArrayArrayOfInteger == input.ArrayArrayOfInteger || this.ArrayArrayOfInteger != null && + input.ArrayArrayOfInteger != null && this.ArrayArrayOfInteger.SequenceEqual(input.ArrayArrayOfInteger) ) && ( this.ArrayArrayOfModel == input.ArrayArrayOfModel || this.ArrayArrayOfModel != null && + input.ArrayArrayOfModel != null && this.ArrayArrayOfModel.SequenceEqual(input.ArrayArrayOfModel) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/EnumArrays.cs index 3e1da9ae80d..7e94b135a4a 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -149,6 +149,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayEnum == input.ArrayEnum || this.ArrayEnum != null && + input.ArrayEnum != null && this.ArrayEnum.SequenceEqual(input.ArrayEnum) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index ab04abfef1e..a8e7ace6c63 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -108,6 +108,7 @@ namespace Org.OpenAPITools.Model ( this.Files == input.Files || this.Files != null && + input.Files != null && this.Files.SequenceEqual(input.Files) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/MapTest.cs index c1faecd1f20..91810a3ad8c 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/MapTest.cs @@ -142,21 +142,25 @@ namespace Org.OpenAPITools.Model ( this.MapMapOfString == input.MapMapOfString || this.MapMapOfString != null && + input.MapMapOfString != null && this.MapMapOfString.SequenceEqual(input.MapMapOfString) ) && ( this.MapOfEnumString == input.MapOfEnumString || this.MapOfEnumString != null && + input.MapOfEnumString != null && this.MapOfEnumString.SequenceEqual(input.MapOfEnumString) ) && ( this.DirectMap == input.DirectMap || this.DirectMap != null && + input.DirectMap != null && this.DirectMap.SequenceEqual(input.DirectMap) ) && ( this.IndirectMap == input.IndirectMap || this.IndirectMap != null && + input.IndirectMap != null && this.IndirectMap.SequenceEqual(input.IndirectMap) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 197b4661b2f..6721b623dad 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -122,6 +122,7 @@ namespace Org.OpenAPITools.Model ( this.Map == input.Map || this.Map != null && + input.Map != null && this.Map.SequenceEqual(input.Map) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/Pet.cs index dd8cefc2d15..85fd917d8f7 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/Pet.cs @@ -205,11 +205,13 @@ namespace Org.OpenAPITools.Model ( this.PhotoUrls == input.PhotoUrls || this.PhotoUrls != null && + input.PhotoUrls != null && this.PhotoUrls.SequenceEqual(input.PhotoUrls) ) && ( this.Tags == input.Tags || this.Tags != null && + input.Tags != null && this.Tags.SequenceEqual(input.Tags) ) && ( diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/TypeHolderDefault.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/TypeHolderDefault.cs index 9264989b237..f4a0b2bda31 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/TypeHolderDefault.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/TypeHolderDefault.cs @@ -200,6 +200,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/TypeHolderExample.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/TypeHolderExample.cs index e4f7c38882b..55799221220 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/TypeHolderExample.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/TypeHolderExample.cs @@ -200,6 +200,7 @@ namespace Org.OpenAPITools.Model ( this.ArrayItem == input.ArrayItem || this.ArrayItem != null && + input.ArrayItem != null && this.ArrayItem.SequenceEqual(input.ArrayItem) ); } diff --git a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/XmlItem.cs b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/XmlItem.cs index 04aca42e9a0..b15c76e149a 100644 --- a/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/XmlItem.cs +++ b/samples/client/petstore/csharp/OpenAPIClientWithPropertyChanged/src/Org.OpenAPITools/Model/XmlItem.cs @@ -366,6 +366,7 @@ namespace Org.OpenAPITools.Model ( this.WrappedArray == input.WrappedArray || this.WrappedArray != null && + input.WrappedArray != null && this.WrappedArray.SequenceEqual(input.WrappedArray) ) && ( @@ -391,11 +392,13 @@ namespace Org.OpenAPITools.Model ( this.NameArray == input.NameArray || this.NameArray != null && + input.NameArray != null && this.NameArray.SequenceEqual(input.NameArray) ) && ( this.NameWrappedArray == input.NameWrappedArray || this.NameWrappedArray != null && + input.NameWrappedArray != null && this.NameWrappedArray.SequenceEqual(input.NameWrappedArray) ) && ( @@ -421,11 +424,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixArray == input.PrefixArray || this.PrefixArray != null && + input.PrefixArray != null && this.PrefixArray.SequenceEqual(input.PrefixArray) ) && ( this.PrefixWrappedArray == input.PrefixWrappedArray || this.PrefixWrappedArray != null && + input.PrefixWrappedArray != null && this.PrefixWrappedArray.SequenceEqual(input.PrefixWrappedArray) ) && ( @@ -451,11 +456,13 @@ namespace Org.OpenAPITools.Model ( this.NamespaceArray == input.NamespaceArray || this.NamespaceArray != null && + input.NamespaceArray != null && this.NamespaceArray.SequenceEqual(input.NamespaceArray) ) && ( this.NamespaceWrappedArray == input.NamespaceWrappedArray || this.NamespaceWrappedArray != null && + input.NamespaceWrappedArray != null && this.NamespaceWrappedArray.SequenceEqual(input.NamespaceWrappedArray) ) && ( @@ -481,11 +488,13 @@ namespace Org.OpenAPITools.Model ( this.PrefixNsArray == input.PrefixNsArray || this.PrefixNsArray != null && + input.PrefixNsArray != null && this.PrefixNsArray.SequenceEqual(input.PrefixNsArray) ) && ( this.PrefixNsWrappedArray == input.PrefixNsWrappedArray || this.PrefixNsWrappedArray != null && + input.PrefixNsWrappedArray != null && this.PrefixNsWrappedArray.SequenceEqual(input.PrefixNsWrappedArray) ); }