<commit_before><?php
declare(strict_types = 1);

namespace Enm\ShopwareSdk\Model\Article;

use JMS\Serializer\Annotation as Serializer;

/**
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
class Detail implements DetailInterface
{
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("id")
     */
    private $id;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("articleId")
     */
    private $articleId;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("unitId")
     */
    private $unitId;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("number")
     */
    private $number;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("supplierNumber")
     */
    private $supplierNumber;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("kind")
     */
    private $kind;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("additionalText")
     */
    private $additionalText;
    
    /**
     * @var bool
     * @Serializer\Type("boolean")
     * @Serializer\SerializedName("active")
     */
    private $active;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("inStock")
     */
    private $inStock;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("weight")
     */
    private $weight;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("width")
     */
    private $width;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("len")
     */
    private $len;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("height")
     */
    private $height;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("ean")
     */
    private $ean;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("position")
     */
    private $position;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("minPurchase")
     */
    private $minPurchase;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("purchaseSteps")
     */
    private $purchaseSteps;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("maxPurchase")
     */
    private $maxPurchase;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("purchaseUnit")
     */
    private $purchaseUnit;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("referenceUnit")
     */
    private $referenceUnit;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("packUnit")
     */
    private $packUnit;
    
    /**
     * @var bool
     * @Serializer\Type("boolean")
     * @Serializer\SerializedName("shippingFree")
     */
    private $shippingFree;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("releaseDate")
     */
    private $releaseDate;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("shippingTime")
     */
    private $shippingTime;
    
    /**
     * @var PriceInterface[]
     * @Serializer\Type("array<Enm\ShopwareSdk\Model\Article\Price>")
     * @Serializer\SerializedName("prices")
     */
    private $prices;
    
    /**
     * @var ConfiguratorOptionInterface[]
     * @Serializer\Type("array<Enm\ShopwareSdk\Model\Article\Configurator>")
     * @Serializer\SerializedName("configuratorOptions")
     */
    private $configuratorOptions;
    
    /**
     * @return int
     */
    public function getId(): int
    {
        return (int)$this->id;
    }
    
    /**
     * @param int $id
     *
     * @return DetailInterface
     */
    public function setId(int $id): DetailInterface
    {
        $this->id = $id;
        
        return $this;
    }
    
    /**
     * @return int
     */
    public function getArticleId(): int
    {<commit_msg>fixed a critical serialization bug with ConfiguratorOptions<commit_after><?php
declare(strict_types = 1);

namespace Enm\ShopwareSdk\Model\Article;

use JMS\Serializer\Annotation as Serializer;

/**
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
class Detail implements DetailInterface
{
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("id")
     */
    private $id;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("articleId")
     */
    private $articleId;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("unitId")
     */
    private $unitId;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("number")
     */
    private $number;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("supplierNumber")
     */
    private $supplierNumber;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("kind")
     */
    private $kind;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("additionalText")
     */
    private $additionalText;
    
    /**
     * @var bool
     * @Serializer\Type("boolean")
     * @Serializer\SerializedName("active")
     */
    private $active;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("inStock")
     */
    private $inStock;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("weight")
     */
    private $weight;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("width")
     */
    private $width;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("len")
     */
    private $len;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("height")
     */
    private $height;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("ean")
     */
    private $ean;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("position")
     */
    private $position;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("minPurchase")
     */
    private $minPurchase;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("purchaseSteps")
     */
    private $purchaseSteps;
    
    /**
     * @var int
     * @Serializer\Type("integer")
     * @Serializer\SerializedName("maxPurchase")
     */
    private $maxPurchase;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("purchaseUnit")
     */
    private $purchaseUnit;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("referenceUnit")
     */
    private $referenceUnit;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("packUnit")
     */
    private $packUnit;
    
    /**
     * @var bool
     * @Serializer\Type("boolean")
     * @Serializer\SerializedName("shippingFree")
     */
    private $shippingFree;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("releaseDate")
     */
    private $releaseDate;
    
    /**
     * @var string
     * @Serializer\Type("string")
     * @Serializer\SerializedName("shippingTime")
     */
    private $shippingTime;
    
    /**
     * @var PriceInterface[]
     * @Serializer\Type("array<Enm\ShopwareSdk\Model\Article\Price>")
     * @Serializer\SerializedName("prices")
     */
    private $prices;
    
    /**
     * @var ConfiguratorOptionInterface[]
     * @Serializer\Type("array<Enm\ShopwareSdk\Model\Article\ConfiguratorOption>")
     * @Serializer\SerializedName("configuratorOptions")
     */
    private $configuratorOptions;
    
    /**
     * @return int
     */
    public function getId(): int
    {
        return (int)$this->id;
    }
    
    /**
     * @param int $id
     *
     * @return DetailInterface
     */
    public function setId(int $id): DetailInterface
    {
        $this->id = $id;
        
        return $this;
    }
    
    /**
     * @return int
     */
    public function getArticleId(): int
    {
{'fraction_non_alphanumeric': 0.15581549326859412, 'fraction_numerical': 0.00022070183182520416, 'mean_word_length': 2.0587242659466756, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4711891', 'n_tokens_mistral': 2822, 'n_tokens_neox': 2803, 'n_words': 412}