src/Perry/Representation/Eve/v3/Api.php
public function setSovereignty($sovereignty)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['campaigns'] = function ($value) { return new Reference($value); };
        $converters['structures'] = function ($value) { return new Reference($value); };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['campaigns'] = isset($value->{'campaigns'}) ? $converters['campaigns']($value->{'campaigns'}) : null;
            $return['structures'] = isset($value->{'structures'}) ? $converters['structures']($value->{'structures'}) : null;
            return $return;
        };
        $this->sovereignty = $func($sovereignty);
    }
public function setSovereignty($sovereignty)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['campaigns'] = function ($value) { return new Reference($value); };
        $converters['structures'] = function ($value) { return new Reference($value); };

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