src/Perry/Representation/Eve/v1/TournamentSeries.php
public function setRedTeam($redTeam)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['team'] = function ($value) { return new Reference($value); };
        $converters['isDecided'] = function ($value) { return $value; };
        $converters['isBye'] = function ($value) { return $value; };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['team'] = isset($value->{'team'}) ? $converters['team']($value->{'team'}) : null;
            $return['isDecided'] = isset($value->{'isDecided'}) ? $converters['isDecided']($value->{'isDecided'}) : null;
            $return['isBye'] = isset($value->{'isBye'}) ? $converters['isBye']($value->{'isBye'}) : null;
            return $return;
        };
        $this->redTeam = $func($redTeam);
    }
public function setRedTeam($redTeam)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['team'] = function ($value) { return new Reference($value); };
        $converters['isDecided'] = function ($value) { return $value; };
        $converters['isBye'] = function ($value) { return $value; };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['team'] = isset($value->{'team'}) ? $converters['team']($value->{'team'}) : null;
            $return['isDecided'] = isset($value->{'isDecided'}) ? $converters['isDecided']($value->{'isDecided'}) : null;
            $return['isBye'] = isset($value->{'isBye'}) ? $converters['isBye']($value->{'isBye'}) : null;
            return $return;
        };
        $this->redTeam = $func($redTeam);
    }
by Warringer\Types\Dict