public static function create($body, IODataReaderWriter $serializer)
    {
        $result = new GetEntityResult();
        $result->setEntity($serializer->parseEntity($body));

        return $result;
    }
public static function create($body, IODataReaderWriter $serializer)
    {
        $result = new GetEntityResult();
        $result->setEntity($serializer->parseEntity($body));

        return $result;
    }
public static function create ( $ body , IODataReaderWriter $ serializer ) { $ result = new GetEntityResult ( ) ; $ result -> setEntity ( $ serializer -> parseEntity ( $ body ) ) ; return $ result ; }
Create GetEntityResult object from HTTP response parts.

@param string             $body            The HTTP response body.
@param IODataReaderWriter $odataSerializer The OData reader and writer.

@internal

@return GetEntityResult
Create GetEntityResult object from HTTP response parts .