src/ServiceManagement/Models/GetStorageServiceKeysResult.php
public static function create($parsed)
    {
        $result = new self();
        $keys = Utilities::tryGetValue(
            $parsed,
            Resources::XTAG_STORAGE_SERVICE_KEYS
        );
        $result->_url = Utilities::tryGetValue($parsed, Resources::XTAG_URL);
        $result->_primary = Utilities::tryGetValue(
            $keys,
            Resources::XTAG_PRIMARY
        );
        $result->_secondary = Utilities::tryGetValue(
            $keys,
            Resources::XTAG_SECONDARY
        );

        return $result;
    }
public static function create($parsed)
    {
        $result = new self();
        $keys = Utilities::tryGetValue(
            $parsed,
            Resources::XTAG_STORAGE_SERVICE_KEYS
        );
        $result->_url = Utilities::tryGetValue($parsed, Resources::XTAG_URL);
        $result->_primary = Utilities::tryGetValue(
            $keys,
            Resources::XTAG_PRIMARY
        );
        $result->_secondary = Utilities::tryGetValue(
            $keys,
            Resources::XTAG_SECONDARY
        );

        return $result;
    }
public static function create ( $ parsed ) { $ result = new self ( ) ; $ keys = Utilities :: tryGetValue ( $ parsed , Resources :: XTAG_STORAGE_SERVICE_KEYS ) ; $ result -> _url = Utilities :: tryGetValue ( $ parsed , Resources :: XTAG_URL ) ; $ result -> _primary = Utilities :: tryGetValue ( $ keys , Resources :: XTAG_PRIMARY ) ; $ result -> _secondary = Utilities :: tryGetValue ( $ keys , Resources :: XTAG_SECONDARY ) ; return $ result ; }
Creates new GetStorageServiceKeysResult object from parsed response.

@param array $parsed The HTTP parsed response into array representation

@return GetStorageServiceKeysResult
Creates new GetStorageServiceKeysResult object from parsed response .