diff --git a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
index b2c1365f903..5b726d69b9f 100644
--- a/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
+++ b/modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
@@ -2836,108 +2836,6 @@ components:
properties:
id:
type: string
- # this class ensures that the CodegenProperties are sorted correctly
- # https://github.com/OpenAPITools/openapi-generator/issues/18607
- MixLog:
- type: object
- properties:
- id:
- $ref: '#/components/schemas/uuid'
- description:
- type: string
- mixDate:
- type: string
- format: date-time
- shopId:
- $ref: '#/components/schemas/uuid'
- totalPrice:
- type: number
- format: float
- nullable: true
- totalRecalculations:
- type: integer
- format: int32
- totalOverPoors:
- type: integer
- format: int32
- totalSkips:
- type: integer
- format: int32
- totalUnderPours:
- type: integer
- format: int32
- formulaVersionDate:
- type: string
- format: date-time
- someCode:
- type: string
- nullable: true
- description: SomeCode is only required for color mixes
- batchNumber:
- type: string
- brandCode:
- type: string
- description: BrandCode is only required for non-color mixes
- brandId:
- type: string
- description: BrandId is only required for color mixes
- brandName:
- type: string
- description: BrandName is only required for color mixes
- categoryCode:
- type: string
- description: CategoryCode is not used anymore
- color:
- type: string
- description: Color is only required for color mixes
- colorDescription:
- type: string
- comment:
- type: string
- commercialProductCode:
- type: string
- productLineCode:
- type: string
- description: ProductLineCode is only required for color mixes
- country:
- type: string
- createdBy:
- type: string
- createdByFirstName:
- type: string
- createdByLastName:
- type: string
- deltaECalculationRepaired:
- type: string
- deltaECalculationSprayout:
- type: string
- ownColorVariantNumber:
- nullable: true
- type: integer
- format: int32
- primerProductId:
- type: string
- productId:
- type: string
- description: ProductId is only required for color mixes
- productName:
- type: string
- description: ProductName is only required for color mixes
- selectedVersionIndex:
- type: integer
- format: int32
- required:
- - id
- - description
- - mixDate
- - totalRecalculations
- - totalOverPoors
- - totalSkips
- - totalUnderPours
- - formulaVersionDate
- uuid:
- type: string
- format: uuid
CopyActivity:
type: object
required:
diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/.openapi-generator/FILES b/samples/client/petstore/csharp/generichost/net4.7/FormModels/.openapi-generator/FILES
index b9a5acbac34..930f03400a8 100644
--- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/.openapi-generator/FILES
+++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/.openapi-generator/FILES
@@ -64,7 +64,6 @@ docs/models/LiteralStringClass.md
docs/models/Mammal.md
docs/models/MapTest.md
docs/models/MapTestMapOfEnumStringValue.md
-docs/models/MixLog.md
docs/models/MixedAnyOf.md
docs/models/MixedAnyOfContent.md
docs/models/MixedOneOf.md
@@ -223,7 +222,6 @@ src/Org.OpenAPITools/Model/LiteralStringClass.cs
src/Org.OpenAPITools/Model/Mammal.cs
src/Org.OpenAPITools/Model/MapTest.cs
src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs
-src/Org.OpenAPITools/Model/MixLog.cs
src/Org.OpenAPITools/Model/MixedAnyOf.cs
src/Org.OpenAPITools/Model/MixedAnyOfContent.cs
src/Org.OpenAPITools/Model/MixedOneOf.cs
diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net4.7/FormModels/api/openapi.yaml
index 2430a21de4f..3c7d8aa3954 100644
--- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/api/openapi.yaml
+++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/api/openapi.yaml
@@ -2592,108 +2592,6 @@ components:
properties:
id:
type: string
- MixLog:
- properties:
- id:
- format: uuid
- type: string
- description:
- type: string
- mixDate:
- format: date-time
- type: string
- shopId:
- format: uuid
- type: string
- totalPrice:
- format: float
- nullable: true
- type: number
- totalRecalculations:
- format: int32
- type: integer
- totalOverPoors:
- format: int32
- type: integer
- totalSkips:
- format: int32
- type: integer
- totalUnderPours:
- format: int32
- type: integer
- formulaVersionDate:
- format: date-time
- type: string
- someCode:
- description: SomeCode is only required for color mixes
- nullable: true
- type: string
- batchNumber:
- type: string
- brandCode:
- description: BrandCode is only required for non-color mixes
- type: string
- brandId:
- description: BrandId is only required for color mixes
- type: string
- brandName:
- description: BrandName is only required for color mixes
- type: string
- categoryCode:
- description: CategoryCode is not used anymore
- type: string
- color:
- description: Color is only required for color mixes
- type: string
- colorDescription:
- type: string
- comment:
- type: string
- commercialProductCode:
- type: string
- productLineCode:
- description: ProductLineCode is only required for color mixes
- type: string
- country:
- type: string
- createdBy:
- type: string
- createdByFirstName:
- type: string
- createdByLastName:
- type: string
- deltaECalculationRepaired:
- type: string
- deltaECalculationSprayout:
- type: string
- ownColorVariantNumber:
- format: int32
- nullable: true
- type: integer
- primerProductId:
- type: string
- productId:
- description: ProductId is only required for color mixes
- type: string
- productName:
- description: ProductName is only required for color mixes
- type: string
- selectedVersionIndex:
- format: int32
- type: integer
- required:
- - description
- - formulaVersionDate
- - id
- - mixDate
- - totalOverPoors
- - totalRecalculations
- - totalSkips
- - totalUnderPours
- type: object
- uuid:
- format: uuid
- type: string
CopyActivity:
allOf:
- $ref: '#/components/schemas/EntityBase'
diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/docs/models/MixLog.md b/samples/client/petstore/csharp/generichost/net4.7/FormModels/docs/models/MixLog.md
deleted file mode 100644
index 5184c03bea9..00000000000
--- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/docs/models/MixLog.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Org.OpenAPITools.Model.MixLog
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Description** | **string** | |
-**FormulaVersionDate** | **DateTime** | |
-**Id** | **Guid** | |
-**MixDate** | **DateTime** | |
-**TotalOverPoors** | **int** | |
-**TotalRecalculations** | **int** | |
-**TotalSkips** | **int** | |
-**TotalUnderPours** | **int** | |
-**BatchNumber** | **string** | | [optional]
-**BrandCode** | **string** | BrandCode is only required for non-color mixes | [optional]
-**BrandId** | **string** | BrandId is only required for color mixes | [optional]
-**BrandName** | **string** | BrandName is only required for color mixes | [optional]
-**CategoryCode** | **string** | CategoryCode is not used anymore | [optional]
-**Color** | **string** | Color is only required for color mixes | [optional]
-**ColorDescription** | **string** | | [optional]
-**Comment** | **string** | | [optional]
-**CommercialProductCode** | **string** | | [optional]
-**Country** | **string** | | [optional]
-**CreatedBy** | **string** | | [optional]
-**CreatedByFirstName** | **string** | | [optional]
-**CreatedByLastName** | **string** | | [optional]
-**DeltaECalculationRepaired** | **string** | | [optional]
-**DeltaECalculationSprayout** | **string** | | [optional]
-**OwnColorVariantNumber** | **int** | | [optional]
-**PrimerProductId** | **string** | | [optional]
-**ProductId** | **string** | ProductId is only required for color mixes | [optional]
-**ProductLineCode** | **string** | ProductLineCode is only required for color mixes | [optional]
-**ProductName** | **string** | ProductName is only required for color mixes | [optional]
-**SelectedVersionIndex** | **int** | | [optional]
-**ShopId** | **Guid** | | [optional]
-**SomeCode** | **string** | SomeCode is only required for color mixes | [optional]
-**TotalPrice** | **float** | | [optional]
-
-[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
-
diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools.Test/Model/MixLogTests.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools.Test/Model/MixLogTests.cs
deleted file mode 100644
index 3f108758fd2..00000000000
--- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools.Test/Model/MixLogTests.cs
+++ /dev/null
@@ -1,344 +0,0 @@
-/*
- * OpenAPI Petstore
- *
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
- *
- * The version of the OpenAPI document: 1.0.0
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using Xunit;
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Collections.Generic;
-using Org.OpenAPITools.Model;
-using Org.OpenAPITools.Client;
-using System.Reflection;
-
-namespace Org.OpenAPITools.Test.Model
-{
- ///
- /// Class for testing MixLog
- ///
- ///
- /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
- /// Please update the test case below to test the model.
- ///
- public class MixLogTests : IDisposable
- {
- // TODO uncomment below to declare an instance variable for MixLog
- //private MixLog instance;
-
- public MixLogTests()
- {
- // TODO uncomment below to create an instance of MixLog
- //instance = new MixLog();
- }
-
- public void Dispose()
- {
- // Cleanup when everything is done.
- }
-
- ///
- /// Test an instance of MixLog
- ///
- [Fact]
- public void MixLogInstanceTest()
- {
- // TODO uncomment below to test "IsType" MixLog
- //Assert.IsType(instance);
- }
-
- ///
- /// Test the property 'Description'
- ///
- [Fact]
- public void DescriptionTest()
- {
- // TODO unit test for the property 'Description'
- }
-
- ///
- /// Test the property 'FormulaVersionDate'
- ///
- [Fact]
- public void FormulaVersionDateTest()
- {
- // TODO unit test for the property 'FormulaVersionDate'
- }
-
- ///
- /// Test the property 'Id'
- ///
- [Fact]
- public void IdTest()
- {
- // TODO unit test for the property 'Id'
- }
-
- ///
- /// Test the property 'MixDate'
- ///
- [Fact]
- public void MixDateTest()
- {
- // TODO unit test for the property 'MixDate'
- }
-
- ///
- /// Test the property 'TotalOverPoors'
- ///
- [Fact]
- public void TotalOverPoorsTest()
- {
- // TODO unit test for the property 'TotalOverPoors'
- }
-
- ///
- /// Test the property 'TotalRecalculations'
- ///
- [Fact]
- public void TotalRecalculationsTest()
- {
- // TODO unit test for the property 'TotalRecalculations'
- }
-
- ///
- /// Test the property 'TotalSkips'
- ///
- [Fact]
- public void TotalSkipsTest()
- {
- // TODO unit test for the property 'TotalSkips'
- }
-
- ///
- /// Test the property 'TotalUnderPours'
- ///
- [Fact]
- public void TotalUnderPoursTest()
- {
- // TODO unit test for the property 'TotalUnderPours'
- }
-
- ///
- /// Test the property 'BatchNumber'
- ///
- [Fact]
- public void BatchNumberTest()
- {
- // TODO unit test for the property 'BatchNumber'
- }
-
- ///
- /// Test the property 'BrandCode'
- ///
- [Fact]
- public void BrandCodeTest()
- {
- // TODO unit test for the property 'BrandCode'
- }
-
- ///
- /// Test the property 'BrandId'
- ///
- [Fact]
- public void BrandIdTest()
- {
- // TODO unit test for the property 'BrandId'
- }
-
- ///
- /// Test the property 'BrandName'
- ///
- [Fact]
- public void BrandNameTest()
- {
- // TODO unit test for the property 'BrandName'
- }
-
- ///
- /// Test the property 'CategoryCode'
- ///
- [Fact]
- public void CategoryCodeTest()
- {
- // TODO unit test for the property 'CategoryCode'
- }
-
- ///
- /// Test the property 'Color'
- ///
- [Fact]
- public void ColorTest()
- {
- // TODO unit test for the property 'Color'
- }
-
- ///
- /// Test the property 'ColorDescription'
- ///
- [Fact]
- public void ColorDescriptionTest()
- {
- // TODO unit test for the property 'ColorDescription'
- }
-
- ///
- /// Test the property 'Comment'
- ///
- [Fact]
- public void CommentTest()
- {
- // TODO unit test for the property 'Comment'
- }
-
- ///
- /// Test the property 'CommercialProductCode'
- ///
- [Fact]
- public void CommercialProductCodeTest()
- {
- // TODO unit test for the property 'CommercialProductCode'
- }
-
- ///
- /// Test the property 'Country'
- ///
- [Fact]
- public void CountryTest()
- {
- // TODO unit test for the property 'Country'
- }
-
- ///
- /// Test the property 'CreatedBy'
- ///
- [Fact]
- public void CreatedByTest()
- {
- // TODO unit test for the property 'CreatedBy'
- }
-
- ///
- /// Test the property 'CreatedByFirstName'
- ///
- [Fact]
- public void CreatedByFirstNameTest()
- {
- // TODO unit test for the property 'CreatedByFirstName'
- }
-
- ///
- /// Test the property 'CreatedByLastName'
- ///
- [Fact]
- public void CreatedByLastNameTest()
- {
- // TODO unit test for the property 'CreatedByLastName'
- }
-
- ///
- /// Test the property 'DeltaECalculationRepaired'
- ///
- [Fact]
- public void DeltaECalculationRepairedTest()
- {
- // TODO unit test for the property 'DeltaECalculationRepaired'
- }
-
- ///
- /// Test the property 'DeltaECalculationSprayout'
- ///
- [Fact]
- public void DeltaECalculationSprayoutTest()
- {
- // TODO unit test for the property 'DeltaECalculationSprayout'
- }
-
- ///
- /// Test the property 'OwnColorVariantNumber'
- ///
- [Fact]
- public void OwnColorVariantNumberTest()
- {
- // TODO unit test for the property 'OwnColorVariantNumber'
- }
-
- ///
- /// Test the property 'PrimerProductId'
- ///
- [Fact]
- public void PrimerProductIdTest()
- {
- // TODO unit test for the property 'PrimerProductId'
- }
-
- ///
- /// Test the property 'ProductId'
- ///
- [Fact]
- public void ProductIdTest()
- {
- // TODO unit test for the property 'ProductId'
- }
-
- ///
- /// Test the property 'ProductLineCode'
- ///
- [Fact]
- public void ProductLineCodeTest()
- {
- // TODO unit test for the property 'ProductLineCode'
- }
-
- ///
- /// Test the property 'ProductName'
- ///
- [Fact]
- public void ProductNameTest()
- {
- // TODO unit test for the property 'ProductName'
- }
-
- ///
- /// Test the property 'SelectedVersionIndex'
- ///
- [Fact]
- public void SelectedVersionIndexTest()
- {
- // TODO unit test for the property 'SelectedVersionIndex'
- }
-
- ///
- /// Test the property 'ShopId'
- ///
- [Fact]
- public void ShopIdTest()
- {
- // TODO unit test for the property 'ShopId'
- }
-
- ///
- /// Test the property 'SomeCode'
- ///
- [Fact]
- public void SomeCodeTest()
- {
- // TODO unit test for the property 'SomeCode'
- }
-
- ///
- /// Test the property 'TotalPrice'
- ///
- [Fact]
- public void TotalPriceTest()
- {
- // TODO unit test for the property 'TotalPrice'
- }
- }
-}
diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/HostConfiguration.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/HostConfiguration.cs
index 14e2fd920e8..08b8e054141 100644
--- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/HostConfiguration.cs
+++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/HostConfiguration.cs
@@ -102,7 +102,6 @@ namespace Org.OpenAPITools.Client
_jsonOptions.Converters.Add(new MapTestJsonConverter());
_jsonOptions.Converters.Add(new MapTestMapOfEnumStringValueJsonConverter());
_jsonOptions.Converters.Add(new MapTestMapOfEnumStringValueNullableJsonConverter());
- _jsonOptions.Converters.Add(new MixLogJsonConverter());
_jsonOptions.Converters.Add(new MixedAnyOfJsonConverter());
_jsonOptions.Converters.Add(new MixedAnyOfContentJsonConverter());
_jsonOptions.Converters.Add(new MixedOneOfJsonConverter());
diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixLog.cs
deleted file mode 100644
index d18711f5103..00000000000
--- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixLog.cs
+++ /dev/null
@@ -1,1027 +0,0 @@
-//
-/*
- * OpenAPI Petstore
- *
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
- *
- * The version of the OpenAPI document: 1.0.0
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Text.Json;
-using System.Text.Json.Serialization;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
-using Org.OpenAPITools.Client;
-
-namespace Org.OpenAPITools.Model
-{
- ///
- /// MixLog
- ///
- public partial class MixLog : IValidatableObject
- {
- ///
- /// Initializes a new instance of the class.
- ///
- /// description
- /// formulaVersionDate
- /// id
- /// mixDate
- /// totalOverPoors
- /// totalRecalculations
- /// totalSkips
- /// totalUnderPours
- /// batchNumber
- /// BrandCode is only required for non-color mixes
- /// BrandId is only required for color mixes
- /// BrandName is only required for color mixes
- /// CategoryCode is not used anymore
- /// Color is only required for color mixes
- /// colorDescription
- /// comment
- /// commercialProductCode
- /// country
- /// createdBy
- /// createdByFirstName
- /// createdByLastName
- /// deltaECalculationRepaired
- /// deltaECalculationSprayout
- /// ownColorVariantNumber
- /// primerProductId
- /// ProductId is only required for color mixes
- /// ProductLineCode is only required for color mixes
- /// ProductName is only required for color mixes
- /// selectedVersionIndex
- /// shopId
- /// SomeCode is only required for color mixes
- /// totalPrice
- [JsonConstructor]
- public MixLog(string description, DateTime formulaVersionDate, Guid id, DateTime mixDate, int totalOverPoors, int totalRecalculations, int totalSkips, int totalUnderPours, Option batchNumber = default, Option brandCode = default, Option brandId = default, Option brandName = default, Option categoryCode = default, Option color = default, Option colorDescription = default, Option comment = default, Option commercialProductCode = default, Option country = default, Option createdBy = default, Option createdByFirstName = default, Option createdByLastName = default, Option deltaECalculationRepaired = default, Option deltaECalculationSprayout = default, Option ownColorVariantNumber = default, Option primerProductId = default, Option productId = default, Option productLineCode = default, Option productName = default, Option selectedVersionIndex = default, Option shopId = default, Option someCode = default, Option totalPrice = default)
- {
- Description = description;
- FormulaVersionDate = formulaVersionDate;
- Id = id;
- MixDate = mixDate;
- TotalOverPoors = totalOverPoors;
- TotalRecalculations = totalRecalculations;
- TotalSkips = totalSkips;
- TotalUnderPours = totalUnderPours;
- BatchNumberOption = batchNumber;
- BrandCodeOption = brandCode;
- BrandIdOption = brandId;
- BrandNameOption = brandName;
- CategoryCodeOption = categoryCode;
- ColorOption = color;
- ColorDescriptionOption = colorDescription;
- CommentOption = comment;
- CommercialProductCodeOption = commercialProductCode;
- CountryOption = country;
- CreatedByOption = createdBy;
- CreatedByFirstNameOption = createdByFirstName;
- CreatedByLastNameOption = createdByLastName;
- DeltaECalculationRepairedOption = deltaECalculationRepaired;
- DeltaECalculationSprayoutOption = deltaECalculationSprayout;
- OwnColorVariantNumberOption = ownColorVariantNumber;
- PrimerProductIdOption = primerProductId;
- ProductIdOption = productId;
- ProductLineCodeOption = productLineCode;
- ProductNameOption = productName;
- SelectedVersionIndexOption = selectedVersionIndex;
- ShopIdOption = shopId;
- SomeCodeOption = someCode;
- TotalPriceOption = totalPrice;
- OnCreated();
- }
-
- partial void OnCreated();
-
- ///
- /// Gets or Sets Description
- ///
- [JsonPropertyName("description")]
- public string Description { get; set; }
-
- ///
- /// Gets or Sets FormulaVersionDate
- ///
- [JsonPropertyName("formulaVersionDate")]
- public DateTime FormulaVersionDate { get; set; }
-
- ///
- /// Gets or Sets Id
- ///
- [JsonPropertyName("id")]
- public Guid Id { get; set; }
-
- ///
- /// Gets or Sets MixDate
- ///
- [JsonPropertyName("mixDate")]
- public DateTime MixDate { get; set; }
-
- ///
- /// Gets or Sets TotalOverPoors
- ///
- [JsonPropertyName("totalOverPoors")]
- public int TotalOverPoors { get; set; }
-
- ///
- /// Gets or Sets TotalRecalculations
- ///
- [JsonPropertyName("totalRecalculations")]
- public int TotalRecalculations { get; set; }
-
- ///
- /// Gets or Sets TotalSkips
- ///
- [JsonPropertyName("totalSkips")]
- public int TotalSkips { get; set; }
-
- ///
- /// Gets or Sets TotalUnderPours
- ///
- [JsonPropertyName("totalUnderPours")]
- public int TotalUnderPours { get; set; }
-
- ///
- /// Used to track the state of BatchNumber
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option BatchNumberOption { get; private set; }
-
- ///
- /// Gets or Sets BatchNumber
- ///
- [JsonPropertyName("batchNumber")]
- public string BatchNumber { get { return this.BatchNumberOption; } set { this.BatchNumberOption = new Option(value); } }
-
- ///
- /// Used to track the state of BrandCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option BrandCodeOption { get; private set; }
-
- ///
- /// BrandCode is only required for non-color mixes
- ///
- /// BrandCode is only required for non-color mixes
- [JsonPropertyName("brandCode")]
- public string BrandCode { get { return this.BrandCodeOption; } set { this.BrandCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of BrandId
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option BrandIdOption { get; private set; }
-
- ///
- /// BrandId is only required for color mixes
- ///
- /// BrandId is only required for color mixes
- [JsonPropertyName("brandId")]
- public string BrandId { get { return this.BrandIdOption; } set { this.BrandIdOption = new Option(value); } }
-
- ///
- /// Used to track the state of BrandName
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option BrandNameOption { get; private set; }
-
- ///
- /// BrandName is only required for color mixes
- ///
- /// BrandName is only required for color mixes
- [JsonPropertyName("brandName")]
- public string BrandName { get { return this.BrandNameOption; } set { this.BrandNameOption = new Option(value); } }
-
- ///
- /// Used to track the state of CategoryCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CategoryCodeOption { get; private set; }
-
- ///
- /// CategoryCode is not used anymore
- ///
- /// CategoryCode is not used anymore
- [JsonPropertyName("categoryCode")]
- public string CategoryCode { get { return this.CategoryCodeOption; } set { this.CategoryCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of Color
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ColorOption { get; private set; }
-
- ///
- /// Color is only required for color mixes
- ///
- /// Color is only required for color mixes
- [JsonPropertyName("color")]
- public string Color { get { return this.ColorOption; } set { this.ColorOption = new Option(value); } }
-
- ///
- /// Used to track the state of ColorDescription
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ColorDescriptionOption { get; private set; }
-
- ///
- /// Gets or Sets ColorDescription
- ///
- [JsonPropertyName("colorDescription")]
- public string ColorDescription { get { return this.ColorDescriptionOption; } set { this.ColorDescriptionOption = new Option(value); } }
-
- ///
- /// Used to track the state of Comment
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CommentOption { get; private set; }
-
- ///
- /// Gets or Sets Comment
- ///
- [JsonPropertyName("comment")]
- public string Comment { get { return this.CommentOption; } set { this.CommentOption = new Option(value); } }
-
- ///
- /// Used to track the state of CommercialProductCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CommercialProductCodeOption { get; private set; }
-
- ///
- /// Gets or Sets CommercialProductCode
- ///
- [JsonPropertyName("commercialProductCode")]
- public string CommercialProductCode { get { return this.CommercialProductCodeOption; } set { this.CommercialProductCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of Country
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CountryOption { get; private set; }
-
- ///
- /// Gets or Sets Country
- ///
- [JsonPropertyName("country")]
- public string Country { get { return this.CountryOption; } set { this.CountryOption = new Option(value); } }
-
- ///
- /// Used to track the state of CreatedBy
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CreatedByOption { get; private set; }
-
- ///
- /// Gets or Sets CreatedBy
- ///
- [JsonPropertyName("createdBy")]
- public string CreatedBy { get { return this.CreatedByOption; } set { this.CreatedByOption = new Option(value); } }
-
- ///
- /// Used to track the state of CreatedByFirstName
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CreatedByFirstNameOption { get; private set; }
-
- ///
- /// Gets or Sets CreatedByFirstName
- ///
- [JsonPropertyName("createdByFirstName")]
- public string CreatedByFirstName { get { return this.CreatedByFirstNameOption; } set { this.CreatedByFirstNameOption = new Option(value); } }
-
- ///
- /// Used to track the state of CreatedByLastName
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CreatedByLastNameOption { get; private set; }
-
- ///
- /// Gets or Sets CreatedByLastName
- ///
- [JsonPropertyName("createdByLastName")]
- public string CreatedByLastName { get { return this.CreatedByLastNameOption; } set { this.CreatedByLastNameOption = new Option(value); } }
-
- ///
- /// Used to track the state of DeltaECalculationRepaired
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option DeltaECalculationRepairedOption { get; private set; }
-
- ///
- /// Gets or Sets DeltaECalculationRepaired
- ///
- [JsonPropertyName("deltaECalculationRepaired")]
- public string DeltaECalculationRepaired { get { return this.DeltaECalculationRepairedOption; } set { this.DeltaECalculationRepairedOption = new Option(value); } }
-
- ///
- /// Used to track the state of DeltaECalculationSprayout
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option DeltaECalculationSprayoutOption { get; private set; }
-
- ///
- /// Gets or Sets DeltaECalculationSprayout
- ///
- [JsonPropertyName("deltaECalculationSprayout")]
- public string DeltaECalculationSprayout { get { return this.DeltaECalculationSprayoutOption; } set { this.DeltaECalculationSprayoutOption = new Option(value); } }
-
- ///
- /// Used to track the state of OwnColorVariantNumber
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option OwnColorVariantNumberOption { get; private set; }
-
- ///
- /// Gets or Sets OwnColorVariantNumber
- ///
- [JsonPropertyName("ownColorVariantNumber")]
- public int? OwnColorVariantNumber { get { return this.OwnColorVariantNumberOption; } set { this.OwnColorVariantNumberOption = new Option(value); } }
-
- ///
- /// Used to track the state of PrimerProductId
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option PrimerProductIdOption { get; private set; }
-
- ///
- /// Gets or Sets PrimerProductId
- ///
- [JsonPropertyName("primerProductId")]
- public string PrimerProductId { get { return this.PrimerProductIdOption; } set { this.PrimerProductIdOption = new Option(value); } }
-
- ///
- /// Used to track the state of ProductId
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ProductIdOption { get; private set; }
-
- ///
- /// ProductId is only required for color mixes
- ///
- /// ProductId is only required for color mixes
- [JsonPropertyName("productId")]
- public string ProductId { get { return this.ProductIdOption; } set { this.ProductIdOption = new Option(value); } }
-
- ///
- /// Used to track the state of ProductLineCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ProductLineCodeOption { get; private set; }
-
- ///
- /// ProductLineCode is only required for color mixes
- ///
- /// ProductLineCode is only required for color mixes
- [JsonPropertyName("productLineCode")]
- public string ProductLineCode { get { return this.ProductLineCodeOption; } set { this.ProductLineCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of ProductName
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ProductNameOption { get; private set; }
-
- ///
- /// ProductName is only required for color mixes
- ///
- /// ProductName is only required for color mixes
- [JsonPropertyName("productName")]
- public string ProductName { get { return this.ProductNameOption; } set { this.ProductNameOption = new Option(value); } }
-
- ///
- /// Used to track the state of SelectedVersionIndex
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option SelectedVersionIndexOption { get; private set; }
-
- ///
- /// Gets or Sets SelectedVersionIndex
- ///
- [JsonPropertyName("selectedVersionIndex")]
- public int? SelectedVersionIndex { get { return this.SelectedVersionIndexOption; } set { this.SelectedVersionIndexOption = new Option(value); } }
-
- ///
- /// Used to track the state of ShopId
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ShopIdOption { get; private set; }
-
- ///
- /// Gets or Sets ShopId
- ///
- [JsonPropertyName("shopId")]
- public Guid? ShopId { get { return this.ShopIdOption; } set { this.ShopIdOption = new Option(value); } }
-
- ///
- /// Used to track the state of SomeCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option SomeCodeOption { get; private set; }
-
- ///
- /// SomeCode is only required for color mixes
- ///
- /// SomeCode is only required for color mixes
- [JsonPropertyName("someCode")]
- public string SomeCode { get { return this.SomeCodeOption; } set { this.SomeCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of TotalPrice
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option TotalPriceOption { get; private set; }
-
- ///
- /// Gets or Sets TotalPrice
- ///
- [JsonPropertyName("totalPrice")]
- public float? TotalPrice { get { return this.TotalPriceOption; } set { this.TotalPriceOption = new Option(value); } }
-
- ///
- /// Gets or Sets additional properties
- ///
- [JsonExtensionData]
- public Dictionary AdditionalProperties { get; } = new Dictionary();
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- StringBuilder sb = new StringBuilder();
- sb.Append("class MixLog {\n");
- sb.Append(" Description: ").Append(Description).Append("\n");
- sb.Append(" FormulaVersionDate: ").Append(FormulaVersionDate).Append("\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" MixDate: ").Append(MixDate).Append("\n");
- sb.Append(" TotalOverPoors: ").Append(TotalOverPoors).Append("\n");
- sb.Append(" TotalRecalculations: ").Append(TotalRecalculations).Append("\n");
- sb.Append(" TotalSkips: ").Append(TotalSkips).Append("\n");
- sb.Append(" TotalUnderPours: ").Append(TotalUnderPours).Append("\n");
- sb.Append(" BatchNumber: ").Append(BatchNumber).Append("\n");
- sb.Append(" BrandCode: ").Append(BrandCode).Append("\n");
- sb.Append(" BrandId: ").Append(BrandId).Append("\n");
- sb.Append(" BrandName: ").Append(BrandName).Append("\n");
- sb.Append(" CategoryCode: ").Append(CategoryCode).Append("\n");
- sb.Append(" Color: ").Append(Color).Append("\n");
- sb.Append(" ColorDescription: ").Append(ColorDescription).Append("\n");
- sb.Append(" Comment: ").Append(Comment).Append("\n");
- sb.Append(" CommercialProductCode: ").Append(CommercialProductCode).Append("\n");
- sb.Append(" Country: ").Append(Country).Append("\n");
- sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n");
- sb.Append(" CreatedByFirstName: ").Append(CreatedByFirstName).Append("\n");
- sb.Append(" CreatedByLastName: ").Append(CreatedByLastName).Append("\n");
- sb.Append(" DeltaECalculationRepaired: ").Append(DeltaECalculationRepaired).Append("\n");
- sb.Append(" DeltaECalculationSprayout: ").Append(DeltaECalculationSprayout).Append("\n");
- sb.Append(" OwnColorVariantNumber: ").Append(OwnColorVariantNumber).Append("\n");
- sb.Append(" PrimerProductId: ").Append(PrimerProductId).Append("\n");
- sb.Append(" ProductId: ").Append(ProductId).Append("\n");
- sb.Append(" ProductLineCode: ").Append(ProductLineCode).Append("\n");
- sb.Append(" ProductName: ").Append(ProductName).Append("\n");
- sb.Append(" SelectedVersionIndex: ").Append(SelectedVersionIndex).Append("\n");
- sb.Append(" ShopId: ").Append(ShopId).Append("\n");
- sb.Append(" SomeCode: ").Append(SomeCode).Append("\n");
- sb.Append(" TotalPrice: ").Append(TotalPrice).Append("\n");
- sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
- ///
- /// A Json converter for type
- ///
- public class MixLogJsonConverter : JsonConverter
- {
- ///
- /// The format to use to serialize FormulaVersionDate
- ///
- public static string FormulaVersionDateFormat { get; set; } = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK";
-
- ///
- /// The format to use to serialize MixDate
- ///
- public static string MixDateFormat { get; set; } = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK";
-
- ///
- /// Deserializes json to
- ///
- ///
- ///
- ///
- ///
- ///
- public override MixLog Read(ref Utf8JsonReader utf8JsonReader, Type typeToConvert, JsonSerializerOptions jsonSerializerOptions)
- {
- int currentDepth = utf8JsonReader.CurrentDepth;
-
- if (utf8JsonReader.TokenType != JsonTokenType.StartObject && utf8JsonReader.TokenType != JsonTokenType.StartArray)
- throw new JsonException();
-
- JsonTokenType startingTokenType = utf8JsonReader.TokenType;
-
- Option description = default;
- Option formulaVersionDate = default;
- Option id = default;
- Option mixDate = default;
- Option totalOverPoors = default;
- Option totalRecalculations = default;
- Option totalSkips = default;
- Option totalUnderPours = default;
- Option batchNumber = default;
- Option brandCode = default;
- Option brandId = default;
- Option brandName = default;
- Option categoryCode = default;
- Option color = default;
- Option colorDescription = default;
- Option comment = default;
- Option commercialProductCode = default;
- Option country = default;
- Option createdBy = default;
- Option createdByFirstName = default;
- Option createdByLastName = default;
- Option deltaECalculationRepaired = default;
- Option deltaECalculationSprayout = default;
- Option ownColorVariantNumber = default;
- Option primerProductId = default;
- Option productId = default;
- Option productLineCode = default;
- Option productName = default;
- Option selectedVersionIndex = default;
- Option shopId = default;
- Option someCode = default;
- Option totalPrice = default;
-
- while (utf8JsonReader.Read())
- {
- if (startingTokenType == JsonTokenType.StartObject && utf8JsonReader.TokenType == JsonTokenType.EndObject && currentDepth == utf8JsonReader.CurrentDepth)
- break;
-
- if (startingTokenType == JsonTokenType.StartArray && utf8JsonReader.TokenType == JsonTokenType.EndArray && currentDepth == utf8JsonReader.CurrentDepth)
- break;
-
- if (utf8JsonReader.TokenType == JsonTokenType.PropertyName && currentDepth == utf8JsonReader.CurrentDepth - 1)
- {
- string localVarJsonPropertyName = utf8JsonReader.GetString();
- utf8JsonReader.Read();
-
- switch (localVarJsonPropertyName)
- {
- case "description":
- description = new Option(utf8JsonReader.GetString());
- break;
- case "formulaVersionDate":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- formulaVersionDate = new Option(JsonSerializer.Deserialize(ref utf8JsonReader, jsonSerializerOptions));
- break;
- case "id":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- id = new Option(utf8JsonReader.GetGuid());
- break;
- case "mixDate":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- mixDate = new Option(JsonSerializer.Deserialize(ref utf8JsonReader, jsonSerializerOptions));
- break;
- case "totalOverPoors":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- totalOverPoors = new Option(utf8JsonReader.GetInt32());
- break;
- case "totalRecalculations":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- totalRecalculations = new Option(utf8JsonReader.GetInt32());
- break;
- case "totalSkips":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- totalSkips = new Option(utf8JsonReader.GetInt32());
- break;
- case "totalUnderPours":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- totalUnderPours = new Option(utf8JsonReader.GetInt32());
- break;
- case "batchNumber":
- batchNumber = new Option(utf8JsonReader.GetString());
- break;
- case "brandCode":
- brandCode = new Option(utf8JsonReader.GetString());
- break;
- case "brandId":
- brandId = new Option(utf8JsonReader.GetString());
- break;
- case "brandName":
- brandName = new Option(utf8JsonReader.GetString());
- break;
- case "categoryCode":
- categoryCode = new Option(utf8JsonReader.GetString());
- break;
- case "color":
- color = new Option(utf8JsonReader.GetString());
- break;
- case "colorDescription":
- colorDescription = new Option(utf8JsonReader.GetString());
- break;
- case "comment":
- comment = new Option(utf8JsonReader.GetString());
- break;
- case "commercialProductCode":
- commercialProductCode = new Option(utf8JsonReader.GetString());
- break;
- case "country":
- country = new Option(utf8JsonReader.GetString());
- break;
- case "createdBy":
- createdBy = new Option(utf8JsonReader.GetString());
- break;
- case "createdByFirstName":
- createdByFirstName = new Option(utf8JsonReader.GetString());
- break;
- case "createdByLastName":
- createdByLastName = new Option(utf8JsonReader.GetString());
- break;
- case "deltaECalculationRepaired":
- deltaECalculationRepaired = new Option(utf8JsonReader.GetString());
- break;
- case "deltaECalculationSprayout":
- deltaECalculationSprayout = new Option(utf8JsonReader.GetString());
- break;
- case "ownColorVariantNumber":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- ownColorVariantNumber = new Option(utf8JsonReader.GetInt32());
- break;
- case "primerProductId":
- primerProductId = new Option(utf8JsonReader.GetString());
- break;
- case "productId":
- productId = new Option(utf8JsonReader.GetString());
- break;
- case "productLineCode":
- productLineCode = new Option(utf8JsonReader.GetString());
- break;
- case "productName":
- productName = new Option(utf8JsonReader.GetString());
- break;
- case "selectedVersionIndex":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- selectedVersionIndex = new Option(utf8JsonReader.GetInt32());
- break;
- case "shopId":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- shopId = new Option(utf8JsonReader.GetGuid());
- break;
- case "someCode":
- someCode = new Option(utf8JsonReader.GetString());
- break;
- case "totalPrice":
- if (utf8JsonReader.TokenType != JsonTokenType.Null)
- totalPrice = new Option((float)utf8JsonReader.GetDouble());
- break;
- default:
- break;
- }
- }
- }
-
- if (!description.IsSet)
- throw new ArgumentException("Property is required for class MixLog.", nameof(description));
-
- if (!formulaVersionDate.IsSet)
- throw new ArgumentException("Property is required for class MixLog.", nameof(formulaVersionDate));
-
- if (!id.IsSet)
- throw new ArgumentException("Property is required for class MixLog.", nameof(id));
-
- if (!mixDate.IsSet)
- throw new ArgumentException("Property is required for class MixLog.", nameof(mixDate));
-
- if (!totalOverPoors.IsSet)
- throw new ArgumentException("Property is required for class MixLog.", nameof(totalOverPoors));
-
- if (!totalRecalculations.IsSet)
- throw new ArgumentException("Property is required for class MixLog.", nameof(totalRecalculations));
-
- if (!totalSkips.IsSet)
- throw new ArgumentException("Property is required for class MixLog.", nameof(totalSkips));
-
- if (!totalUnderPours.IsSet)
- throw new ArgumentException("Property is required for class MixLog.", nameof(totalUnderPours));
-
- if (description.IsSet && description.Value == null)
- throw new ArgumentNullException(nameof(description), "Property is not nullable for class MixLog.");
-
- if (formulaVersionDate.IsSet && formulaVersionDate.Value == null)
- throw new ArgumentNullException(nameof(formulaVersionDate), "Property is not nullable for class MixLog.");
-
- if (id.IsSet && id.Value == null)
- throw new ArgumentNullException(nameof(id), "Property is not nullable for class MixLog.");
-
- if (mixDate.IsSet && mixDate.Value == null)
- throw new ArgumentNullException(nameof(mixDate), "Property is not nullable for class MixLog.");
-
- if (totalOverPoors.IsSet && totalOverPoors.Value == null)
- throw new ArgumentNullException(nameof(totalOverPoors), "Property is not nullable for class MixLog.");
-
- if (totalRecalculations.IsSet && totalRecalculations.Value == null)
- throw new ArgumentNullException(nameof(totalRecalculations), "Property is not nullable for class MixLog.");
-
- if (totalSkips.IsSet && totalSkips.Value == null)
- throw new ArgumentNullException(nameof(totalSkips), "Property is not nullable for class MixLog.");
-
- if (totalUnderPours.IsSet && totalUnderPours.Value == null)
- throw new ArgumentNullException(nameof(totalUnderPours), "Property is not nullable for class MixLog.");
-
- if (batchNumber.IsSet && batchNumber.Value == null)
- throw new ArgumentNullException(nameof(batchNumber), "Property is not nullable for class MixLog.");
-
- if (brandCode.IsSet && brandCode.Value == null)
- throw new ArgumentNullException(nameof(brandCode), "Property is not nullable for class MixLog.");
-
- if (brandId.IsSet && brandId.Value == null)
- throw new ArgumentNullException(nameof(brandId), "Property is not nullable for class MixLog.");
-
- if (brandName.IsSet && brandName.Value == null)
- throw new ArgumentNullException(nameof(brandName), "Property is not nullable for class MixLog.");
-
- if (categoryCode.IsSet && categoryCode.Value == null)
- throw new ArgumentNullException(nameof(categoryCode), "Property is not nullable for class MixLog.");
-
- if (color.IsSet && color.Value == null)
- throw new ArgumentNullException(nameof(color), "Property is not nullable for class MixLog.");
-
- if (colorDescription.IsSet && colorDescription.Value == null)
- throw new ArgumentNullException(nameof(colorDescription), "Property is not nullable for class MixLog.");
-
- if (comment.IsSet && comment.Value == null)
- throw new ArgumentNullException(nameof(comment), "Property is not nullable for class MixLog.");
-
- if (commercialProductCode.IsSet && commercialProductCode.Value == null)
- throw new ArgumentNullException(nameof(commercialProductCode), "Property is not nullable for class MixLog.");
-
- if (country.IsSet && country.Value == null)
- throw new ArgumentNullException(nameof(country), "Property is not nullable for class MixLog.");
-
- if (createdBy.IsSet && createdBy.Value == null)
- throw new ArgumentNullException(nameof(createdBy), "Property is not nullable for class MixLog.");
-
- if (createdByFirstName.IsSet && createdByFirstName.Value == null)
- throw new ArgumentNullException(nameof(createdByFirstName), "Property is not nullable for class MixLog.");
-
- if (createdByLastName.IsSet && createdByLastName.Value == null)
- throw new ArgumentNullException(nameof(createdByLastName), "Property is not nullable for class MixLog.");
-
- if (deltaECalculationRepaired.IsSet && deltaECalculationRepaired.Value == null)
- throw new ArgumentNullException(nameof(deltaECalculationRepaired), "Property is not nullable for class MixLog.");
-
- if (deltaECalculationSprayout.IsSet && deltaECalculationSprayout.Value == null)
- throw new ArgumentNullException(nameof(deltaECalculationSprayout), "Property is not nullable for class MixLog.");
-
- if (primerProductId.IsSet && primerProductId.Value == null)
- throw new ArgumentNullException(nameof(primerProductId), "Property is not nullable for class MixLog.");
-
- if (productId.IsSet && productId.Value == null)
- throw new ArgumentNullException(nameof(productId), "Property is not nullable for class MixLog.");
-
- if (productLineCode.IsSet && productLineCode.Value == null)
- throw new ArgumentNullException(nameof(productLineCode), "Property is not nullable for class MixLog.");
-
- if (productName.IsSet && productName.Value == null)
- throw new ArgumentNullException(nameof(productName), "Property is not nullable for class MixLog.");
-
- if (selectedVersionIndex.IsSet && selectedVersionIndex.Value == null)
- throw new ArgumentNullException(nameof(selectedVersionIndex), "Property is not nullable for class MixLog.");
-
- if (shopId.IsSet && shopId.Value == null)
- throw new ArgumentNullException(nameof(shopId), "Property is not nullable for class MixLog.");
-
- return new MixLog(description.Value, formulaVersionDate.Value.Value, id.Value.Value, mixDate.Value.Value, totalOverPoors.Value.Value, totalRecalculations.Value.Value, totalSkips.Value.Value, totalUnderPours.Value.Value, batchNumber, brandCode, brandId, brandName, categoryCode, color, colorDescription, comment, commercialProductCode, country, createdBy, createdByFirstName, createdByLastName, deltaECalculationRepaired, deltaECalculationSprayout, ownColorVariantNumber, primerProductId, productId, productLineCode, productName, selectedVersionIndex, shopId, someCode, totalPrice);
- }
-
- ///
- /// Serializes a
- ///
- ///
- ///
- ///
- ///
- public override void Write(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
- {
- writer.WriteStartObject();
-
- WriteProperties(writer, mixLog, jsonSerializerOptions);
- writer.WriteEndObject();
- }
-
- ///
- /// Serializes the properties of
- ///
- ///
- ///
- ///
- ///
- public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializerOptions jsonSerializerOptions)
- {
- if (mixLog.Description == null)
- throw new ArgumentNullException(nameof(mixLog.Description), "Property is required for class MixLog.");
-
- if (mixLog.BatchNumberOption.IsSet && mixLog.BatchNumber == null)
- throw new ArgumentNullException(nameof(mixLog.BatchNumber), "Property is required for class MixLog.");
-
- if (mixLog.BrandCodeOption.IsSet && mixLog.BrandCode == null)
- throw new ArgumentNullException(nameof(mixLog.BrandCode), "Property is required for class MixLog.");
-
- if (mixLog.BrandIdOption.IsSet && mixLog.BrandId == null)
- throw new ArgumentNullException(nameof(mixLog.BrandId), "Property is required for class MixLog.");
-
- if (mixLog.BrandNameOption.IsSet && mixLog.BrandName == null)
- throw new ArgumentNullException(nameof(mixLog.BrandName), "Property is required for class MixLog.");
-
- if (mixLog.CategoryCodeOption.IsSet && mixLog.CategoryCode == null)
- throw new ArgumentNullException(nameof(mixLog.CategoryCode), "Property is required for class MixLog.");
-
- if (mixLog.ColorOption.IsSet && mixLog.Color == null)
- throw new ArgumentNullException(nameof(mixLog.Color), "Property is required for class MixLog.");
-
- if (mixLog.ColorDescriptionOption.IsSet && mixLog.ColorDescription == null)
- throw new ArgumentNullException(nameof(mixLog.ColorDescription), "Property is required for class MixLog.");
-
- if (mixLog.CommentOption.IsSet && mixLog.Comment == null)
- throw new ArgumentNullException(nameof(mixLog.Comment), "Property is required for class MixLog.");
-
- if (mixLog.CommercialProductCodeOption.IsSet && mixLog.CommercialProductCode == null)
- throw new ArgumentNullException(nameof(mixLog.CommercialProductCode), "Property is required for class MixLog.");
-
- if (mixLog.CountryOption.IsSet && mixLog.Country == null)
- throw new ArgumentNullException(nameof(mixLog.Country), "Property is required for class MixLog.");
-
- if (mixLog.CreatedByOption.IsSet && mixLog.CreatedBy == null)
- throw new ArgumentNullException(nameof(mixLog.CreatedBy), "Property is required for class MixLog.");
-
- if (mixLog.CreatedByFirstNameOption.IsSet && mixLog.CreatedByFirstName == null)
- throw new ArgumentNullException(nameof(mixLog.CreatedByFirstName), "Property is required for class MixLog.");
-
- if (mixLog.CreatedByLastNameOption.IsSet && mixLog.CreatedByLastName == null)
- throw new ArgumentNullException(nameof(mixLog.CreatedByLastName), "Property is required for class MixLog.");
-
- if (mixLog.DeltaECalculationRepairedOption.IsSet && mixLog.DeltaECalculationRepaired == null)
- throw new ArgumentNullException(nameof(mixLog.DeltaECalculationRepaired), "Property is required for class MixLog.");
-
- if (mixLog.DeltaECalculationSprayoutOption.IsSet && mixLog.DeltaECalculationSprayout == null)
- throw new ArgumentNullException(nameof(mixLog.DeltaECalculationSprayout), "Property is required for class MixLog.");
-
- if (mixLog.PrimerProductIdOption.IsSet && mixLog.PrimerProductId == null)
- throw new ArgumentNullException(nameof(mixLog.PrimerProductId), "Property is required for class MixLog.");
-
- if (mixLog.ProductIdOption.IsSet && mixLog.ProductId == null)
- throw new ArgumentNullException(nameof(mixLog.ProductId), "Property is required for class MixLog.");
-
- if (mixLog.ProductLineCodeOption.IsSet && mixLog.ProductLineCode == null)
- throw new ArgumentNullException(nameof(mixLog.ProductLineCode), "Property is required for class MixLog.");
-
- if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null)
- throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog.");
-
- writer.WriteString("description", mixLog.Description);
-
- writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat));
-
- writer.WriteString("id", mixLog.Id);
-
- writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat));
-
- writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors);
-
- writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations);
-
- writer.WriteNumber("totalSkips", mixLog.TotalSkips);
-
- writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours);
-
- if (mixLog.BatchNumberOption.IsSet)
- writer.WriteString("batchNumber", mixLog.BatchNumber);
-
- if (mixLog.BrandCodeOption.IsSet)
- writer.WriteString("brandCode", mixLog.BrandCode);
-
- if (mixLog.BrandIdOption.IsSet)
- writer.WriteString("brandId", mixLog.BrandId);
-
- if (mixLog.BrandNameOption.IsSet)
- writer.WriteString("brandName", mixLog.BrandName);
-
- if (mixLog.CategoryCodeOption.IsSet)
- writer.WriteString("categoryCode", mixLog.CategoryCode);
-
- if (mixLog.ColorOption.IsSet)
- writer.WriteString("color", mixLog.Color);
-
- if (mixLog.ColorDescriptionOption.IsSet)
- writer.WriteString("colorDescription", mixLog.ColorDescription);
-
- if (mixLog.CommentOption.IsSet)
- writer.WriteString("comment", mixLog.Comment);
-
- if (mixLog.CommercialProductCodeOption.IsSet)
- writer.WriteString("commercialProductCode", mixLog.CommercialProductCode);
-
- if (mixLog.CountryOption.IsSet)
- writer.WriteString("country", mixLog.Country);
-
- if (mixLog.CreatedByOption.IsSet)
- writer.WriteString("createdBy", mixLog.CreatedBy);
-
- if (mixLog.CreatedByFirstNameOption.IsSet)
- writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName);
-
- if (mixLog.CreatedByLastNameOption.IsSet)
- writer.WriteString("createdByLastName", mixLog.CreatedByLastName);
-
- if (mixLog.DeltaECalculationRepairedOption.IsSet)
- writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired);
-
- if (mixLog.DeltaECalculationSprayoutOption.IsSet)
- writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout);
-
- if (mixLog.OwnColorVariantNumberOption.IsSet)
- if (mixLog.OwnColorVariantNumberOption.Value != null)
- writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value);
- else
- writer.WriteNull("ownColorVariantNumber");
-
- if (mixLog.PrimerProductIdOption.IsSet)
- writer.WriteString("primerProductId", mixLog.PrimerProductId);
-
- if (mixLog.ProductIdOption.IsSet)
- writer.WriteString("productId", mixLog.ProductId);
-
- if (mixLog.ProductLineCodeOption.IsSet)
- writer.WriteString("productLineCode", mixLog.ProductLineCode);
-
- if (mixLog.ProductNameOption.IsSet)
- writer.WriteString("productName", mixLog.ProductName);
-
- if (mixLog.SelectedVersionIndexOption.IsSet)
- writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value);
-
- if (mixLog.ShopIdOption.IsSet)
- writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value);
-
- if (mixLog.SomeCodeOption.IsSet)
- if (mixLog.SomeCodeOption.Value != null)
- writer.WriteString("someCode", mixLog.SomeCode);
- else
- writer.WriteNull("someCode");
-
- if (mixLog.TotalPriceOption.IsSet)
- if (mixLog.TotalPriceOption.Value != null)
- writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value);
- else
- writer.WriteNull("totalPrice");
- }
- }
-}
diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/.openapi-generator/FILES b/samples/client/petstore/csharp/generichost/net4.7/Petstore/.openapi-generator/FILES
index 80e274401fd..1facc69aec6 100644
--- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/.openapi-generator/FILES
+++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/.openapi-generator/FILES
@@ -56,7 +56,6 @@ docs/models/List.md
docs/models/LiteralStringClass.md
docs/models/Mammal.md
docs/models/MapTest.md
-docs/models/MixLog.md
docs/models/MixedAnyOf.md
docs/models/MixedAnyOfContent.md
docs/models/MixedOneOf.md
@@ -192,7 +191,6 @@ src/Org.OpenAPITools/Model/List.cs
src/Org.OpenAPITools/Model/LiteralStringClass.cs
src/Org.OpenAPITools/Model/Mammal.cs
src/Org.OpenAPITools/Model/MapTest.cs
-src/Org.OpenAPITools/Model/MixLog.cs
src/Org.OpenAPITools/Model/MixedAnyOf.cs
src/Org.OpenAPITools/Model/MixedAnyOfContent.cs
src/Org.OpenAPITools/Model/MixedOneOf.cs
diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/api/openapi.yaml b/samples/client/petstore/csharp/generichost/net4.7/Petstore/api/openapi.yaml
index 1214bb1bea4..6a83f7a1e48 100644
--- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/api/openapi.yaml
+++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/api/openapi.yaml
@@ -2770,108 +2770,6 @@ components:
properties:
id:
type: string
- MixLog:
- properties:
- id:
- format: uuid
- type: string
- description:
- type: string
- mixDate:
- format: date-time
- type: string
- shopId:
- format: uuid
- type: string
- totalPrice:
- format: float
- nullable: true
- type: number
- totalRecalculations:
- format: int32
- type: integer
- totalOverPoors:
- format: int32
- type: integer
- totalSkips:
- format: int32
- type: integer
- totalUnderPours:
- format: int32
- type: integer
- formulaVersionDate:
- format: date-time
- type: string
- someCode:
- description: SomeCode is only required for color mixes
- nullable: true
- type: string
- batchNumber:
- type: string
- brandCode:
- description: BrandCode is only required for non-color mixes
- type: string
- brandId:
- description: BrandId is only required for color mixes
- type: string
- brandName:
- description: BrandName is only required for color mixes
- type: string
- categoryCode:
- description: CategoryCode is not used anymore
- type: string
- color:
- description: Color is only required for color mixes
- type: string
- colorDescription:
- type: string
- comment:
- type: string
- commercialProductCode:
- type: string
- productLineCode:
- description: ProductLineCode is only required for color mixes
- type: string
- country:
- type: string
- createdBy:
- type: string
- createdByFirstName:
- type: string
- createdByLastName:
- type: string
- deltaECalculationRepaired:
- type: string
- deltaECalculationSprayout:
- type: string
- ownColorVariantNumber:
- format: int32
- nullable: true
- type: integer
- primerProductId:
- type: string
- productId:
- description: ProductId is only required for color mixes
- type: string
- productName:
- description: ProductName is only required for color mixes
- type: string
- selectedVersionIndex:
- format: int32
- type: integer
- required:
- - description
- - formulaVersionDate
- - id
- - mixDate
- - totalOverPoors
- - totalRecalculations
- - totalSkips
- - totalUnderPours
- type: object
- uuid:
- format: uuid
- type: string
CopyActivity:
allOf:
- $ref: '#/components/schemas/EntityBase'
diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/docs/models/MixLog.md b/samples/client/petstore/csharp/generichost/net4.7/Petstore/docs/models/MixLog.md
deleted file mode 100644
index 5184c03bea9..00000000000
--- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/docs/models/MixLog.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Org.OpenAPITools.Model.MixLog
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Description** | **string** | |
-**FormulaVersionDate** | **DateTime** | |
-**Id** | **Guid** | |
-**MixDate** | **DateTime** | |
-**TotalOverPoors** | **int** | |
-**TotalRecalculations** | **int** | |
-**TotalSkips** | **int** | |
-**TotalUnderPours** | **int** | |
-**BatchNumber** | **string** | | [optional]
-**BrandCode** | **string** | BrandCode is only required for non-color mixes | [optional]
-**BrandId** | **string** | BrandId is only required for color mixes | [optional]
-**BrandName** | **string** | BrandName is only required for color mixes | [optional]
-**CategoryCode** | **string** | CategoryCode is not used anymore | [optional]
-**Color** | **string** | Color is only required for color mixes | [optional]
-**ColorDescription** | **string** | | [optional]
-**Comment** | **string** | | [optional]
-**CommercialProductCode** | **string** | | [optional]
-**Country** | **string** | | [optional]
-**CreatedBy** | **string** | | [optional]
-**CreatedByFirstName** | **string** | | [optional]
-**CreatedByLastName** | **string** | | [optional]
-**DeltaECalculationRepaired** | **string** | | [optional]
-**DeltaECalculationSprayout** | **string** | | [optional]
-**OwnColorVariantNumber** | **int** | | [optional]
-**PrimerProductId** | **string** | | [optional]
-**ProductId** | **string** | ProductId is only required for color mixes | [optional]
-**ProductLineCode** | **string** | ProductLineCode is only required for color mixes | [optional]
-**ProductName** | **string** | ProductName is only required for color mixes | [optional]
-**SelectedVersionIndex** | **int** | | [optional]
-**ShopId** | **Guid** | | [optional]
-**SomeCode** | **string** | SomeCode is only required for color mixes | [optional]
-**TotalPrice** | **float** | | [optional]
-
-[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
-
diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MixLogTests.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MixLogTests.cs
deleted file mode 100644
index 3f108758fd2..00000000000
--- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools.Test/Model/MixLogTests.cs
+++ /dev/null
@@ -1,344 +0,0 @@
-/*
- * OpenAPI Petstore
- *
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
- *
- * The version of the OpenAPI document: 1.0.0
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-
-using Xunit;
-
-using System;
-using System.Linq;
-using System.IO;
-using System.Collections.Generic;
-using Org.OpenAPITools.Model;
-using Org.OpenAPITools.Client;
-using System.Reflection;
-
-namespace Org.OpenAPITools.Test.Model
-{
- ///
- /// Class for testing MixLog
- ///
- ///
- /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
- /// Please update the test case below to test the model.
- ///
- public class MixLogTests : IDisposable
- {
- // TODO uncomment below to declare an instance variable for MixLog
- //private MixLog instance;
-
- public MixLogTests()
- {
- // TODO uncomment below to create an instance of MixLog
- //instance = new MixLog();
- }
-
- public void Dispose()
- {
- // Cleanup when everything is done.
- }
-
- ///
- /// Test an instance of MixLog
- ///
- [Fact]
- public void MixLogInstanceTest()
- {
- // TODO uncomment below to test "IsType" MixLog
- //Assert.IsType(instance);
- }
-
- ///
- /// Test the property 'Description'
- ///
- [Fact]
- public void DescriptionTest()
- {
- // TODO unit test for the property 'Description'
- }
-
- ///
- /// Test the property 'FormulaVersionDate'
- ///
- [Fact]
- public void FormulaVersionDateTest()
- {
- // TODO unit test for the property 'FormulaVersionDate'
- }
-
- ///
- /// Test the property 'Id'
- ///
- [Fact]
- public void IdTest()
- {
- // TODO unit test for the property 'Id'
- }
-
- ///
- /// Test the property 'MixDate'
- ///
- [Fact]
- public void MixDateTest()
- {
- // TODO unit test for the property 'MixDate'
- }
-
- ///
- /// Test the property 'TotalOverPoors'
- ///
- [Fact]
- public void TotalOverPoorsTest()
- {
- // TODO unit test for the property 'TotalOverPoors'
- }
-
- ///
- /// Test the property 'TotalRecalculations'
- ///
- [Fact]
- public void TotalRecalculationsTest()
- {
- // TODO unit test for the property 'TotalRecalculations'
- }
-
- ///
- /// Test the property 'TotalSkips'
- ///
- [Fact]
- public void TotalSkipsTest()
- {
- // TODO unit test for the property 'TotalSkips'
- }
-
- ///
- /// Test the property 'TotalUnderPours'
- ///
- [Fact]
- public void TotalUnderPoursTest()
- {
- // TODO unit test for the property 'TotalUnderPours'
- }
-
- ///
- /// Test the property 'BatchNumber'
- ///
- [Fact]
- public void BatchNumberTest()
- {
- // TODO unit test for the property 'BatchNumber'
- }
-
- ///
- /// Test the property 'BrandCode'
- ///
- [Fact]
- public void BrandCodeTest()
- {
- // TODO unit test for the property 'BrandCode'
- }
-
- ///
- /// Test the property 'BrandId'
- ///
- [Fact]
- public void BrandIdTest()
- {
- // TODO unit test for the property 'BrandId'
- }
-
- ///
- /// Test the property 'BrandName'
- ///
- [Fact]
- public void BrandNameTest()
- {
- // TODO unit test for the property 'BrandName'
- }
-
- ///
- /// Test the property 'CategoryCode'
- ///
- [Fact]
- public void CategoryCodeTest()
- {
- // TODO unit test for the property 'CategoryCode'
- }
-
- ///
- /// Test the property 'Color'
- ///
- [Fact]
- public void ColorTest()
- {
- // TODO unit test for the property 'Color'
- }
-
- ///
- /// Test the property 'ColorDescription'
- ///
- [Fact]
- public void ColorDescriptionTest()
- {
- // TODO unit test for the property 'ColorDescription'
- }
-
- ///
- /// Test the property 'Comment'
- ///
- [Fact]
- public void CommentTest()
- {
- // TODO unit test for the property 'Comment'
- }
-
- ///
- /// Test the property 'CommercialProductCode'
- ///
- [Fact]
- public void CommercialProductCodeTest()
- {
- // TODO unit test for the property 'CommercialProductCode'
- }
-
- ///
- /// Test the property 'Country'
- ///
- [Fact]
- public void CountryTest()
- {
- // TODO unit test for the property 'Country'
- }
-
- ///
- /// Test the property 'CreatedBy'
- ///
- [Fact]
- public void CreatedByTest()
- {
- // TODO unit test for the property 'CreatedBy'
- }
-
- ///
- /// Test the property 'CreatedByFirstName'
- ///
- [Fact]
- public void CreatedByFirstNameTest()
- {
- // TODO unit test for the property 'CreatedByFirstName'
- }
-
- ///
- /// Test the property 'CreatedByLastName'
- ///
- [Fact]
- public void CreatedByLastNameTest()
- {
- // TODO unit test for the property 'CreatedByLastName'
- }
-
- ///
- /// Test the property 'DeltaECalculationRepaired'
- ///
- [Fact]
- public void DeltaECalculationRepairedTest()
- {
- // TODO unit test for the property 'DeltaECalculationRepaired'
- }
-
- ///
- /// Test the property 'DeltaECalculationSprayout'
- ///
- [Fact]
- public void DeltaECalculationSprayoutTest()
- {
- // TODO unit test for the property 'DeltaECalculationSprayout'
- }
-
- ///
- /// Test the property 'OwnColorVariantNumber'
- ///
- [Fact]
- public void OwnColorVariantNumberTest()
- {
- // TODO unit test for the property 'OwnColorVariantNumber'
- }
-
- ///
- /// Test the property 'PrimerProductId'
- ///
- [Fact]
- public void PrimerProductIdTest()
- {
- // TODO unit test for the property 'PrimerProductId'
- }
-
- ///
- /// Test the property 'ProductId'
- ///
- [Fact]
- public void ProductIdTest()
- {
- // TODO unit test for the property 'ProductId'
- }
-
- ///
- /// Test the property 'ProductLineCode'
- ///
- [Fact]
- public void ProductLineCodeTest()
- {
- // TODO unit test for the property 'ProductLineCode'
- }
-
- ///
- /// Test the property 'ProductName'
- ///
- [Fact]
- public void ProductNameTest()
- {
- // TODO unit test for the property 'ProductName'
- }
-
- ///
- /// Test the property 'SelectedVersionIndex'
- ///
- [Fact]
- public void SelectedVersionIndexTest()
- {
- // TODO unit test for the property 'SelectedVersionIndex'
- }
-
- ///
- /// Test the property 'ShopId'
- ///
- [Fact]
- public void ShopIdTest()
- {
- // TODO unit test for the property 'ShopId'
- }
-
- ///
- /// Test the property 'SomeCode'
- ///
- [Fact]
- public void SomeCodeTest()
- {
- // TODO unit test for the property 'SomeCode'
- }
-
- ///
- /// Test the property 'TotalPrice'
- ///
- [Fact]
- public void TotalPriceTest()
- {
- // TODO unit test for the property 'TotalPrice'
- }
- }
-}
diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/HostConfiguration.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/HostConfiguration.cs
index f4224c601f0..dbbc08df796 100644
--- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/HostConfiguration.cs
+++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/HostConfiguration.cs
@@ -86,7 +86,6 @@ namespace Org.OpenAPITools.Client
_jsonOptions.Converters.Add(new LiteralStringClassJsonConverter());
_jsonOptions.Converters.Add(new MammalJsonConverter());
_jsonOptions.Converters.Add(new MapTestJsonConverter());
- _jsonOptions.Converters.Add(new MixLogJsonConverter());
_jsonOptions.Converters.Add(new MixedAnyOfJsonConverter());
_jsonOptions.Converters.Add(new MixedAnyOfContentJsonConverter());
_jsonOptions.Converters.Add(new MixedOneOfJsonConverter());
diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs
deleted file mode 100644
index d18711f5103..00000000000
--- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs
+++ /dev/null
@@ -1,1027 +0,0 @@
-//
-/*
- * OpenAPI Petstore
- *
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
- *
- * The version of the OpenAPI document: 1.0.0
- * Generated by: https://github.com/openapitools/openapi-generator.git
- */
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Linq;
-using System.IO;
-using System.Text;
-using System.Text.RegularExpressions;
-using System.Text.Json;
-using System.Text.Json.Serialization;
-using System.ComponentModel.DataAnnotations;
-using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
-using Org.OpenAPITools.Client;
-
-namespace Org.OpenAPITools.Model
-{
- ///
- /// MixLog
- ///
- public partial class MixLog : IValidatableObject
- {
- ///
- /// Initializes a new instance of the class.
- ///
- /// description
- /// formulaVersionDate
- /// id
- /// mixDate
- /// totalOverPoors
- /// totalRecalculations
- /// totalSkips
- /// totalUnderPours
- /// batchNumber
- /// BrandCode is only required for non-color mixes
- /// BrandId is only required for color mixes
- /// BrandName is only required for color mixes
- /// CategoryCode is not used anymore
- /// Color is only required for color mixes
- /// colorDescription
- /// comment
- /// commercialProductCode
- /// country
- /// createdBy
- /// createdByFirstName
- /// createdByLastName
- /// deltaECalculationRepaired
- /// deltaECalculationSprayout
- /// ownColorVariantNumber
- /// primerProductId
- /// ProductId is only required for color mixes
- /// ProductLineCode is only required for color mixes
- /// ProductName is only required for color mixes
- /// selectedVersionIndex
- /// shopId
- /// SomeCode is only required for color mixes
- /// totalPrice
- [JsonConstructor]
- public MixLog(string description, DateTime formulaVersionDate, Guid id, DateTime mixDate, int totalOverPoors, int totalRecalculations, int totalSkips, int totalUnderPours, Option batchNumber = default, Option brandCode = default, Option brandId = default, Option brandName = default, Option categoryCode = default, Option color = default, Option colorDescription = default, Option comment = default, Option commercialProductCode = default, Option country = default, Option createdBy = default, Option createdByFirstName = default, Option createdByLastName = default, Option deltaECalculationRepaired = default, Option deltaECalculationSprayout = default, Option ownColorVariantNumber = default, Option primerProductId = default, Option productId = default, Option productLineCode = default, Option productName = default, Option selectedVersionIndex = default, Option shopId = default, Option someCode = default, Option totalPrice = default)
- {
- Description = description;
- FormulaVersionDate = formulaVersionDate;
- Id = id;
- MixDate = mixDate;
- TotalOverPoors = totalOverPoors;
- TotalRecalculations = totalRecalculations;
- TotalSkips = totalSkips;
- TotalUnderPours = totalUnderPours;
- BatchNumberOption = batchNumber;
- BrandCodeOption = brandCode;
- BrandIdOption = brandId;
- BrandNameOption = brandName;
- CategoryCodeOption = categoryCode;
- ColorOption = color;
- ColorDescriptionOption = colorDescription;
- CommentOption = comment;
- CommercialProductCodeOption = commercialProductCode;
- CountryOption = country;
- CreatedByOption = createdBy;
- CreatedByFirstNameOption = createdByFirstName;
- CreatedByLastNameOption = createdByLastName;
- DeltaECalculationRepairedOption = deltaECalculationRepaired;
- DeltaECalculationSprayoutOption = deltaECalculationSprayout;
- OwnColorVariantNumberOption = ownColorVariantNumber;
- PrimerProductIdOption = primerProductId;
- ProductIdOption = productId;
- ProductLineCodeOption = productLineCode;
- ProductNameOption = productName;
- SelectedVersionIndexOption = selectedVersionIndex;
- ShopIdOption = shopId;
- SomeCodeOption = someCode;
- TotalPriceOption = totalPrice;
- OnCreated();
- }
-
- partial void OnCreated();
-
- ///
- /// Gets or Sets Description
- ///
- [JsonPropertyName("description")]
- public string Description { get; set; }
-
- ///
- /// Gets or Sets FormulaVersionDate
- ///
- [JsonPropertyName("formulaVersionDate")]
- public DateTime FormulaVersionDate { get; set; }
-
- ///
- /// Gets or Sets Id
- ///
- [JsonPropertyName("id")]
- public Guid Id { get; set; }
-
- ///
- /// Gets or Sets MixDate
- ///
- [JsonPropertyName("mixDate")]
- public DateTime MixDate { get; set; }
-
- ///
- /// Gets or Sets TotalOverPoors
- ///
- [JsonPropertyName("totalOverPoors")]
- public int TotalOverPoors { get; set; }
-
- ///
- /// Gets or Sets TotalRecalculations
- ///
- [JsonPropertyName("totalRecalculations")]
- public int TotalRecalculations { get; set; }
-
- ///
- /// Gets or Sets TotalSkips
- ///
- [JsonPropertyName("totalSkips")]
- public int TotalSkips { get; set; }
-
- ///
- /// Gets or Sets TotalUnderPours
- ///
- [JsonPropertyName("totalUnderPours")]
- public int TotalUnderPours { get; set; }
-
- ///
- /// Used to track the state of BatchNumber
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option BatchNumberOption { get; private set; }
-
- ///
- /// Gets or Sets BatchNumber
- ///
- [JsonPropertyName("batchNumber")]
- public string BatchNumber { get { return this.BatchNumberOption; } set { this.BatchNumberOption = new Option(value); } }
-
- ///
- /// Used to track the state of BrandCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option BrandCodeOption { get; private set; }
-
- ///
- /// BrandCode is only required for non-color mixes
- ///
- /// BrandCode is only required for non-color mixes
- [JsonPropertyName("brandCode")]
- public string BrandCode { get { return this.BrandCodeOption; } set { this.BrandCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of BrandId
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option BrandIdOption { get; private set; }
-
- ///
- /// BrandId is only required for color mixes
- ///
- /// BrandId is only required for color mixes
- [JsonPropertyName("brandId")]
- public string BrandId { get { return this.BrandIdOption; } set { this.BrandIdOption = new Option(value); } }
-
- ///
- /// Used to track the state of BrandName
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option BrandNameOption { get; private set; }
-
- ///
- /// BrandName is only required for color mixes
- ///
- /// BrandName is only required for color mixes
- [JsonPropertyName("brandName")]
- public string BrandName { get { return this.BrandNameOption; } set { this.BrandNameOption = new Option(value); } }
-
- ///
- /// Used to track the state of CategoryCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CategoryCodeOption { get; private set; }
-
- ///
- /// CategoryCode is not used anymore
- ///
- /// CategoryCode is not used anymore
- [JsonPropertyName("categoryCode")]
- public string CategoryCode { get { return this.CategoryCodeOption; } set { this.CategoryCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of Color
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ColorOption { get; private set; }
-
- ///
- /// Color is only required for color mixes
- ///
- /// Color is only required for color mixes
- [JsonPropertyName("color")]
- public string Color { get { return this.ColorOption; } set { this.ColorOption = new Option(value); } }
-
- ///
- /// Used to track the state of ColorDescription
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ColorDescriptionOption { get; private set; }
-
- ///
- /// Gets or Sets ColorDescription
- ///
- [JsonPropertyName("colorDescription")]
- public string ColorDescription { get { return this.ColorDescriptionOption; } set { this.ColorDescriptionOption = new Option(value); } }
-
- ///
- /// Used to track the state of Comment
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CommentOption { get; private set; }
-
- ///
- /// Gets or Sets Comment
- ///
- [JsonPropertyName("comment")]
- public string Comment { get { return this.CommentOption; } set { this.CommentOption = new Option(value); } }
-
- ///
- /// Used to track the state of CommercialProductCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CommercialProductCodeOption { get; private set; }
-
- ///
- /// Gets or Sets CommercialProductCode
- ///
- [JsonPropertyName("commercialProductCode")]
- public string CommercialProductCode { get { return this.CommercialProductCodeOption; } set { this.CommercialProductCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of Country
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CountryOption { get; private set; }
-
- ///
- /// Gets or Sets Country
- ///
- [JsonPropertyName("country")]
- public string Country { get { return this.CountryOption; } set { this.CountryOption = new Option(value); } }
-
- ///
- /// Used to track the state of CreatedBy
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CreatedByOption { get; private set; }
-
- ///
- /// Gets or Sets CreatedBy
- ///
- [JsonPropertyName("createdBy")]
- public string CreatedBy { get { return this.CreatedByOption; } set { this.CreatedByOption = new Option(value); } }
-
- ///
- /// Used to track the state of CreatedByFirstName
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CreatedByFirstNameOption { get; private set; }
-
- ///
- /// Gets or Sets CreatedByFirstName
- ///
- [JsonPropertyName("createdByFirstName")]
- public string CreatedByFirstName { get { return this.CreatedByFirstNameOption; } set { this.CreatedByFirstNameOption = new Option(value); } }
-
- ///
- /// Used to track the state of CreatedByLastName
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option CreatedByLastNameOption { get; private set; }
-
- ///
- /// Gets or Sets CreatedByLastName
- ///
- [JsonPropertyName("createdByLastName")]
- public string CreatedByLastName { get { return this.CreatedByLastNameOption; } set { this.CreatedByLastNameOption = new Option(value); } }
-
- ///
- /// Used to track the state of DeltaECalculationRepaired
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option DeltaECalculationRepairedOption { get; private set; }
-
- ///
- /// Gets or Sets DeltaECalculationRepaired
- ///
- [JsonPropertyName("deltaECalculationRepaired")]
- public string DeltaECalculationRepaired { get { return this.DeltaECalculationRepairedOption; } set { this.DeltaECalculationRepairedOption = new Option(value); } }
-
- ///
- /// Used to track the state of DeltaECalculationSprayout
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option DeltaECalculationSprayoutOption { get; private set; }
-
- ///
- /// Gets or Sets DeltaECalculationSprayout
- ///
- [JsonPropertyName("deltaECalculationSprayout")]
- public string DeltaECalculationSprayout { get { return this.DeltaECalculationSprayoutOption; } set { this.DeltaECalculationSprayoutOption = new Option(value); } }
-
- ///
- /// Used to track the state of OwnColorVariantNumber
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option OwnColorVariantNumberOption { get; private set; }
-
- ///
- /// Gets or Sets OwnColorVariantNumber
- ///
- [JsonPropertyName("ownColorVariantNumber")]
- public int? OwnColorVariantNumber { get { return this.OwnColorVariantNumberOption; } set { this.OwnColorVariantNumberOption = new Option(value); } }
-
- ///
- /// Used to track the state of PrimerProductId
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option PrimerProductIdOption { get; private set; }
-
- ///
- /// Gets or Sets PrimerProductId
- ///
- [JsonPropertyName("primerProductId")]
- public string PrimerProductId { get { return this.PrimerProductIdOption; } set { this.PrimerProductIdOption = new Option(value); } }
-
- ///
- /// Used to track the state of ProductId
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ProductIdOption { get; private set; }
-
- ///
- /// ProductId is only required for color mixes
- ///
- /// ProductId is only required for color mixes
- [JsonPropertyName("productId")]
- public string ProductId { get { return this.ProductIdOption; } set { this.ProductIdOption = new Option(value); } }
-
- ///
- /// Used to track the state of ProductLineCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ProductLineCodeOption { get; private set; }
-
- ///
- /// ProductLineCode is only required for color mixes
- ///
- /// ProductLineCode is only required for color mixes
- [JsonPropertyName("productLineCode")]
- public string ProductLineCode { get { return this.ProductLineCodeOption; } set { this.ProductLineCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of ProductName
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ProductNameOption { get; private set; }
-
- ///
- /// ProductName is only required for color mixes
- ///
- /// ProductName is only required for color mixes
- [JsonPropertyName("productName")]
- public string ProductName { get { return this.ProductNameOption; } set { this.ProductNameOption = new Option(value); } }
-
- ///
- /// Used to track the state of SelectedVersionIndex
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option SelectedVersionIndexOption { get; private set; }
-
- ///
- /// Gets or Sets SelectedVersionIndex
- ///
- [JsonPropertyName("selectedVersionIndex")]
- public int? SelectedVersionIndex { get { return this.SelectedVersionIndexOption; } set { this.SelectedVersionIndexOption = new Option(value); } }
-
- ///
- /// Used to track the state of ShopId
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option ShopIdOption { get; private set; }
-
- ///
- /// Gets or Sets ShopId
- ///
- [JsonPropertyName("shopId")]
- public Guid? ShopId { get { return this.ShopIdOption; } set { this.ShopIdOption = new Option(value); } }
-
- ///
- /// Used to track the state of SomeCode
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option SomeCodeOption { get; private set; }
-
- ///
- /// SomeCode is only required for color mixes
- ///
- /// SomeCode is only required for color mixes
- [JsonPropertyName("someCode")]
- public string SomeCode { get { return this.SomeCodeOption; } set { this.SomeCodeOption = new Option(value); } }
-
- ///
- /// Used to track the state of TotalPrice
- ///
- [JsonIgnore]
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public Option TotalPriceOption { get; private set; }
-
- ///
- /// Gets or Sets TotalPrice
- ///
- [JsonPropertyName("totalPrice")]
- public float? TotalPrice { get { return this.TotalPriceOption; } set { this.TotalPriceOption = new Option(value); } }
-
- ///
- /// Gets or Sets additional properties
- ///
- [JsonExtensionData]
- public Dictionary AdditionalProperties { get; } = new Dictionary();
-
- ///
- /// Returns the string presentation of the object
- ///
- /// String presentation of the object
- public override string ToString()
- {
- StringBuilder sb = new StringBuilder();
- sb.Append("class MixLog {\n");
- sb.Append(" Description: ").Append(Description).Append("\n");
- sb.Append(" FormulaVersionDate: ").Append(FormulaVersionDate).Append("\n");
- sb.Append(" Id: ").Append(Id).Append("\n");
- sb.Append(" MixDate: ").Append(MixDate).Append("\n");
- sb.Append(" TotalOverPoors: ").Append(TotalOverPoors).Append("\n");
- sb.Append(" TotalRecalculations: ").Append(TotalRecalculations).Append("\n");
- sb.Append(" TotalSkips: ").Append(TotalSkips).Append("\n");
- sb.Append(" TotalUnderPours: ").Append(TotalUnderPours).Append("\n");
- sb.Append(" BatchNumber: ").Append(BatchNumber).Append("\n");
- sb.Append(" BrandCode: ").Append(BrandCode).Append("\n");
- sb.Append(" BrandId: ").Append(BrandId).Append("\n");
- sb.Append(" BrandName: ").Append(BrandName).Append("\n");
- sb.Append(" CategoryCode: ").Append(CategoryCode).Append("\n");
- sb.Append(" Color: ").Append(Color).Append("\n");
- sb.Append(" ColorDescription: ").Append(ColorDescription).Append("\n");
- sb.Append(" Comment: ").Append(Comment).Append("\n");
- sb.Append(" CommercialProductCode: ").Append(CommercialProductCode).Append("\n");
- sb.Append(" Country: ").Append(Country).Append("\n");
- sb.Append(" CreatedBy: ").Append(CreatedBy).Append("\n");
- sb.Append(" CreatedByFirstName: ").Append(CreatedByFirstName).Append("\n");
- sb.Append(" CreatedByLastName: ").Append(CreatedByLastName).Append("\n");
- sb.Append(" DeltaECalculationRepaired: ").Append(DeltaECalculationRepaired).Append("\n");
- sb.Append(" DeltaECalculationSprayout: ").Append(DeltaECalculationSprayout).Append("\n");
- sb.Append(" OwnColorVariantNumber: ").Append(OwnColorVariantNumber).Append("\n");
- sb.Append(" PrimerProductId: ").Append(PrimerProductId).Append("\n");
- sb.Append(" ProductId: ").Append(ProductId).Append("\n");
- sb.Append(" ProductLineCode: ").Append(ProductLineCode).Append("\n");
- sb.Append(" ProductName: ").Append(ProductName).Append("\n");
- sb.Append(" SelectedVersionIndex: ").Append(SelectedVersionIndex).Append("\n");
- sb.Append(" ShopId: ").Append(ShopId).Append("\n");
- sb.Append(" SomeCode: ").Append(SomeCode).Append("\n");
- sb.Append(" TotalPrice: ").Append(TotalPrice).Append("\n");
- sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
- sb.Append("}\n");
- return sb.ToString();
- }
-
- ///
- /// To validate all properties of the instance
- ///
- /// Validation context
- /// Validation Result
- IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
- {
- yield break;
- }
- }
-
- ///
- /// A Json converter for type
- ///
- public class MixLogJsonConverter : JsonConverter
- {
- ///
- /// The format to use to serialize FormulaVersionDate
- ///
- public static string FormulaVersionDateFormat { get; set; } = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK";
-
- ///
- /// The format to use to serialize MixDate
- ///
- public static string MixDateFormat { get; set; } = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK";
-
- ///
- /// Deserializes json to
- ///
- ///
- ///
- ///
- ///
- ///
- public override MixLog Read(ref Utf8JsonReader utf8JsonReader, Type typeToConvert, JsonSerializerOptions jsonSerializerOptions)
- {
- int currentDepth = utf8JsonReader.CurrentDepth;
-
- if (utf8JsonReader.TokenType != JsonTokenType.StartObject && utf8JsonReader.TokenType != JsonTokenType.StartArray)
- throw new JsonException();
-
- JsonTokenType startingTokenType = utf8JsonReader.TokenType;
-
- Option description = default;
- Option formulaVersionDate = default;
- Option id = default;
- Option mixDate = default;
- Option totalOverPoors = default;
- Option totalRecalculations = default;
- Option totalSkips = default;
- Option totalUnderPours = default;
- Option batchNumber = default;
- Option brandCode = default;
- Option brandId = default;
- Option brandName = default;
- Option categoryCode = default;
- Option color = default;
- Option colorDescription = default;
- Option comment = default;
- Option commercialProductCode = default;
- Option country = default;
- Option createdBy = default;
- Option createdByFirstName = default;
- Option createdByLastName = default;
- Option deltaECalculationRepaired = default;
- Option deltaECalculationSprayout = default;
- Option ownColorVariantNumber = default;
- Option primerProductId = default;
- Option productId = default;
- Option productLineCode = default;
- Option productName = default;
- Option selectedVersionIndex = default;
- Option shopId = default;
- Option someCode = default;
- Option totalPrice = default;
-
- while (utf8JsonReader.Read())
- {
- if (startingTokenType == JsonTokenType.StartObject && utf8JsonReader.TokenType == JsonTokenType.EndObject && currentDepth == utf8JsonReader.CurrentDepth)
- break;
-
- if (startingTokenType == JsonTokenType.StartArray && utf8JsonReader.TokenType == JsonTokenType.EndArray && currentDepth == utf8JsonReader.CurrentDepth)
- break;
-
- if (utf8JsonReader.TokenType == JsonTokenType.PropertyName && currentDepth == utf8JsonReader.CurrentDepth - 1)
- {
- string localVarJsonPropertyName = utf8JsonReader.GetString();
- utf8JsonReader.Read();
-
- switch (localVarJsonPropertyName)
- {
- case "description":
- description = new Option